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

Disassembly:
mov ecx, dword [0x93d128]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x5c8ff0
sub esp, 0xa0
mov byte [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
lea eax, [esp + 0x90]
mov dword [esp], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.005b5d80
mov eax, dword [esp + 0xc]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.005b60e0
mov byte [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
lea eax, [esp + 0x80]
mov dword [esp], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.005b5d80
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.005b60e0
lea eax, [0x760900]
mov dword [esp], eax
call fcn.0040ca90
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], ecx
call fcn.005b5b30
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x5c896a
xor ecx, ecx
jmp 0x5c897d
movzx ecx, byte [eax]
test cl, cl
je 0x5c8978
mov ecx, 0xffffffff
jmp 0x5c897d
mov ecx, 1
mov dword [esp + 0x40], eax
cmp ecx, 0xffffffff
jne 0x5c899f
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.005b58e0
mov byte [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea eax, [esp + 0x70]
mov dword [esp], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], ecx
call fcn.005b58e0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x40]
mov dword [esp], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.005b5d80
nop
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
cmp eax, ecx
je 0x5c8b03
mov edx, dword [eax + 0xc]
mov ebx, dword [ecx + 8]
mov ebp, dword [ecx + 4]
cmp edx, ebx
jl 0x5c8a1f
mov esi, dword [eax + 4]
mov edi, ebx
jmp 0x5c8aa1
mov dword [esp + 0x34], ebx
mov dword [esp + 0x50], ebp
cmp ebx, 1
jne 0x5c8a6a
lea eax, [0x74b960]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00448800
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x34]
mov ebx, 1
mov edx, 1
jmp 0x5c8aa1
lea eax, [0x74b960]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [ebx + 4]
mov dword [esp + 0x28], eax
mov dword [esp + 8], eax
call fcn.00448800
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x34]
mov ebx, edi
mov edx, dword [esp + 0x28]
cmp ebx, edi
jg 0x5c8aa7
mov edi, ebx
cmp esi, ebp
je 0x5c8ade
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x44], esi
mov dword [esp], esi
mov dword [esp + 4], ebp
shl edi, 2
mov dword [esp + 8], edi
call fcn.0045fa40
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x44]
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edx
mov edx, dword [0x93d218]
test edx, edx
je 0x5c8afb
call fcn.0045f0e0
mov dword [edi], esi
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov dword [eax + 4], esi
movzx edx, byte [ecx]
mov byte [eax], dl
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 0xc]
nop
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 1
call fcn.005bc4e0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x40]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], ecx
mov eax, dword [0x93d218]
test eax, eax
je 0x5c8b5e
call fcn.0045f0e0
mov dword [edi], edx
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov dword [ebx + 4], edx
mov dword [esp], ebx
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
call fcn.005b58e0
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 8], eax
call fcn.005b5d80
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], eax
lea ecx, [0x760900]
mov dword [esp], ecx
call fcn.0040ca90
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.005b5d80
mov eax, dword [esp + 0xc]
mov dword [esp + 0x38], eax
mov byte [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 0xc]
mov ebp, dword [ecx + 4]
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 3
call fcn.005bc4e0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x58]
movzx ecx, byte [eax]
mov byte [esp + 0x60], cl
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx]
lea ebx, [esp + 0x60]
mov dword [esp], ebx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.005b60e0
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], eax
lea ecx, [esp + 0x60]
mov dword [esp + 8], ecx
call fcn.005b5b30
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x5c8c8b
xor ecx, ecx
jmp 0x5c8c9e
movzx ecx, byte [eax]
test cl, cl
je 0x5c8c99
mov ecx, 0xffffffff
jmp 0x5c8c9e
mov ecx, 1
cmp ecx, 0xffffffff
jne 0x5c8cc0
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.005b58e0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.005b60e0
lea eax, [0x760900]
mov dword [esp], eax
call fcn.0040ca90
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 8], eax
call fcn.005b58e0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.005b5d80
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
call fcn.005b5b30
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x5c8d48
xor ecx, ecx
jmp 0x5c8d5b
movzx ecx, byte [eax]
test cl, cl
je 0x5c8d56
mov ecx, 0xffffffff
jmp 0x5c8d5b
mov ecx, 1
cmp ecx, 0xffffffff
jne 0x5c8d7d
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.005b58e0
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], ecx
call fcn.005b5b30
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x5c8da0
xor ecx, ecx
jmp 0x5c8db3
movzx ecx, byte [eax]
test cl, cl
je 0x5c8dae
mov ecx, 0xffffffff
jmp 0x5c8db3
mov ecx, 1
cmp ecx, 0xffffffff
jne 0x5c8dd5
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.005b58e0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.005b60e0
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
nop
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 2
call fcn.005bc4e0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x58]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], ecx
mov eax, dword [0x93d218]
test eax, eax
je 0x5c8e4d
call fcn.0045f0e0
mov dword [edi], edx
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov dword [ebx + 4], edx
mov dword [esp], ebx
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
call fcn.005b5b30
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x5c8e73
xor ecx, ecx
jmp 0x5c8e86
movzx ecx, byte [eax]
test cl, cl
je 0x5c8e81
mov ecx, 0xffffffff
jmp 0x5c8e86
mov ecx, 1
cmp ecx, 0xffffffff
jne 0x5c8ea8
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.005b58e0
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x40]
mov dword [esp], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.005b5d80
mov eax, dword [esp + 0xc]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.005b5d80
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 4]
nop
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 3
call fcn.005bc4e0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x5c]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], ecx
mov eax, dword [0x93d218]
test eax, eax
je 0x5c8f37
call fcn.0045f0e0
mov dword [edi], edx
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov dword [ebx + 4], edx
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax]
mov dword [esp], ebx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.005b60e0
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
call fcn.005b5b30
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x5c8f7a
xor ecx, ecx
jmp 0x5c8f8d
movzx ecx, byte [eax]
test cl, cl
je 0x5c8f88
mov ecx, 0xffffffff
jmp 0x5c8f8d
mov ecx, 1
cmp ecx, 0xffffffff
jne 0x5c8faf
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.005b58e0
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0xa4]
mov ecx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.005b60e0
mov eax, dword [esp + 0x38]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xbc], eax
add esp, 0xa0
ret
call fcn.0045dcb0
jmp fcn.005c8840