Function at 0x51ccf0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x817cc4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x51cf90
sub esp, 8
mov eax, dword [esp + 0x14]
cmp eax, 0x20
je 0x51cd4b
lea eax, [0x5b78e0]
mov dword [esp], eax
call fcn.0040bd60
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2e
lea ecx, [0x5e2ca1]
mov dword [eax], ecx
mov dword [esp + 0x1c], 0
lea ecx, [0x6df5ec]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
add esp, 8
ret
mov eax, dword [esp + 0x10]
movzx ecx, byte [eax]
movzx edx, byte [eax + 1]
mov ebx, edx
shl edx, 8
or ecx, edx
shr ebx, 0x18
movzx edx, byte [eax + 2]
mov ebp, edx
shl edx, 0x10
or ecx, edx
shr ebp, 0x10
or ebx, ebp
movzx edx, byte [eax + 3]
mov ebp, edx
shr edx, 8
or ebx, edx
shl ebp, 0x18
or ecx, ebp
movzx edx, byte [eax + 4]
or edx, ebx
movzx ebx, byte [eax + 5]
shl ebx, 8
or edx, ebx
movzx ebx, byte [eax + 6]
shl ebx, 0x10
or edx, ebx
movzx ebx, byte [eax + 7]
shl ebx, 0x18
or edx, ebx
mov ebx, edx
and edx, 0x7ffff
mov ebp, dword [esp + 0xc]
mov dword [ebp + 4], ebx
mov dword [ebp], ecx
mov dword [ebp + 4], edx
movzx ecx, byte [eax + 6]
movzx edx, byte [eax + 7]
mov ebx, edx
shl edx, 8
or ecx, edx
shr ebx, 0x18
movzx edx, byte [eax + 8]
mov esi, edx
shl edx, 0x10
or ecx, edx
shr esi, 0x10
or ebx, esi
movzx edx, byte [eax + 9]
mov esi, edx
shr edx, 8
or ebx, edx
shl esi, 0x18
or ecx, esi
shr ecx, 3
movzx edx, byte [eax + 0xa]
or edx, ebx
movzx ebx, byte [eax + 0xb]
shl ebx, 8
or edx, ebx
movzx ebx, byte [eax + 0xc]
shl ebx, 0x10
or edx, ebx
movzx ebx, byte [eax + 0xd]
shl ebx, 0x18
or edx, ebx
mov ebx, edx
shr edx, 3
shl ebx, 0x1d
or ebx, ecx
mov ecx, edx
and edx, 0x7ffff
mov dword [ebp + 0xc], ecx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], edx
movzx ecx, byte [eax + 0xc]
movzx edx, byte [eax + 0xd]
mov ebx, edx
shl edx, 8
or ecx, edx
shr ebx, 0x18
movzx edx, byte [eax + 0xe]
mov esi, edx
shr edx, 0x10
or edx, ebx
shl esi, 0x10
or ecx, esi
movzx ebx, byte [eax + 0xf]
mov esi, ebx
shr ebx, 8
or edx, ebx
shl esi, 0x18
or esi, ecx
shr esi, 6
movzx ecx, byte [eax + 0x10]
or ecx, edx
movzx edx, byte [eax + 0x11]
shl edx, 8
or ecx, edx
movzx edx, byte [eax + 0x12]
shl edx, 0x10
or ecx, edx
movzx edx, byte [eax + 0x13]
shl edx, 0x18
or ecx, edx
mov edx, ecx
shr ecx, 6
shl edx, 0x1a
or edx, esi
mov ebx, ecx
and ecx, 0x7ffff
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x10], edx
mov dword [ebp + 0x14], ecx
movzx ecx, byte [eax + 0x13]
movzx edx, byte [eax + 0x14]
mov ebx, edx
shl edx, 8
or ecx, edx
shr ebx, 0x18
movzx edx, byte [eax + 0x15]
mov esi, edx
shr edx, 0x10
or edx, ebx
shl esi, 0x10
or ecx, esi
movzx ebx, byte [eax + 0x16]
mov esi, ebx
shr ebx, 8
or edx, ebx
shl esi, 0x18
or esi, ecx
shr esi, 1
movzx ecx, byte [eax + 0x17]
or ecx, edx
movzx edx, byte [eax + 0x18]
shl edx, 8
or ecx, edx
movzx edx, byte [eax + 0x19]
shl edx, 0x10
or ecx, edx
movzx edx, byte [eax + 0x1a]
shl edx, 0x18
or ecx, edx
mov edx, ecx
shr ecx, 1
shl edx, 0x1f
or edx, esi
mov ebx, ecx
and ecx, 0x7ffff
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x18], edx
mov dword [ebp + 0x1c], ecx
movzx ecx, byte [eax + 0x18]
movzx edx, byte [eax + 0x19]
mov ebx, edx
shl edx, 8
or ecx, edx
shr ebx, 0x18
movzx edx, byte [eax + 0x1a]
mov esi, edx
shr edx, 0x10
or edx, ebx
shl esi, 0x10
or ecx, esi
movzx ebx, byte [eax + 0x1b]
mov esi, ebx
shr ebx, 8
or edx, ebx
shl esi, 0x18
or esi, ecx
shr esi, 0xc
movzx ecx, byte [eax + 0x1c]
or ecx, edx
movzx edx, byte [eax + 0x1d]
shl edx, 8
or ecx, edx
movzx edx, byte [eax + 0x1e]
shl edx, 0x10
or ecx, edx
movzx eax, byte [eax + 0x1f]
shl eax, 0x18
or ecx, eax
mov eax, ecx
shr ecx, 0xc
shl eax, 0x14
or eax, esi
mov edx, ecx
and ecx, 0x7ffff
mov dword [ebp + 0x24], edx
mov dword [ebp + 0x20], eax
mov dword [ebp + 0x24], ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
add esp, 8
ret
call fcn.00465910
jmp fcn.0051ccf0