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

Disassembly:
mov ecx, dword [0x9aee30]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5d39f5
sub esp, 0x74
mov edx, dword [0x965fb0]
mov ebx, dword [0x965fb4]
mov ebp, dword [esp + 0x78]
jmp 0x5d347d
add edx, 0x20
dec ebx
test ebx, ebx
jle 0x5d349c
lea edi, [esp + 0x50]
mov esi, edx
call fcn.0046cff0
cmp dword [esp + 0x50], ebp
jne 0x5d3479
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
jmp 0x5d34a0
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x3c], ebx
test edx, edx
jne 0x5d34e2
cmp ebx, 4
jne 0x5d34c4
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x84]
mov esi, dword [esp + 0x7c]
jmp 0x5d360c
mov eax, dword [0x964ee8]
mov ecx, dword [0x964eec]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x74
ret
cmp edx, 2
je 0x5d39c9
mov dword [esp + 0x38], edx
cmp edx, 3
jne 0x5d3562
movzx esi, byte [esp + 0x9c]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x5d3562
mov eax, dword [0x9646a4]
mov dword [esp], eax
call fcn.004db7d0
cmp dword [esp + 8], 1
jne 0x5d3520
mov eax, dword [esp + 4]
cmp byte [eax], 0x31
je 0x5d3548
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.0040aa30
mov eax, dword [esp + 4]
lea ecx, [0x749aa4]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x74
ret
mov eax, dword [0x9646a4]
mov dword [esp], eax
call fcn.004db5f0
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x78]
cmp edx, 0x14
jae 0x5d39ab
mov ecx, dword [0x96f38c]
cmp edx, ecx
jae 0x5d39ed
mov eax, dword [0x96f388]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x5d39ab
mov dword [esp], edx
call fcn.004f37d0
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x70], ecx
mov edx, dword [eax + 0x20]
mov dword [esp], ecx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0xc], ebx
call edx
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x1c]
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x78]
mov esi, eax
mov eax, edx
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x94]
test edi, edi
je 0x5d398d
mov dword [esp + 0x44], eax
mov eax, dword [edi + 8]
cmp eax, 0x6256b0f0
jne 0x5d3766
lea eax, [0x6a2740]
cmp edi, eax
jne 0x5d398d
cmp ebx, 1
jne 0x5d3735
lea eax, [ebp - 0xd]
nop
cmp eax, 2
ja 0x5d36d7
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0xffffffff
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x20], eax
call fcn.0058c180
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x74
ret
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x1c], eax
call fcn.0058b8d0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x74
ret
mov dword [esp], ebx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 8], eax
call fcn.005d3360
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x74
ret
cmp eax, 0xc6f8bfa7
jne 0x5d3856
lea eax, [0x6bc8a0]
cmp edi, eax
jne 0x5d398d
cmp ebx, 3
jne 0x5d3825
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x18], eax
call fcn.00580220
movzx eax, byte [esp + 0x1c]
test al, al
je 0x5d37eb
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
add esp, 0x74
ret
nop
lea eax, [0x69de40]
mov dword [esp], eax
call fcn.0040d2a0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x20
lea ecx, [0x6dc9cf]
mov dword [eax], ecx
lea ecx, [0x74924c]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x74
ret
mov dword [esp], ebx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 8], eax
call fcn.005d3360
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x74
ret
cmp eax, 0xcee30d6a
jne 0x5d398d
lea eax, [0x69ab40]
cmp edi, eax
jne 0x5d398d
mov edx, dword [esp + 0x98]
mov ebp, dword [edx]
mov edi, dword [edx + 4]
mov edx, dword [edx + 8]
cmp ebx, 4
jne 0x5d3945
mov dword [esp], ebp
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
call fcn.0058aaa0
movzx eax, byte [esp + 0x34]
test al, al
je 0x5d390b
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
add esp, 0x74
ret
nop
lea eax, [0x69de40]
mov dword [esp], eax
call fcn.0040d2a0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x22
lea ecx, [0x6dd9cc]
mov dword [eax], ecx
lea ecx, [0x74924c]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x74
ret
mov dword [esp], ebp
mov dword [esp + 4], edi
mov dword [esp + 8], edx
call fcn.0040abb0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
lea ecx, [0x69ab40]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.005d3360
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x74
ret
mov eax, dword [0x964ee8]
mov ecx, dword [0x964eec]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x74
ret
mov eax, dword [0x964ee8]
mov ecx, dword [0x964eec]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x74
ret
mov dword [esp], ebp
call fcn.0040aa30
mov eax, dword [esp + 4]
lea ecx, [0x749aa4]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x74
ret
mov eax, edx
call fcn.0046c920
nop
call fcn.0046b490
jmp fcn.005d3450