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

Disassembly:
mov eax, 0x74
call fcn.10175fd0
mov eax, dword [0x1024ee80]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x78]
xor ecx, ecx
movsd xmm3, qword [esp + 0x88]
xor edx, edx
mov dword [esp + 0x20], eax
xorps xmm4, xmm4
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x84]
push esi
mov dword [esp + 0x34], eax
xor esi, esi
mov eax, dword [esp + 0x98]
test eax, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], ecx
mov ecx, 6
cmovns ecx, eax
mov dword [esp + 0xc], edx
comisd xmm4, xmm3
push edi
jbe 0x1005f15c
mov dword [esp + 0x20], 0x2d
jmp 0x1005f17f
mov eax, dword [esp + 0xa0]
test al, 2
je 0x1005f171
mov dword [esp + 0x20], 0x2b
jmp 0x1005f17f
test al, 4
mov eax, 0x20
cmovne esi, eax
mov dword [esp + 0x20], esi
mov edi, dword [esp + 0xa4]
movsd xmm1, qword [0x101ae2e0]
movsd xmm2, qword [0x101ae2d8]
cmp edi, 2
jne 0x1005f1f8
ucomisd xmm3, xmm4
lahf
test ah, 0x44
jp 0x1005f1ab
mov dword [esp + 0x24], edx
jmp 0x1005f20a
movsd xmm0, qword [0x101ae2c8]
comisd xmm0, xmm3
jbe 0x1005f1c3
mov dword [esp + 0x24], 1
jmp 0x1005f20a
test ecx, ecx
jne 0x1005f1cf
comisd xmm3, xmm1
jae 0x1005f1ee
test ecx, ecx
jle 0x1005f1a5
push ecx
call fcn.1005fb00
movsd xmm1, qword [0x101ae2e0]
add esp, 4
fstp qword [esp + 8]
comisd xmm3, xmmword [esp + 8]
jb 0x1005f1a5
mov dword [esp + 0x24], 1
jmp 0x1005f20a
mov dword [esp + 0x24], edi
mov esi, ecx
mov dword [esp + 0x1c], esi
test edi, edi
je 0x1005f2b7
ucomisd xmm3, xmm4
movaps xmm0, xmm3
lahf
test ah, 0x44
jnp 0x1005f244
comisd xmm2, xmm3
jbe 0x1005f22f
nop dword [eax]
mulsd xmm0, xmm1
dec edx
comisd xmm2, xmm0
ja 0x1005f220
mov dword [esp + 0x10], edx
comisd xmm0, xmm1
jbe 0x1005f244
divsd xmm0, xmm1
inc edx
comisd xmm0, xmm1
ja 0x1005f235
mov dword [esp + 0x10], edx
mov esi, ecx
mov dword [esp + 0x1c], esi
cmp edi, 2
jne 0x1005f2a2
test ecx, ecx
mov eax, 1
cmove esi, eax
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x1005f29b
or eax, 0xffffffff
sub eax, edx
add esi, eax
mov dword [esp + 0x1c], esi
jns 0x1005f2b7
push 0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x38]
call fcn.1005efd0
add esp, 0x14
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.10175bf0
add esp, 0x74
ret
dec esi
mov dword [esp + 0x1c], esi
jmp 0x1005f2a6
mov eax, dword [esp + 0x24]
cmp eax, 1
jne 0x1005f2b7
movaps xmm3, xmm0
movsd qword [esp + 0x90], xmm3
comisd xmm4, xmm3
jbe 0x1005f2cd
xorps xmm3, xmmword [0x101ae2f0]
movsd qword [esp + 0x90], xmm3
comisd xmm3, xmmword [0x101ae2e8]
jae 0x1005f26e
movaps xmm0, xmm3
call fcn.10176230
movsd xmm3, qword [0x101ae2d8]
mov edx, eax
movaps xmm1, xmm3
cmp esi, 9
jle 0x1005f2fe
mov esi, 9
mov dword [esp + 0x1c], esi
mov eax, esi
jmp 0x1005f304
mov eax, esi
test esi, esi
je 0x1005f31b
movsd xmm2, qword [0x101ae2e0]
nop dword [eax]
mulsd xmm1, xmm2
sub eax, 1
jne 0x1005f310
jmp 0x1005f323
movsd xmm2, qword [0x101ae2e0]
movsd xmm4, qword [0x101ae2d0]
cvttsd2si ecx, xmm1
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
comisd xmm1, xmm4
jb 0x1005f342
inc ecx
mov eax, esi
test esi, esi
je 0x1005f359
nop dword [eax + eax]
mulsd xmm3, xmm2
sub eax, 1
jne 0x1005f350
movsd xmm1, qword [esp + 0x90]
mov eax, edx
movd xmm0, edx
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101ad5e0]
subsd xmm1, xmm0
mulsd xmm1, xmm3
cvttsd2si eax, xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
comisd xmm1, xmm4
jb 0x1005f397
inc eax
mov edi, eax
sub edi, ecx
cmp eax, ecx
cmovb edi, eax
mov dword [esp + 0xc], edi
lea edi, [edx + 1]
cmovb edi, edx
xor esi, esi
nop dword [eax]
mov eax, 0xcccccccd
mov ecx, esi
mul edi
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub edi, eax
mov al, byte [edi + str.0123456789]
mov edi, edx
mov byte [esp + esi + 0x64], al
inc esi
test edi, edi
je 0x1005f3d9
cmp esi, 0x14
jl 0x1005f3b0
mov edi, dword [esp + 0xc]
cmp ecx, 0x13
cmovne ecx, esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
cmp ecx, 0x14
jae 0x1005f80e
mov byte [esp + ecx + 0x64], 0
test esi, esi
jle 0x1005f45a
xor eax, eax
nop
cmp dword [esp + 0xa4], 2
jne 0x1005f42e
test eax, eax
jne 0x1005f42e
nop
mov eax, 0xcccccccd
mul edi
mov eax, edi
shr edx, 3
lea ecx, [edx + edx*4]
add ecx, ecx
sub eax, ecx
jne 0x1005f42e
dec esi
mov edi, edx
test esi, esi
jg 0x1005f410
jmp 0x1005f45a
mov ecx, dword [esp + 0x2c]
mov eax, 0xcccccccd
mul edi
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub edi, eax
mov al, byte [edi + str.0123456789]
mov edi, edx
mov byte [esp + ecx + 0x50], al
mov eax, ecx
inc eax
mov dword [esp + 0x2c], eax
cmp eax, esi
jl 0x1005f400
cmp dword [esp + 0x2c], 0x14
mov edi, 0x13
cmovne edi, dword [esp + 0x2c]
mov dword [esp + 0x1c], edi
cmp edi, 0x14
jae 0x1005f80e
cmp dword [esp + 0x24], 1
mov byte [esp + edi + 0x50], 0
jne 0x1005f517
mov eax, dword [esp + 0x10]
mov ecx, eax
test eax, eax
jns 0x1005f498
neg ecx
mov dword [esp + 0x2c], ecx
jmp 0x1005f4a0
mov dword [esp + 0x2c], eax
nop dword [eax]
mov eax, 0x66666667
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x2c], ecx
lea eax, [ecx + ecx*4]
add eax, eax
sub edx, eax
mov al, byte [edx + str.0123456789]
mov edx, dword [esp + 0x18]
mov byte [esp + edx + 0x3c], al
inc edx
mov dword [esp + 0x18], edx
test ecx, ecx
jle 0x1005f4e1
cmp edx, 0x14
jl 0x1005f4a0
jmp 0x1005f26e
cmp edx, 1
jne 0x1005f519
mov ecx, dword [esp + 0x98]
xor eax, eax
cmp dword [esp + 0x20], eax
mov edx, 2
mov byte [esp + 0x3d], 0x30
setne al
mov dword [esp + 0x18], edx
sub ecx, eax
xor eax, eax
test esi, esi
setg al
sub ecx, eax
sub ecx, dword [esp + 0x14]
sub ecx, esi
jmp 0x1005f548
xor edx, edx
mov ecx, dword [esp + 0x98]
xor eax, eax
cmp dword [esp + 0x20], eax
setne al
sub ecx, eax
xor eax, eax
test esi, esi
setg al
sub ecx, eax
sub ecx, dword [esp + 0x14]
sub ecx, esi
cmp dword [esp + 0x24], 1
mov dword [esp + 0x98], ecx
jne 0x1005f558
mov eax, 0xfffffffe
sub eax, edx
add ecx, eax
mov dword [esp + 0x98], ecx
mov eax, esi
mov ecx, 0
sub eax, edi
cmovns ecx, eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x2c], ecx
xor ecx, ecx
test eax, eax
cmovns ecx, eax
mov edx, ecx
neg edx
test byte [esp + 0xa0], 1
cmove edx, ecx
test byte [esp + 0xa0], 0x10
mov dword [esp + 0xc], edx
mov edi, edx
je 0x1005f5f9
test edx, edx
jle 0x1005f5f9
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1005f5d0
push eax
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x38]
call fcn.1005efd0
add esp, 0x14
test eax, eax
je 0x1005f288
dec edi
mov dword [esp + 0x20], 0
test edi, edi
jle 0x1005f627
nop
push 0x30
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x38]
call fcn.1005efd0
add esp, 0x14
test eax, eax
je 0x1005f288
dec edi
test edi, edi
jg 0x1005f5d0
jmp 0x1005f627
test edi, edi
jle 0x1005f627
nop dword [eax]
push 0x20
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x38]
call fcn.1005efd0
add esp, 0x14
test eax, eax
je 0x1005f288
dec edi
test edi, edi
jg 0x1005f600
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1005f650
push eax
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x38]
call fcn.1005efd0
add esp, 0x14
test eax, eax
je 0x1005f288
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x1005f693
nop dword [eax + eax]
dec eax
mov dword [esp + 0x14], eax
movsx eax, byte [esp + eax + 0x64]
push eax
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x38]
call fcn.1005efd0
add esp, 0x14
test eax, eax
je 0x1005f288
mov eax, dword [esp + 0x14]
test eax, eax
jg 0x1005f660
test esi, esi
jg 0x1005f6a1
test byte [esp + 0xa0], 8
je 0x1005f6fb
push 0x2e
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x38]
call fcn.1005efd0
add esp, 0x14
test eax, eax
je 0x1005f288
mov esi, dword [esp + 0x1c]
test esi, esi
jle 0x1005f6fb
nop dword [eax + eax]
movsx eax, byte [esp + esi + 0x4f]
dec esi
push eax
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x38]
call fcn.1005efd0
add esp, 0x14
test eax, eax
je 0x1005f288
test esi, esi
jg 0x1005f6d0
cmp dword [esp + 0x2c], 0
mov esi, dword [esp + 0x28]
jle 0x1005f732
push 0x30
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push esi
call fcn.1005efd0
add esp, 0x14
test eax, eax
je 0x1005f288
mov eax, dword [esp + 0x2c]
dec eax
mov dword [esp + 0x2c], eax
test eax, eax
jg 0x1005f706
cmp dword [esp + 0x24], 1
jne 0x1005f7d0
mov eax, dword [esp + 0xa0]
not eax
and eax, 0x20
or eax, 0x45
push eax
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push esi
call fcn.1005efd0
add esp, 0x14
test eax, eax
je 0x1005f288
cmp dword [esp + 0x10], 0
jge 0x1005f775
push 0x2d
jmp 0x1005f777
push 0x2b
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push esi
call fcn.1005efd0
add esp, 0x14
test eax, eax
je 0x1005f288
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x1005f7d0
nop dword [eax]
dec eax
mov dword [esp + 0x18], eax
movsx eax, byte [esp + eax + 0x3c]
push eax
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push esi
call fcn.1005efd0
add esp, 0x14
test eax, eax
je 0x1005f288
mov eax, dword [esp + 0x18]
test eax, eax
jg 0x1005f7a0
test edi, edi
jns 0x1005f7f8
push 0x20
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push esi
call fcn.1005efd0
add esp, 0x14
test eax, eax
je 0x1005f288
add edi, 1
js 0x1005f7d4
mov ecx, dword [esp + 0x78]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.10175bf0
add esp, 0x74
ret
call fcn.1017614e
int3