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

Disassembly:
mov ecx, dword [0x6cfe90]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x53eb1d
sub esp, 0x7c
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 0x34]
mov dword [esp], ecx
call fcn.005308c0
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x3c], ecx
lea edx, [0x5574e0]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0044b5b0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
xor ebx, ebx
jmp 0x53e5e6
mov dword [eax], ebp
inc ebx
mov eax, dword [esp + 0x48]
cmp ebx, edx
jge 0x53e614
mov ebp, dword [ecx + ebx*4]
lea esi, [eax + ebx*8 + 4]
mov edi, dword [ebp + 8]
lea eax, [eax + ebx*8]
mov ebp, dword [ebp + 4]
mov dword [esi], edi
mov esi, dword [0x6cff38]
test esi, esi
je 0x53e5df
call fcn.00464ac0
mov dword [edi], ebp
mov esi, dword [eax]
mov dword [edi + 4], esi
jmp 0x53e5df
mov ecx, dword [esp + 0x80]
mov ebx, dword [ecx + 0x18]
test ebx, ebx
jne 0x53e77f
cmp edx, 1
je 0x53e70c
jg 0x53e63a
xor ecx, ecx
xor eax, eax
jmp 0x53e775
mov dword [esp], eax
lea ecx, [edx - 1]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
lea ecx, [0x57ba56]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 2
call fcn.004bf890
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040a300
mov eax, dword [esp + 8]
lea ecx, [0x5574e0]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x48]
lea eax, [edx + eax*8 - 8]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0040a300
mov eax, dword [esp + 8]
lea ecx, [0x5574e0]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
lea eax, [0x5860c4]
mov dword [esp], eax
mov dword [esp + 4], 0x27
lea eax, [esp + 0x64]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004b5e90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
jmp 0x53e775
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040a300
mov eax, dword [esp + 8]
lea ecx, [0x5574e0]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
lea eax, [0x58300f]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
lea eax, [esp + 0x74]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004b5e90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, 0xb
jmp 0x53eab2
mov ebx, dword [ecx + 0x14]
mov ebp, dword [ebx]
mov ebx, dword [ebx + 4]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edx
call fcn.0052e8a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov ebx, dword [esp + 0x80]
mov ebp, dword [ebx + 0x18]
test ebp, ebp
jbe 0x53eb13
mov dword [esp + 0x40], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], edx
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040a300
mov eax, dword [esp + 8]
lea ecx, [0x5574e0]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
lea eax, [0x57fc2e]
mov dword [esp], eax
mov dword [esp + 4], 0x14
lea eax, [esp + 0x74]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004b5e90
mov eax, dword [esp + 0x28]
cvtsi2ss xmm0, eax
mov eax, dword [esp + 0x30]
cvtsi2ss xmm1, eax
divss xmm0, xmm1
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
movss xmm1, dword [0x5b5abc]
ucomiss xmm1, xmm0
ja 0x53ea0f
mov eax, dword [esp + 0x2c]
cmp eax, 1
je 0x53e96f
jle 0x53eaa9
mov dword [esp + 0x24], edx
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp], ecx
lea edx, [eax - 1]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
lea edx, [0x57ba56]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 2
call fcn.004bf890
mov eax, dword [esp + 0x14]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x34], ecx
lea edi, [esp + 0x4c]
xor eax, eax
call fcn.00464caa
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.0040a300
mov eax, dword [esp + 8]
lea ecx, [0x5574e0]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.0040a300
mov eax, dword [esp + 8]
lea ecx, [0x5574e0]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x48]
lea eax, [edx + eax*8 - 8]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0040a300
mov eax, dword [esp + 8]
lea ecx, [0x5574e0]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
lea eax, [0x586e37]
mov dword [esp], eax
mov dword [esp + 4], 0x2b
lea eax, [esp + 0x4c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], 3
call fcn.004b5e90
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
jmp 0x53eaa9
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.0040a300
mov eax, dword [esp + 8]
lea ecx, [0x5574e0]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x48]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0040a300
mov eax, dword [esp + 8]
lea ecx, [0x5574e0]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
lea eax, [0x5847e4]
mov dword [esp], eax
mov dword [esp + 4], 0x21
lea eax, [esp + 0x64]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004b5e90
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
jmp 0x53eaa9
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.0040a300
mov eax, dword [esp + 8]
lea ecx, [0x5574e0]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call fcn.0040a300
mov eax, dword [esp + 8]
lea ecx, [0x5574e0]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
lea eax, [0x580782]
mov dword [esp], eax
mov dword [esp + 4], 0x16
lea eax, [esp + 0x64]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004b5e90
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, ecx
mov ecx, edx
mov edx, 0xc
mov dword [esp + 0x20], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x24], ecx
lea ebx, [0x560660]
mov dword [esp], ebx
call fcn.0040ca70
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x20]
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 8], ecx
mov ecx, dword [0x6cff38]
test ecx, ecx
jne 0x53eaed
mov ecx, dword [esp + 0x38]
jmp 0x53eaf8
call fcn.00464ab0
mov ecx, dword [esp + 0x38]
mov dword [edi], ecx
mov dword [eax + 4], ecx
lea ecx, [0x5b6344]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x7c
ret
xor eax, eax
mov ecx, eax
call fcn.00464b30
nop
call fcn.004636b0
jmp fcn.0053e580