Function at 0x4165b0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x45d320]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp + 0x24]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov dword [ebp - 0x218], eax
mov eax, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x214], edx
lea esi, [ecx + 0x10]
test eax, eax
je 0x41666a
jns 0x416772
mov ecx, eax
and ecx, 0x7fffffff
movzx eax, word [ecx + ebx]
add ecx, ebx
mov edx, 0x104
mov dword [ebp - 0x210], ecx
cmp ax, dx
jae 0x41676f
push eax
add ecx, 2
push ecx
lea ecx, [ebp - 0x20c]
push ecx
call fcn.0042eeb8
mov edx, dword [ebp - 0x210]
movzx eax, word [edx]
mov edx, dword [ebp - 0x214]
xor ecx, ecx
mov word [ebp + eax*2 - 0x20c], cx
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.0042c881
add esp, 0x14
test eax, eax
jne 0x41675c
mov ecx, dword [ebp - 0x220]
movzx eax, word [ecx + 0xc]
xor edx, edx
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x210], eax
cmp dx, ax
jae 0x4166de
jmp 0x416690
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp - 0x214]
push eax
mov eax, dword [ebp - 0x224]
push ecx
push edx
push eax
mov eax, ebx
mov ecx, esi
mov edx, edi
call fcn.00416870
add esp, 0x10
test al, al
jne 0x4167a6
mov eax, dword [ebp - 0x21c]
inc eax
add esi, 8
mov dword [ebp - 0x21c], eax
cmp ax, word [ebp - 0x210]
jb 0x416690
mov ecx, dword [ebp - 0x220]
movzx ecx, word [ecx + 0xe]
xor edx, edx
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x210], ecx
cmp dx, cx
jae 0x41675c
lea esp, [esp]
mov eax, dword [esi + 4]
test eax, eax
jns 0x4167b9
mov ecx, dword [ebp - 0x218]
mov edx, dword [ebp + 0x20]
push ecx
mov ecx, dword [ebp - 0x214]
push edx
mov edx, dword [esi]
push ecx
push edx
and eax, 0x7fffffff
push ebx
add eax, ebx
push eax
mov eax, dword [ebp - 0x224]
push eax
push edi
call fcn.004165b0
add esp, 0x20
test al, al
jne 0x416859
mov ecx, dword [ebp - 0x210]
mov eax, dword [ebp - 0x21c]
inc eax
add esi, 8
mov dword [ebp - 0x21c], eax
cmp ax, cx
jb 0x416700
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042bd98
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x18]
movzx ecx, word [ebp + 0x20]
cmp eax, ecx
jne 0x41675c
mov edx, dword [ebp - 0x218]
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 0x224]
push edx
push 0x409
push eax
push ecx
mov eax, ebx
mov ecx, esi
mov edx, edi
call fcn.00416870
add esp, 0x10
test al, al
je 0x41675c
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042bd98
mov esp, ebp
pop ebp
ret
test dword [esi], 0x80000000
jne 0x416747
mov dx, word [ebp + 0x20]
cmp dx, word [esi]
jne 0x416747
movzx ecx, word [edi + 0x14]
mov esi, eax
mov eax, dword [esi + ebx + 4]
mov edx, dword [esi + ebx]
mov dword [ebp - 0x220], eax
lea eax, [ecx + edi + 0x18]
movzx ecx, word [edi + 6]
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x210], edx
test ecx, ecx
je 0x41682e
mov edi, dword [eax + 0xc]
cmp edx, edi
jb 0x416817
mov edx, dword [eax + 8]
add edx, edi
mov dword [ebp - 0x214], edx
mov edx, dword [ebp - 0x210]
cmp edx, dword [ebp - 0x214]
jb 0x416821
inc esi
add eax, 0x28
cmp esi, ecx
jb 0x4167f7
jmp 0x41682e
mov ebx, dword [eax + 0x14]
sub ebx, edi
add ebx, edx
add ebx, dword [ebp - 0x224]
mov edx, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x218]
push edx
call fcn.0040d950
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx]
push eax
push ebx
push edx
call fcn.0042b3c0
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.0042bd98
mov esp, ebp
pop ebp
ret