Function at 0x10021460
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x80
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x44], edx
mov edx, dword [0x10126bc8]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x28], edx
test byte [edi + 0xc], 0x42
jne 0x10022049
cmp byte [edi + 0xc4], 0
jg 0x10022049
cmp byte [edi + 0xc5], 0
jg 0x10022049
cmp byte [edi + 0xab], 0
je 0x10022049
movss xmm2, dword [edx + 0x3bb8]
xor eax, eax
movss xmm0, dword [edi + 0x4c]
movaps xmm1, xmm2
addss xmm0, dword [0x100673d4]
mulss xmm2, dword [0x10067380]
mov esi, 4
mov cl, byte [edx + 0x66]
mulss xmm1, dword [0x100673dc]
test cl, cl
mov byte [ebp - 9], 0
addss xmm0, xmm2
cmovne eax, esi
mov dword [ebp - 0x70], eax
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x100673b4]
cvttss2si esi, xmm0
mov dword [ebp - 0x6c], esi
je 0x10021531
movss xmm0, dword [0x10067448]
movss dword [ebp - 0x24], xmm0
jmp 0x10021539
xorps xmm2, xmm2
movss dword [ebp - 0x24], xmm2
cmp byte [edx + 0x67], 0
mov eax, dword [ebx + 0x14]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x80], xmm0
je 0x10021597
test byte [edi + 0xc], 1
jne 0x10021597
mov ecx, dword [edi]
mov eax, dword [edi + 0x300]
mov byte [ebp - 3], 1
movss xmm1, dword [ecx + 0x3bbc]
mulss xmm1, dword [edi + 0x264]
test eax, eax
je 0x10021577
mulss xmm1, dword [eax + 0x264]
movss xmm0, dword [ecx + 0x37c8]
addss xmm0, xmm0
addss xmm0, xmm1
movss xmm1, dword [ebp - 0x7c]
subss xmm1, xmm0
movss dword [ebp - 0x40], xmm1
jmp 0x100215a5
movss xmm0, dword [ebp - 0x7c]
mov byte [ebp - 3], 0
movss dword [ebp - 0x40], xmm0
movss xmm1, dword [0x10067564]
mov ecx, str.RESIZE
movaps xmm0, xmm1
movss dword [ebp - 0x1c], xmm1
movss dword [ebp - 0x20], xmm1
movss dword [ebp - 0x30], xmm0
movss dword [ebp - 0x10], xmm1
mov dword [edi + 0x150], 1
call fcn.10025f50
xor edx, edx
mov dword [ebp - 0x18], edx
cmp dword [ebx + 0xc], edx
jle 0x10021a2a
nop word [eax + eax]
movss xmm0, dword [edi + 0x14]
lea ecx, [edx + edx*2]
movss xmm1, dword [edi + 0x18]
movaps xmm3, xmm0
addss xmm3, dword [edi + 0x1c]
movaps xmm2, xmm1
mov dword [ebp - 0x34], ecx
addss xmm2, dword [edi + 0x20]
xorps xmm6, xmm6
cvtsi2ss xmm6, esi
subss xmm3, xmm0
subss xmm2, xmm1
mulss xmm3, dword [ecx*8 + 0x100602f8]
mulss xmm2, dword [ecx*8 + 0x100602fc]
addss xmm3, xmm0
movss xmm0, dword [ecx*8 + 0x10060300]
movaps xmm5, xmm0
mulss xmm0, dword [ebp - 0x24]
addss xmm2, xmm1
mulss xmm5, xmm6
movss xmm1, dword [ecx*8 + 0x10060304]
movaps xmm4, xmm1
mulss xmm1, dword [ebp - 0x24]
mulss xmm4, xmm6
addss xmm5, xmm3
subss xmm3, xmm0
addss xmm4, xmm2
subss xmm2, xmm1
movss dword [ebp - 0x60], xmm5
comiss xmm3, xmm5
movss dword [ebp - 0x68], xmm3
movss dword [ebp - 0x64], xmm2
movss dword [ebp - 0x5c], xmm4
jbe 0x10021696
movss dword [ebp - 0x68], xmm5
movss dword [ebp - 0x60], xmm3
comiss xmm2, xmm4
jbe 0x100216a5
movss dword [ebp - 0x64], xmm4
movss dword [ebp - 0x5c], xmm2
mov ecx, dword [edi + 0xe4]
lea esi, [ebp - 0x2c]
mov eax, dword [edi + 0xec]
mov edi, 4
mov dword [ebp - 0x2c], edx
mov edx, dword [eax + ecx*4 - 4]
not edx
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10060358]
sub edi, 1
jne 0x100216c2
mov edi, dword [ebp - 0x14]
not edx
mov esi, dword [ebp - 0x6c]
mov dword [ebp - 8], edx
mov eax, dword [edi]
cmp dword [eax + 0x3e7c], edx
jne 0x10021708
push ecx
push dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
mov edx, 4
call fcn.10030950
mov edx, dword [ebp - 8]
add esp, 8
push 8
push 0
lea ecx, [ebp - 0x68]
call fcn.10029160
mov edx, dword [ebp - 8]
lea eax, [ebp - 1]
push 0x40800
push eax
lea eax, [ebp - 2]
push eax
lea ecx, [ebp - 0x68]
call fcn.10044fc0
mov cl, byte [ebp - 2]
add esp, 0x14
test cl, cl
jne 0x10021741
mov al, byte [ebp - 1]
test al, al
je 0x10021a72
mov edx, dword [ebp - 0x18]
mov eax, edx
mov ecx, dword [ebp - 0x28]
not eax
and eax, 1
add eax, 5
mov dword [ecx + 0x4960], eax
mov al, byte [ebp - 1]
test al, al
je 0x100219e8
cmp word [ecx + 0x370a], 2
jne 0x100217b7
test edx, edx
jne 0x100217b7
push dword [ebp - 0x44]
mov edx, edi
lea ecx, [ebp - 0x58]
call fcn.10020e10
add esp, 4
mov byte [ebp - 9], 1
xor edx, edx
xor ecx, ecx
movss xmm0, dword [eax]
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [eax + 4]
movss dword [ebp - 0x10], xmm0
call fcn.1001d4a0
mov edx, dword [ebp - 0x18]
cmp byte [ebp - 1], 0
je 0x100219ff
mov ecx, 0x20
jmp 0x10021a0a
mov edx, dword [ebp - 0x34]
xorps xmm2, xmm2
movss xmm4, dword [0x100673d4]
movss xmm0, dword [edx*8 + 0x100602fc]
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jnp 0x100217f3
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x100217e6
cmp byte [ebp - 3], 0
jne 0x100217f3
movss xmm3, dword [0x100675a8]
movaps xmm6, xmm3
jmp 0x10021800
movss xmm6, dword [ebp - 0x40]
movss xmm3, dword [0x100675a8]
movss xmm1, dword [edx*8 + 0x100602f8]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10021819
movss xmm5, dword [ebp - 0x80]
jmp 0x1002181c
movaps xmm5, xmm3
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x10021839
movss xmm0, dword [ebp - 0x74]
movss dword [ebp - 8], xmm0
movss xmm0, dword [0x10067564]
jmp 0x10021846
movss xmm0, dword [0x10067564]
movss dword [ebp - 8], xmm0
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jp 0x10021856
movss xmm7, dword [ebp - 0x78]
jmp 0x10021859
movaps xmm7, xmm0
movss xmm4, dword [edx*8 + 0x10060300]
xorps xmm3, xmm3
movss xmm2, dword [edx*8 + 0x10060304]
movaps xmm0, xmm4
mulss xmm0, dword [ebp - 0x24]
movaps xmm1, xmm2
mulss xmm1, dword [ebp - 0x24]
cvtsi2ss xmm3, esi
xorps xmm3, xmmword [0x100679d0]
mulss xmm4, xmm3
mulss xmm2, xmm3
subss xmm4, xmm0
subss xmm2, xmm1
mulss xmm4, dword [edx*8 + 0x100602f8]
mulss xmm2, dword [edx*8 + 0x100602fc]
addss xmm4, xmm0
movss xmm0, dword [ecx + 0xdc0]
subss xmm0, dword [ecx + 0x3ea8]
addss xmm2, xmm1
addss xmm4, xmm0
movss xmm0, dword [ecx + 0xdc4]
subss xmm0, dword [ecx + 0x3eac]
addss xmm0, xmm2
comiss xmm6, xmm0
ja 0x100218e9
movss xmm6, dword [ebp - 8]
minss xmm6, xmm0
comiss xmm5, xmm4
ja 0x100218f5
movaps xmm5, xmm7
minss xmm5, xmm4
movss xmm0, dword [edi + 0x14]
lea eax, [ebp - 0x3c]
movss xmm1, dword [edi + 0x18]
lea ecx, [ebp - 0x4c]
movss xmm7, dword [edx*8 + 0x100602f8]
movaps xmm2, xmm0
movss xmm4, dword [edx*8 + 0x100602fc]
subss xmm2, xmm5
addss xmm0, dword [edi + 0x1c]
movaps xmm3, xmm1
mov edx, edi
addss xmm1, dword [edi + 0x20]
subss xmm3, xmm6
mulss xmm2, xmm7
push eax
mulss xmm3, xmm4
addss xmm2, xmm5
subss xmm5, xmm0
addss xmm3, xmm6
subss xmm6, xmm1
movss dword [ebp - 0x1c], xmm2
mulss xmm5, xmm7
movss dword [ebp - 0x20], xmm3
mulss xmm6, xmm4
addss xmm5, xmm0
addss xmm6, xmm1
subss xmm5, xmm2
subss xmm6, xmm3
movss dword [ebp - 0x3c], xmm5
movss dword [ebp - 0x38], xmm6
call fcn.10020e10
mov ecx, dword [ebp - 0x34]
add esp, 4
xorps xmm2, xmm2
movss xmm0, dword [ecx*8 + 0x100602f8]
ucomiss xmm0, xmm2
movss xmm0, dword [ebp - 0x4c]
movss dword [ebp - 0x30], xmm0
lahf
test ah, 0x44
jp 0x100219b3
subss xmm0, dword [ebp - 0x3c]
movss xmm1, dword [ebp - 0x1c]
subss xmm1, xmm0
movss dword [ebp - 0x1c], xmm1
movss xmm0, dword [ecx*8 + 0x100602fc]
ucomiss xmm0, xmm2
movss xmm0, dword [ebp - 0x48]
movss dword [ebp - 0x10], xmm0
lahf
test ah, 0x44
jp 0x100219e2
subss xmm0, dword [ebp - 0x38]
movss xmm1, dword [ebp - 0x20]
subss xmm1, xmm0
movss dword [ebp - 0x20], xmm1
mov edx, dword [ebp - 0x18]
mov al, byte [ebp - 1]
mov cl, byte [ebp - 2]
test edx, edx
je 0x100217a3
test al, al
jne 0x100217ad
test cl, cl
je 0x10021a1d
xor ecx, ecx
cmp byte [ebp - 2], cl
setne cl
add ecx, 0x1e
movss xmm1, dword [0x100673d4]
call fcn.1001b8f0
mov ecx, dword [ebx + 0x10]
mov dword [ecx + edx*4], eax
inc edx
mov dword [ebp - 0x18], edx
cmp edx, dword [ebx + 0xc]
jl 0x100215f0
xor edi, edi
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x70], edi
jbe 0x10021d29
nop dword [eax + eax]
lea eax, [edi*8]
sub eax, edi
shl eax, 2
mov dword [ebp - 0x50], eax
test edi, edi
je 0x10021a7a
cmp edi, 1
je 0x10021a7a
mov dword [ebp - 0x34], 3
lea eax, [ebp - 0x38]
mov dword [ebp - 0x24], 0xdc4
mov dword [ebp - 0x18], 0x3eac
jmp 0x10021a92
mov edx, dword [ebp - 0x18]
jmp 0x100219eb
mov dword [ebp - 0x34], 4
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x24], 0xdc0
mov dword [ebp - 0x18], 0x3ea8
mov edx, dword [ebp - 0x14]
movd xmm0, esi
push ecx
cvtdq2ps xmm3, xmm0
mov dword [esp], 0x40800000
lea ecx, [ebp - 0x68]
push edi
mov dword [ebp - 0x44], eax
call fcn.10021340
mov ecx, dword [edx + 0xe4]
lea eax, [edi + 4]
mov dword [ebp - 8], eax
lea esi, [ebp - 8]
mov eax, dword [edx + 0xec]
add esp, 8
mov edi, 4
mov edx, dword [eax + ecx*4 - 4]
not edx
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10060358]
sub edi, 1
jne 0x10021ad3
mov eax, dword [ebp - 0x14]
not edx
mov esi, dword [ebp - 0x6c]
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 8], edx
mov eax, dword [eax]
cmp dword [eax + 0x3e7c], edx
jne 0x10021b1d
push ecx
mov ecx, dword [ebp - 8]
lea eax, [edi + 4]
push eax
mov edx, 4
call fcn.10030950
mov edx, dword [ebp - 8]
add esp, 8
push 8
push 0
lea ecx, [ebp - 0x68]
call fcn.10029160
mov edx, dword [ebp - 8]
lea eax, [ebp - 1]
push 0x40800
push eax
lea eax, [ebp - 2]
push eax
lea ecx, [ebp - 0x68]
call fcn.10044fc0
mov al, byte [ebp - 1]
add esp, 0x14
cmp byte [ebp - 2], 0
mov ecx, dword [ebp - 0x28]
je 0x10021b61
movss xmm0, dword [ecx + 0x3e8c]
comiss xmm0, dword [0x10067368]
ja 0x10021b69
test al, al
je 0x10021d1c
mov edx, dword [ebp - 0x34]
mov dword [ecx + 0x4960], edx
test al, al
je 0x10021d1c
mov eax, dword [ebx + 8]
mov dword [eax], edi
cmp edi, 3
je 0x10021b9c
cmp edi, 2
jne 0x10021b8f
cmp byte [ebp - 3], 0
jne 0x10021b9c
movss xmm0, dword [0x100675a8]
movaps xmm4, xmm0
jmp 0x10021ba9
movss xmm4, dword [ebp - 0x40]
movss xmm0, dword [0x100675a8]
cmp edi, 1
jne 0x10021dae
movss xmm3, dword [ebp - 0x80]
movss xmm1, dword [0x10067564]
movss xmm2, dword [0x10067564]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
movss xmm0, dword [eax + 0x14]
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [eax + 0x18]
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [edx + ecx]
mov edx, dword [ebp - 0x18]
subss xmm0, dword [edx + ecx]
mov ecx, dword [ebp - 0x44]
addss xmm0, dword [0x10067448]
movss dword [ecx], xmm0
movss xmm0, dword [ebp - 0x38]
comiss xmm4, xmm0
ja 0x10021c0e
movaps xmm4, xmm1
minss xmm4, xmm0
movss xmm0, dword [ebp - 0x3c]
comiss xmm3, xmm0
ja 0x10021c1f
movaps xmm3, xmm2
minss xmm3, xmm0
mov ecx, dword [ebp - 0x50]
mov edx, eax
movss xmm0, dword [eax + 0x14]
movss xmm1, dword [eax + 0x18]
movaps xmm5, xmm0
addss xmm0, dword [eax + 0x1c]
movss xmm7, dword [ecx + 0x1006013c]
subss xmm5, xmm3
minss xmm7, dword [ecx + 0x10060144]
movss xmm2, dword [ecx + 0x10060138]
movaps xmm6, xmm1
minss xmm2, dword [ecx + 0x10060140]
addss xmm1, dword [eax + 0x20]
subss xmm6, xmm4
lea ecx, [ebp - 0x4c]
movss dword [ebp - 0x2c], xmm7
push ecx
mulss xmm5, xmm2
lea ecx, [ebp - 0x58]
mulss xmm6, xmm7
addss xmm5, xmm3
movss dword [ebp - 0x50], xmm2
subss xmm3, xmm0
addss xmm6, xmm4
subss xmm4, xmm1
movss dword [ebp - 0x1c], xmm5
mulss xmm3, xmm2
mulss xmm4, xmm7
addss xmm3, xmm0
movss dword [ebp - 0x20], xmm6
addss xmm4, xmm1
subss xmm3, xmm5
subss xmm4, xmm6
movss dword [ebp - 0x4c], xmm3
movss dword [ebp - 0x48], xmm4
call fcn.10020e10
movss xmm0, dword [ebp - 0x50]
add esp, 4
xorps xmm2, xmm2
ucomiss xmm0, xmm2
movss xmm0, dword [ebp - 0x58]
movss dword [ebp - 0x30], xmm0
lahf
test ah, 0x44
jp 0x10021cf1
subss xmm0, dword [ebp - 0x4c]
movss xmm1, dword [ebp - 0x1c]
subss xmm1, xmm0
movss dword [ebp - 0x1c], xmm1
movss xmm0, dword [ebp - 0x2c]
ucomiss xmm0, xmm2
movss xmm0, dword [ebp - 0x54]
movss dword [ebp - 0x10], xmm0
lahf
test ah, 0x44
jp 0x10021d1c
subss xmm0, dword [ebp - 0x48]
movss xmm1, dword [ebp - 0x20]
subss xmm1, xmm0
movss dword [ebp - 0x20], xmm1
inc edi
mov dword [ebp - 0x2c], edi
cmp edi, dword [ebp - 0x70]
jl 0x10021a40
mov edi, dword [0x10126bc8]
mov edx, dword [ebp - 0x14]
mov eax, dword [edi + 0x3e48]
dec dword [eax + 0xe4]
mov eax, dword [ebp - 0x28]
mov dword [edx + 0x150], 0
mov ecx, dword [eax + 0x4934]
test ecx, ecx
je 0x10021f8a
cmp dword [ecx + 0x308], edx
jne 0x10021f8a
mov ecx, dword [eax + 0x47f8]
cmp ecx, 2
jne 0x10021ddd
cmp byte [eax + 0xddd], 0
je 0x10021f8a
mov edx, 0x202
mov ecx, edi
call fcn.100260a0
mov edx, 0x201
movss xmm2, dword [eax + 0xc]
call fcn.100260a0
mov edx, 0x204
subss xmm2, dword [eax + 0xc]
call fcn.100260a0
mov edx, 0x203
jmp 0x10021e15
movaps xmm3, xmm0
cmp edi, 2
jne 0x10021dc0
movss xmm1, dword [ebp - 0x74]
jmp 0x10021bbf
movss xmm1, dword [0x10067564]
movaps xmm3, xmm0
test edi, edi
jne 0x10021bbf
movss xmm2, dword [ebp - 0x78]
jmp 0x10021bc7
cmp ecx, 3
jne 0x10021f8a
mov edx, 0x270
mov ecx, edi
call fcn.100260a0
mov edx, 0x26f
movss xmm2, dword [eax + 0xc]
call fcn.100260a0
mov edx, 0x272
subss xmm2, dword [eax + 0xc]
call fcn.100260a0
mov edx, 0x271
movss xmm3, dword [eax + 0xc]
call fcn.100260a0
xorps xmm7, xmm7
ucomiss xmm2, xmm7
subss xmm3, dword [eax + 0xc]
lahf
test ah, 0x44
jp 0x10021e3d
ucomiss xmm3, xmm7
lahf
test ah, 0x44
jnp 0x10021f94
mov edi, dword [ebp - 0x28]
mov ecx, 0x20
mov edx, dword [ebp - 0x14]
movss xmm1, dword [edi + 0x58]
minss xmm1, dword [edi + 0x5c]
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x10067524]
mulss xmm1, xmm0
movss xmm0, dword [ebp - 0x80]
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [edi + 0x4954]
movss xmm1, dword [0x100673d4]
addss xmm3, dword [edi + 0x4958]
movss dword [edi + 0x4954], xmm2
movss dword [edi + 0x4958], xmm3
subss xmm0, dword [edx + 0x14]
subss xmm0, dword [edx + 0x1c]
maxss xmm2, xmm0
movss xmm0, dword [ebp - 0x40]
subss xmm0, dword [edx + 0x18]
subss xmm0, dword [edx + 0x20]
movss dword [edi + 0x4954], xmm2
mov byte [edi + 0x4948], 0
mov byte [edi + 0x4803], 1
maxss xmm3, xmm0
movss dword [edi + 0x4958], xmm3
call fcn.1001b8f0
mov ecx, dword [ebx + 0x10]
mov dword [ecx], eax
cvttss2si esi, dword [edi + 0x4954]
cvttss2si edi, dword [edi + 0x4958]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movd xmm1, edi
ucomiss xmm0, xmm7
cvtdq2ps xmm1, xmm1
lahf
test ah, 0x44
jp 0x10021f15
ucomiss xmm1, xmm7
lahf
test ah, 0x44
jnp 0x10021f9e
addss xmm0, dword [edx + 0x24]
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x4c]
movss dword [ebp - 0x58], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edx + 0x28]
movss dword [ebp - 0x54], xmm0
call fcn.10020e10
mov edx, dword [ebp - 0x14]
add esp, 4
movd xmm1, esi
xorps xmm7, xmm7
cvtdq2ps xmm1, xmm1
movss xmm0, dword [eax]
movss xmm2, dword [eax + 4]
mov eax, dword [ebp - 0x28]
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [eax + 0x4954]
subss xmm0, xmm1
movd xmm1, edi
cvtdq2ps xmm1, xmm1
movss dword [eax + 0x4954], xmm0
movss xmm0, dword [eax + 0x4958]
subss xmm0, xmm1
movss dword [eax + 0x4958], xmm0
jmp 0x10021fa3
movss xmm2, dword [ebp - 0x10]
xorps xmm7, xmm7
jmp 0x10021fa9
movss xmm2, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
jmp 0x10021fa9
movss xmm2, dword [ebp - 0x10]
mov edi, dword [0x10126bc8]
movss xmm0, dword [ebp - 0x30]
movss xmm1, dword [0x10067564]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10021fe4
test dword [edx + 0xc], 0x100
movss dword [edx + 0x24], xmm0
movss dword [edx + 0x28], xmm2
jne 0x10021fe4
comiss xmm7, dword [edi + 0x5a44]
jb 0x10021fe4
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x5a44], eax
movss xmm0, dword [ebp - 0x1c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1002202e
test dword [edx + 0xc], 0x100
cvttss2si eax, xmm0
movd xmm1, eax
cvttss2si eax, dword [ebp - 0x20]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edx + 0x14], xmm1
movss dword [edx + 0x18], xmm0
jne 0x1002202e
comiss xmm7, dword [edi + 0x5a44]
jb 0x1002202e
mov ecx, dword [edi + 0x1c]
mov dword [edi + 0x5a44], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [edx + 0x24]
mov edx, dword [edx + 0x28]
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], edx
mov al, byte [ebp - 9]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret