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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x1b8]
cmp eax, dword [ecx + 8]
jbe 0x50a4a7
sub esp, 0x238
mov eax, dword [esp + 0x240]
movzx ecx, byte [eax + 1]
mov edx, ecx
shl ecx, 8
movzx ebx, byte [eax]
mov ebp, ebx
add ebx, ecx
mov dword [esp + 0x88], ebx
movzx esi, byte [eax + 2]
mov dword [esp + 0x234], esi
shl esi, 0x10
mov dword [esp + 0x8c], esi
add esi, ebx
mov dword [esp + 0x84], esi
movzx ebx, byte [eax + 3]
mov dword [esp + 0x230], ebx
shl ebx, 0x18
mov dword [esp + 0x90], ebx
add ebx, esi
mov dword [esp + 0x80], ebx
add ebx, 0
mov dword [esp + 0x78], ebx
add ebx, 0
mov dword [esp + 0x74], ebx
add ebx, 0
mov dword [esp + 0x70], ebx
add ebx, 0
movzx esi, byte [eax + 9]
mov dword [esp + 0x22c], esi
shl esi, 8
mov dword [esp + 0x94], esi
movzx edi, byte [eax + 8]
mov dword [esp + 0x228], edi
add edi, esi
mov dword [esp + 0x6c], edi
movzx esi, byte [eax + 0xa]
mov dword [esp + 0x224], esi
shl esi, 0x10
mov dword [esp + 0x98], esi
add esi, edi
mov dword [esp + 0x68], esi
movzx edi, byte [eax + 0xb]
mov dword [esp + 0x220], edi
shl edi, 0x18
mov dword [esp + 0x9c], edi
add edi, esi
mov dword [esp + 0x64], edi
add edi, 0
mov dword [esp + 0x60], edi
add edi, 0
mov dword [esp + 0x5c], edi
add edi, 0
mov dword [esp + 0x58], edi
add edi, 0
mov dword [esp + 0x50], edi
movzx esi, byte [eax + 0x11]
mov dword [esp + 0x21c], esi
shl esi, 8
mov dword [esp + 0xa0], esi
movzx edi, byte [eax + 0x10]
mov dword [esp + 0x218], edi
add edi, esi
mov dword [esp + 0x4c], edi
movzx esi, byte [eax + 0x12]
mov dword [esp + 0x214], esi
shl esi, 0x10
mov dword [esp + 0xa4], esi
add esi, edi
mov dword [esp + 0x48], esi
movzx edi, byte [eax + 0x13]
mov dword [esp + 0x210], edi
shl edi, 0x18
mov dword [esp + 0xa8], edi
add edi, esi
mov dword [esp + 0x44], edi
add edi, 0
mov dword [esp + 0x40], edi
add edi, 0
mov dword [esp + 0x3c], edi
add edi, 0
mov dword [esp + 0x38], edi
add edi, 0
mov dword [esp + 0x34], edi
movzx esi, byte [eax + 0x19]
mov dword [esp + 0x20c], esi
shl esi, 8
mov dword [esp + 0xac], esi
movzx edi, byte [eax + 0x18]
mov dword [esp + 0x208], edi
add edi, esi
mov dword [esp + 0x30], edi
movzx esi, byte [eax + 0x1a]
mov dword [esp + 0x204], esi
shl esi, 0x10
mov dword [esp + 0xb0], esi
add esi, edi
mov dword [esp + 0x2c], esi
movzx edi, byte [eax + 0x1b]
mov dword [esp + 0x200], edi
shl edi, 0x18
mov dword [esp + 0xb4], edi
add edi, esi
mov dword [esp + 0x24], edi
add edi, 0
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
movzx esi, byte [eax + 0x21]
mov dword [esp + 0x1fc], esi
shl esi, 8
mov dword [esp + 0xb8], esi
movzx edi, byte [eax + 0x20]
mov dword [esp + 0x1f8], edi
add edi, esi
mov dword [esp + 0x10], edi
movzx esi, byte [eax + 0x22]
mov dword [esp + 0x1f4], esi
shl esi, 0x10
mov dword [esp + 0xbc], esi
add esi, edi
mov dword [esp + 0xc], esi
movzx edi, byte [eax + 0x23]
mov dword [esp + 0x1f0], edi
shl edi, 0x18
mov dword [esp + 0xc0], edi
add edi, esi
mov dword [esp + 8], edi
add edi, 0
mov dword [esp + 4], edi
add edi, 0
mov dword [esp], edi
add edi, 0
mov dword [esp + 0x138], edi
add edi, 0
mov dword [esp + 0x134], edi
movzx esi, byte [eax + 0x29]
mov dword [esp + 0x1ec], esi
shl esi, 8
mov dword [esp + 0xc4], esi
movzx edi, byte [eax + 0x28]
mov dword [esp + 0x1e8], edi
add edi, esi
mov dword [esp + 0x130], edi
movzx esi, byte [eax + 0x2a]
mov dword [esp + 0x1e4], esi
shl esi, 0x10
mov dword [esp + 0xc8], esi
add esi, edi
mov dword [esp + 0x12c], esi
movzx edi, byte [eax + 0x2b]
mov dword [esp + 0x1e0], edi
shl edi, 0x18
mov dword [esp + 0xcc], edi
add edi, esi
mov dword [esp + 0x128], edi
add edi, 0
mov dword [esp + 0x124], edi
add edi, 0
mov dword [esp + 0x120], edi
add edi, 0
mov dword [esp + 0x11c], edi
add edi, 0
mov dword [esp + 0x118], edi
movzx esi, byte [eax + 0x31]
mov dword [esp + 0x1dc], esi
shl esi, 8
mov dword [esp + 0xd0], esi
movzx edi, byte [eax + 0x30]
mov dword [esp + 0x1d8], edi
add edi, esi
mov dword [esp + 0x114], edi
movzx esi, byte [eax + 0x32]
mov dword [esp + 0x1d4], esi
shl esi, 0x10
mov dword [esp + 0xd4], esi
add esi, edi
mov dword [esp + 0x110], esi
movzx edi, byte [eax + 0x33]
mov dword [esp + 0x1d0], edi
shl edi, 0x18
mov dword [esp + 0xd8], edi
add edi, esi
mov dword [esp + 0x10c], edi
add edi, 0
mov dword [esp + 0x108], edi
add edi, 0
mov dword [esp + 0x104], edi
add edi, 0
mov dword [esp + 0x100], edi
add edi, 0
mov dword [esp + 0xfc], edi
movzx esi, byte [eax + 0x39]
mov dword [esp + 0x1cc], esi
shl esi, 8
mov dword [esp + 0x28], esi
movzx edi, byte [eax + 0x38]
mov dword [esp + 0x1c8], edi
add edi, esi
mov dword [esp + 0xf8], edi
movzx esi, byte [eax + 0x3a]
mov dword [esp + 0x1c4], esi
shl esi, 0x10
mov dword [esp + 0x54], esi
add esi, edi
mov dword [esp + 0xf4], esi
movzx edi, byte [eax + 0x3b]
mov dword [esp + 0x1c0], edi
shl edi, 0x18
mov dword [esp + 0x7c], edi
add edi, esi
mov dword [esp + 0xf0], edi
add edi, 0
mov dword [esp + 0xec], edi
add edi, 0
mov dword [esp + 0xe8], edi
add edi, 0
mov dword [esp + 0xe4], edi
add edi, 0
mov dword [esp + 0xe0], edi
movzx esi, byte [eax + 0x41]
mov dword [esp + 0x1bc], esi
shl esi, 8
mov dword [esp + 0x13c], esi
movzx edi, byte [eax + 0x40]
mov dword [esp + 0x1b8], edi
add edi, esi
mov dword [esp + 0xdc], edi
movzx esi, byte [eax + 0x3f]
mov dword [esp + 0x1b4], esi
movzx edi, byte [eax + 0x3e]
mov dword [esp + 0x1b0], edi
movzx esi, byte [eax + 0x3d]
mov dword [esp + 0x1ac], esi
movzx edi, byte [eax + 0x3c]
mov dword [esp + 0x1a8], edi
movzx esi, byte [eax + 0x37]
mov dword [esp + 0x1a4], esi
movzx edi, byte [eax + 0x36]
mov dword [esp + 0x1a0], edi
movzx esi, byte [eax + 0x35]
mov dword [esp + 0x19c], esi
movzx edi, byte [eax + 0x34]
mov dword [esp + 0x198], edi
movzx esi, byte [eax + 0x2f]
mov dword [esp + 0x194], esi
movzx edi, byte [eax + 0x2e]
mov dword [esp + 0x190], edi
movzx esi, byte [eax + 0x2d]
mov dword [esp + 0x18c], esi
movzx edi, byte [eax + 0x2c]
mov dword [esp + 0x188], edi
movzx esi, byte [eax + 0x27]
mov dword [esp + 0x184], esi
movzx edi, byte [eax + 0x26]
mov dword [esp + 0x180], edi
movzx esi, byte [eax + 0x25]
mov dword [esp + 0x17c], esi
movzx edi, byte [eax + 0x24]
mov dword [esp + 0x178], edi
movzx esi, byte [eax + 0x1f]
mov dword [esp + 0x174], esi
movzx edi, byte [eax + 0x1e]
mov dword [esp + 0x170], edi
movzx esi, byte [eax + 0x1d]
mov dword [esp + 0x16c], esi
movzx edi, byte [eax + 0x1c]
mov dword [esp + 0x168], edi
movzx esi, byte [eax + 0x17]
mov dword [esp + 0x164], esi
movzx edi, byte [eax + 0x16]
mov dword [esp + 0x160], edi
movzx esi, byte [eax + 0x15]
mov dword [esp + 0x15c], esi
movzx edi, byte [eax + 0x14]
mov dword [esp + 0x158], edi
movzx esi, byte [eax + 0xf]
mov dword [esp + 0x154], esi
movzx edi, byte [eax + 0xe]
mov dword [esp + 0x150], edi
movzx esi, byte [eax + 0xd]
mov dword [esp + 0x14c], esi
movzx edi, byte [eax + 0xc]
mov dword [esp + 0x148], edi
movzx esi, byte [eax + 7]
mov dword [esp + 0x144], esi
movzx edi, byte [eax + 6]
mov dword [esp + 0x140], edi
movzx esi, byte [eax + 5]
movzx eax, byte [eax + 4]
mov edi, dword [esp + 0x23c]
mov dword [edi], ebx
shr edx, 0x18
add ebp, ecx
adc edx, 0
mov ecx, dword [esp + 0x234]
shr ecx, 0x10
mov ebx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x88]
add ebx, ebp
adc edx, ecx
mov ecx, dword [esp + 0x230]
shr ecx, 8
mov ebx, dword [esp + 0x90]
mov ebp, dword [esp + 0x84]
add ebx, ebp
adc edx, ecx
mov ecx, dword [esp + 0x80]
add ecx, 0
adc eax, edx
shl esi, 8
mov ecx, dword [esp + 0x78]
add ecx, 0
adc esi, eax
mov eax, dword [esp + 0x140]
shl eax, 0x10
mov ecx, dword [esp + 0x74]
add ecx, 0
adc eax, esi
mov ecx, dword [esp + 0x144]
shl ecx, 0x18
mov edx, dword [esp + 0x70]
add edx, 0
adc ecx, eax
mov dword [edi + 4], ecx
mov eax, dword [esp + 0x50]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x22c]
shr eax, 0x18
mov ecx, dword [esp + 0x228]
mov edx, dword [esp + 0x94]
add ecx, edx
adc eax, 0
mov ecx, dword [esp + 0x224]
shr ecx, 0x10
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x6c]
add edx, ebx
adc eax, ecx
mov ecx, dword [esp + 0x220]
shr ecx, 8
mov edx, dword [esp + 0x9c]
mov ebx, dword [esp + 0x68]
add edx, ebx
adc eax, ecx
mov ecx, dword [esp + 0x64]
add ecx, 0
mov ecx, dword [esp + 0x148]
adc ecx, eax
mov eax, dword [esp + 0x14c]
shl eax, 8
mov edx, dword [esp + 0x60]
add edx, 0
adc eax, ecx
mov ecx, dword [esp + 0x150]
shl ecx, 0x10
mov edx, dword [esp + 0x5c]
add edx, 0
adc ecx, eax
mov eax, dword [esp + 0x154]
shl eax, 0x18
mov edx, dword [esp + 0x58]
add edx, 0
adc eax, ecx
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x34]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x21c]
shr eax, 0x18
mov ecx, dword [esp + 0x218]
mov edx, dword [esp + 0xa0]
add ecx, edx
adc eax, 0
mov ecx, dword [esp + 0x214]
shr ecx, 0x10
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0x4c]
add edx, ebx
adc eax, ecx
mov ecx, dword [esp + 0x210]
shr ecx, 8
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0x48]
add edx, ebx
adc eax, ecx
mov ecx, dword [esp + 0x44]
add ecx, 0
mov ecx, dword [esp + 0x158]
adc ecx, eax
mov eax, dword [esp + 0x15c]
shl eax, 8
mov edx, dword [esp + 0x40]
add edx, 0
adc eax, ecx
mov ecx, dword [esp + 0x160]
shl ecx, 0x10
mov edx, dword [esp + 0x3c]
add edx, 0
adc ecx, eax
mov eax, dword [esp + 0x164]
shl eax, 0x18
mov edx, dword [esp + 0x38]
add edx, 0
adc eax, ecx
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0x20c]
shr eax, 0x18
mov ecx, dword [esp + 0x208]
mov edx, dword [esp + 0xac]
add ecx, edx
adc eax, 0
mov ecx, dword [esp + 0x204]
shr ecx, 0x10
mov edx, dword [esp + 0xb0]
mov ebx, dword [esp + 0x30]
add edx, ebx
adc eax, ecx
mov ecx, dword [esp + 0x200]
shr ecx, 8
mov edx, dword [esp + 0xb4]
mov ebx, dword [esp + 0x2c]
add edx, ebx
adc eax, ecx
mov ecx, dword [esp + 0x24]
add ecx, 0
mov ecx, dword [esp + 0x168]
adc ecx, eax
mov eax, dword [esp + 0x16c]
shl eax, 8
mov edx, dword [esp + 0x20]
add edx, 0
adc eax, ecx
mov ecx, dword [esp + 0x170]
shl ecx, 0x10
mov edx, dword [esp + 0x1c]
add edx, 0
adc ecx, eax
mov eax, dword [esp + 0x174]
shl eax, 0x18
mov edx, dword [esp + 0x18]
add edx, 0
adc eax, ecx
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x134]
mov dword [edi + 0x20], eax
mov eax, dword [esp + 0x1fc]
shr eax, 0x18
mov ecx, dword [esp + 0x1f8]
mov edx, dword [esp + 0xb8]
add ecx, edx
adc eax, 0
mov ecx, dword [esp + 0x1f4]
shr ecx, 0x10
mov edx, dword [esp + 0xbc]
mov ebx, dword [esp + 0x10]
add edx, ebx
adc eax, ecx
mov ecx, dword [esp + 0x1f0]
shr ecx, 8
mov edx, dword [esp + 0xc0]
mov ebx, dword [esp + 0xc]
add edx, ebx
adc eax, ecx
mov ecx, dword [esp + 8]
add ecx, 0
mov ecx, dword [esp + 0x178]
adc ecx, eax
mov eax, dword [esp + 0x17c]
shl eax, 8
mov edx, dword [esp + 4]
add edx, 0
adc eax, ecx
mov ecx, dword [esp + 0x180]
shl ecx, 0x10
mov edx, dword [esp]
add edx, 0
adc ecx, eax
mov eax, dword [esp + 0x184]
shl eax, 0x18
mov edx, dword [esp + 0x138]
add edx, 0
adc eax, ecx
mov dword [edi + 0x24], eax
mov eax, dword [esp + 0x118]
mov dword [edi + 0x28], eax
mov eax, dword [esp + 0x1ec]
shr eax, 0x18
mov ecx, dword [esp + 0x1e8]
mov edx, dword [esp + 0xc4]
add ecx, edx
adc eax, 0
mov ecx, dword [esp + 0x1e4]
shr ecx, 0x10
mov edx, dword [esp + 0xc8]
mov ebx, dword [esp + 0x130]
add edx, ebx
adc eax, ecx
mov ecx, dword [esp + 0x1e0]
shr ecx, 8
mov edx, dword [esp + 0xcc]
mov ebx, dword [esp + 0x12c]
add edx, ebx
adc eax, ecx
mov ecx, dword [esp + 0x128]
add ecx, 0
mov ecx, dword [esp + 0x188]
adc ecx, eax
mov eax, dword [esp + 0x18c]
shl eax, 8
mov edx, dword [esp + 0x124]
add edx, 0
adc eax, ecx
mov ecx, dword [esp + 0x190]
shl ecx, 0x10
mov edx, dword [esp + 0x120]
add edx, 0
adc ecx, eax
mov eax, dword [esp + 0x194]
shl eax, 0x18
mov edx, dword [esp + 0x11c]
add edx, 0
adc eax, ecx
mov dword [edi + 0x2c], eax
mov eax, dword [esp + 0xfc]
mov dword [edi + 0x30], eax
mov eax, dword [esp + 0x1dc]
shr eax, 0x18
mov ecx, dword [esp + 0x1d8]
mov edx, dword [esp + 0xd0]
add ecx, edx
adc eax, 0
mov ecx, dword [esp + 0x1d4]
shr ecx, 0x10
mov edx, dword [esp + 0xd4]
mov ebx, dword [esp + 0x114]
add edx, ebx
adc eax, ecx
mov ecx, dword [esp + 0x1d0]
shr ecx, 8
mov edx, dword [esp + 0xd8]
mov ebx, dword [esp + 0x110]
add edx, ebx
adc eax, ecx
mov ecx, dword [esp + 0x10c]
add ecx, 0
mov ecx, dword [esp + 0x198]
adc ecx, eax
mov eax, dword [esp + 0x19c]
shl eax, 8
mov edx, dword [esp + 0x108]
add edx, 0
adc eax, ecx
mov ecx, dword [esp + 0x1a0]
shl ecx, 0x10
mov edx, dword [esp + 0x104]
add edx, 0
adc ecx, eax
mov eax, dword [esp + 0x1a4]
shl eax, 0x18
mov edx, dword [esp + 0x100]
add edx, 0
adc eax, ecx
mov dword [edi + 0x34], eax
mov eax, dword [esp + 0xe0]
mov dword [edi + 0x38], eax
mov eax, dword [esp + 0x1cc]
shr eax, 0x18
mov ecx, dword [esp + 0x1c8]
mov edx, dword [esp + 0x28]
add ecx, edx
adc eax, 0
mov ecx, dword [esp + 0x1c4]
shr ecx, 0x10
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0xf8]
add edx, ebx
adc eax, ecx
mov ecx, dword [esp + 0x1c0]
shr ecx, 8
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0xf4]
add edx, ebx
adc eax, ecx
mov ecx, dword [esp + 0xf0]
add ecx, 0
mov ecx, dword [esp + 0x1a8]
adc ecx, eax
mov eax, dword [esp + 0x1ac]
shl eax, 8
mov edx, dword [esp + 0xec]
add edx, 0
adc eax, ecx
mov ecx, dword [esp + 0x1b0]
shl ecx, 0x10
mov edx, dword [esp + 0xe8]
add edx, 0
adc ecx, eax
mov eax, dword [esp + 0x1b4]
shl eax, 0x18
mov edx, dword [esp + 0xe4]
add edx, 0
adc eax, ecx
mov dword [edi + 0x3c], eax
mov eax, dword [esp + 0xdc]
mov dword [edi + 0x40], eax
mov eax, dword [esp + 0x1bc]
shr eax, 0x18
mov ecx, dword [esp + 0x1b8]
mov edx, dword [esp + 0x13c]
add ecx, edx
adc eax, 0
mov dword [edi + 0x44], eax
add esp, 0x238
ret
call fcn.0045c2f0
jmp fcn.005099b0