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

Disassembly:
mov ecx, dword [0x82b814]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xb4]
cmp eax, dword [ecx + 8]
jbe 0x5c951f
sub esp, 0x134
mov eax, dword [esp + 0x138]
mov ecx, dword [eax]
mov dword [esp + 0x9c], ecx
mov dword [esp], eax
call fcn.005cb150
mov eax, dword [esp + 8]
movzx ecx, byte [esp + 4]
test eax, eax
jne 0x5c9506
mov byte [esp + 0x65], cl
mov eax, dword [esp + 0x9c]
movzx ecx, word [eax + 0x28]
mov edx, dword [esp + 0x138]
mov ebx, dword [edx + 0x14]
mov word [esp], cx
mov dword [esp + 4], ebx
call fcn.005e8bf0
lea edi, [esp + 0x100]
lea esi, [esp + 8]
call fcn.0046c03e
mov eax, dword [0x82b968]
mov ecx, dword [esp + 0x138]
lea edi, [ecx + 0x18]
mov dword [esp + 0xa0], edi
test eax, eax
je 0x5c8eb6
lea eax, [0x6523e0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x100]
mov dword [esp + 8], eax
call fcn.00412430
mov ecx, dword [esp + 0x138]
mov edi, dword [esp + 0xa0]
lea esi, [esp + 0x100]
call fcn.0046c03e
movzx eax, byte [esp + 0x65]
test al, al
je 0x5c8ed4
mov ecx, dword [esp + 0x9c]
jmp 0x5c8eec
mov ecx, dword [esp + 0x9c]
mov edx, dword [ecx + 0x2c]
mov ebx, dword [edx + 0x10]
test ebx, ebx
jne 0x5c8f1e
mov edx, dword [edx + 0x20]
test edx, edx
jne 0x5c8f1e
mov edx, dword [esp + 0x138]
mov dword [edx + 0x3c], 0
mov dword [edx + 0x40], 0
mov ebx, dword [0x82b968]
test ebx, ebx
je 0x5c8f15
mov ebx, dword [edx + 0x38]
call fcn.0046b930
mov dword [edi], ebx
mov dword [edx + 0x38], 0
jmp 0x5c8f25
mov edx, dword [esp + 0x138]
mov eax, dword [edx + 0x10]
lea ecx, [0x6b9d94]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x6b9708]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0xc], ecx
call fcn.005e4fa0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x5c94ed
mov eax, dword [esp + 0x138]
mov ecx, dword [eax + 0xc]
lea edx, [0x6b9dac]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [0x6b9708]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0xc], ecx
call fcn.005e4fa0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x5c94d4
mov eax, dword [esp + 0x9c]
mov byte [eax + 0x1c4], 1
movzx ecx, byte [esp + 0x65]
mov byte [eax + 0x35], cl
test cl, cl
je 0x5c91a5
mov eax, dword [esp + 0x138]
mov dword [esp], eax
call fcn.005cac80
mov eax, dword [esp + 4]
test eax, eax
jne 0x5c918c
mov eax, dword [esp + 0x138]
mov dword [esp], eax
call fcn.005cba90
mov eax, dword [esp + 4]
test eax, eax
jne 0x5c9173
mov eax, dword [esp + 0x138]
mov dword [esp], eax
mov ecx, dword [esp + 0x9c]
lea edx, [ecx + 0xb5]
mov dword [esp + 4], edx
mov dword [esp + 8], 0xc
mov dword [esp + 0xc], 0xc
call fcn.005cb790
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x5c915a
mov eax, dword [esp + 0x9c]
mov byte [eax + 0x9c], 0
mov ecx, dword [eax + 0x2c]
mov ecx, dword [ecx + 0x2c]
test ecx, ecx
je 0x5c9099
mov dword [esp], eax
call fcn.005c5e30
lea edi, [esp + 0xa4]
lea esi, [esp + 4]
call fcn.0046bfda
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x2c]
mov edx, dword [ecx + 0x2c]
mov ecx, dword [edx]
mov dword [esp + 0x84], ecx
lea edi, [esp]
lea esi, [esp + 0xa4]
call fcn.0046bfda
mov ecx, dword [esp + 0x84]
call ecx
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x5c9117
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x138]
mov dword [esp], ecx
lea edx, [eax + 0xa9]
mov dword [esp + 4], edx
mov dword [esp + 8], 0xc
mov dword [esp + 0xc], 0xc
call fcn.005cbdc0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x5c90fe
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
call fcn.005c2290
mov eax, dword [esp + 8]
test eax, eax
je 0x5c9297
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x13c], eax
mov dword [esp + 0x140], ecx
add esp, 0x134
ret
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x13c], eax
mov dword [esp + 0x140], ecx
add esp, 0x134
ret
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 0x9c]
mov dword [esp], ecx
mov byte [esp + 4], 0x2a
call fcn.005c1e10
mov eax, dword [esp + 0x78]
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x140], eax
add esp, 0x134
ret
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x13c], eax
mov dword [esp + 0x140], ecx
add esp, 0x134
ret
mov ecx, dword [esp + 8]
mov dword [esp + 0x13c], eax
mov dword [esp + 0x140], ecx
add esp, 0x134
ret
mov ecx, dword [esp + 8]
mov dword [esp + 0x13c], eax
mov dword [esp + 0x140], ecx
add esp, 0x134
ret
mov eax, dword [esp + 0x138]
mov dword [esp], eax
call fcn.005c9c00
mov eax, dword [esp + 4]
test eax, eax
jne 0x5c94bb
mov eax, dword [esp + 0x138]
mov dword [esp], eax
call fcn.005cac80
mov eax, dword [esp + 4]
test eax, eax
jne 0x5c94a2
mov eax, dword [esp + 0x138]
mov dword [esp], eax
mov ecx, dword [esp + 0x9c]
lea edx, [ecx + 0xa9]
mov dword [esp + 4], edx
mov dword [esp + 8], 0xc
mov dword [esp + 0xc], 0xc
call fcn.005cbdc0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x5c9489
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
call fcn.005c2290
mov eax, dword [esp + 8]
test eax, eax
jne 0x5c9470
mov eax, dword [esp + 0x9c]
mov byte [eax + 0x9c], 1
mov ecx, dword [esp + 0x138]
mov dword [esp], ecx
call fcn.005cba90
mov eax, dword [esp + 4]
test eax, eax
jne 0x5c9457
mov eax, dword [esp + 0x138]
mov dword [esp], eax
mov ecx, dword [esp + 0x9c]
lea edx, [ecx + 0xb5]
mov dword [esp + 4], edx
mov dword [esp + 8], 0xc
mov dword [esp + 0xc], 0xc
call fcn.005cb790
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x5c943e
mov eax, dword [esp + 0x138]
mov dword [esp], eax
call fcn.005cbc50
mov eax, dword [esp + 4]
test eax, eax
jne 0x5c9425
mov eax, dword [esp + 0x138]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
mov ebx, dword [edx + 0x14]
mov dword [esp + 0x68], ebx
mov ebp, dword [edx + 0x18]
mov dword [esp + 0x6c], ebp
mov esi, dword [esp + 0x9c]
movzx edi, word [esi + 0x28]
mov word [esp + 0x66], di
mov esi, dword [eax + 0x14]
mov dword [esp + 0x88], esi
mov esi, dword [eax + 0x50]
mov dword [esp + 0x70], esi
mov esi, dword [eax + 0x54]
mov dword [esp + 0x74], esi
mov eax, dword [eax + 0x4c]
mov dword [esp + 0x90], eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x98], eax
mov esi, dword [ecx + 0x14]
mov dword [esp + 0x7c], esi
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x80], ecx
mov edx, dword [edx + 0x10]
mov dword [esp + 0x8c], edx
lea edi, [0x64a420]
mov dword [esp], edi
call fcn.0040d2d0
mov eax, dword [esp + 4]
lea ecx, [0x5c9530]
mov dword [eax], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x82b968]
test ecx, ecx
jne 0x5c9374
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0x90]
jmp 0x5c93b3
call fcn.0046b980
mov ecx, dword [esp + 0x8c]
mov dword [edi], ecx
mov edx, dword [esp + 0x98]
mov dword [edi + 4], edx
mov ebx, dword [esp + 0x88]
mov dword [edi + 8], ebx
mov ebp, dword [esp + 0x90]
mov dword [edi + 0xc], ebp
mov dword [edi + 0x10], eax
mov esi, dword [esp + 0x9c]
mov esi, dword [esi + 0x80]
mov dword [edi + 0x14], esi
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x7c]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x80]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x10], edx
movzx ecx, word [esp + 0x66]
mov word [eax + 0x1c], cx
mov dword [eax + 0x20], ebx
mov ecx, dword [esp + 0x70]
mov dword [eax + 0x28], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x24], ebp
mov ecx, dword [esp + 0x9c]
mov dword [ecx + 0x80], eax
lea eax, [ecx + 0x14]
nop
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00470150
mov dword [esp + 0x13c], 0
mov dword [esp + 0x140], 0
add esp, 0x134
ret
mov ecx, dword [esp + 8]
mov dword [esp + 0x13c], eax
mov dword [esp + 0x140], ecx
add esp, 0x134
ret
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x13c], eax
mov dword [esp + 0x140], ecx
add esp, 0x134
ret
mov ecx, dword [esp + 8]
mov dword [esp + 0x13c], eax
mov dword [esp + 0x140], ecx
add esp, 0x134
ret
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x13c], eax
mov dword [esp + 0x140], ecx
add esp, 0x134
ret
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x13c], eax
mov dword [esp + 0x140], ecx
add esp, 0x134
ret
mov ecx, dword [esp + 8]
mov dword [esp + 0x13c], eax
mov dword [esp + 0x140], ecx
add esp, 0x134
ret
mov ecx, dword [esp + 8]
mov dword [esp + 0x13c], eax
mov dword [esp + 0x140], ecx
add esp, 0x134
ret
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x13c], eax
mov dword [esp + 0x140], ecx
add esp, 0x134
ret
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x13c], eax
mov dword [esp + 0x140], ecx
add esp, 0x134
ret
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x13c], eax
mov dword [esp + 0x140], ecx
add esp, 0x134
ret
call fcn.0046a530
jmp fcn.005c8df0