Function at 0x4d4270
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x6efb00]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
xorps xmm0, xmm0
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x20], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x2c], ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
movups xmmword [ebp - 0x1c], xmm0
test ecx, ecx
je 0x4d51fc
test edi, edi
je 0x4d51fc
mov edx, dword [edi + 0x48]
test edx, edx
je 0x4d51fc
cmp ecx, dword [edi + 0x24]
jb 0x4d51fc
mov eax, dword [edi + 0x4c]
add eax, 0xfffffffe
add eax, edx
cmp ecx, eax
ja 0x4d51fc
mov al, byte [ecx]
lea edx, [ecx + 1]
mov byte [ebp - 0x2d], al
movzx eax, al
mov dword [esi], eax
mov al, byte [ebp - 0x2d]
mov dword [ebp - 0x28], edx
cmp al, 0x21
jae 0x4d51fc
cmp al, 1
jne 0x4d4368
movzx ebx, byte [edx]
cmp ebx, dword [edi + 0x18]
ja 0x4d51fc
movzx ecx, byte [edx + 1]
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 4]
shl ecx, 8
or ecx, eax
lea eax, [ebx + ecx]
cmp eax, dword [edi + 0x18]
ja 0x4d51fc
mov dword [esi + 4], ebx
mov dword [esi + 8], 0
mov eax, dword [edi + 0x1c]
pop edi
lea eax, [eax + ecx*4]
add eax, 4
mov dword [esi + 0xc], eax
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006193d7
mov esp, ebp
pop ebp
ret
cmp al, 2
je 0x4d514d
cmp al, 3
je 0x4d514d
cmp al, 0xb
jne 0x4d43b8
cmp edx, dword [edi + 0x24]
jb 0x4d51fc
mov eax, dword [edi + 0x48]
add eax, 0xfffffffe
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x4d51fc
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
mov al, 1
pop edi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006193d7
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
push ecx
push edi
call fcn.004d3990
add esp, 0x10
test al, al
je 0x4d51fc
mov ebx, dword [esi]
cmp ebx, 4
je 0x4d4fdd
cmp ebx, 5
sete byte [ebp - 0x20]
je 0x4d4fdd
cmp ebx, 6
je 0x4d4e59
cmp ebx, 7
sete byte [ebp - 0x20]
je 0x4d4e59
cmp ebx, 8
je 0x4d4d2d
cmp ebx, 9
sete byte [ebp - 0x20]
je 0x4d4d2d
cmp ebx, 0xa
jne 0x4d4464
mov edx, dword [ebp - 0x28]
cmp edx, dword [edi + 0x24]
jb 0x4d51fc
mov eax, dword [edi + 0x48]
add eax, 0xfffffffe
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x4d51fc
mov eax, dword [ebp - 0x24]
mov dword [esi + 4], eax
mov byte [esi + 8], 0
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
mov al, 1
pop edi
mov dword [esi + 0xc], ecx
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006193d7
mov esp, ebp
pop ebp
ret
cmp ebx, 0xc
je 0x4d4b87
cmp ebx, 0xd
je 0x4d4b87
cmp ebx, 0xe
je 0x4d4aad
cmp ebx, 0xf
je 0x4d4aad
lea eax, [ebx - 0x10]
cmp eax, 7
ja 0x4d46e0
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov dword [esi + 4], eax
mov byte [esi + 8], 0
cmp edx, dword [edi + 0x24]
jb 0x4d51fc
mov eax, dword [edi + 0x48]
add eax, 0xfffffffe
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x4d51fc
movzx eax, byte [edx]
add edx, 2
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx - 1]
or ecx, eax
shl ecx, 2
mov dword [esi + 0xc], ecx
cmp ebx, 0x10
je 0x4d44ed
cmp ebx, 0x11
je 0x4d44ed
cmp ebx, 0x12
je 0x4d44ed
cmp ebx, 0x13
je 0x4d44ed
mov dword [esi + 0x10], ecx
jmp 0x4d452a
cmp edx, dword [edi + 0x24]
jb 0x4d51fc
mov eax, dword [edi + 0x48]
add eax, 0xfffffffe
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x4d51fc
movzx eax, byte [edx]
add edx, 2
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx - 1]
or ecx, eax
shl ecx, 2
mov dword [esi + 0x10], ecx
cmp ebx, 0x12
je 0x4d453f
cmp ebx, 0x13
je 0x4d453f
cmp ebx, 0x16
je 0x4d453f
cmp ebx, 0x17
je 0x4d453f
mov dword [esi + 0x14], 0
xor ecx, ecx
jmp 0x4d458c
cmp edx, dword [edi + 0x24]
jb 0x4d51fc
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x4d51fc
movzx eax, byte [edx]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 1]
or ecx, eax
lea eax, [edx + 4]
shl ecx, 0x10
mov dword [esi + 0x14], ecx
mov dword [ebp - 0x34], eax
movzx eax, byte [edx + 2]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 3]
mov edx, dword [ebp - 0x34]
or ecx, eax
shl ecx, 0x10
mov dword [esi + 0x18], ecx
cmp ebx, 0x11
je 0x4d45a7
cmp ebx, 0x13
je 0x4d45a7
cmp ebx, 0x15
je 0x4d45a7
cmp ebx, 0x17
jne 0x4d46c7
cmp edx, dword [edi + 0x24]
jb 0x4d51fc
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x4d51fc
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
cmp ebx, 0x11
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], ecx
jne 0x4d4618
lea eax, [ebp - 0x1c]
push eax
push 2
push ecx
push edi
push ebx
call fcn.004d3a00
add esp, 0x14
test al, al
je 0x4d51fc
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
shl eax, 2
add dword [esi + 0xc], eax
mov eax, dword [ebp - 0x18]
shl eax, 2
add dword [esi + 0x10], eax
cmp dword [esi], 0x13
jne 0x4d465a
lea eax, [ebp - 0x1c]
push eax
push 4
push ecx
push edi
push ebx
call fcn.004d3a00
add esp, 0x14
test al, al
je 0x4d51fc
mov eax, dword [ebp - 0x1c]
shl eax, 2
add dword [esi + 0xc], eax
mov eax, dword [ebp - 0x18]
shl eax, 2
add dword [esi + 0x10], eax
mov eax, dword [ebp - 0x14]
shl eax, 0x10
add dword [esi + 0x14], eax
mov eax, dword [ebp - 0x10]
shl eax, 0x10
add dword [esi + 0x18], eax
cmp dword [esi], 0x15
mov ebx, dword [ebp - 0x20]
jne 0x4d4689
lea eax, [ebp - 0x1c]
push eax
push 1
push ebx
push edi
push dword [ebp - 0x2c]
call fcn.004d3a00
add esp, 0x14
test al, al
je 0x4d51fc
mov eax, dword [ebp - 0x1c]
shl eax, 2
add dword [esi + 0xc], eax
add dword [esi + 0x10], eax
cmp dword [esi], 0x17
jne 0x4d46c7
lea eax, [ebp - 0x1c]
push eax
push 3
push ebx
push edi
push dword [ebp - 0x2c]
call fcn.004d3a00
add esp, 0x14
test al, al
je 0x4d51fc
mov eax, dword [ebp - 0x1c]
shl eax, 2
add dword [esi + 0xc], eax
add dword [esi + 0x10], eax
mov eax, dword [ebp - 0x18]
shl eax, 0x10
add dword [esi + 0x14], eax
mov eax, dword [ebp - 0x14]
shl eax, 0x10
add dword [esi + 0x18], eax
pop edi
mov dword [esi], 0x10
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006193d7
mov esp, ebp
pop ebp
ret
cmp ebx, 0x18
je 0x4d493d
cmp ebx, 0x1a
je 0x4d493d
cmp ebx, 0x19
je 0x4d493d
cmp ebx, 0x1b
je 0x4d493d
cmp ebx, 0x1c
je 0x4d479a
cmp ebx, 0x1d
je 0x4d479a
cmp ebx, 0x1e
je 0x4d479a
cmp ebx, 0x1f
je 0x4d479a
cmp ebx, 0x20
jne 0x4d51fc
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov dword [esi + 4], eax
mov byte [esi + 8], 0
cmp edx, dword [edi + 0x24]
jb 0x4d51fc
mov eax, dword [edi + 0x48]
dec eax
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x4d51fc
movzx eax, byte [edx]
inc edx
mov dword [ebp - 0x28], edx
cmp eax, 0x1c
jae 0x4d51fc
mov dword [esi + 0xc], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x34]
push edi
call fcn.004d3990
add esp, 0x10
test al, al
je 0x4d51fc
mov eax, dword [ebp - 0x24]
pop edi
mov dword [esi + 0x10], eax
mov al, 1
mov byte [esi + 0x14], 0
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006193d7
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov dword [esi + 4], eax
mov byte [esi + 8], 0
cmp edx, dword [edi + 0x24]
jb 0x4d51fc
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x4d51fc
movzx eax, byte [edx]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 1]
add edx, 4
or ecx, eax
shl ecx, 2
mov dword [esi + 0xc], ecx
movzx eax, byte [edx - 2]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx - 1]
or ecx, eax
shl ecx, 2
mov dword [esi + 0x10], ecx
cmp ebx, 0x1e
je 0x4d480b
cmp ebx, 0x1f
je 0x4d480b
mov dword [esi + 0x14], 0
xor ecx, ecx
mov eax, edx
mov dword [ebp - 0x20], edx
jmp 0x4d4857
cmp edx, dword [edi + 0x24]
jb 0x4d51fc
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x4d51fc
movzx eax, byte [edx]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 1]
add edx, 4
or ecx, eax
shl ecx, 0x10
mov dword [esi + 0x14], ecx
movzx eax, byte [edx - 2]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx - 1]
or ecx, eax
mov eax, edx
shl ecx, 0x10
mov dword [ebp - 0x20], eax
mov dword [esi + 0x18], ecx
cmp ebx, 0x1d
je 0x4d486b
cmp ebx, 0x1f
jne 0x4d4924
cmp ebx, 0x1d
mov ecx, dword [ebp - 0x20]
cmove ecx, eax
cmp ecx, dword [edi + 0x24]
jb 0x4d51fc
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x4d51fc
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
cmp ebx, 0x1d
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x34], ecx
jne 0x4d48e2
lea eax, [ebp - 0x1c]
push eax
push 2
push ecx
push edi
push ebx
call fcn.004d3a00
add esp, 0x14
test al, al
je 0x4d51fc
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x34]
shl eax, 2
add dword [esi + 0xc], eax
mov eax, dword [ebp - 0x18]
shl eax, 2
add dword [esi + 0x10], eax
cmp dword [esi], 0x1f
jne 0x4d4924
lea eax, [ebp - 0x1c]
push eax
push 4
push ecx
push edi
push ebx
call fcn.004d3a00
add esp, 0x14
test al, al
je 0x4d51fc
mov eax, dword [ebp - 0x1c]
shl eax, 2
add dword [esi + 0xc], eax
mov eax, dword [ebp - 0x18]
shl eax, 2
add dword [esi + 0x10], eax
mov eax, dword [ebp - 0x14]
shl eax, 0x10
add dword [esi + 0x14], eax
mov eax, dword [ebp - 0x10]
shl eax, 0x10
add dword [esi + 0x18], eax
pop edi
mov dword [esi], 0x1c
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006193d7
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov dword [esi + 4], eax
mov byte [esi + 8], 0
cmp edx, dword [edi + 0x24]
jb 0x4d51fc
mov eax, dword [edi + 0x48]
add eax, 0xfffffffe
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x4d51fc
movzx eax, byte [edx]
add edx, 2
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx - 1]
or ecx, eax
shl ecx, 2
mov dword [esi + 0xc], ecx
cmp ebx, 0x1a
je 0x4d4997
cmp ebx, 0x1b
je 0x4d4997
mov dword [esi + 0x10], 0
xor ecx, ecx
mov eax, edx
mov dword [ebp - 0x20], edx
jmp 0x4d49e3
cmp edx, dword [edi + 0x24]
jb 0x4d51fc
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x4d51fc
movzx eax, byte [edx]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 1]
add edx, 4
or ecx, eax
shl ecx, 0x10
mov dword [esi + 0x10], ecx
movzx eax, byte [edx - 2]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx - 1]
or ecx, eax
mov eax, edx
shl ecx, 0x10
mov dword [ebp - 0x20], eax
mov dword [esi + 0x14], ecx
cmp ebx, 0x19
je 0x4d49f7
cmp ebx, 0x1b
jne 0x4d4a94
cmp ebx, 0x19
mov ecx, dword [ebp - 0x20]
cmove ecx, eax
cmp ecx, dword [edi + 0x24]
jb 0x4d51fc
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x4d51fc
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
xor edx, edx
or ecx, eax
cmp ebx, 0x1b
mov eax, 3
cmovne eax, edx
mov dword [ebp - 0x20], eax
cmp ebx, 0x19
jne 0x4d4a54
mov eax, 1
mov dword [ebp - 0x20], eax
jmp 0x4d4a59
cmp ebx, 0x1b
jne 0x4d4a94
lea edx, [ebp - 0x1c]
push edx
push eax
push ecx
push edi
push dword [ebp - 0x2c]
call fcn.004d3a00
add esp, 0x14
test al, al
je 0x4d51fc
mov eax, dword [ebp - 0x1c]
shl eax, 2
add dword [esi + 0xc], eax
cmp dword [ebp - 0x20], 3
jne 0x4d4a94
mov eax, dword [ebp - 0x18]
shl eax, 0x10
add dword [esi + 0x10], eax
mov eax, dword [ebp - 0x14]
shl eax, 0x10
add dword [esi + 0x14], eax
pop edi
mov dword [esi], 0x18
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006193d7
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov dword [esi + 4], eax
mov byte [esi + 8], 0
cmp edx, dword [edi + 0x24]
jb 0x4d51fc
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x4d51fc
movzx eax, byte [edx]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 1]
add edx, 4
or ecx, eax
shl ecx, 0x10
mov dword [esi + 0xc], ecx
movzx eax, byte [edx - 2]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx - 1]
or ecx, eax
shl ecx, 0x10
mov dword [esi + 0x10], ecx
cmp ebx, 0xf
jne 0x4d4b6e
cmp edx, dword [edi + 0x24]
jb 0x4d51fc
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x4d51fc
movzx eax, byte [edx]
movzx ecx, byte [edx + 1]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
lea eax, [ebp - 0x1c]
push eax
push 2
push ecx
push edi
push dword [ebp - 0x2c]
call fcn.004d3a00
add esp, 0x14
test al, al
je 0x4d51fc
mov eax, dword [ebp - 0x1c]
shl eax, 0x10
add dword [esi + 0xc], eax
mov eax, dword [ebp - 0x18]
shl eax, 0x10
add dword [esi + 0x10], eax
pop edi
mov dword [esi], 0xe
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006193d7
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x24]
mov dword [esi + 4], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
mov byte [esi + 8], 0
push eax
push dword [ebp - 0x34]
push edi
call fcn.004d3990
add esp, 0x10
test al, al
je 0x4d51fc
mov edx, dword [ebp - 0x24]
cmp edx, dword [edi + 0x24]
jb 0x4d51fc
mov eax, dword [edi + 0x48]
add eax, 0xffffffe8
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x4d51fc
movzx ecx, byte [edx]
lea ebx, [edx + 0x18]
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
mov dword [esi + 0xc], ecx
movzx ecx, byte [edx + 4]
movzx eax, byte [edx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 7]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x18], ecx
movzx eax, byte [edx + 8]
movzx ecx, byte [edx + 9]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xb]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x10], ecx
movzx eax, byte [edx + 0xc]
movzx ecx, byte [edx + 0xd]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xf]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x1c], ecx
movzx eax, byte [edx + 0x10]
movzx ecx, byte [edx + 0x11]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x13]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x14], ecx
movzx ecx, byte [edx + 0x14]
movzx eax, byte [edx + 0x15]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x16]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x17]
shl ecx, 8
or ecx, eax
cmp dword [esi], 0xd
mov dword [esi + 0x20], ecx
jne 0x4d4d14
cmp ebx, dword [edi + 0x24]
jb 0x4d51fc
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp ebx, eax
ja 0x4d51fc
movzx eax, byte [ebx]
movzx ecx, byte [ebx + 1]
shl eax, 8
or ecx, eax
movzx eax, byte [ebx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 3]
shl ecx, 8
or ecx, eax
lea eax, [ebp - 0x1c]
push eax
push 6
push ecx
push edi
push dword [ebp - 0x2c]
call fcn.004d3a00
add esp, 0x14
test al, al
je 0x4d51fc
mov eax, dword [ebp - 0x1c]
add dword [esi + 0xc], eax
mov eax, dword [ebp - 0x18]
add dword [esi + 0x18], eax
mov eax, dword [ebp - 0x14]
add dword [esi + 0x10], eax
mov eax, dword [ebp - 0x10]
add dword [esi + 0x1c], eax
mov eax, dword [ebp - 0xc]
add dword [esi + 0x14], eax
mov eax, dword [ebp - 8]
add dword [esi + 0x20], eax
pop edi
mov dword [esi], 0xc
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006193d7
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x20]
lea eax, [esi + 4]
push eax
push dword [ebp - 0x24]
push edi
call fcn.004d4210
add esp, 0x10
test al, al
je 0x4d51fc
mov edx, dword [ebp - 0x28]
cmp edx, dword [edi + 0x24]
jb 0x4d51fc
mov eax, dword [edi + 0x48]
add eax, 0xfffffff8
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x4d51fc
movzx eax, byte [edx]
lea ebx, [edx + 8]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 1]
or ecx, eax
shl ecx, 0x10
mov dword [esi + 0x18], ecx
movzx eax, byte [edx + 2]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 3]
or ecx, eax
shl ecx, 0x10
mov dword [esi + 0x1c], ecx
movzx eax, byte [edx + 4]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 5]
or ecx, eax
shl ecx, 2
mov dword [esi + 0x20], ecx
movzx eax, byte [edx + 6]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 7]
or ecx, eax
shl ecx, 2
cmp byte [ebp - 0x20], 0
mov dword [esi + 0x24], ecx
je 0x4d4e40
cmp ebx, dword [edi + 0x24]
jb 0x4d51fc
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp ebx, eax
ja 0x4d51fc
movzx eax, byte [ebx]
movzx ecx, byte [ebx + 1]
shl eax, 8
or ecx, eax
movzx eax, byte [ebx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 3]
shl ecx, 8
or ecx, eax
lea eax, [ebp - 0x1c]
push eax
push 4
push ecx
push edi
push dword [ebp - 0x2c]
call fcn.004d3a00
add esp, 0x14
test al, al
je 0x4d51fc
mov eax, dword [ebp - 0x1c]
shl eax, 0x10
add dword [esi + 0x18], eax
mov eax, dword [ebp - 0x18]
shl eax, 0x10
add dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x14]
shl eax, 2
add dword [esi + 0x20], eax
mov eax, dword [ebp - 0x10]
shl eax, 2
add dword [esi + 0x24], eax
pop edi
mov dword [esi], 8
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006193d7
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x20]
lea eax, [esi + 4]
push eax
push dword [ebp - 0x24]
push edi
call fcn.004d4210
add esp, 0x10
test al, al
je 0x4d51fc
mov ebx, dword [ebp - 0x28]
cmp ebx, dword [edi + 0x24]
jb 0x4d51fc
mov eax, dword [edi + 0x48]
add eax, 0xfffffff4
add eax, dword [edi + 0x4c]
cmp ebx, eax
ja 0x4d51fc
movzx eax, byte [ebx]
lea edx, [ebx + 0xc]
shl ax, 8
movsx ecx, ax
movzx eax, byte [ebx + 1]
or ecx, eax
shl ecx, 0x10
mov dword [esi + 0x18], ecx
movzx eax, byte [ebx + 2]
shl ax, 8
movsx ecx, ax
movzx eax, byte [ebx + 3]
or ecx, eax
shl ecx, 0x10
mov dword [esi + 0x1c], ecx
movzx eax, byte [ebx + 4]
shl ax, 8
movsx ecx, ax
movzx eax, byte [ebx + 5]
or ecx, eax
mov eax, bind
shl ecx, 0x10
test ecx, ecx
cmovs ecx, eax
mov dword [esi + 0x20], ecx
movzx eax, byte [ebx + 6]
shl ax, 8
movsx ecx, ax
movzx eax, byte [ebx + 7]
or ecx, eax
shl ecx, 0x10
mov dword [esi + 0x24], ecx
movzx eax, byte [ebx + 8]
shl ax, 8
movsx ecx, ax
movzx eax, byte [ebx + 9]
or ecx, eax
shl ecx, 0x10
mov dword [esi + 0x28], ecx
movzx eax, byte [ebx + 0xa]
shl ax, 8
movsx ecx, ax
movzx eax, byte [ebx + 0xb]
or ecx, eax
mov eax, bind
shl ecx, 0x10
test ecx, ecx
cmovs ecx, eax
cmp byte [ebp - 0x20], 0
mov dword [esi + 0x2c], ecx
je 0x4d4fc4
cmp edx, dword [edi + 0x24]
jb 0x4d51fc
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x4d51fc
movzx eax, byte [edx]
movzx ecx, byte [edx + 1]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
lea eax, [ebp - 0x1c]
push eax
push 6
push ecx
push edi
push dword [ebp - 0x2c]
call fcn.004d3a00
add esp, 0x14
test al, al
je 0x4d51fc
mov eax, dword [ebp - 0x1c]
shl eax, 0x10
add dword [esi + 0x18], eax
mov eax, dword [ebp - 0x18]
shl eax, 0x10
add dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x14]
shl eax, 0x10
add dword [esi + 0x20], eax
mov eax, dword [ebp - 0x10]
shl eax, 0x10
add dword [esi + 0x24], eax
mov eax, dword [ebp - 0xc]
shl eax, 0x10
add dword [esi + 0x28], eax
mov eax, dword [ebp - 8]
shl eax, 0x10
add dword [esi + 0x2c], eax
pop edi
mov dword [esi], 6
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006193d7
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x20]
lea eax, [esi + 4]
push eax
push dword [ebp - 0x24]
push edi
call fcn.004d4210
add esp, 0x10
test al, al
je 0x4d51fc
mov edx, dword [ebp - 0x28]
cmp edx, dword [edi + 0x24]
jb 0x4d51fc
mov eax, dword [edi + 0x48]
add eax, 0xfffffff4
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x4d51fc
movzx eax, byte [edx]
lea ebx, [edx + 0xc]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 1]
or ecx, eax
shl ecx, 0x10
mov dword [esi + 0x18], ecx
movzx eax, byte [edx + 2]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 3]
or ecx, eax
shl ecx, 0x10
mov dword [esi + 0x1c], ecx
movzx eax, byte [edx + 4]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 5]
or ecx, eax
shl ecx, 0x10
mov dword [esi + 0x20], ecx
movzx eax, byte [edx + 6]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 7]
or ecx, eax
shl ecx, 0x10
mov dword [esi + 0x24], ecx
movzx eax, byte [edx + 8]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 9]
or ecx, eax
shl ecx, 0x10
mov dword [esi + 0x28], ecx
movzx eax, byte [edx + 0xa]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 0xb]
or ecx, eax
shl ecx, 0x10
cmp byte [ebp - 0x20], 0
mov dword [esi + 0x2c], ecx
je 0x4d5134
cmp ebx, dword [edi + 0x24]
jb 0x4d51fc
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp ebx, eax
ja 0x4d51fc
movzx ecx, byte [ebx]
movzx eax, byte [ebx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 3]
shl ecx, 8
or ecx, eax
lea eax, [ebp - 0x1c]
push eax
push 6
push ecx
push edi
push dword [ebp - 0x2c]
call fcn.004d3a00
add esp, 0x14
test al, al
je 0x4d51fc
mov eax, dword [ebp - 0x1c]
shl eax, 0x10
add dword [esi + 0x18], eax
mov eax, dword [ebp - 0x18]
shl eax, 0x10
add dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x14]
shl eax, 0x10
add dword [esi + 0x20], eax
mov eax, dword [ebp - 0x10]
shl eax, 0x10
add dword [esi + 0x24], eax
mov eax, dword [ebp - 0xc]
shl eax, 0x10
add dword [esi + 0x28], eax
mov eax, dword [ebp - 8]
shl eax, 0x10
add dword [esi + 0x2c], eax
pop edi
mov dword [esi], 4
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006193d7
mov esp, ebp
pop ebp
ret
cmp edx, dword [edi + 0x24]
jb 0x4d51fc
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x4d51fc
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
add edx, 4
shl cx, 8
or cx, ax
mov word [esi + 4], cx
movzx ecx, byte [edx - 2]
movzx eax, byte [edx - 1]
shl cx, 8
or cx, ax
mov al, byte [ebp - 0x2d]
mov word [esi + 6], cx
cmp al, 3
jne 0x4d51e3
cmp edx, dword [edi + 0x24]
jb 0x4d51fc
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x4d51fc
movzx eax, byte [edx]
movzx ecx, byte [edx + 1]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
lea eax, [ebp - 0x1c]
push eax
push 1
push ecx
push edi
push ebx
call fcn.004d3a00
add esp, 0x14
test al, al
je 0x4d51fc
mov ax, word [ebp - 0x1c]
add word [esi + 6], ax
pop edi
mov dword [esi], 2
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006193d7
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006193d7
mov esp, ebp
pop ebp
ret