Function at 0x1005e247
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
mov eax, dword [0x103b33c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x1c]
shr edx, 9
push esi
movss xmm1, dword [eax + 4]
not dl
movss xmm0, dword [eax + 0xc]
and edx, 0xffffff01
movss xmm2, dword [eax + 0x14]
or esi, 0xffffffff
subss xmm0, dword [eax + 0x14]
subss xmm2, xmm1
mov dword [ebp - 0x64], ecx
subss xmm1, dword [eax + 0xc]
push edi
mov dword [ebp + 0x1c], edx
mulss xmm0, dword [eax]
mulss xmm2, dword [eax + 8]
mulss xmm1, dword [eax + 0x10]
xor eax, eax
inc eax
addss xmm2, xmm0
xorps xmm0, xmm0
addss xmm2, xmm1
comiss xmm0, xmm2
cmova eax, esi
test byte [ecx + 0x24], 4
mov dword [ebp - 0x50], eax
je 0x1005e2c6
mov byte [ebp - 5], 1
test dl, dl
je 0x1005e2ca
mov byte [ebp - 5], 0
mov eax, dword [ecx + 0x2c]
lea edi, [ebp - 0xb8]
movss xmm2, dword [0x100c7298]
movaps xmm0, xmm2
mov esi, dword [eax + 0x204]
mov eax, dword [eax + 8]
add esi, 0x90
mov eax, dword [eax + 0x30]
movsd dword es:[edi], dword [esi]
movd xmm1, dword [eax + 0x24]
cvtdq2ps xmm1, xmm1
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
divss xmm0, xmm1
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0xc]
movss xmm4, dword [ebp - 0xb8]
movss dword [ebp - 0x7c], xmm0
movd xmm0, dword [eax + 0x28]
cvtdq2ps xmm0, xmm0
movss xmm3, dword [ebp - 0xb0]
divss xmm2, xmm0
movss dword [ebp - 0x70], xmm4
subss xmm4, xmm3
movss dword [ebp - 0x88], xmm2
movss xmm2, dword [ebp - 0xac]
imul eax, esi, 0xc
movss dword [ebp - 0x1c], xmm3
mulss xmm4, xmm1
movaps xmm1, xmm2
subss xmm1, xmm2
movss dword [ebp - 0x40], xmm2
mov dword [ebp - 0xc], eax
movss dword [ebp - 0xa0], xmm4
mulss xmm1, xmm0
movss dword [ebp - 0x9c], xmm1
call fcn.100b8360
mov eax, esp
xor edi, edi
mov dword [ebp - 0x44], eax
lea ecx, [eax + esi*8]
mov dword [ebp - 0x58], ecx
test esi, esi
jle 0x1005e43b
mov ecx, dword [ebp + 8]
mov edx, ecx
sub edx, eax
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x10], edx
mov eax, edi
inc eax
mov dword [ebp - 0x28], eax
cdq
idiv esi
mov eax, dword [ecx + edx*8]
mov ecx, dword [ecx + edx*8 + 4]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x80], ecx
mov ecx, dword [ebp - 0x10]
movss xmm0, dword [ebp - 0x80]
push ecx
mov dword [esp], 0x3a83126f
subss xmm0, dword [ecx + eax + 4]
movss dword [ebp - 0x78], xmm0
movss xmm0, dword [ebp - 0x84]
subss xmm0, dword [ecx + eax]
lea eax, [ebp - 0x78]
push eax
xorps xmm0, xmmword [0x100cb8d0]
movss dword [ebp - 0x74], xmm0
call fcn.10062f4e
movss xmm1, dword [ebp - 0x78]
movss xmm0, dword [ebp - 0x74]
movd xmm2, dword [ebp - 0x50]
fstp dword [ebp - 0x18]
divss xmm1, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
divss xmm0, dword [ebp - 0x18]
cvtdq2ps xmm2, xmm2
mulss xmm1, xmm2
mulss xmm0, xmm2
movss dword [eax], xmm1
movss dword [eax + 4], xmm0
add eax, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x28]
cmp eax, esi
jl 0x1005e395
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x58]
movss xmm2, dword [ecx - 8]
movss xmm3, dword [ecx - 4]
mov ecx, edi
movss xmm5, dword [0x100d2190]
mov dword [ebp - 0x54], ecx
test esi, esi
jle 0x1005e520
fld1
mov edi, eax
mov eax, dword [ebp - 0x58]
fstp dword [ebp - 0x50]
movss xmm0, dword [edi]
movss xmm4, dword [edi + 4]
movaps xmm1, xmm0
movss dword [ebp - 0x5c], xmm0
movaps xmm0, xmm4
mulss xmm1, xmm2
mulss xmm0, xmm3
movss dword [ebp - 0x68], xmm4
addss xmm1, xmm0
comiss xmm5, xmm1
movss dword [ebp - 0x10], xmm1
jbe 0x1005e4fc
cvtps2pd xmm0, xmm1
push ecx
push ecx
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_acos
movss xmm1, dword [0x100c7e9c]
xorps xmm0, xmm0
comiss xmm0, dword [ebp - 0x10]
pop ecx
pop ecx
fstp dword [ebp - 0x18]
movss xmm0, dword [ebp - 0x18]
jb 0x1005e4c1
mulss xmm0, xmm1
mulss xmm0, xmm1
push ecx
push ecx
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
fdivr dword [ebp - 0x50]
mov eax, dword [ebp - 0x58]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x54]
movss xmm4, dword [ebp - 0x68]
movss xmm5, dword [0x100d2190]
fstp dword [ebp - 0x10]
movss xmm0, dword [ebp - 0x10]
jmp 0x1005e504
movss xmm0, dword [0x100c7298]
movss xmm2, dword [ebp - 0x5c]
add edi, 8
movss dword [eax + ecx*4], xmm0
movaps xmm3, xmm4
inc ecx
mov dword [ebp - 0x54], ecx
cmp ecx, esi
jl 0x1005e464
mov ecx, dword [ebp + 0x1c]
lea eax, [esi - 2]
movzx edx, cl
add edx, 0xa
imul eax, eax, 3
imul edx, esi
xor esi, esi
test cl, cl
mov ecx, dword [ebp - 0x64]
cmovne esi, eax
add esi, dword [ebp - 0xc]
push edx
push esi
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x74], esi
call fcn.10064475
cmp byte [ebp - 5], 0
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp + 8]
mov edi, dword [eax + 0x38]
mov esi, dword [eax + 0x34]
movzx eax, word [eax + 0x28]
movss xmm0, dword [ecx]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x14], esi
movss xmm1, dword [eax - 8]
movss xmm2, dword [eax - 4]
mov eax, dword [ebp + 0x18]
movss dword [ebp - 0x2c], xmm1
movss dword [ebp - 0x30], xmm2
addss xmm0, dword [eax]
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [ecx + 4]
addss xmm0, dword [eax + 4]
mov eax, dword [ebp - 0x44]
movss dword [ebp - 0x24], xmm0
je 0x1005e62f
movaps xmm0, xmm1
addss xmm0, dword [eax]
push ecx
mov dword [esp], 0x3a83126f
movss dword [ebp - 0x90], xmm0
movaps xmm0, xmm2
addss xmm0, dword [eax + 4]
lea eax, [ebp - 0x90]
push eax
movss dword [ebp - 0x8c], xmm0
call fcn.10062f4e
mov eax, dword [ebp - 0x44]
movss xmm0, dword [ebp - 0x2c]
fstp dword [ebp - 0x18]
movss xmm1, dword [ebp - 0x3c]
addss xmm0, dword [eax]
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
divss xmm0, dword [ebp - 0x18]
mulss xmm0, dword [0x100c7e9c]
subss xmm1, xmm0
movss xmm0, dword [ebp - 0x30]
addss xmm0, dword [eax + 4]
movss dword [ebp - 0x3c], xmm1
divss xmm0, dword [ebp - 0x18]
movss xmm1, dword [ebp - 0x24]
mulss xmm0, dword [0x100c7e9c]
subss xmm1, xmm0
movss dword [ebp - 0x24], xmm1
and dword [ebp - 0x18], 0
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x8c], 0x14
test edx, edx
jle 0x1005ebfd
mov dword [ebp - 0x28], eax
xor eax, eax
inc eax
cdq
idiv dword [ebp + 0xc]
cmp byte [ebp - 5], 0
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x10], edx
movss xmm0, dword [ecx + edx*8]
addss xmm0, dword [eax]
movss dword [ebp - 0x48], xmm0
movss xmm0, dword [ecx + edx*8 + 4]
addss xmm0, dword [eax + 4]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
movss xmm5, dword [eax]
movss xmm6, dword [eax + 4]
mov eax, dword [ebp - 0x58]
movss dword [ebp - 0x4c], xmm0
movss dword [ebp - 0x34], xmm5
movss dword [ebp - 0x38], xmm6
movss xmm3, dword [eax + ecx*4]
movss xmm0, dword [eax + edx*4]
movss dword [ebp - 0x5c], xmm3
movss dword [ebp - 0x54], xmm0
je 0x1005e749
mov eax, dword [ebp - 0x44]
movaps xmm0, xmm5
push ecx
mov dword [esp], 0x3a83126f
addss xmm0, dword [eax + edx*8]
movss dword [ebp - 0xc0], xmm0
movaps xmm0, xmm6
addss xmm0, dword [eax + edx*8 + 4]
lea eax, [ebp - 0xc0]
push eax
movss dword [ebp - 0xbc], xmm0
call fcn.10062f4e
mov eax, dword [ebp - 0x44]
movss xmm5, dword [ebp - 0x34]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
movaps xmm0, xmm5
fstp dword [ebp - 0xc]
movss xmm1, dword [ebp - 0x48]
movss xmm6, dword [ebp - 0x38]
addss xmm0, dword [eax + ecx*8]
movss xmm3, dword [ebp - 0x5c]
divss xmm0, dword [ebp - 0xc]
mulss xmm0, dword [0x100c7e9c]
subss xmm1, xmm0
movaps xmm0, xmm6
addss xmm0, dword [eax + ecx*8 + 4]
movss dword [ebp - 0x48], xmm1
divss xmm0, dword [ebp - 0xc]
movss xmm1, dword [ebp - 0x4c]
mulss xmm0, dword [0x100c7e9c]
subss xmm1, xmm0
movss dword [ebp - 0x4c], xmm1
movss xmm2, dword [ebp - 0x30]
movaps xmm0, xmm5
movss xmm1, dword [ebp - 0x2c]
movaps xmm4, xmm6
mulss xmm0, xmm1
mulss xmm4, xmm2
addss xmm4, xmm0
movss xmm0, dword [0x100d2190]
comiss xmm0, xmm4
movss dword [ebp - 0xc], xmm4
jbe 0x1005ea29
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x20]
xor edx, edx
movaps xmm7, xmm3
mulss xmm7, dword [ebp - 0xa0]
comiss xmm0, xmm4
lea eax, [ecx + 2]
movzx eax, ax
mov dword [ebp - 0x10], eax
lea eax, [esi + 8]
mov dword [ebp - 0x50], eax
movaps xmm0, xmm3
movss dword [ebp - 0xa4], xmm7
mulss xmm0, dword [ebp - 0x9c]
setae dl
inc edx
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
movss dword [ebp - 0x68], xmm0
movss xmm0, dword [ebp - 0x7c]
mulss xmm0, xmm7
mov dword [ebp - 0x60], edx
addss xmm0, dword [ebp - 0x1c]
movss dword [ebp - 0x94], xmm0
movss xmm0, dword [ebp - 0x88]
mulss xmm0, dword [ebp - 0x68]
addss xmm0, dword [ebp - 0x40]
movss dword [ebp - 0x98], xmm0
movaps xmm0, xmm3
mulss xmm0, dword [ebp + 0x14]
movss dword [ebp - 0xa8], xmm0
cmp edx, 1
jbe 0x1005e898
test eax, eax
jne 0x1005e86e
addss xmm5, xmm1
addss xmm6, xmm2
push ecx
lea eax, [ebp - 0xc8]
mov dword [esp], 0x3a83126f
push eax
movss dword [ebp - 0x34], xmm5
movss dword [ebp - 0xc8], xmm5
movss dword [ebp - 0x38], xmm6
movss dword [ebp - 0xc4], xmm6
call fcn.10062f4e
movss xmm6, dword [ebp - 0x34]
movss xmm7, dword [ebp - 0x38]
movss xmm1, dword [ebp - 0x2c]
movss xmm2, dword [ebp - 0x30]
fstp dword [ebp - 0xc]
divss xmm6, dword [ebp - 0xc]
pop ecx
pop ecx
divss xmm7, dword [ebp - 0xc]
jmp 0x1005e87a
mov eax, dword [ebp - 0x28]
movss xmm6, dword [eax]
movss xmm7, dword [eax + 4]
movaps xmm4, xmm7
movss dword [ebp - 0x34], xmm6
mulss xmm4, xmm2
mulss xmm6, xmm1
movss dword [ebp - 0x38], xmm7
addss xmm4, xmm6
movss dword [ebp - 0xc], xmm4
cvtps2pd xmm0, xmm4
push ecx
push ecx
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_acos
fstp dword [ebp - 0x6c]
movss xmm0, dword [ebp - 0x6c]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
movss xmm2, dword [ebp - 0x68]
movss xmm3, dword [ebp - 0xa4]
mulss xmm3, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
movss xmm4, dword [ebp - 0xa8]
movss xmm7, dword [ebp - 0x3c]
fstp dword [ebp - 0x6c]
movss xmm1, dword [ebp - 0x6c]
movaps xmm0, xmm1
movss xmm6, dword [ebp - 0x38]
mulss xmm0, xmm2
mov dword [esi + 0x10], eax
mulss xmm1, dword [ebp - 0xa4]
pop ecx
addss xmm3, xmm0
mulss xmm2, dword [ebp - 0xc]
pop ecx
movss xmm0, dword [ebp - 0x2c]
mulss xmm0, xmm4
mov ecx, dword [ebp - 0x50]
movss xmm5, dword [ebp - 0x34]
addss xmm2, xmm1
mulss xmm3, dword [ebp - 0x7c]
movaps xmm1, xmm5
push 0x14
addss xmm0, xmm7
movss dword [esi], xmm7
mulss xmm1, xmm4
pop edx
mulss xmm2, dword [ebp - 0x88]
movss dword [ebp - 0x2c], xmm0
addss xmm1, xmm7
movss xmm0, dword [ebp - 0x30]
mulss xmm0, xmm4
addss xmm3, dword [ebp - 0x1c]
addss xmm2, dword [ebp - 0x40]
addss xmm0, dword [ebp - 0x24]
movss dword [ebp - 0x30], xmm0
movaps xmm0, xmm6
mulss xmm0, xmm4
movss xmm4, dword [ebp - 0x24]
movss dword [esi + 4], xmm4
add esi, edx
addss xmm0, xmm4
movss xmm4, dword [ebp - 0x1c]
movss dword [ecx], xmm4
movss xmm4, dword [ebp - 0x40]
movss dword [ecx + 4], xmm4
add ecx, edx
movss dword [esi], xmm1
movss dword [esi + 4], xmm0
movss xmm0, dword [ebp - 0x94]
movss dword [ecx], xmm0
movss xmm0, dword [ebp - 0x98]
mov dword [esi + 0x10], eax
add esi, edx
movss dword [ecx + 4], xmm0
add ecx, edx
movss xmm0, dword [ebp - 0x2c]
movss dword [esi], xmm0
movss xmm0, dword [ebp - 0x30]
movss dword [esi + 4], xmm0
mov dword [esi + 0x10], eax
add esi, edx
movss dword [ecx], xmm3
movss dword [ecx + 4], xmm2
add ecx, edx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x20]
mov word [edi], cx
movss xmm4, dword [ebp - 0xc]
lea eax, [edx - 1]
mov word [edi + 2], ax
add ecx, 3
mov eax, dword [ebp - 0x14]
movaps xmm1, xmm5
mov word [edi + 4], dx
movaps xmm2, xmm6
add edx, 3
mov dword [ebp - 0x20], ecx
add edi, 6
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x60]
inc eax
movss dword [ebp - 0x2c], xmm1
movss dword [ebp - 0x30], xmm2
mov dword [ebp - 0x14], eax
cmp eax, edx
jl 0x1005e806
jmp 0x1005ea2e
movss xmm7, dword [ebp - 0x3c]
movss xmm5, dword [ebp - 0x48]
lea eax, [ebp - 0xb0]
subss xmm5, xmm7
push ecx
and dword [esp], 0
push eax
movss dword [ebp - 0xb0], xmm5
movss xmm5, dword [ebp - 0x4c]
subss xmm5, dword [ebp - 0x24]
movss dword [ebp - 0xac], xmm5
call fcn.10062f4e
fstp dword [ebp - 0x60]
movss xmm0, dword [ebp - 0x60]
comiss xmm0, dword [0x100cb754]
pop ecx
pop ecx
jbe 0x1005ebca
movss xmm6, dword [ebp - 0x34]
mulss xmm6, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
movss xmm2, dword [ebp - 0x5c]
movss xmm1, dword [ebp - 0x70]
movss xmm7, dword [ebp - 0x38]
movaps xmm5, xmm6
subss xmm1, dword [ebp - 0x1c]
mulss xmm7, dword [ebp + 0x14]
mov dword [esi + 0x10], eax
mulss xmm5, xmm2
push 0x14
movaps xmm4, xmm7
mulss xmm6, dword [ebp - 0x54]
pop ecx
movaps xmm3, xmm1
mulss xmm4, xmm2
push 2
addss xmm5, dword [ebp - 0x3c]
mulss xmm3, xmm2
pop edx
mulss xmm7, dword [ebp - 0x54]
movss dword [ebp - 0x60], xmm5
movss xmm5, dword [ebp - 0x40]
movaps xmm0, xmm5
mulss xmm1, dword [ebp - 0x54]
subss xmm0, xmm5
addss xmm6, dword [ebp - 0x48]
addss xmm7, dword [ebp - 0x4c]
addss xmm1, dword [ebp - 0x1c]
addss xmm4, dword [ebp - 0x24]
movaps xmm2, xmm0
mulss xmm0, dword [ebp - 0x54]
mulss xmm2, dword [ebp - 0x5c]
addss xmm0, xmm5
addss xmm3, dword [ebp - 0x1c]
addss xmm2, xmm5
movss xmm5, dword [ebp - 0x3c]
movss dword [esi], xmm5
movss xmm5, dword [ebp - 0x24]
movss dword [esi + 4], xmm5
movss xmm5, dword [ebp - 0x1c]
movss dword [esi + 8], xmm5
movss xmm5, dword [ebp - 0x40]
movss dword [esi + 0xc], xmm5
add esi, ecx
movss xmm5, dword [ebp - 0x48]
movss dword [esi], xmm5
movss xmm5, dword [ebp - 0x4c]
movss dword [esi + 4], xmm5
movss xmm5, dword [ebp - 0x1c]
movss dword [esi + 8], xmm5
movss xmm5, dword [ebp - 0x40]
mov dword [esi + 0x10], eax
movss dword [esi + 0xc], xmm5
add esi, ecx
movss xmm5, dword [ebp - 0x60]
mov dword [esi + 0x10], eax
movss dword [esi], xmm6
movss dword [esi + 4], xmm7
movss dword [esi + 8], xmm1
movss dword [esi + 0xc], xmm0
add esi, ecx
mov dword [esi + 0x10], eax
movss dword [esi], xmm5
movss dword [esi + 4], xmm4
movss dword [esi + 8], xmm3
movss dword [esi + 0xc], xmm2
add esi, ecx
mov ecx, dword [ebp - 0x20]
mov word [edi], cx
add edi, edx
lea eax, [ecx + 1]
mov word [edi], ax
add edi, edx
lea eax, [ecx + 2]
mov word [edi], ax
add edi, edx
mov word [edi], cx
add edi, edx
mov word [edi], ax
add edi, edx
lea eax, [ecx + 3]
mov word [edi], ax
add edi, edx
add ecx, 4
mov dword [ebp - 0x20], ecx
movss xmm0, dword [ebp - 0x48]
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x28], 8
inc eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [ebp - 0x4c]
movss dword [ebp - 0x24], xmm0
mov dword [ebp - 0x18], eax
cmp eax, edx
jl 0x1005e64d
mov dword [ebp - 0x14], esi
mov dword [ebp - 0xc], edi
cmp byte [ebp + 0x1c], 0
je 0x1005ec98
test edx, edx
jle 0x1005ec67
lea eax, [esi + 8]
xor ecx, ecx
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 0x70]
movss xmm0, dword [eax + ecx*8 + 4]
mov edx, dword [ebp + 0x18]
movss xmm1, dword [eax + ecx*8]
push 0x14
addss xmm0, dword [edx + 4]
addss xmm1, dword [edx]
mov edx, dword [ebp + 0x10]
mov dword [edi + 8], edx
pop edx
movss dword [esi + 4], xmm0
movss xmm0, dword [ebp - 0x1c]
movss dword [edi], xmm0
movss xmm0, dword [ebp - 0x40]
movss dword [esi], xmm1
add esi, edx
movss dword [edi + 4], xmm0
add edi, edx
mov edx, dword [ebp + 0xc]
inc ecx
cmp ecx, edx
jl 0x1005ec19
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x14], esi
mov esi, dword [ebp - 0x20]
push 2
pop eax
mov dword [ebp - 0x10], eax
cmp edx, eax
jle 0x1005ec93
lea ecx, [eax + esi]
mov word [edi], si
lea eax, [ecx - 1]
mov word [edi + 4], cx
mov word [edi + 2], ax
add edi, 6
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, edx
jl 0x1005ec74
add esi, edx
mov dword [ebp - 0x20], esi
mov edx, dword [ebp - 0x64]
mov esi, edi
mov ecx, dword [ebp - 0x14]
mov eax, ecx
sub eax, dword [edx + 0x34]
sub esi, dword [edx + 0x38]
cdq
idiv dword [ebp - 0x8c]
mov edx, dword [ebp - 0x64]
sar esi, 1
mov dword [edx + 0x34], ecx
mov ecx, dword [ebp - 0x20]
movzx ecx, cx
mov dword [edx + 0x28], ecx
mov ecx, dword [ebp - 0x80]
sub ecx, eax
mov dword [edx + 0x38], edi
mov eax, dword [ebp - 0x74]
push ecx
sub eax, esi
mov ecx, edx
push eax
call fcn.100644df
lea esp, [ebp - 0xd0]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b7398
leave
ret 0x18