Function at 0x5d0630
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x2ac]
cmp eax, dword [ecx + 8]
jbe 0x5d0c50
sub esp, 0x32c
movzx ecx, byte [esp + 0x334]
mov edx, dword [esp + 0x338]
mov ebx, dword [esp + 0x33c]
mov esi, dword [esp + 0x340]
test ebx, ebx
je 0x5d0b7b
mov byte [esp + 0x13], cl
mov dword [esp + 0x18], edx
lea ebp, [0x785d40]
cmp ebx, ebp
je 0x5d0a8d
lea ebp, [0x785cf0]
cmp ebx, ebp
je 0x5d0978
lea ebp, [0x785d18]
cmp ebx, ebp
je 0x5d081e
lea ebp, [0x785d2c]
cmp ebx, ebp
jne 0x5d0701
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
lea eax, [0x6b5e00]
mov dword [esp], eax
lea eax, [esp + 0x20]
mov dword [esp + 4], eax
call fcn.004095e0
mov eax, dword [esp + 8]
movzx ecx, byte [esp + 0x13]
mov edx, dword [esp + 0x18]
mov ebx, eax
lea eax, [0x785980]
jmp 0x5d0b7f
lea ebp, [0x785d04]
cmp ebx, ebp
jne 0x5d0815
lea edi, [esp + 0x218]
call fcn.00466474
lea edi, [esp + 0xdc]
lea esi, [esp + 0x218]
call fcn.00466492
lea edi, [esp + 0x28]
xor eax, eax
call fcn.00465fe7
mov ecx, dword [esp + 0xdc]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0xe0]
mov edx, dword [esp + 0xe4]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov ecx, dword [esp + 0xf0]
mov edx, dword [esp + 0xf4]
mov ebx, dword [esp + 0xf8]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ebx
mov ecx, dword [esp + 0xfc]
mov edx, dword [esp + 0x100]
mov ebx, dword [esp + 0x104]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ebx
mov ecx, dword [esp + 0x248]
mov dword [esp + 0x14], ecx
lea edx, [0x69ae40]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044bce0
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x1c], ecx
lea edi, [esp + 0x1b8]
xor eax, eax
call fcn.00465fe4
lea edi, [esp + 0x1c4]
lea esi, [esp + 0x28]
call fcn.004664a6
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x1b8], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1bc], ecx
mov dword [esp + 0x1c0], ecx
mov ecx, dword [esp + 0x244]
mov edx, dword [esp + 0x248]
xor eax, eax
jmp 0x5d0bfb
xor eax, eax
xor ebx, ebx
jmp 0x5d0b7f
lea edi, [esp + 0x2d0]
call fcn.0046641a
lea edi, [esp + 0x108]
lea esi, [esp + 0x2d0]
call fcn.00466492
lea edi, [esp + 0x4c]
xor eax, eax
call fcn.00465fe7
mov ecx, dword [esp + 0x108]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x10c]
mov edx, dword [esp + 0x110]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
mov ecx, dword [esp + 0x11c]
mov edx, dword [esp + 0x120]
mov ebx, dword [esp + 0x124]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ebx
mov ecx, dword [esp + 0x128]
mov edx, dword [esp + 0x12c]
mov ebx, dword [esp + 0x130]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], ebx
mov ecx, dword [esp + 0x324]
mov dword [esp + 0x14], ecx
lea edx, [0x69ae40]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044bce0
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x1c], ecx
lea edi, [esp + 0x288]
xor eax, eax
call fcn.00465fde
lea edi, [esp + 0x2ac]
lea esi, [esp + 0x4c]
call fcn.004664a6
mov ecx, dword [esp + 0x308]
mov edx, dword [esp + 0x30c]
mov ebx, dword [esp + 0x310]
mov dword [esp + 0x288], ecx
mov dword [esp + 0x28c], edx
mov dword [esp + 0x290], ebx
mov ecx, dword [esp + 0x314]
mov edx, dword [esp + 0x318]
mov ebx, dword [esp + 0x31c]
mov dword [esp + 0x294], ecx
mov dword [esp + 0x298], edx
mov dword [esp + 0x29c], ebx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x2a0], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x2a4], ecx
mov dword [esp + 0x2a8], ecx
mov ecx, dword [esp + 0x320]
mov edx, dword [esp + 0x324]
xor eax, eax
jmp 0x5d0ba6
lea edi, [esp + 0x250]
call fcn.00466474
lea edi, [esp + 0x134]
lea esi, [esp + 0x250]
call fcn.00466492
lea edi, [esp + 0x70]
xor eax, eax
call fcn.00465fe7
mov ecx, dword [esp + 0x134]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x138]
mov edx, dword [esp + 0x13c]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov ecx, dword [esp + 0x148]
mov edx, dword [esp + 0x14c]
mov ebx, dword [esp + 0x150]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ebx
mov ecx, dword [esp + 0x154]
mov edx, dword [esp + 0x158]
mov ebx, dword [esp + 0x15c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], ebx
lea edi, [esp + 0x1e8]
call fcn.00465fe4
lea edi, [esp + 0x1f4]
lea esi, [esp + 0x70]
call fcn.004664a6
mov ecx, dword [esp + 0x27c]
mov edx, dword [esp + 0x280]
mov ebx, dword [esp + 0x284]
mov dword [esp + 0x1e8], ecx
mov dword [esp + 0x1ec], edx
mov dword [esp + 0x1f0], ebx
lea ecx, [0x6c0a60]
mov dword [esp], ecx
lea ecx, [esp + 0x1e8]
mov dword [esp + 4], ecx
call fcn.004095e0
mov eax, dword [esp + 8]
movzx ecx, byte [esp + 0x13]
mov edx, dword [esp + 0x18]
mov ebx, eax
lea eax, [0x785944]
jmp 0x5d0b7f
lea edi, [esp + 0x18c]
call fcn.00466492
lea edi, [esp + 0x160]
lea esi, [esp + 0x18c]
call fcn.00466492
lea edi, [esp + 0x94]
xor eax, eax
call fcn.00465fe7
mov ecx, dword [esp + 0x160]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x164]
mov edx, dword [esp + 0x168]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
mov ecx, dword [esp + 0x174]
mov edx, dword [esp + 0x178]
mov ebx, dword [esp + 0x17c]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], ebx
mov ecx, dword [esp + 0x180]
mov edx, dword [esp + 0x184]
mov ebx, dword [esp + 0x188]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], ebx
lea edi, [esp + 0xb8]
lea esi, [esp + 0x94]
call fcn.004664a6
lea ecx, [0x6ca600]
mov dword [esp], ecx
lea ecx, [esp + 0xb8]
mov dword [esp + 4], ecx
call fcn.004095e0
mov eax, dword [esp + 8]
movzx ecx, byte [esp + 0x13]
mov edx, dword [esp + 0x18]
mov ebx, eax
lea eax, [0x785994]
jmp 0x5d0b7f
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x344], eax
mov dword [esp + 0x348], ebx
mov byte [esp + 0x34c], cl
mov dword [esp + 0x350], edx
add esp, 0x32c
ret
mov dword [esi + eax*4], ebx
inc eax
cmp eax, edx
jge 0x5d0bc2
movzx ebx, word [ecx + eax*2]
mov ebp, dword [esp + 0x2a4]
mov esi, dword [esp + 0x2a0]
cmp eax, ebp
jb 0x5d0ba2
jmp 0x5d0bf0
lea eax, [0x6ca580]
mov dword [esp], eax
lea eax, [esp + 0x288]
mov dword [esp + 4], eax
call fcn.004095e0
mov ebx, dword [esp + 8]
movzx ecx, byte [esp + 0x13]
mov edx, dword [esp + 0x18]
lea eax, [0x78596c]
jmp 0x5d0b7f
mov ecx, ebp
call fcn.00465e00
mov dword [esi + eax*4], ebx
inc eax
cmp eax, edx
jge 0x5d0c17
movzx ebx, word [ecx + eax*2]
mov ebp, dword [esp + 0x1bc]
mov esi, dword [esp + 0x1b8]
cmp eax, ebp
jb 0x5d0bf7
jmp 0x5d0c48
lea eax, [0x6c0ae0]
mov dword [esp], eax
lea eax, [esp + 0x1b8]
mov dword [esp + 4], eax
call fcn.004095e0
mov ebx, dword [esp + 8]
movzx ecx, byte [esp + 0x13]
mov edx, dword [esp + 0x18]
lea eax, [0x785958]
jmp 0x5d0b7f
mov ecx, ebp
call fcn.00465e00
nop
call fcn.004649b0
jmp fcn.005d0630