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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x114]
cmp eax, dword [ecx + 8]
jbe 0x508cb2
sub esp, 0x194
mov eax, dword [esp + 0x19c]
movzx ecx, byte [eax + 1]
mov edx, ecx
shl ecx, 8
movzx ebx, byte [eax]
mov ebp, ebx
add ebx, ecx
movzx esi, byte [eax + 2]
mov edi, esi
shl esi, 0x10
mov dword [esp + 0x50], esi
add esi, ebx
movzx eax, byte [eax + 3]
mov dword [esp + 0x190], eax
shl eax, 0x18
mov dword [esp + 0x54], eax
add eax, esi
mov dword [esp + 0x4c], eax
add eax, 0
mov dword [esp + 0x44], eax
add eax, 0
mov dword [esp + 0x40], eax
add eax, 0
mov dword [esp + 0x3c], eax
add eax, 0
mov dword [esp + 0x38], eax
shr edx, 0x18
add ebp, ecx
adc edx, 0
shr edi, 0x10
mov ecx, dword [esp + 0x50]
add ecx, ebx
adc edx, edi
mov ecx, dword [esp + 0x190]
shr ecx, 8
mov ebx, dword [esp + 0x54]
add ebx, esi
adc edx, ecx
mov ecx, dword [esp + 0x19c]
movzx ebx, byte [ecx + 4]
mov ebp, dword [esp + 0x4c]
add ebp, 0
adc ebx, edx
movzx edx, byte [ecx + 5]
shl edx, 8
mov ebp, dword [esp + 0x44]
add ebp, 0
adc edx, ebx
movzx ebx, byte [ecx + 6]
shl ebx, 0x10
mov ebp, dword [esp + 0x40]
add ebp, 0
adc ebx, edx
movzx edx, byte [ecx + 7]
shl edx, 0x18
mov ebp, dword [esp + 0x3c]
add ebp, 0
adc edx, ebx
mov dword [esp + 0x18c], edx
movzx ebx, byte [ecx + 8]
mov ebp, ebx
shl ebx, 6
shr edx, 0x1a
mov edi, edx
add edx, ebx
movzx esi, byte [ecx + 9]
mov dword [esp + 0x190], esi
shl esi, 0xe
mov dword [esp + 0x5c], esi
add esi, edx
movzx eax, byte [ecx + 0xa]
mov dword [esp + 0x188], eax
shl eax, 0x16
mov dword [esp + 0x60], eax
add eax, esi
movzx ecx, byte [ecx + 0xb]
mov dword [esp + 0x184], ecx
shl ecx, 0x1e
mov dword [esp + 0x64], ecx
add ecx, eax
mov dword [esp + 0x34], ecx
add ecx, 0
mov dword [esp + 0x30], ecx
add ecx, 0
mov dword [esp + 0x2c], ecx
add ecx, 0
mov dword [esp + 0x28], ecx
shr ebp, 0x1a
add edi, ebx
adc ebp, 0
mov ebx, dword [esp + 0x190]
shr ebx, 0x12
mov edi, dword [esp + 0x5c]
add edi, edx
adc ebx, ebp
mov edx, dword [esp + 0x188]
shr edx, 0xa
mov ebp, dword [esp + 0x60]
add ebp, esi
adc edx, ebx
mov ebx, dword [esp + 0x184]
shr ebx, 2
mov ebp, dword [esp + 0x64]
add ebp, eax
adc ebx, edx
mov eax, dword [esp + 0x19c]
movzx edx, byte [eax + 0xc]
shl edx, 6
mov ebp, dword [esp + 0x34]
add ebp, 0
adc edx, ebx
movzx ebx, byte [eax + 0xd]
shl ebx, 0xe
mov ebp, dword [esp + 0x30]
add ebp, 0
adc ebx, edx
movzx edx, byte [eax + 0xe]
shl edx, 0x16
mov ebp, dword [esp + 0x2c]
add ebp, 0
adc edx, ebx
mov dword [esp + 0x180], edx
movzx ebx, byte [eax + 0xf]
mov ebp, ebx
shl ebx, 4
shr edx, 0x1a
mov edi, edx
add edx, ebx
movzx esi, byte [eax + 0x10]
mov dword [esp + 0x190], esi
shl esi, 0xc
mov dword [esp + 0x68], esi
add esi, edx
movzx ecx, byte [eax + 0x11]
mov dword [esp + 0x188], ecx
shl ecx, 0x14
mov dword [esp + 0x70], ecx
add ecx, esi
movzx eax, byte [eax + 0x12]
mov dword [esp + 0x184], eax
shl eax, 0x1c
mov dword [esp + 0x74], eax
add eax, ecx
mov dword [esp + 0x24], eax
add eax, 0
mov dword [esp + 0x20], eax
add eax, 0
mov dword [esp + 0x1c], eax
add eax, 0
mov dword [esp + 0x18], eax
shr ebp, 0x1c
add edi, ebx
adc ebp, 0
mov ebx, dword [esp + 0x190]
shr ebx, 0x14
mov edi, dword [esp + 0x68]
add edi, edx
adc ebx, ebp
mov edx, dword [esp + 0x188]
shr edx, 0xc
mov ebp, dword [esp + 0x70]
add ebp, esi
adc edx, ebx
mov ebx, dword [esp + 0x184]
shr ebx, 4
mov ebp, dword [esp + 0x74]
add ebp, ecx
adc ebx, edx
mov ecx, dword [esp + 0x19c]
movzx edx, byte [ecx + 0x13]
shl edx, 4
mov ebp, dword [esp + 0x24]
add ebp, 0
adc edx, ebx
movzx ebx, byte [ecx + 0x14]
shl ebx, 0xc
mov ebp, dword [esp + 0x20]
add ebp, 0
adc ebx, edx
movzx edx, byte [ecx + 0x15]
shl edx, 0x14
mov ebp, dword [esp + 0x1c]
add ebp, 0
adc edx, ebx
mov dword [esp + 0x17c], edx
movzx ebx, byte [ecx + 0x16]
mov dword [esp + 0x190], ebx
shl ebx, 2
mov dword [esp + 0x78], ebx
shr edx, 0x1a
mov dword [esp + 0x188], edx
add edx, ebx
mov dword [esp + 0x14], edx
movzx ebx, byte [ecx + 0x17]
mov dword [esp + 0x184], ebx
shl ebx, 0xa
mov dword [esp + 0x7c], ebx
add ebx, edx
mov dword [esp + 0x10], ebx
movzx edx, byte [ecx + 0x18]
mov dword [esp + 0x178], edx
shl edx, 0x12
mov dword [esp + 0x80], edx
add edx, ebx
mov dword [esp + 0xc], edx
movzx ebx, byte [ecx + 0x19]
mov dword [esp + 0x174], ebx
shl ebx, 0x1a
mov dword [esp + 0x84], ebx
add ebx, edx
mov dword [esp + 8], ebx
add ebx, 0
mov dword [esp + 4], ebx
add ebx, 0
mov dword [esp], ebx
add ebx, 0
mov dword [esp + 0x124], ebx
movzx edx, byte [ecx + 0x1e]
mov dword [esp + 0x170], edx
shl edx, 8
movzx edi, byte [ecx + 0x1d]
mov dword [esp + 0x16c], edi
add edi, edx
movzx ebp, byte [ecx + 0x1f]
mov dword [esp + 0x168], ebp
shl ebp, 0x10
mov dword [esp + 0x88], ebp
add ebp, edi
movzx ebx, byte [ecx + 0x20]
mov dword [esp + 0x164], ebx
shl ebx, 0x18
mov dword [esp + 0x8c], ebx
add ebx, ebp
mov dword [esp + 0x120], ebx
add ebx, 0
mov dword [esp + 0x11c], ebx
add ebx, 0
mov dword [esp + 0x118], ebx
add ebx, 0
mov dword [esp + 0x114], ebx
add ebx, 0
mov dword [esp + 0x110], ebx
mov ebx, dword [esp + 0x170]
shr ebx, 0x18
mov esi, dword [esp + 0x16c]
add esi, edx
adc ebx, 0
mov edx, dword [esp + 0x168]
shr edx, 0x10
mov esi, dword [esp + 0x88]
add esi, edi
adc ebx, edx
mov edx, dword [esp + 0x164]
shr edx, 8
mov esi, dword [esp + 0x8c]
add esi, ebp
adc ebx, edx
movzx edx, byte [ecx + 0x21]
mov ebp, dword [esp + 0x120]
add ebp, 0
adc edx, ebx
movzx ebx, byte [ecx + 0x22]
shl ebx, 8
mov ebp, dword [esp + 0x11c]
add ebp, 0
adc ebx, edx
movzx edx, byte [ecx + 0x23]
shl edx, 0x10
mov ebp, dword [esp + 0x118]
add ebp, 0
adc edx, ebx
movzx ebx, byte [ecx + 0x24]
shl ebx, 0x18
mov ebp, dword [esp + 0x114]
add ebp, 0
adc ebx, edx
mov dword [esp + 0x160], ebx
movzx edx, byte [ecx + 0x25]
mov ebp, edx
shl edx, 6
shr ebx, 0x1a
mov edi, ebx
add ebx, edx
movzx esi, byte [ecx + 0x26]
mov dword [esp + 0x170], esi
shl esi, 0xe
mov dword [esp + 0x90], esi
add esi, ebx
movzx eax, byte [ecx + 0x27]
mov dword [esp + 0x16c], eax
shl eax, 0x16
mov dword [esp + 0x94], eax
add eax, esi
movzx ecx, byte [ecx + 0x28]
mov dword [esp + 0x168], ecx
shl ecx, 0x1e
mov dword [esp + 0x98], ecx
add ecx, eax
mov dword [esp + 0x10c], ecx
add ecx, 0
mov dword [esp + 0x108], ecx
add ecx, 0
mov dword [esp + 0x104], ecx
add ecx, 0
mov dword [esp + 0x100], ecx
shr ebp, 0x1a
add edi, edx
adc ebp, 0
mov edx, dword [esp + 0x170]
shr edx, 0x12
mov edi, dword [esp + 0x90]
add edi, ebx
adc edx, ebp
mov ebx, dword [esp + 0x16c]
shr ebx, 0xa
mov ebp, dword [esp + 0x94]
add ebp, esi
adc ebx, edx
mov edx, dword [esp + 0x168]
shr edx, 2
mov ebp, dword [esp + 0x98]
add ebp, eax
adc edx, ebx
mov eax, dword [esp + 0x19c]
movzx ebx, byte [eax + 0x29]
shl ebx, 6
mov ebp, dword [esp + 0x10c]
add ebp, 0
adc ebx, edx
movzx edx, byte [eax + 0x2a]
shl edx, 0xe
mov ebp, dword [esp + 0x108]
add ebp, 0
adc edx, ebx
movzx ebx, byte [eax + 0x2b]
shl ebx, 0x16
mov ebp, dword [esp + 0x104]
add ebp, 0
adc ebx, edx
mov dword [esp + 0x15c], ebx
movzx edx, byte [eax + 0x2c]
mov ebp, edx
shl edx, 4
shr ebx, 0x1a
mov edi, ebx
add ebx, edx
movzx esi, byte [eax + 0x2d]
mov dword [esp + 0x170], esi
shl esi, 0xc
mov dword [esp + 0x9c], esi
add esi, ebx
movzx ecx, byte [eax + 0x2e]
mov dword [esp + 0x16c], ecx
shl ecx, 0x14
mov dword [esp + 0xa0], ecx
add ecx, esi
movzx eax, byte [eax + 0x2f]
mov dword [esp + 0x168], eax
shl eax, 0x1c
mov dword [esp + 0xa4], eax
add eax, ecx
mov dword [esp + 0xf8], eax
add eax, 0
mov dword [esp + 0xf4], eax
add eax, 0
mov dword [esp + 0xf0], eax
add eax, 0
mov dword [esp + 0xec], eax
shr ebp, 0x1c
add edi, edx
adc ebp, 0
mov edx, dword [esp + 0x170]
shr edx, 0x14
mov edi, dword [esp + 0x9c]
add edi, ebx
adc edx, ebp
mov ebx, dword [esp + 0x16c]
shr ebx, 0xc
mov ebp, dword [esp + 0xa0]
add ebp, esi
adc ebx, edx
mov edx, dword [esp + 0x168]
shr edx, 4
mov ebp, dword [esp + 0xa4]
add ebp, ecx
adc edx, ebx
mov ecx, dword [esp + 0x19c]
movzx ebx, byte [ecx + 0x30]
shl ebx, 4
mov ebp, dword [esp + 0xf8]
add ebp, 0
adc ebx, edx
movzx edx, byte [ecx + 0x31]
shl edx, 0xc
mov ebp, dword [esp + 0xf4]
add ebp, 0
adc edx, ebx
movzx ebx, byte [ecx + 0x32]
shl ebx, 0x14
mov ebp, dword [esp + 0xf0]
add ebp, 0
adc ebx, edx
mov dword [esp + 0x158], ebx
movzx edx, byte [ecx + 0x33]
mov dword [esp + 0x170], edx
shl edx, 2
mov dword [esp + 0xa8], edx
shr ebx, 0x1a
mov dword [esp + 0x16c], ebx
add ebx, edx
mov dword [esp + 0xe8], ebx
movzx edx, byte [ecx + 0x34]
mov dword [esp + 0x168], edx
shl edx, 0xa
mov dword [esp + 0xb4], edx
add edx, ebx
mov dword [esp + 0xe4], edx
movzx ebx, byte [ecx + 0x35]
mov dword [esp + 0x164], ebx
shl ebx, 0x12
mov dword [esp + 0xe0], ebx
add ebx, edx
mov dword [esp + 0xdc], ebx
movzx edx, byte [ecx + 0x36]
mov dword [esp + 0x154], edx
shl edx, 0x1a
mov dword [esp + 0xfc], edx
add edx, ebx
mov dword [esp + 0xd8], edx
add edx, 0
mov dword [esp + 0xd4], edx
add edx, 0
mov dword [esp + 0xd0], edx
add edx, 0
mov dword [esp + 0xcc], edx
movzx ebx, byte [ecx + 0x3b]
mov dword [esp + 0x150], ebx
shl ebx, 8
mov dword [esp + 0x48], ebx
movzx edi, byte [ecx + 0x3a]
mov dword [esp + 0x14c], edi
add edi, ebx
mov dword [esp + 0xc8], edi
movzx ebx, byte [ecx + 0x3c]
mov dword [esp + 0x148], ebx
shl ebx, 0x10
mov dword [esp + 0x58], ebx
add ebx, edi
mov dword [esp + 0xc4], ebx
movzx edi, byte [ecx + 0x3d]
mov dword [esp + 0x144], edi
shl edi, 0x18
mov dword [esp + 0x6c], edi
add edi, ebx
mov dword [esp + 0xc0], edi
add edi, 0
mov dword [esp + 0xbc], edi
add edi, 0
mov dword [esp + 0xb8], edi
add edi, 0
mov dword [esp + 0xb0], edi
add edi, 0
mov dword [esp + 0xac], edi
movzx ebx, byte [ecx + 0x41]
mov dword [esp + 0x140], ebx
movzx ebx, byte [ecx + 0x40]
mov dword [esp + 0x13c], ebx
movzx ebx, byte [ecx + 0x3f]
mov dword [esp + 0x138], ebx
movzx ebx, byte [ecx + 0x3e]
mov dword [esp + 0x134], ebx
movzx ebx, byte [ecx + 0x39]
mov dword [esp + 0x130], ebx
movzx edi, byte [ecx + 0x38]
mov dword [esp + 0x12c], edi
movzx ebx, byte [ecx + 0x37]
mov dword [esp + 0x128], ebx
movzx edi, byte [ecx + 0x1c]
movzx ebx, byte [ecx + 0x1b]
movzx ecx, byte [ecx + 0x1a]
mov ebp, dword [esp + 0x38]
mov edx, dword [esp + 0x198]
mov dword [edx], ebp
mov ebp, dword [esp + 0x18c]
and ebp, 0x3ffffff
mov dword [edx + 4], ebp
mov ebp, dword [esp + 0x28]
mov dword [edx + 8], ebp
mov ebp, dword [esp + 0x180]
and ebp, 0x3ffffff
mov dword [edx + 0xc], ebp
mov ebp, dword [esp + 0x18]
mov dword [edx + 0x10], ebp
mov ebp, dword [esp + 0x17c]
and ebp, 0x3ffffff
mov dword [edx + 0x14], ebp
mov ebp, dword [esp + 0x124]
mov dword [edx + 0x18], ebp
mov ebp, dword [esp + 0x190]
shr ebp, 0x1e
mov esi, dword [esp + 0x188]
mov eax, dword [esp + 0x78]
add esi, eax
adc ebp, 0
mov eax, dword [esp + 0x184]
shr eax, 0x16
mov esi, dword [esp + 0x7c]
mov edx, dword [esp + 0x14]
add esi, edx
adc eax, ebp
mov edx, dword [esp + 0x178]
shr edx, 0xe
mov ebp, dword [esp + 0x80]
mov esi, dword [esp + 0x10]
add ebp, esi
adc edx, eax
mov eax, dword [esp + 0x174]
shr eax, 6
mov ebp, dword [esp + 0x84]
mov esi, dword [esp + 0xc]
add ebp, esi
adc eax, edx
shl ecx, 2
mov edx, dword [esp + 8]
add edx, 0
adc ecx, eax
shl ebx, 0xa
mov eax, dword [esp + 4]
add eax, 0
adc ebx, ecx
shl edi, 0x12
mov eax, dword [esp]
add eax, 0
adc edi, ebx
mov eax, dword [esp + 0x198]
mov dword [eax + 0x1c], edi
mov ecx, dword [esp + 0x110]
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x160]
and ecx, 0x3ffffff
mov dword [eax + 0x24], ecx
mov ecx, dword [esp + 0x100]
mov dword [eax + 0x28], ecx
mov ecx, dword [esp + 0x15c]
and ecx, 0x3ffffff
mov dword [eax + 0x2c], ecx
mov ecx, dword [esp + 0xec]
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 0x158]
and ecx, 0x3ffffff
mov dword [eax + 0x34], ecx
mov ecx, dword [esp + 0xcc]
mov dword [eax + 0x38], ecx
mov ecx, dword [esp + 0x170]
shr ecx, 0x1e
mov edx, dword [esp + 0x16c]
mov ebx, dword [esp + 0xa8]
add edx, ebx
adc ecx, 0
mov edx, dword [esp + 0x168]
shr edx, 0x16
mov ebx, dword [esp + 0xb4]
mov ebp, dword [esp + 0xe8]
add ebx, ebp
adc edx, ecx
mov ecx, dword [esp + 0x164]
shr ecx, 0xe
mov ebx, dword [esp + 0xe0]
mov ebp, dword [esp + 0xe4]
add ebx, ebp
adc ecx, edx
mov edx, dword [esp + 0x154]
shr edx, 6
mov ebx, dword [esp + 0xfc]
mov ebp, dword [esp + 0xdc]
add ebx, ebp
adc edx, ecx
mov ecx, dword [esp + 0x128]
shl ecx, 2
mov ebx, dword [esp + 0xd8]
add ebx, 0
adc ecx, edx
mov edx, dword [esp + 0x12c]
shl edx, 0xa
mov ebx, dword [esp + 0xd4]
add ebx, 0
adc edx, ecx
mov ecx, dword [esp + 0x130]
shl ecx, 0x12
mov ebx, dword [esp + 0xd0]
add ebx, 0
adc ecx, edx
mov dword [eax + 0x3c], ecx
mov ecx, dword [esp + 0xac]
mov dword [eax + 0x40], ecx
mov ecx, dword [esp + 0x150]
shr ecx, 0x18
mov edx, dword [esp + 0x14c]
mov ebx, dword [esp + 0x48]
add edx, ebx
adc ecx, 0
mov edx, dword [esp + 0x148]
shr edx, 0x10
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0xc8]
add ebx, ebp
adc ecx, edx
mov edx, dword [esp + 0x144]
shr edx, 8
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0xc4]
add ebx, ebp
adc ecx, edx
mov edx, dword [esp + 0xc0]
add edx, 0
mov edx, dword [esp + 0x134]
adc edx, ecx
mov ecx, dword [esp + 0x138]
shl ecx, 8
mov ebx, dword [esp + 0xbc]
add ebx, 0
adc ecx, edx
mov edx, dword [esp + 0x13c]
shl edx, 0x10
mov ebx, dword [esp + 0xb8]
add ebx, 0
adc edx, ecx
mov ecx, dword [esp + 0x140]
shl ecx, 0x18
mov ebx, dword [esp + 0xb0]
add ebx, 0
adc ecx, edx
mov dword [eax + 0x44], ecx
add esp, 0x194
ret
call fcn.0045d190
jmp fcn.00508240