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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x108
mov eax, dword [0x100bc040]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x50], edx
mov edx, dword [0x1019fdb0]
test byte [edi + 0xc], 0x42
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x20], edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], edx
jne 0x1005447f
cmp byte [edi + 0xc4], 0
jg 0x1005447f
cmp byte [edi + 0xc5], 0
jg 0x1005447f
cmp byte [edi + 0xab], 0
je 0x1005447f
movss xmm2, dword [edx + 0x3bb8]
xor eax, eax
movss xmm0, dword [edi + 0x4c]
movaps xmm1, xmm2
addss xmm0, dword [0x100b2860]
mulss xmm2, dword [0x100b27e4]
mov esi, 4
mov cl, byte [edx + 0x66]
mulss xmm1, dword [0x100b2878]
test cl, cl
mov byte [esp + 0x1b], 0
addss xmm0, xmm2
cmovne eax, esi
mov dword [esp + 0x58], eax
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x100b2838]
cvttss2si esi, xmm0
je 0x100535f1
movss xmm0, dword [0x100b28f0]
jmp 0x100535f4
xorps xmm0, xmm0
cmp byte [edx + 0x67], 0
mov eax, dword [esp + 0x2c]
movss dword [esp + 0x28], xmm0
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x70], xmm0
je 0x1005365d
test byte [edi + 0xc], 1
jne 0x1005365d
mov ecx, dword [edi]
mov eax, dword [edi + 0x2f8]
mov byte [esp + 0x13], 1
movss xmm1, dword [ecx + 0x3bbc]
mulss xmm1, dword [edi + 0x25c]
test eax, eax
je 0x1005363b
mulss xmm1, dword [eax + 0x25c]
movss xmm0, dword [ecx + 0x37c8]
addss xmm0, xmm0
addss xmm0, xmm1
movss xmm1, dword [esp + 0x74]
subss xmm1, xmm0
movss dword [esp + 0x34], xmm1
jmp 0x1005366e
movss xmm0, dword [esp + 0x74]
mov byte [esp + 0x13], 0
movss dword [esp + 0x34], xmm0
sub esp, 8
lea ecx, [esp + 0xec]
mov dword [esp + 4], 0x7f7fffff
mov dword [esp], 0x7f7fffff
call fcn.100248c0
sub esp, 8
lea ecx, [esp + 0xc4]
mov dword [esp + 4], 0x7f7fffff
mov dword [esp], 0x7f7fffff
call fcn.100248c0
mov ecx, dword [0x1019fdb0]
xor edx, edx
mov dword [edi + 0x148], 1
mov edi, dword [ecx + 0x3e48]
mov ecx, dword [edi + 0xe4]
lea eax, [edi + 0xe4]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0xec]
push dword [eax + ecx*4 - 4]
mov ecx, str.RESIZE
call fcn.1004bce0
mov ecx, eax
add esp, 4
mov eax, dword [edi]
mov dword [esp + 0x48], ecx
cmp dword [eax + 0x3e7c], ecx
jne 0x1005370d
push 0
push str.RESIZE
mov edx, 0xb
call fcn.10063ef0
add esp, 8
mov edi, dword [esp + 0x2c]
mov edx, dword [edi]
mov ecx, dword [edi + 4]
cmp edx, ecx
jne 0x10053744
inc edx
mov dword [esp + 0x2c], edx
test ecx, ecx
je 0x10053732
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x2c]
sar eax, 1
add eax, ecx
jmp 0x10053737
mov eax, 8
cmp eax, edx
mov ecx, edi
cmovg edx, eax
push edx
call fcn.10064880
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov edx, dword [esp + 0x48]
mov dword [eax + ecx*4], edx
xor edx, edx
inc dword [edi]
mov dword [esp + 0x1c], edx
cmp dword [ebp + 0xc], edx
jle 0x10053d18
mov edi, dword [esp + 0x20]
nop word [eax + eax]
movss xmm0, dword [edi + 0x18]
lea eax, [edx + edx*2]
addss xmm0, dword [edi + 0x20]
sub esp, 8
lea eax, [eax*8 + 0x100a9fb0]
lea ecx, [esp + 0xcc]
mov dword [esp + 0x1c], eax
movss dword [esp + 4], xmm0
movss xmm0, dword [edi + 0x1c]
addss xmm0, dword [edi + 0x14]
movss dword [esp], xmm0
call fcn.100248c0
movss xmm0, dword [esp + 0xc8]
lea ecx, [esp + 0xec]
subss xmm0, dword [edi + 0x18]
mov eax, dword [esp + 0x14]
sub esp, 8
mulss xmm0, dword [eax + 4]
addss xmm0, dword [edi + 0x18]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0xcc]
subss xmm0, dword [edi + 0x14]
mulss xmm0, dword [eax]
addss xmm0, dword [edi + 0x14]
movss dword [esp], xmm0
call fcn.100248c0
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0xb4]
movd xmm1, esi
sub esp, 8
cvtdq2ps xmm1, xmm1
movaps xmm0, xmm1
mulss xmm0, dword [eax + 0xc]
movss dword [esp + 4], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [eax + 8]
movss dword [esp], xmm0
call fcn.100248c0
movss xmm0, dword [esp + 0xb8]
lea ecx, [esp + 0x8c]
addss xmm0, dword [esp + 0xf0]
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0xbc]
addss xmm0, dword [esp + 0xf4]
movss dword [esp], xmm0
call fcn.100248c0
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x2c]
movss xmm0, dword [esp + 0x28]
sub esp, 8
mulss xmm0, dword [eax + 0xc]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x30]
mulss xmm0, dword [eax + 8]
movss dword [esp], xmm0
call fcn.100248c0
movss xmm0, dword [esp + 0xf0]
lea ecx, [esp + 0x94]
subss xmm0, dword [esp + 0x30]
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0xf4]
subss xmm0, dword [esp + 0x34]
movss dword [esp], xmm0
call fcn.100248c0
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0xdc]
call fcn.10024b30
movss xmm1, dword [esp + 0xd4]
movss xmm0, dword [esp + 0xdc]
comiss xmm1, xmm0
jbe 0x1005391a
movss dword [esp + 0xd4], xmm0
movss dword [esp + 0xdc], xmm1
movss xmm1, dword [esp + 0xd8]
movss xmm0, dword [esp + 0xe0]
comiss xmm1, xmm0
jbe 0x10053943
movss dword [esp + 0xd8], xmm0
movss dword [esp + 0xe0], xmm1
push dword [esp + 0x1c]
mov ecx, edi
call fcn.1004e750
mov edi, eax
lea ecx, [esp + 0xd4]
push 8
push 0
mov edx, edi
call fcn.1005c250
push 0x40800
lea eax, [esp + 0x1d]
mov edx, edi
push eax
lea eax, [esp + 0x22]
push eax
lea ecx, [esp + 0xe8]
call fcn.100747f0
mov cl, byte [esp + 0x26]
add esp, 0x14
test cl, cl
jne 0x10053996
mov al, byte [esp + 0x11]
test al, al
je 0x10053cce
mov edx, dword [esp + 0x1c]
mov eax, edx
mov edi, dword [esp + 0x24]
not eax
and eax, 1
add eax, 5
mov dword [edi + 0x4960], eax
mov al, byte [esp + 0x11]
test al, al
je 0x10053cd2
cmp word [edi + 0x370a], 2
jne 0x10053a23
test edx, edx
jne 0x10053a23
push dword [esp + 0x50]
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0xa0]
mov edx, edi
call fcn.10052ab0
add esp, 4
mov byte [esp + 0x1b], 1
xor edx, edx
xor ecx, ecx
movss xmm0, dword [eax]
movss dword [esp + 0xbc], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0xc0], xmm0
call fcn.1004e7e0
mov edx, dword [esp + 0x1c]
cmp byte [esp + 0x11], 0
je 0x10053cea
mov ecx, 0x20
jmp 0x10053cf6
mov ecx, dword [esp + 0x14]
movss xmm3, dword [0x100b2860]
movss xmm0, dword [ecx + 4]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jnp 0x10053a5e
ucomiss xmm0, dword [0x100b274c]
lahf
test ah, 0x44
jp 0x10053a51
cmp byte [esp + 0x13], 0
jne 0x10053a5e
movss xmm2, dword [0x100b2ab4]
movaps xmm1, xmm2
jmp 0x10053a6c
movss xmm1, dword [esp + 0x34]
movss xmm2, dword [0x100b2ab4]
movss xmm0, dword [ecx]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x10053a81
movss xmm0, dword [esp + 0x70]
jmp 0x10053a84
movaps xmm0, xmm2
sub esp, 8
lea ecx, [esp + 0xfc]
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
call fcn.100248c0
mov ecx, dword [esp + 0x14]
xorps xmm3, xmm3
movss xmm2, dword [0x100b2a7c]
movss xmm0, dword [ecx + 4]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x10053ac3
movss xmm1, dword [esp + 0x7c]
jmp 0x10053ac6
movaps xmm1, xmm2
movss xmm0, dword [ecx]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x10053adb
movss xmm0, dword [esp + 0x78]
jmp 0x10053ade
movaps xmm0, xmm2
sub esp, 8
lea ecx, [esp + 0xb4]
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
call fcn.100248c0
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x48]
movd xmm0, esi
sub esp, 8
cvtdq2ps xmm1, xmm0
xorps xmm1, xmmword [0x100b2e20]
movaps xmm0, xmm1
mulss xmm1, dword [eax + 8]
mulss xmm0, dword [eax + 0xc]
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
call fcn.100248c0
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x38]
movss xmm0, dword [esp + 0x28]
sub esp, 8
mulss xmm0, dword [eax + 0xc]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x30]
mulss xmm0, dword [eax + 8]
movss dword [esp], xmm0
call fcn.100248c0
movss xmm1, dword [esp + 0x4c]
lea ecx, [esp + 0x40]
subss xmm1, dword [esp + 0x3c]
mov eax, dword [esp + 0x14]
sub esp, 8
mulss xmm1, dword [eax + 4]
addss xmm1, dword [esp + 0x44]
movss dword [esp + 4], xmm1
movss xmm1, dword [esp + 0x50]
subss xmm1, dword [esp + 0x40]
mulss xmm1, dword [eax]
addss xmm1, dword [esp + 0x40]
movss dword [esp], xmm1
call fcn.100248c0
movss xmm0, dword [edi + 0xdc4]
lea ecx, [esp + 0x60]
subss xmm0, dword [edi + 0x3eac]
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [edi + 0xdc0]
subss xmm0, dword [edi + 0x3ea8]
movss dword [esp], xmm0
call fcn.100248c0
movss xmm0, dword [esp + 0x64]
lea ecx, [esp + 0xcc]
addss xmm0, dword [esp + 0x44]
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x68]
addss xmm0, dword [esp + 0x48]
movss dword [esp], xmm0
call fcn.100248c0
movss xmm2, dword [esp + 0xf8]
movss xmm1, dword [esp + 0xd0]
comiss xmm2, xmm1
ja 0x10053c34
movss xmm2, dword [esp + 0xb0]
minss xmm2, xmm1
movss xmm0, dword [esp + 0xf4]
movss xmm1, dword [esp + 0xcc]
comiss xmm0, xmm1
ja 0x10053c58
movss xmm0, dword [esp + 0xac]
minss xmm0, xmm1
sub esp, 8
lea ecx, [esp + 0xac]
movss dword [esp + 4], xmm2
movss dword [esp], xmm0
call fcn.100248c0
movss xmm0, dword [esp + 0xa4]
lea eax, [esp + 0xbc]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0xcc]
mov edi, dword [esp + 0x20]
push eax
lea eax, [esp + 0xe8]
movss dword [esp + 0xd0], xmm0
movss xmm0, dword [esp + 0xac]
push eax
push ecx
mov ecx, edi
movss dword [esp + 0xdc], xmm0
call fcn.10053190
mov edx, dword [esp + 0x28]
add esp, 0xc
mov al, byte [esp + 0x11]
mov cl, byte [esp + 0x12]
jmp 0x10053cd6
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
test edx, edx
je 0x10053a0e
test al, al
jne 0x10053a19
test cl, cl
je 0x10053d0a
xor ecx, ecx
cmp byte [esp + 0x12], cl
setne cl
add ecx, 0x1e
movss xmm1, dword [0x100b2860]
call fcn.1004c410
mov ecx, dword [esp + 0x5c]
mov dword [ecx + edx*4], eax
inc edx
mov dword [esp + 0x1c], edx
cmp edx, dword [ebp + 0xc]
jl 0x10053770
xor edi, edi
mov dword [esp + 0x1c], edi
cmp dword [esp + 0x58], edi
jbe 0x10054021
nop dword [eax + eax]
lea eax, [edi*8]
sub eax, edi
shl eax, 2
mov dword [esp + 0x50], eax
test edi, edi
je 0x10053d6a
cmp edi, 1
je 0x10053d6a
mov dword [esp + 0x28], 3
lea eax, [esp + 0xb8]
mov dword [esp + 0x14], 0xdc4
mov dword [esp + 0x48], 0x3eac
jmp 0x10053d89
mov dword [esp + 0x28], 4
lea eax, [esp + 0xb4]
mov dword [esp + 0x14], 0xdc0
mov dword [esp + 0x48], 0x3ea8
mov edx, dword [esp + 0x20]
movd xmm0, esi
push ecx
cvtdq2ps xmm3, xmm0
mov dword [esp], 0x40800000
lea ecx, [esp + 0x100]
push edi
mov dword [esp + 0x34], eax
call fcn.10053320
mov ecx, dword [esp + 0x28]
lea eax, [edi + 4]
add esp, 8
push eax
call fcn.1004e750
mov edi, eax
lea ecx, [esp + 0xfc]
push 8
push 0
mov edx, edi
call fcn.1005c250
push 0x40800
lea eax, [esp + 0x1d]
mov edx, edi
push eax
lea eax, [esp + 0x22]
push eax
lea ecx, [esp + 0x110]
call fcn.100747f0
mov dl, byte [esp + 0x25]
add esp, 0x14
cmp byte [esp + 0x12], 0
mov eax, dword [esp + 0x24]
je 0x10053e11
movss xmm0, dword [eax + 0x3e8c]
comiss xmm0, dword [0x100b2798]
ja 0x10053e19
test dl, dl
je 0x1005400e
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x1c]
mov dword [eax + 0x4960], ecx
test dl, dl
je 0x10054012
mov eax, dword [esp + 0x68]
mov dword [eax], edi
cmp edi, 3
je 0x10053e50
cmp edi, 2
jne 0x10053e46
cmp byte [esp + 0x13], 0
jne 0x10053e50
movss xmm0, dword [0x100b2ab4]
jmp 0x10053e56
movss xmm0, dword [esp + 0x34]
sub esp, 8
lea ecx, [esp + 0xcc]
movss dword [esp + 4], xmm0
cmp edi, 1
jne 0x10053fd7
movss xmm0, dword [esp + 0x78]
movss dword [esp], xmm0
call fcn.100248c0
movss xmm0, dword [0x100b2a7c]
movss xmm1, dword [0x100b2a7c]
sub esp, 8
lea ecx, [esp + 0xac]
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
call fcn.100248c0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
movss xmm1, dword [esp + 0xc8]
movss xmm0, dword [eax + 0x14]
movss dword [esp + 0xb4], xmm0
movss xmm0, dword [eax + 0x18]
mov eax, dword [esp + 0x24]
movss dword [esp + 0xb8], xmm0
movss xmm0, dword [ecx + eax]
mov ecx, dword [esp + 0x48]
subss xmm0, dword [ecx + eax]
mov eax, dword [esp + 0x2c]
addss xmm0, dword [0x100b28f0]
movss dword [eax], xmm0
movss xmm2, dword [esp + 0xb8]
comiss xmm1, xmm2
ja 0x10053f13
movss xmm1, dword [esp + 0xa8]
minss xmm1, xmm2
movss xmm0, dword [esp + 0xc4]
movss xmm2, dword [esp + 0xb4]
comiss xmm0, xmm2
ja 0x10053f37
movss xmm0, dword [esp + 0xa4]
minss xmm0, xmm2
sub esp, 8
lea ecx, [esp + 0x48]
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
call fcn.100248c0
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x94]
movss xmm0, dword [esp + 0x40]
sub esp, 8
movss dword [esp + 0xbc], xmm0
movss xmm0, dword [esp + 0x4c]
movss dword [esp + 0xc0], xmm0
movss xmm0, dword [eax + 0x100a9df4]
minss xmm0, dword [eax + 0x100a9dfc]
movss dword [esp + 4], xmm0
movss xmm0, dword [eax + 0x100a9df0]
minss xmm0, dword [eax + 0x100a9df8]
movss dword [esp], xmm0
call fcn.100248c0
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0xbc]
push eax
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0x9c]
push eax
lea edx, [esp + 0xc0]
call fcn.10053190
add esp, 0xc
jmp 0x10054012
mov dword [esp], 0xff7fffff
call fcn.100248c0
cmp edi, 2
jne 0x10053ff3
movss xmm0, dword [esp + 0x7c]
jmp 0x10053e87
movss xmm0, dword [0x100b2a7c]
test edi, edi
jne 0x10053e87
movss xmm1, dword [esp + 0x78]
jmp 0x10053e8f
mov edi, dword [esp + 0x1c]
inc edi
mov dword [esp + 0x1c], edi
cmp edi, dword [esp + 0x58]
jl 0x10053d30
mov ecx, dword [0x1019fdb0]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov eax, dword [ecx + 0x3e48]
dec dword [eax + 0xe4]
mov dword [edi + 0x148], 0
mov eax, dword [esi + 0x4934]
test eax, eax
je 0x1005438b
cmp dword [eax + 0x300], edi
jne 0x1005438b
cmp dword [esi + 0x47f8], 2
xorps xmm2, xmm2
xorps xmm3, xmm3
jne 0x100540e2
cmp byte [esi + 0xddd], 0
je 0x100540e2
mov edx, 0x204
call fcn.10059bc0
mov edx, 0x203
movss xmm1, dword [eax + 0xc]
call fcn.10059bc0
mov edx, 0x201
subss xmm1, dword [eax + 0xc]
call fcn.10059bc0
mov edx, 0x202
mov esi, eax
call fcn.10059bc0
sub esp, 8
lea ecx, [esp + 0x48]
movss xmm0, dword [eax + 0xc]
subss xmm0, dword [esi + 0xc]
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
call fcn.100248c0
movss xmm2, dword [esp + 0x40]
movss xmm3, dword [esp + 0x44]
mov esi, dword [esp + 0x24]
mov ecx, dword [0x1019fdb0]
cmp dword [esi + 0x47f8], 3
jne 0x10054150
mov edx, 0x272
call fcn.10059bc0
mov edx, 0x271
movss xmm1, dword [eax + 0xc]
call fcn.10059bc0
mov edx, 0x26f
subss xmm1, dword [eax + 0xc]
call fcn.10059bc0
mov edx, 0x270
mov esi, eax
call fcn.10059bc0
sub esp, 8
lea ecx, [esp + 0x68]
movss xmm0, dword [eax + 0xc]
subss xmm0, dword [esi + 0xc]
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
call fcn.100248c0
movss xmm2, dword [esp + 0x60]
movss xmm3, dword [esp + 0x64]
mov esi, dword [esp + 0x24]
xorps xmm0, xmm0
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jp 0x10054169
ucomiss xmm3, xmm0
lahf
test ah, 0x44
jnp 0x1005438b
movss xmm1, dword [esi + 0x58]
lea ecx, [esp + 0x38]
minss xmm1, dword [esi + 0x5c]
movss xmm0, dword [esi + 0x18]
sub esp, 8
mulss xmm0, dword [0x100b2a58]
mulss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm1, xmm2
mulss xmm0, xmm3
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
call fcn.100248c0
movss xmm0, dword [esp + 0x38]
lea ecx, [esp + 0x38]
addss xmm0, dword [esi + 0x4954]
sub esp, 8
movss dword [esi + 0x4954], xmm0
movss xmm0, dword [esp + 0x44]
addss xmm0, dword [esi + 0x4958]
movss dword [esi + 0x4958], xmm0
movss xmm0, dword [esp + 0x3c]
subss xmm0, dword [edi + 0x18]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x78]
subss xmm0, dword [edi + 0x14]
movss dword [esp], xmm0
call fcn.100248c0
movss xmm0, dword [esp + 0x3c]
lea ecx, [esp + 0x68]
subss xmm0, dword [edi + 0x20]
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x40]
subss xmm0, dword [edi + 0x1c]
movss dword [esp], xmm0
call fcn.100248c0
movss xmm0, dword [esi + 0x4958]
lea ecx, [esp + 0x50]
maxss xmm0, dword [esp + 0x6c]
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [esi + 0x4954]
maxss xmm0, dword [esp + 0x70]
movss dword [esp], xmm0
call fcn.100248c0
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
movss xmm1, dword [0x100b2860]
mov dword [esi + 0x4958], ecx
mov ecx, 0x20
mov dword [esi + 0x4954], eax
mov byte [esi + 0x4948], 0
mov byte [esi + 0x4803], 1
call fcn.1004c410
mov ecx, dword [esp + 0x5c]
sub esp, 8
mov dword [ecx], eax
lea ecx, [esp + 0xbc]
cvttss2si eax, dword [esi + 0x4958]
movd xmm0, eax
cvttss2si eax, dword [esi + 0x4954]
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call fcn.100248c0
movss xmm1, dword [esp + 0xb4]
xorps xmm3, xmm3
movss xmm0, dword [esp + 0xb8]
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jp 0x100542fc
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jnp 0x1005438e
addss xmm0, dword [edi + 0x28]
addss xmm1, dword [edi + 0x24]
sub esp, 8
lea ecx, [esp + 0x94]
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
call fcn.100248c0
lea eax, [esp + 0x8c]
mov edx, edi
push eax
lea ecx, [esp + 0xa0]
call fcn.10052ab0
add esp, 4
xorps xmm3, xmm3
movss xmm1, dword [eax]
movss dword [esp + 0xbc], xmm1
movss xmm0, dword [eax + 4]
movss dword [esp + 0xc0], xmm0
movss xmm0, dword [esi + 0x4954]
subss xmm0, dword [esp + 0xb4]
movss dword [esi + 0x4954], xmm0
movss xmm0, dword [esi + 0x4958]
subss xmm0, dword [esp + 0xb8]
movss dword [esi + 0x4958], xmm0
jmp 0x10054397
xorps xmm3, xmm3
movss xmm1, dword [esp + 0xbc]
movss xmm2, dword [0x100b2a7c]
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jnp 0x100543dc
test dword [edi + 0xc], 0x100
movss xmm0, dword [esp + 0xc0]
movss dword [edi + 0x24], xmm1
movss dword [edi + 0x28], xmm0
jne 0x100543dc
mov ecx, dword [0x1019fdb0]
comiss xmm3, dword [ecx + 0x5a44]
jb 0x100543dc
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x5a44], eax
movss xmm1, dword [esp + 0xe4]
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jnp 0x1005445b
cvttss2si eax, dword [esp + 0xe8]
sub esp, 8
lea ecx, [esp + 0xac]
movd xmm0, eax
cvttss2si eax, xmm1
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call fcn.100248c0
test dword [edi + 0xc], 0x100
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa8]
mov edx, dword [0x1019fdb0]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], ecx
jne 0x1005445b
xorps xmm0, xmm0
comiss xmm0, dword [edx + 0x5a44]
jb 0x1005445b
mov ecx, dword [edx + 0x1c]
mov dword [edx + 0x5a44], ecx
mov ecx, dword [edi + 0x24]
mov edx, dword [edi + 0x28]
mov al, byte [esp + 0x1b]
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x20], edx
pop edi
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.100a046e
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x10c]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.100a046e
mov esp, ebp
pop ebp
ret