Function at 0x457230
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x460460
push 0x44e54c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffb8
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
cmp dword [ebp + 8], 0
jne 0x457261
jmp 0x45751c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x30], edx
jmp 0x45727e
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x30], 0
je 0x457295
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
cmp eax, dword [ebp + 8]
jne 0x457293
jmp 0x45751c
jmp 0x457275
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 0x10]
call 0x45da74
test eax, eax
je 0x4572aa
jmp 0x45751c
mov edx, dword [0x463914]
add edx, 1
mov dword [0x463914], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov ecx, dword [0x462be8]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
cmp dword [ecx], 0x4550
jne 0x4574d1
cmp dword [0x463680], 1
jne 0x45730a
cmp dword [ebp + 8], 0x80000000
jbe 0x45730a
push 0
push 0
push 0
push 0
call dword [0x463778]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
add eax, dword [edx + 0x80]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 1
cmp dword [0x463680], 1
jne 0x4573a7
mov dword [ebp - 0x40], 0
jmp 0x45733b
mov ecx, dword [ebp - 0x40]
add ecx, 1
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x38]
xor eax, eax
mov ax, word [edx + 6]
cmp dword [ebp - 0x40], eax
jae 0x4573a7
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov dx, word [ecx + 0x14]
mov eax, dword [ebp - 0x38]
lea ecx, [eax + edx + 0x18]
mov edx, dword [ebp - 0x40]
imul edx, edx, 0x28
add ecx, edx
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x34]
add ecx, dword [eax + 0xc]
cmp ecx, dword [ebp - 0x20]
ja 0x4573a5
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x34]
add eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x44]
add eax, dword [ecx + 8]
cmp dword [ebp - 0x20], eax
ja 0x4573a5
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x24]
and eax, 0x10000000
test eax, eax
je 0x4573a3
push 0
push 0
push 0
push 0
call dword [0x463778]
jmp 0x4573a7
jmp 0x457332
mov dword [ebp - 4], 0
jmp 0x4573ce
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx + 0x84]
xor edx, edx
mov ecx, 0x14
div ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x3c], 0
jmp 0x4573f5
mov edx, dword [ebp - 0x3c]
add edx, 1
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x1c]
jae 0x4574d1
mov ecx, dword [ebp - 0x3c]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
add eax, dword [edx + ecx + 0xc]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x3c]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x20]
cmp dword [edx + ecx + 0xc], 0
je 0x45743d
mov eax, dword [ebp - 0x3c]
imul eax, eax, 0x14
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + eax + 0xc]
mov eax, dword [ebp - 0x34]
xor ecx, ecx
mov cl, byte [eax + edx]
test ecx, ecx
jne 0x457442
jmp 0x4574d1
mov edx, dword [ebp - 0x3c]
imul edx, edx, 0x14
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x34]
add ecx, dword [eax + edx + 0x10]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x50]
push edx
call 0x45d18f
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x50]
mov dword [0x462be8], eax
cmp dword [ebp - 0x4c], 0
je 0x457483
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00457230
add esp, 0xc
push 0
call dword [fcn.00463718]
cmp eax, dword [ebp + 8]
je 0x4574cc
mov ecx, dword [ebp - 0x4c]
push ecx
mov ecx, dword [0x4680d8]
call 0x45da74
test eax, eax
je 0x4574cc
jmp 0x4574ae
mov edx, dword [ebp - 0x48]
add edx, 4
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
cmp dword [eax], 0
je 0x4574cc
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x48]
push eax
call fcn.00457530
add esp, 0xc
jmp 0x4574a5
jmp 0x4573ec
push 1
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.0045db91
mov dword [ebp - 4], 0xffffffff
jmp 0x457505
mov eax, dword [ebp - 0x24]
mov dword [0x462be8], eax
mov ecx, dword [0x463914]
sub ecx, 1
mov dword [0x463914], ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret