Function at 0x1003d3c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [ebp + 8]
mov eax, ecx
mov dword [ebp - 8], edx
movaps xmm1, xmm2
movss dword [ebp - 0x18], xmm1
mov dword [ebp - 0x1c], eax
push esi
mov esi, dword [0x101e6b78]
push edi
mov edi, dword [ebp + 0xc]
cmp eax, 4
je 0x1003d3f3
cmp eax, 5
je 0x1003d3f3
xor dl, dl
jmp 0x1003d3f5
mov dl, 1
movss xmm4, dword [0x1017f0d8]
movss xmm3, dword [ebp + 0x14]
movss xmm2, dword [0x1017f334]
ucomiss xmm3, xmm4
mov byte [ebp - 1], dl
lahf
test ah, 0x44
jnp 0x1003d434
test dl, dl
je 0x1003d434
cmp ebx, edi
je 0x1003d434
mov ecx, edi
sub ecx, ebx
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
comiss xmm2, xmm0
jbe 0x1003d434
mov byte [ebp - 2], 1
jmp 0x1003d43c
mov ecx, edi
mov byte [ebp - 2], 0
sub ecx, ebx
xorps xmm6, xmm6
ucomiss xmm1, xmm6
lahf
test ah, 0x44
jp 0x1003d468
cmp ebx, edi
je 0x1003d468
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
comiss xmm2, xmm0
jbe 0x1003d468
movaps xmm1, xmm0
mulss xmm1, dword [esi + 0x2c64]
movss dword [ebp - 0x18], xmm1
mov eax, dword [esi + 0x1a34]
xorps xmm5, xmm5
cmp eax, 1
jne 0x1003d4f4
test esi, esi
jne 0x1003d481
push esi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
movss xmm0, dword [esi + 0xe0]
movss xmm2, dword [0x1017f3a8]
comiss xmm0, xmm2
movss xmm3, dword [esi + 0xe4]
jb 0x1003d6e2
comiss xmm3, xmm2
jb 0x1003d6e2
movss xmm0, dword [esi + 0x434]
comiss xmm0, xmm4
jbe 0x1003d6e2
cmp byte [esi + 0xfa], 0
movss xmm5, dword [esi + 0x370]
je 0x1003d4d5
mulss xmm5, dword [0x1017f024]
cmp byte [esi + 0xf9], 0
movss xmm3, dword [ebp + 0x14]
je 0x1003d6e7
mulss xmm5, dword [0x1017f1a4]
jmp 0x1003d6e7
cmp eax, 2
jne 0x1003d6e7
test dl, dl
je 0x1003d50d
mov ecx, dword [ebp + 0x10]
call fcn.10135de0
mov edx, eax
jmp 0x1003d50f
xor edx, edx
movss xmm0, dword [esi + 0x1490]
lea eax, [esi + 0x8c]
comiss xmm6, xmm0
lea ecx, [esi + 0x88]
mov dword [ebp - 0x10], eax
lea ebx, [esi + 0x18]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], ebx
movss xmm5, dword [0x1017f06c]
movss xmm1, dword [0x1017f0c0]
jbe 0x1003d549
xorps xmm7, xmm7
jmp 0x1003d58d
movss xmm2, dword [ecx]
movss xmm3, dword [eax]
mulss xmm2, xmm1
movaps xmm1, xmm0
subss xmm1, dword [esi + 0x18]
mulss xmm3, xmm5
call fcn.10116eb0
movss xmm1, dword [0x1017f0c0]
lea ecx, [esi + 0x88]
lea ebx, [esi + 0x18]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], ebx
movd xmm7, eax
lea eax, [esi + 0x8c]
cvtdq2ps xmm7, xmm7
mov dword [ebp - 0x10], eax
movss xmm0, dword [esi + 0x148c]
comiss xmm6, xmm0
jbe 0x1003d59f
xorps xmm0, xmm0
jmp 0x1003d5c5
movss xmm3, dword [eax]
movss xmm2, dword [ecx]
mov eax, dword [ebp - 0xc]
mulss xmm2, xmm1
movaps xmm1, xmm0
mulss xmm3, xmm5
subss xmm1, dword [eax]
call fcn.10116eb0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm7, xmm0
movss xmm0, dword [esi + 0x145c]
comiss xmm6, xmm0
addss xmm7, xmm6
jbe 0x1003d5df
xorps xmm5, xmm5
jmp 0x1003d60f
mov eax, dword [ebp - 0x10]
movaps xmm1, xmm0
movss xmm3, dword [eax]
mov eax, dword [ebp - 0x14]
mulss xmm3, xmm5
movss xmm2, dword [eax]
mov eax, dword [ebp - 0xc]
mulss xmm2, dword [0x1017f0c0]
subss xmm1, dword [eax]
call fcn.10116eb0
movd xmm5, eax
cvtdq2ps xmm5, xmm5
movss xmm0, dword [esi + 0x1458]
comiss xmm6, xmm0
jbe 0x1003d621
xorps xmm0, xmm0
jmp 0x1003d655
mov eax, dword [ebp - 0x10]
movaps xmm1, xmm0
movss xmm3, dword [eax]
mov eax, dword [ebp - 0x14]
mulss xmm3, dword [0x1017f06c]
movss xmm2, dword [eax]
mov eax, dword [ebp - 0xc]
mulss xmm2, dword [0x1017f0c0]
subss xmm1, dword [eax]
call fcn.10116eb0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov ebx, dword [ebp + 8]
subss xmm5, xmm0
movss xmm0, dword [esi + 0x334]
comiss xmm0, xmm6
addss xmm5, xmm7
movss dword [ebp - 0xc], xmm5
jbe 0x1003d67f
mulss xmm5, dword [0x1017f050]
movss dword [ebp - 0xc], xmm5
movss xmm0, dword [esi + 0x338]
comiss xmm0, xmm6
movss xmm0, dword [0x1017f1a4]
jbe 0x1003d69d
mulss xmm5, xmm0
movss dword [ebp - 0xc], xmm5
test edx, edx
jns 0x1003d6ab
movss xmm0, dword [0x1017eff0]
jmp 0x1003d6d1
cmp edx, 0xa
jge 0x1003d6bb
movss xmm0, dword [edx*4 + 0x1017e5d0]
jmp 0x1003d6d1
neg edx
movd xmm1, edx
cvtdq2ps xmm1, xmm1
call fcn.1000d060
movss xmm5, dword [ebp - 0xc]
xorps xmm6, xmm6
movss xmm1, dword [ebp - 0x18]
movss xmm4, dword [0x1017f0d8]
maxss xmm1, xmm0
movss xmm3, dword [ebp + 0x14]
mov dl, byte [esi + 0x1a14]
mulss xmm5, xmm1
movss dword [ebp - 0xc], xmm5
cmp ebx, edi
je 0x1003d715
mov ecx, dword [ebp - 8]
mov eax, dword [ecx]
cmp eax, edi
jl 0x1003d708
comiss xmm5, xmm6
ja 0x1003d711
cmp eax, ebx
jg 0x1003d715
comiss xmm6, xmm5
jbe 0x1003d715
mov cl, 1
jmp 0x1003d717
xor cl, cl
mov dh, byte [ebp - 2]
test dh, dh
je 0x1003d742
comiss xmm6, xmm5
jbe 0x1003d730
movss xmm0, dword [esi + 0x2c60]
comiss xmm0, xmm6
ja 0x1003d73e
comiss xmm5, xmm6
jbe 0x1003d742
comiss xmm6, dword [esi + 0x2c60]
jbe 0x1003d742
mov al, 1
jmp 0x1003d744
xor al, al
test dl, dl
jne 0x1003d775
test cl, cl
jne 0x1003d775
test al, al
jne 0x1003d775
ucomiss xmm5, xmm6
lahf
test ah, 0x44
jnp 0x1003d786
movaps xmm0, xmm5
mov byte [esi + 0x2c5c], 1
addss xmm0, dword [esi + 0x2c60]
movss dword [esi + 0x2c60], xmm0
jmp 0x1003d786
mov dword [esi + 0x2c60], 0
mov byte [esi + 0x2c5c], 0
cmp byte [esi + 0x2c5c], 0
je 0x1003d8f7
mov eax, dword [ebp - 8]
sub edi, ebx
mov dword [ebp + 8], edi
mov ecx, dword [eax]
test dh, dh
je 0x1003d850
sub ecx, ebx
xorps xmm0, xmm0
xorps xmm2, xmm2
movaps xmm1, xmm4
cvtsi2ss xmm2, edi
cvtsi2ss xmm0, ecx
divss xmm1, xmm3
divss xmm0, xmm2
call fcn.1000d060
movss xmm2, dword [esi + 0x2c60]
xorps xmm1, xmm1
cvtsi2ss xmm1, edi
movss dword [ebp - 0x18], xmm0
divss xmm2, xmm1
addss xmm2, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
ja 0x1003d7f5
movss xmm0, dword [0x1017f0d8]
minss xmm0, xmm2
movss xmm1, dword [ebp + 0x14]
call fcn.1000d060
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp + 0x10]
cvttss2si eax, xmm0
imul eax, edi
add eax, ebx
push eax
call fcn.10041ac0
movd xmm2, dword [ebp + 8]
mov edi, eax
movss xmm1, dword [0x1017f0d8]
mov ecx, edi
divss xmm1, dword [ebp + 0x14]
sub ecx, ebx
mov byte [esi + 0x2c5c], 0
add esp, 4
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm2, xmm2
divss xmm0, xmm2
call fcn.1000d060
subss xmm0, dword [ebp - 0x18]
jmp 0x1003d87e
cvttss2si eax, dword [esi + 0x2c60]
mov edx, dword [ebp - 0x1c]
add ecx, eax
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.10041ac0
mov ecx, dword [ebp - 8]
add esp, 4
mov edi, eax
mov byte [esi + 0x2c5c], 0
sub eax, dword [ecx]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss xmm1, dword [esi + 0x2c60]
mov eax, edi
subss xmm1, xmm0
movss dword [esi + 0x2c60], xmm1
mov esi, dword [ebp - 8]
mov ecx, dword [esi]
mov edx, ecx
cmp ecx, edi
je 0x1003d8e8
mov edx, dword [ebp + 0xc]
cmp ebx, edx
je 0x1003d8ec
movss xmm0, dword [ebp - 0xc]
xorps xmm1, xmm1
cmp edi, ebx
jl 0x1003d8c3
mov esi, ecx
cmp edi, ecx
jle 0x1003d8c7
comiss xmm1, xmm0
jbe 0x1003d8c7
cmp byte [ebp - 1], 0
jne 0x1003d8c7
mov eax, ebx
mov esi, ecx
cmp eax, edx
jg 0x1003d8e1
mov edx, ecx
cmp eax, ecx
jge 0x1003d8e5
comiss xmm0, xmm1
jbe 0x1003d8e5
cmp byte [ebp - 1], 0
mov edx, esi
jne 0x1003d8e5
mov edx, dword [ebp + 0xc]
mov eax, edx
mov edx, esi
mov esi, dword [ebp - 8]
cmp edx, eax
je 0x1003d8f7
mov dword [esi], eax
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret