Function at 0x437190
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x18]
sub esp, 0x2c
test eax, eax
je 0x4371a3
mov dword [eax], 0
push ebx
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x43750d
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x43750d
mov eax, dword [ebp + 0xc]
mov dword [ebx], eax
push edi
mov dword [ebp - 0x14], 0
lea ecx, [eax*4]
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], 0xffffffff
mov eax, dword [eax + 0x48]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], 0
movzx eax, word [esi + 4]
mov word [ebx + 0x10], ax
movzx eax, word [esi + 6]
mov word [ebx + 0x12], ax
movzx eax, word [esi + 8]
mov word [ebx + 0x14], ax
movzx eax, word [esi + 0xa]
mov word [ebx + 0x16], ax
movzx ecx, word [esi + 0xe]
movzx edx, word [esi + 0xc]
mov eax, ecx
shr eax, 9
add eax, 0x50
mov dword [ebp - 0x18], eax
mov eax, ecx
shr eax, 5
and ecx, 0x1f
and eax, 0xf
mov dword [ebp - 0x20], ecx
dec eax
mov dword [ebp - 0x1c], eax
mov eax, edx
shr eax, 0xb
mov dword [ebp - 0x24], eax
mov eax, edx
shr eax, 5
and edx, 0x1f
and eax, 0x3f
add edx, edx
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x2c], edx
call fcn.004f5ff3
mov dword [ebx + 0x18], eax
mov edi, 0x1ff
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x1c], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], 0
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], 0
movzx eax, word [esi + 0x24]
mov word [ebx + 0x30], ax
mov eax, dword [esi + 0x26]
mov dword [ebx + 0x34], eax
mov eax, dword [esi + 0x2a]
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], 0
movzx eax, word [esi + 0x1c]
mov esi, edi
cmp eax, edi
cmovb esi, eax
mov eax, dword [ebp + 0x10]
add eax, 0x2e
push esi
push eax
lea eax, [ebx + 0x50]
push eax
call fcn.004e74d0
mov byte [esi + ebx + 0x50], 0
mov esi, dword [ebp + 0x10]
movzx eax, word [esi + 0x20]
cmp eax, edi
cmovb edi, eax
mov dword [ebx + 0x40], edi
movzx ecx, word [esi + 0x1c]
movzx eax, word [esi + 0x1e]
add ecx, esi
add eax, 0x2e
add eax, ecx
push edi
push eax
lea eax, [ebx + 0x250]
push eax
call fcn.004e74d0
mov edx, dword [ebp + 0xc]
add esp, 0x1c
mov byte [edi + ebx + 0x250], 0
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x48]
test ecx, ecx
je 0x437335
cmp edx, dword [edi + 0x10]
jae 0x437335
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edx*4]
add eax, dword [ecx]
je 0x437335
movzx ecx, word [eax + 0x1c]
test ecx, ecx
je 0x437329
cmp byte [ecx + eax + 0x2d], 0x2f
jne 0x437329
mov eax, 1
jmp 0x43733e
movzx eax, byte [eax + 0x26]
shr eax, 4
and eax, 1
jmp 0x43733e
mov dword [edi + 0x1c], 0x18
xor eax, eax
mov dword [ebx + 0x44], eax
mov ecx, dword [edi + 0x48]
test ecx, ecx
je 0x437365
cmp edx, dword [edi + 0x10]
jae 0x437365
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edx*4]
add eax, dword [ecx]
je 0x437365
test byte [eax + 8], 0x41
mov eax, 0
setne al
jmp 0x43736e
mov dword [edi + 0x1c], 0x18
xor eax, eax
mov dword [ebx + 0x48], eax
mov ecx, dword [edi + 0x48]
test ecx, ecx
je 0x4373c3
cmp edx, dword [edi + 0x10]
jae 0x4373c3
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edx*4]
add eax, dword [ecx]
je 0x4373c3
movzx ecx, word [eax + 0xa]
movzx eax, word [eax + 8]
test cx, cx
je 0x4373a2
cmp ecx, 8
je 0x4373a2
mov dword [edi + 0x1c], 4
jmp 0x4373ca
test al, 0x41
je 0x4373af
mov dword [edi + 0x1c], 5
jmp 0x4373ca
test al, 0x20
je 0x4373bc
mov dword [edi + 0x1c], 6
jmp 0x4373ca
mov eax, 1
jmp 0x4373cc
mov dword [edi + 0x1c], 0x18
xor eax, eax
mov ecx, dword [ebx + 0x24]
mov edx, dword [ebx + 0x28]
mov dword [ebx + 0x4c], eax
mov eax, dword [ebx + 0x20]
cmp ecx, dword [ebx + 0x2c]
jb 0x4373eb
ja 0x4373e3
cmp eax, edx
jbe 0x4373eb
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
jmp 0x4373f7
mov edi, dword [ebx + 0x2c]
mov dword [ebp - 4], edi
mov edi, dword [ebp + 8]
mov dword [ebp - 8], edx
mov esi, dword [ebx + 0x3c]
cmp dword [ebp - 4], esi
mov esi, dword [ebp + 0x10]
jb 0x437421
ja 0x43740f
mov edi, dword [ebp - 8]
cmp edi, dword [ebx + 0x38]
mov edi, dword [ebp + 8]
jbe 0x437421
cmp ecx, dword [ebx + 0x2c]
jb 0x43741a
ja 0x437427
cmp eax, edx
ja 0x437427
mov ecx, dword [ebx + 0x2c]
mov eax, edx
jmp 0x437427
mov eax, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x3c]
cmp eax, 0xffffffff
jne 0x43746f
test ecx, ecx
jne 0x43746f
movzx edx, word [esi + 0x1e]
test edx, edx
je 0x43746f
movzx eax, word [esi + 0x1c]
add esi, 0x2e
add esi, eax
cmp edx, 4
jb 0x4374fd
movzx eax, word [esi + 2]
lea ecx, [eax + 4]
cmp ecx, edx
ja 0x4374fd
cmp word [esi], 1
je 0x43747b
add esi, 4
mov ecx, 0xfffffffc
sub ecx, eax
add esi, eax
add edx, ecx
jne 0x437441
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x18]
add esi, 4
test ecx, ecx
je 0x43748b
mov dword [ecx], 1
cmp dword [ebx + 0x28], 0xffffffff
jne 0x4374af
cmp dword [ebx + 0x2c], 0
jne 0x4374af
cmp eax, 8
jb 0x4374fd
mov edx, dword [esi + 4]
xor ecx, ecx
or ecx, dword [esi]
add esi, 8
mov dword [ebx + 0x28], ecx
add eax, 0xfffffff8
mov dword [ebx + 0x2c], edx
cmp dword [ebx + 0x20], 0xffffffff
jne 0x4374d3
cmp dword [ebx + 0x24], 0
jne 0x4374d3
cmp eax, 8
jb 0x4374fd
mov edx, dword [esi + 4]
xor ecx, ecx
or ecx, dword [esi]
add esi, 8
mov dword [ebx + 0x20], ecx
sub eax, 8
mov dword [ebx + 0x24], edx
cmp dword [ebx + 0x38], 0xffffffff
jne 0x43746f
cmp dword [ebx + 0x3c], 0
jne 0x43746f
cmp eax, 8
jb 0x4374fd
mov ecx, dword [esi + 4]
xor eax, eax
or eax, dword [esi]
pop edi
mov dword [ebx + 0x38], eax
mov eax, 1
pop esi
mov dword [ebx + 0x3c], ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi + 0x1c], 9
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
test eax, eax
je 0x43751b
mov dword [eax + 0x1c], 0x18
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret