Function at 0x509860
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x68]
cmp eax, dword [ecx + 8]
jbe 0x509c98
sub esp, 0xe8
mov eax, dword [esp + 0xf0]
movzx ecx, byte [eax + 1]
mov edx, ecx
shl ecx, 8
movzx ebx, byte [eax]
mov ebp, ebx
add ebx, ecx
mov dword [esp + 0x60], ebx
movzx esi, byte [eax + 2]
mov dword [esp + 0xe4], esi
shl esi, 0x10
mov dword [esp + 0x64], esi
add esi, ebx
mov dword [esp + 0x58], esi
movzx ebx, byte [eax + 3]
mov dword [esp + 0xe0], ebx
shl ebx, 0x18
mov dword [esp + 0x68], ebx
add ebx, esi
mov dword [esp + 0x54], ebx
add ebx, 0
mov dword [esp + 0x50], ebx
add ebx, 0
mov dword [esp + 0x4c], ebx
add ebx, 0
mov dword [esp + 0x48], ebx
add ebx, 0
movzx esi, byte [eax + 9]
mov dword [esp + 0xdc], esi
shl esi, 8
mov dword [esp + 0x70], esi
movzx edi, byte [eax + 8]
mov dword [esp + 0xd8], edi
add edi, esi
mov dword [esp + 0x44], edi
movzx esi, byte [eax + 0xa]
mov dword [esp + 0xd4], esi
shl esi, 0x10
mov dword [esp + 0x74], esi
add esi, edi
mov dword [esp + 0x40], esi
movzx edi, byte [eax + 0xb]
mov dword [esp + 0xd0], edi
shl edi, 0x18
mov dword [esp + 0x78], edi
add edi, esi
mov dword [esp + 0x3c], edi
add edi, 0
mov dword [esp + 0x38], edi
add edi, 0
mov dword [esp + 0x34], edi
add edi, 0
mov dword [esp + 0x30], edi
add edi, 0
mov dword [esp + 0x2c], edi
movzx esi, byte [eax + 0x11]
mov dword [esp + 0xcc], esi
shl esi, 8
mov dword [esp + 0x7c], esi
movzx edi, byte [eax + 0x10]
mov dword [esp + 0xc8], edi
add edi, esi
mov dword [esp + 0x28], edi
movzx esi, byte [eax + 0x12]
mov dword [esp + 0xc4], esi
shl esi, 0x10
mov dword [esp + 0x80], esi
add esi, edi
mov dword [esp + 0x24], esi
movzx edi, byte [eax + 0x13]
mov dword [esp + 0xc0], edi
shl edi, 0x18
mov dword [esp], edi
add edi, esi
mov dword [esp + 0x20], edi
add edi, 0
mov dword [esp + 0x1c], edi
add edi, 0
mov dword [esp + 0x18], edi
add edi, 0
mov dword [esp + 0x14], edi
add edi, 0
mov dword [esp + 0x10], edi
movzx esi, byte [eax + 0x19]
mov dword [esp + 0xbc], esi
shl esi, 8
mov dword [esp + 0x5c], esi
movzx edi, byte [eax + 0x18]
mov dword [esp + 0xb8], edi
add edi, esi
mov dword [esp + 0xc], edi
movzx esi, byte [eax + 0x1a]
mov dword [esp + 0xb4], esi
shl esi, 0x10
mov dword [esp + 0x6c], esi
add esi, edi
mov dword [esp + 8], esi
movzx edi, byte [eax + 0x1b]
mov dword [esp + 0xb0], edi
shl edi, 0x18
mov dword [esp + 0x84], edi
add edi, esi
mov dword [esp + 4], edi
movzx esi, byte [eax + 0x17]
mov dword [esp + 0xac], esi
movzx edi, byte [eax + 0x16]
mov dword [esp + 0xa8], edi
movzx esi, byte [eax + 0x15]
mov dword [esp + 0xa4], esi
movzx edi, byte [eax + 0x14]
mov dword [esp + 0xa0], edi
movzx esi, byte [eax + 0xf]
mov dword [esp + 0x9c], esi
movzx edi, byte [eax + 0xe]
mov dword [esp + 0x98], edi
movzx esi, byte [eax + 0xd]
mov dword [esp + 0x94], esi
movzx edi, byte [eax + 0xc]
mov dword [esp + 0x90], edi
movzx esi, byte [eax + 7]
mov dword [esp + 0x8c], esi
movzx edi, byte [eax + 6]
mov dword [esp + 0x88], edi
movzx esi, byte [eax + 5]
movzx eax, byte [eax + 4]
mov edi, dword [esp + 0xec]
mov dword [edi], ebx
shr edx, 0x18
add ebp, ecx
adc edx, 0
mov ecx, dword [esp + 0xe4]
shr ecx, 0x10
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
add ebx, ebp
adc edx, ecx
mov ecx, dword [esp + 0xe0]
shr ecx, 8
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x58]
add ebx, ebp
adc edx, ecx
mov ecx, dword [esp + 0x54]
add ecx, 0
adc eax, edx
shl esi, 8
mov ecx, dword [esp + 0x50]
add ecx, 0
adc esi, eax
mov eax, dword [esp + 0x88]
shl eax, 0x10
mov ecx, dword [esp + 0x4c]
add ecx, 0
adc eax, esi
mov ecx, dword [esp + 0x8c]
shl ecx, 0x18
mov edx, dword [esp + 0x48]
add edx, 0
adc ecx, eax
mov dword [edi + 4], ecx
mov eax, dword [esp + 0x2c]
mov dword [edi + 8], eax
mov eax, dword [esp + 0xdc]
shr eax, 0x18
mov ecx, dword [esp + 0xd8]
mov edx, dword [esp + 0x70]
add ecx, edx
adc eax, 0
mov ecx, dword [esp + 0xd4]
shr ecx, 0x10
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x44]
add edx, ebx
adc eax, ecx
mov ecx, dword [esp + 0xd0]
shr ecx, 8
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x40]
add edx, ebx
adc eax, ecx
mov ecx, dword [esp + 0x3c]
add ecx, 0
mov ecx, dword [esp + 0x90]
adc ecx, eax
mov eax, dword [esp + 0x94]
shl eax, 8
mov edx, dword [esp + 0x38]
add edx, 0
adc eax, ecx
mov ecx, dword [esp + 0x98]
shl ecx, 0x10
mov edx, dword [esp + 0x34]
add edx, 0
adc ecx, eax
mov eax, dword [esp + 0x9c]
shl eax, 0x18
mov edx, dword [esp + 0x30]
add edx, 0
adc eax, ecx
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0xcc]
shr eax, 0x18
mov ecx, dword [esp + 0xc8]
mov edx, dword [esp + 0x7c]
add ecx, edx
adc eax, 0
mov ecx, dword [esp + 0xc4]
shr ecx, 0x10
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x28]
add edx, ebx
adc eax, ecx
mov ecx, dword [esp + 0xc0]
shr ecx, 8
mov edx, dword [esp]
mov ebx, dword [esp + 0x24]
add edx, ebx
adc eax, ecx
mov ecx, dword [esp + 0x20]
add ecx, 0
mov ecx, dword [esp + 0xa0]
adc ecx, eax
mov eax, dword [esp + 0xa4]
shl eax, 8
mov edx, dword [esp + 0x1c]
add edx, 0
adc eax, ecx
mov ecx, dword [esp + 0xa8]
shl ecx, 0x10
mov edx, dword [esp + 0x18]
add edx, 0
adc ecx, eax
mov eax, dword [esp + 0xac]
shl eax, 0x18
mov edx, dword [esp + 0x14]
add edx, 0
adc eax, ecx
mov dword [edi + 0x14], eax
mov eax, dword [esp + 4]
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0xbc]
shr eax, 0x18
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0x5c]
add ecx, edx
adc eax, 0
mov ecx, dword [esp + 0xb4]
shr ecx, 0x10
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0xc]
add edx, ebx
adc eax, ecx
mov ecx, dword [esp + 0xb0]
shr ecx, 8
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 8]
add edx, ebx
adc eax, ecx
mov dword [edi + 0x1c], eax
add esp, 0xe8
ret
call fcn.00461cc0
jmp fcn.00509860