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

Disassembly:
mov ecx, dword [0x90eeac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x5d5fa8
sub esp, 0x88
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov ecx, dword [esp + 0x90]
mov dword [esp + 4], ecx
lea edx, [0x6b81f2]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 3
call fcn.004b66b0
mov eax, dword [esp + 0x10]
test eax, eax
jge 0x5d5ae2
lea eax, [0x6c7de4]
mov dword [esp], eax
mov dword [esp + 4], 0x22
call fcn.00483a60
movzx eax, byte [esp + 0x10]
test al, al
je 0x5d58f2
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x5d5a81
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x70], 1
lea eax, [0x71b3f4]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x74], ecx
lea edx, [esp + 0x6c]
mov dword [esp], edx
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call fcn.004b9170
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x94]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x98]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x10], edx
call fcn.005d4fb0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x5d59a0
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x5d5a81
mov eax, dword [0x8e23c0]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x34], edx
mov dword [esp], eax
call fcn.0047f6b0
cmp dword [esp + 8], 1
jne 0x5d5a0f
mov eax, dword [esp + 4]
cmp byte [eax], 0x30
jne 0x5d5a0f
mov eax, dword [0x8e23c0]
mov dword [esp], eax
call fcn.0047f4e0
mov eax, dword [esp + 0x54]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
add esp, 0x88
ret
lea eax, [0x68aac0]
mov dword [esp], eax
call fcn.0040bdb0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x90]
mov dword [eax + 4], ecx
mov edx, dword [0x90f128]
test edx, edx
jne 0x5d5a3e
mov edx, dword [esp + 0x8c]
jmp 0x5d5a4c
call fcn.00471460
mov edx, dword [esp + 0x8c]
mov dword [edi], edx
mov dword [eax], edx
mov ebx, dword [0x8e2968]
mov ebp, dword [0x8e296c]
mov dword [eax + 8], ebx
mov ebx, dword [0x90f128]
test ebx, ebx
je 0x5d5a6e
call fcn.00471460
mov dword [edi], ebp
mov dword [eax + 0xc], ebp
mov ecx, eax
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x54]
lea eax, [0x71d950]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x58], ecx
lea ebp, [0x6b84a1]
mov dword [esp], ebp
mov dword [esp + 4], 4
call fcn.004a9d40
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004b8ec0
mov eax, dword [esp + 8]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x58]
mov esi, dword [esp + 0x38]
xor edi, edi
jmp 0x5d5bf2
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov ecx, dword [esp + 0x90]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x94]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x98]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x10], edx
call fcn.005d4fb0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x5d5bba
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x4c], eax
lea ecx, [0x68aac0]
mov dword [esp], ecx
call fcn.0040bdb0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x90]
mov dword [eax + 4], ecx
mov ecx, dword [0x90f128]
test ecx, ecx
jne 0x5d5b68
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x4c]
jmp 0x5d5b7d
call fcn.00471470
mov ecx, dword [esp + 0x8c]
mov dword [edi], ecx
mov edx, dword [esp + 0x4c]
mov dword [edi + 4], edx
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
lea ecx, [0x71d950]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
add esp, 0x88
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
add esp, 0x88
ret
inc edi
mov eax, dword [esp + 0x48]
cmp edi, ecx
jge 0x5d5eea
lea eax, [eax + edi*8]
mov dword [esp + 0x84], eax
mov eax, dword [eax + 4]
test eax, eax
je 0x5d5bed
mov dword [esp + 0x44], edi
mov dword [esp + 0x80], edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x7c], ebp
mov ecx, dword [esp + 0x84]
mov ecx, dword [ecx]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], ecx
mov eax, dword [esp + 0x90]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x64], ecx
lea edx, [esp + 0x5c]
mov dword [esp], edx
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call fcn.004b9170
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x94]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x98]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x10], edx
call fcn.005d4fb0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x5d5ce2
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x7c]
mov ebx, dword [esp + 0x40]
mov edx, dword [esp + 0x80]
jmp 0x5d5bed
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x5d5d82
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
call fcn.004ad950
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x50], edx
mov ebx, dword [esp + 0x54]
mov dword [esp], ebx
mov ebp, dword [esp + 0x34]
mov dword [esp + 4], ebp
call fcn.004ad950
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x5d5eb4
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x5d5eb4
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
call fcn.004ae9a0
movzx eax, byte [esp + 0x10]
test al, al
je 0x5d5eb4
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004a1230
movzx eax, byte [esp + 8]
test al, al
jne 0x5d5e81
mov eax, dword [0x8e23c0]
mov dword [esp], eax
call fcn.0047f6b0
cmp dword [esp + 8], 1
je 0x5d5db8
mov eax, dword [esp + 0x3c]
test eax, eax
jmp 0x5d5dcb
mov eax, dword [esp + 4]
cmp byte [eax], 0x30
je 0x5d5e73
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x5d5dee
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
mov ebx, eax
mov eax, dword [esp + 0x7c]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x80]
jmp 0x5d5e5e
lea eax, [0x68aac0]
mov dword [esp], eax
call fcn.0040bdb0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x90]
mov dword [eax + 4], ecx
mov edx, dword [0x90f128]
test edx, edx
jne 0x5d5e1d
mov edx, dword [esp + 0x8c]
jmp 0x5d5e2b
call fcn.00471460
mov edx, dword [esp + 0x8c]
mov dword [edi], edx
mov dword [eax], edx
mov ebx, dword [0x8e2968]
mov ebp, dword [0x8e296c]
mov dword [eax + 8], ebx
mov ebx, dword [0x90f128]
test ebx, ebx
je 0x5d5e4d
call fcn.00471460
mov dword [edi], ebp
mov dword [eax + 0xc], ebp
lea ebx, [0x71d950]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x54]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x44]
mov edx, esi
mov esi, ebx
mov ebx, ebp
mov ebp, eax
jmp 0x5d5bed
mov eax, dword [0x8e23c0]
mov dword [esp], eax
call fcn.0047f4e0
mov eax, dword [esp + 0x54]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
add esp, 0x88
ret
mov eax, dword [esp + 0x80]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xac], eax
add esp, 0x88
ret
test esi, esi
jne 0x5d5f85
lea eax, [0x68aac0]
mov dword [esp], eax
call fcn.0040bdb0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x90]
mov dword [eax + 4], ecx
mov ecx, dword [0x90f128]
test ecx, ecx
jne 0x5d5f21
mov ecx, dword [esp + 0x8c]
jmp 0x5d5f2f
call fcn.00471460
mov ecx, dword [esp + 0x8c]
mov dword [edi], ecx
mov dword [eax], ecx
mov ecx, dword [0x8e2970]
mov edx, dword [0x8e2974]
mov dword [eax + 8], ecx
mov ecx, dword [0x90f128]
test ecx, ecx
je 0x5d5f51
call fcn.00471460
mov dword [edi], edx
mov dword [eax + 0xc], edx
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
lea ecx, [0x71d950]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
add esp, 0x88
ret
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], ebp
add esp, 0x88
ret
call fcn.00470060
jmp fcn.005d5870