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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5a6a46
sub esp, 0x68
lea eax, [0xb13f40]
mov dword [esp], eax
call fcn.0040bd00
mov eax, dword [esp + 4]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
mov edx, dword [esp + 0x74]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x78]
mov dword [esp + 8], ebx
lea ebp, [0xa5fc40]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.0053fb50
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
test eax, eax
jne 0x5a6856
mov eax, dword [esp + 0x5c]
cmp dword [eax], 1
jne 0x5a67da
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x5a67b4
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.005abc60
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x5a6773
mov dword [esp + 0x3c], eax
mov dword [esp + 0x54], ecx
lea eax, [0xaee060]
mov dword [esp], eax
call fcn.0040bd00
mov eax, dword [esp + 4]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx + 8]
mov ebp, dword [ecx + 0xc]
mov esi, dword [eax + 4]
mov edi, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebp
call fcn.00528320
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x4c]
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edx
mov ecx, dword [0x10fd360]
test ecx, ecx
jne 0x5a6766
mov dword [ebx + 4], eax
mov byte [ebx], 0
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x54]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov eax, dword [eax + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00518c70
mov eax, dword [esp + 8]
test eax, eax
jge 0x5a6725
lea eax, [0xb50de0]
mov dword [esp], eax
call fcn.0040bd00
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x3c]
mov dword [eax], ecx
mov edx, dword [0x10fd360]
test edx, edx
jne 0x5a6700
mov edx, dword [esp + 0x54]
mov dword [eax + 4], edx
mov ebx, dword [esp + 0x4c]
mov dword [eax + 0x10], ebx
mov dword [esp + 0x48], eax
mov ebx, dword [esp + 0x40]
mov ebp, dword [ebx + 8]
mov ebx, dword [ebx + 4]
lea esi, [ebp - 1]
test esi, esi
jl 0x5a66f9
mov ebx, dword [ebx + ebp*4 - 4]
nop
cmp ebx, 0x10000
jb 0x5a66f2
shr ebx, 0x10
mov ebp, 0x10
cmp ebx, 0x100
jb 0x5a654f
shr ebx, 8
add ebp, 8
cmp ebx, 0x100
jae 0x5a6a39
shl esi, 5
lea edi, [0x1083960]
movzx ebx, byte [edi + ebx]
add ebx, ebp
add ebx, esi
lea eax, [0xaa98e0]
mov dword [esp], eax
lea eax, [ebx + 7]
sar eax, 0x1f
shr eax, 0x1d
lea eax, [ebx + eax + 7]
sar eax, 3
mov dword [esp + 0x34], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.00446f30
mov eax, dword [esp + 0x5c]
lea edi, [eax + 4]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x34]
jmp 0x5a65ad
mov ebx, dword [esp + 0x34]
mov edx, ebx
mov ebx, dword [eax + 8]
mov ebp, dword [eax + 4]
mov esi, dword [eax + 0xc]
cmp ebx, edx
jle 0x5a6635
movzx edx, byte [ebp]
test dl, dl
jne 0x5a65f4
lea edx, [ebx - 1]
mov dword [eax + 8], edx
lea edx, [esi - 1]
mov dword [eax + 0xc], edx
mov ebx, dword [0x10fd360]
neg edx
sar edx, 0x1f
and edx, 1
add edx, ebp
test ebx, ebx
jne 0x5a65e7
mov dword [eax + 4], edx
jmp 0x5a65a7
mov ebx, eax
mov eax, edx
call fcn.00460b40
mov eax, ebx
jmp 0x5a65a7
lea eax, [0xad4dc0]
mov dword [esp], eax
call fcn.0040bd00
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x20
lea ecx, [0xbac609]
mov dword [eax], ecx
mov dword [esp + 0x7c], 0
lea ecx, [0xc7fc40]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x68
ret
mov eax, edx
sub eax, ebx
cmp edx, eax
jb 0x5a6a32
mov esi, edx
sub edx, eax
mov edi, edx
neg edx
sar edx, 0x1f
and edx, eax
lea eax, [edx + ecx]
cmp ebx, edi
jge 0x5a66eb
mov dword [esp + 0x58], ecx
cmp ebp, eax
je 0x5a6671
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.004614f0
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x54]
mov dword [esp], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ecx
call eax
mov eax, dword [0x10fd360]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x5a66cf
mov eax, dword [esp + 0x48]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x68
ret
mov ebx, dword [esp + 0x48]
lea edi, [ebx + 8]
mov eax, ecx
call fcn.00460b40
lea edi, [ebx + 0xc]
mov eax, edx
call fcn.00460b40
mov eax, ebx
jmp 0x5a66b1
mov ebx, edi
jmp 0x5a6659
xor ebp, ebp
jmp 0x5a6541
xor ebx, ebx
jmp 0x5a656c
lea edi, [eax + 4]
mov edx, eax
mov eax, dword [esp + 0x54]
call fcn.00460b40
lea edi, [edx + 0x10]
mov ebx, eax
mov eax, dword [esp + 0x4c]
call fcn.00460b40
mov eax, edx
mov edx, ebx
jmp 0x5a650f
lea eax, [0xad4dc0]
mov dword [esp], eax
call fcn.0040bd00
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2e
lea ecx, [0xbb9c41]
mov dword [eax], ecx
mov dword [esp + 0x7c], 0
lea ecx, [0xc7fc40]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x68
ret
lea edi, [ebx + 4]
call fcn.00460b40
jmp 0x5a64a1
lea eax, [0xad4dc0]
mov dword [esp], eax
call fcn.0040bd00
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1c
lea ecx, [0xba7b2c]
mov dword [eax], ecx
mov dword [esp + 0x7c], 0
lea ecx, [0xc7fc40]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x68
ret
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov ebx, dword [eax + 0x18]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.005abc60
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
jmp 0x5a6422
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov eax, dword [eax]
mov dword [esp], eax
call fcn.00409370
mov eax, dword [esp + 4]
lea ecx, [0xaa8c20]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
lea eax, [0xbb376b]
mov dword [esp], eax
mov dword [esp + 4], 0x27
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004ebec0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x68
ret
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], eax
lea eax, [0xb04840]
mov dword [esp], eax
call fcn.0040bd00
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
mov edx, dword [esp + 0x74]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x78]
mov dword [esp + 8], ebx
lea ebp, [0xa5fd40]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.0053fb50
mov eax, dword [esp + 0x28]
test eax, eax
je 0x5a69f1
lea eax, [0xb50f60]
mov dword [esp], eax
call fcn.0040bd00
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 8], ecx
lea ecx, [0xa5fcc0]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.0053fb50
mov eax, dword [esp + 0x28]
test eax, eax
je 0x5a69b0
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0xbb28cf]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x26
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.0044a440
mov eax, dword [esp + 0x14]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], ecx
lea edx, [0xad4dc0]
mov dword [esp], edx
call fcn.0040bd00
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x30]
mov dword [edi + 4], eax
mov eax, dword [0x10fd360]
test eax, eax
jne 0x5a69a5
mov eax, dword [esp + 0x44]
mov dword [edi], eax
mov dword [esp + 0x7c], 0
lea eax, [0xc7fc40]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edi
add esp, 0x68
ret
mov eax, dword [esp + 0x44]
call fcn.00460b40
jmp 0x5a6985
lea eax, [0xad4dc0]
mov dword [esp], eax
call fcn.0040bd00
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x58
lea ecx, [0xbc74a2]
mov dword [eax], ecx
mov dword [esp + 0x7c], 0
lea ecx, [0xc7fc40]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x68
ret
lea eax, [0xad4dc0]
mov dword [esp], eax
call fcn.0040bd00
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x58
lea ecx, [0xbc74fa]
mov dword [eax], ecx
mov dword [esp + 0x7c], 0
lea ecx, [0xc7fc40]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x68
ret
mov ecx, edx
call fcn.00460c20
mov eax, ebx
mov ecx, 0x100
call fcn.00460bd0
nop
call fcn.0045f5f0
jmp fcn.005a6370