Function at 0x51f9d0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x84873c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x51fe26
sub esp, 0x54
nop
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
lea eax, [0x6d99f4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 2
call fcn.004c4650
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x2c], ecx
cmp eax, 1
je 0x51fd06
cmp eax, 2
jne 0x51fc8a
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], 0xa
mov dword [esp + 0xc], 0x10
call fcn.004981d0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
test eax, eax
je 0x51fb2d
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.0040a0d0
mov eax, dword [esp + 8]
lea ecx, [0x64c320]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x38]
test eax, eax
je 0x51facf
mov eax, dword [eax + 4]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x50], eax
lea eax, [0x68e811]
mov dword [esp], eax
mov dword [esp + 4], 0x29
lea eax, [esp + 0x44]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004b9b20
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
add esp, 0x54
ret
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], 0xa
mov dword [esp + 0xc], 0x10
call fcn.004981d0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
test eax, eax
je 0x51fc24
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.0040a0d0
mov eax, dword [esp + 8]
lea ecx, [0x64c320]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x38]
test eax, eax
je 0x51fbc6
mov eax, dword [eax + 4]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x50], eax
lea eax, [0x68e811]
mov dword [esp], eax
mov dword [esp + 4], 0x29
lea eax, [esp + 0x44]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004b9b20
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
add esp, 0x54
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov word [esp], cx
mov word [esp + 2], ax
call fcn.0051f810
movzx eax, word [esp + 4]
movzx ecx, word [esp + 6]
mov word [esp + 0x28], ax
mov word [esp + 0x2a], cx
lea eax, [0x66a580]
mov dword [esp], eax
lea eax, [esp + 0x28]
mov dword [esp + 4], eax
call fcn.00409ef0
mov eax, dword [esp + 8]
lea ecx, [0x6dbd68]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
add esp, 0x54
ret
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp], eax
call fcn.00409fc0
mov eax, dword [esp + 4]
lea ecx, [0x64c4a0]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
lea eax, [0x68c372]
mov dword [esp], eax
mov dword [esp + 4], 0x23
lea eax, [esp + 0x3c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004b9b20
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
add esp, 0x54
ret
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], 0xa
mov dword [esp + 0xc], 0x10
call fcn.004981d0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
test eax, eax
je 0x51fdf3
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.0040a0d0
mov eax, dword [esp + 8]
lea ecx, [0x64c320]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x38]
test eax, eax
je 0x51fd95
mov eax, dword [eax + 4]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x50], eax
lea eax, [0x68e811]
mov dword [esp], eax
mov dword [esp + 4], 0x29
lea eax, [esp + 0x44]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004b9b20
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
add esp, 0x54
ret
mov eax, dword [esp + 0x10]
mov word [esp], ax
call fcn.00409f50
mov eax, dword [esp + 4]
lea ecx, [0x6dbd50]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
add esp, 0x54
ret
call fcn.00469200
jmp fcn.0051f9d0