Function at 0x10058cd0
Capabilities:
Encode data using xor

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
push 0xffffffffffffffff
push 0x100fc851
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x220
mov eax, dword [0x101180c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x1ec], eax
mov dword [ebp - 0x1dc], 0
test edi, edi
je 0x10059c87
cmp dword [ebx + 0x14], 0
je 0x10059c87
mov eax, dword [0x101c3448]
add eax, 0xffffffcb
xor eax, 0x59107264
cmp dword [eax + edi], 0
jne 0x10059c87
mov eax, dword [0x101c3384]
cmp dword [edi + eax], 0
je 0x10059c87
mov ecx, dword [0x101c31e4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x10059c87
mov ecx, dword [0x101c31e4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
test al, al
je 0x10059c87
mov ecx, dword [0x101c31e8]
mov eax, dword [0x101c34e8]
add eax, 0xffffffa3
push ecx
mov edx, dword [ecx]
xor eax, 0x5910728c
mov esi, dword [edx + 0x10]
mov edx, esp
mov eax, dword [eax + edi]
mov dword [edx], eax
call esi
test eax, eax
je 0x10059c87
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
movups xmmword [ebp - 0x64], xmm0
push 0x15c
lea eax, [ebp - 0x1c8]
mov dword [ebp - 4], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
mov dword [ebp - 0x80], 0
add esp, 0xc
movq qword [ebp - 0x74], xmm0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov byte [ebp - 4], 1
mov eax, dword [0x101c3384]
mov esi, dword [edi + eax]
mov ecx, esi
call fcn.10058400
push eax
lea ecx, [ebp - 0x1c8]
call fcn.10058580
movss xmm0, dword [esi + 0xf4]
comiss xmm0, dword [0x1010bd2c]
jbe 0x10058e3b
push str.moving
lea ecx, [ebp - 0x1c8]
call fcn.10058580
movss xmm0, dword [esi + 0xa4]
comiss xmm0, dword [0x1010bd68]
jbe 0x10058e5c
push str.crouch
lea ecx, [ebp - 0x1c8]
call fcn.10058580
mov eax, dword [ebp - 0x70]
movups xmm0, xmmword [ebp - 0x80]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x54], eax
mov eax, 1
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1dc], eax
movups xmmword [ebp - 0x64], xmm0
psrldq xmm0, 8
movd eax, xmm0
mov byte [ebp - 4], 2
test eax, eax
js 0x10058eb0
mov edx, dword [ebp - 0x80]
test edx, edx
je 0x10058ea9
mov ecx, dword [0x101c3264]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov byte [ebp - 4], 0
mov ecx, dword [0x101c31e8]
mov eax, dword [0x101c34e8]
add eax, 0xffffffa3
push ecx
mov edx, dword [ecx]
xor eax, 0x5910728c
mov esi, dword [edx + 0x10]
mov edx, esp
mov eax, dword [eax + edi]
mov dword [edx], eax
call esi
mov ecx, dword [0x101c3384]
mov dword [ebp - 0x1d0], eax
mov byte [ebp - 0x1d4], 0
mov eax, dword [edi + ecx]
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebx + 0x14]
test byte [eax + 0x30], 2
je 0x10058f5a
mov eax, dword [0x101c344c]
add eax, 0xffffffca
xor eax, 0x59107265
test byte [eax + edi], 1
jne 0x10058f5a
mov ecx, dword [0x101c31e8]
mov eax, dword [0x101c34ec]
add eax, 0xffffffa2
push ecx
mov edx, dword [ecx]
xor eax, 0x5910728d
mov esi, dword [edx + 0x10]
mov edx, esp
mov eax, dword [eax + edi]
mov dword [edx], eax
call esi
test eax, eax
jne 0x10058f5a
movups xmm0, xmmword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
sub esp, 0x14
mov eax, esp
mov byte [ebp - 0x1d4], 1
push 0x3d9
push 4
movups xmmword [eax], xmm0
push edi
mov dword [eax + 0x10], ecx
call fcn.10059fe0
mov eax, dword [0x101c3370]
sub esp, 8
mov esi, dword [ebp - 0x1ec]
mov eax, dword [edi + eax]
movss xmm0, dword [esi + 0x6c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1e4]
subss xmm0, dword [eax + 0x6c]
movss dword [esp + 4], xmm0
mov dword [esp], 0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_fmaxf]
mov ecx, dword [0x101c332c]
add esp, 8
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1d8], ecx
mov ecx, dword [0x101c3388]
fstp dword [ebp - 0x1e8]
mov eax, dword [eax + 0xc0]
mov dword [ebp - 0x1e0], eax
cmp dword [edi + ecx], 0
jne 0x10058fd6
mov eax, dword [0x101c3308]
mov ecx, edi
call eax
mov ecx, dword [0x101c3388]
mov eax, dword [ebp - 0x1e0]
mov ecx, dword [edi + ecx]
mov edx, eax
call dword [ebp - 0x1d8]
movss xmm4, dword [0x1010d2f0]
cmp eax, 0x3d4
je 0x10058ff7
cmp eax, 0x3d3
jne 0x10059042
mov eax, dword [ebp - 0x18]
movss xmm1, dword [ebp - 0x1e8]
mulss xmm1, dword [0x1010bec0]
movss xmm2, dword [eax + 0xc8]
movaps xmm3, xmm2
xorps xmm3, xmm4
comiss xmm3, xmm1
jbe 0x10059023
addss xmm1, xmm2
jmp 0x1005903a
movaps xmm0, xmm1
xorps xmm0, xmm4
comiss xmm0, xmm3
jbe 0x10059037
subss xmm2, xmm1
movaps xmm1, xmm2
jmp 0x1005903a
xorps xmm1, xmm1
movss dword [eax + 0xc8], xmm1
movss xmm0, dword [0x1010bdb0]
xorps xmm2, xmm2
comiss xmm0, dword [esi + 0xec]
jb 0x100590d3
mov eax, dword [ebp - 0x1e4]
cmp byte [eax + 0x108], 0
je 0x100590d3
cmp byte [eax + 0x128], 0
jne 0x100590d3
cmp byte [eax + 0x109], 0
jne 0x100590d3
movss xmm0, dword [eax + 0x74]
comiss xmm0, xmm2
jbe 0x100590d3
movss xmm0, dword [eax + 0x80]
lea ecx, [ebp - 0x18]
subss xmm0, dword [esi + 0x80]
movss dword [ebp - 0x18], xmm0
call fcn.100d97e0
movss xmm0, dword [ebp - 0x18]
divss xmm0, dword [ebp - 0x1e8]
comiss xmm0, dword [0x1010bf68]
jbe 0x100590d3
movups xmm0, xmmword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
sub esp, 0x14
mov eax, esp
push 0x3d3
push 3
movups xmmword [eax], xmm0
push edi
mov dword [eax + 0x10], ecx
call fcn.10059fe0
xorps xmm0, xmm0
call fcn.1002b1b0
movss dword [ebp - 0x18], xmm0
xorps xmm0, xmm0
call fcn.1002b1e0
mov eax, dword [ebp - 0x1e4]
movss dword [ebp - 0x1cc], xmm0
movss xmm0, dword [eax + 0x80]
mulss xmm0, dword [0x1010bce0]
movss dword [ebp - 0x1d8], xmm0
call fcn.1002b1b0
movss dword [ebp - 0x1e0], xmm0
movss xmm0, dword [ebp - 0x1d8]
call fcn.1002b1e0
movss xmm7, dword [ebp - 0x1cc]
movaps xmm2, xmm0
movss xmm1, dword [ebp - 0x1e0]
movaps xmm0, xmm7
mov edx, dword [ebp - 0x1e4]
movaps xmm6, xmm1
mulss xmm6, dword [ebp - 0x18]
movaps xmm5, xmm2
mov eax, dword [ebx + 0x14]
mulss xmm5, dword [ebp - 0x18]
mulss xmm0, xmm7
movaps xmm3, xmm6
mov eax, dword [eax + 0x30]
mov ecx, eax
xorps xmm3, xmmword [0x1010d2f0]
movaps xmm4, xmm5
shr ecx, 0xa
mulss xmm2, xmm0
and ecx, 0xffffff01
mov dword [ebp - 0x1e0], ecx
mov ecx, eax
mulss xmm1, xmm0
shr ecx, 9
movss xmm0, dword [edx + 0xe0]
subss xmm3, xmm2
movss xmm2, dword [edx + 0xe4]
and ecx, 0xffffff01
mulss xmm0, xmm6
subss xmm4, xmm1
movss xmm1, dword [edx + 0xe8]
movss xmm6, dword [edx + 0xe0]
movss dword [ebp - 0x1cc], xmm0
movaps xmm0, xmm2
mulss xmm0, xmm5
movss xmm5, dword [ebp - 0x1cc]
mulss xmm6, xmm4
addss xmm5, xmm0
mulss xmm2, xmm3
movaps xmm0, xmm1
mulss xmm0, xmm7
mulss xmm7, dword [ebp - 0x18]
addss xmm6, xmm2
mov dword [ebp - 0x18], ecx
mov ecx, eax
movss xmm2, dword [edx + 0xf4]
subss xmm5, xmm0
shr ecx, 3
mulss xmm7, xmm1
and ecx, 0xffffff01
shr eax, 4
movss xmm1, dword [0x1010bd78]
and al, 1
comiss xmm2, xmm1
mov dword [ebp - 0x1cc], ecx
subss xmm6, xmm7
jb 0x10059280
test cl, cl
je 0x10059280
test al, al
jne 0x10059280
movss xmm0, dword [0x1010c004]
comiss xmm0, xmm5
jbe 0x10059280
mov cl, 1
xor ch, ch
movss xmm1, dword [0x1010bd84]
comiss xmm2, xmm1
jb 0x100592a0
cmp byte [ebp - 0x1e0], 0
je 0x100592a0
cmp byte [ebp - 0x18], 0
jne 0x100592a0
movss xmm0, dword [0x1010c008]
comiss xmm0, xmm6
jbe 0x100592a0
mov al, 1
xor ah, ah
test cl, cl
jne 0x100592c1
test ch, ch
jne 0x100592c1
test al, al
jne 0x100592c1
test ah, ah
jne 0x100592c1
jmp 0x100592c3
xor cl, cl
comiss xmm2, xmm1
jb 0x1005923f
test al, al
je 0x1005923f
cmp byte [ebp - 0x1cc], cl
jne 0x1005923f
comiss xmm5, dword [0x1010bd68]
jbe 0x1005923f
mov ch, 1
jmp 0x10059241
xor al, al
comiss xmm2, xmm1
jb 0x1005926c
cmp byte [ebp - 0x18], al
je 0x1005926c
cmp byte [ebp - 0x1e0], al
jne 0x1005926c
comiss xmm6, dword [0x1010bd74]
jbe 0x1005926c
mov ah, 1
jmp 0x1005926e
mov cl, 1
mov eax, dword [0x101c35b0]
add eax, 0xffffff71
xor eax, 0x591072be
mov byte [eax + edi], cl
mov ah, byte [esi + 0x108]
cmp byte [edx + 0x108], ah
jne 0x100592f5
mov al, byte [edx + 0x128]
cmp al, byte [esi + 0x128]
jne 0x100592f5
xor cl, cl
jmp 0x100592f7
mov cl, 1
test ah, ah
je 0x100593de
cmp byte [edx + 0x109], 0
mov eax, dword [0x101c3370]
mov eax, dword [edi + eax]
mov dword [ebp - 0x18], eax
jne 0x1005934e
test cl, cl
je 0x1005934e
movups xmm0, xmmword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
sub esp, 0x14
mov eax, esp
movups xmmword [eax], xmm0
mov dword [eax + 0x10], ecx
xor eax, eax
movss xmm0, dword [edx + 0x110]
comiss xmm0, dword [0x1010bdb0]
seta al
add eax, 0x3dc
push eax
push 5
push edi
call fcn.10059fe0
mov eax, dword [ebp - 0x18]
cmp byte [esi + 0x109], 0
je 0x100593b0
mov ecx, dword [0x101c332c]
mov eax, dword [eax + 0x130]
mov dword [ebp - 0x1d8], ecx
mov ecx, dword [0x101c3388]
mov dword [ebp - 0x1cc], eax
cmp dword [edi + ecx], 0
jne 0x10059390
mov eax, dword [0x101c3308]
mov ecx, edi
call eax
mov ecx, dword [0x101c3388]
mov eax, dword [ebp - 0x1cc]
mov ecx, dword [edi + ecx]
mov edx, eax
call dword [ebp - 0x1d8]
mov ecx, dword [ebp - 0x1d4]
xor edx, edx
cmp eax, 0x3db
movzx ecx, cl
cmovne ecx, edx
jmp 0x100593b6
mov ecx, dword [ebp - 0x1d4]
cmp byte [esi + 0x109], 0
jne 0x1005940a
test cl, cl
jne 0x1005940a
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x130]
jb 0x1005940a
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x138], 0
jmp 0x1005940a
test cl, cl
je 0x1005940a
cmp byte [ebp - 0x1d4], 0
jne 0x1005940a
movups xmm0, xmmword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
sub esp, 0x14
mov eax, esp
push 0x3da
push 4
movups xmmword [eax], xmm0
push edi
mov dword [eax + 0x10], ecx
call fcn.10059fe0
mov eax, dword [0x101c3370]
mov ecx, dword [0x101c332c]
mov dword [ebp - 0x1d8], ecx
mov ecx, dword [0x101c3388]
mov eax, dword [edi + eax]
mov dword [ebp - 0x1d4], eax
cmp dword [edi + ecx], 0
mov eax, dword [eax + 0x280]
mov dword [ebp - 0x1cc], eax
jne 0x10059451
mov eax, dword [0x101c3308]
mov ecx, edi
call eax
mov ecx, dword [0x101c3388]
mov eax, dword [ebp - 0x1cc]
mov ecx, dword [edi + ecx]
mov edx, eax
call dword [ebp - 0x1d8]
cmp eax, 0x3d5
jne 0x1005954c
mov eax, dword [esi + 0x64]
test eax, eax
je 0x100594c3
cmp eax, dword [esi + 0x68]
je 0x100594c3
mov eax, dword [ebp - 0x1d4]
sub esp, 0x14
mov ecx, dword [ebp - 0x1c]
movss xmm0, dword [eax + 0x294]
mov eax, esp
movss dword [ebp - 0x1cc], xmm0
movups xmm0, xmmword [ebp - 0x30]
push 0x3d5
push 0xb
movups xmmword [eax], xmm0
push edi
mov dword [eax + 0x10], ecx
call fcn.10059fe0
mov eax, dword [ebp - 0x1d4]
movss xmm0, dword [ebp - 0x1cc]
movss dword [eax + 0x294], xmm0
jmp 0x1005954c
mov edx, dword [ebp - 0x1d4]
movss xmm0, dword [ebp - 0x1e8]
movss xmm1, dword [0x1010bdb0]
mulss xmm0, dword [edx + 0x290]
addss xmm0, dword [edx + 0x294]
comiss xmm1, xmm0
jbe 0x1005954c
movss xmm0, dword [esi + 0xf8]
lea eax, [ebp - 0x1d8]
subss xmm0, dword [0x1010bd68]
xorps xmm2, xmm2
mov dword [ebp - 0x18], 0x3f800000
lea ecx, [ebp - 0x1cc]
mov dword [ebp - 0x1cc], 0
mulss xmm0, dword [0x1010be90]
comiss xmm0, xmm2
movss dword [ebp - 0x1d8], xmm0
cmovae ecx, eax
lea eax, [ebp - 0x18]
comiss xmm1, xmm0
movaps xmm0, xmm1
cmovae eax, ecx
subss xmm0, dword [eax]
movss dword [edx + 0x288], xmm0
mov ecx, dword [ebp - 0x1d0]
test ecx, ecx
je 0x1005957e
mov eax, dword [0x101c3570]
add eax, 0xffffff81
xor eax, 0x591072ae
mov eax, dword [eax + ecx]
mov ecx, dword [0x101c31e8]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
mov esi, dword [ebp - 0x1ec]
mov eax, dword [0x101c3370]
xorps xmm3, xmm3
xorps xmm1, xmm1
movss dword [ebp - 0x18], xmm1
movss dword [ebp - 0x1c], xmm1
mov edx, dword [edi + eax]
mov dword [ebp - 0x1d4], edx
movss xmm0, dword [edx + 0x58]
lea eax, [edx + 0x70]
comiss xmm0, xmm3
mov dword [ebp - 0x1e0], eax
jbe 0x10059b37
cmp dword [eax + 0x18], 0
ja 0x10059801
push 0x10
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
push str.recrouch_generic
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x24], 0
movups xmmword [ebp - 0x38], xmm0
call fcn.10034070
mov byte [ebp - 4], 3
lea esi, [ebp - 0x38]
cmp dword [ebp - 0x24], 0xf
mov eax, dword [0x101c6144]
cmova esi, dword [ebp - 0x38]
test al, 1
jne 0x10059783
or eax, 1
mov dword [0x101c6144], eax
mov byte [ebp - 4], 4
xor eax, eax
movaps xmm0, xmmword [0x1010c410]
movaps xmm1, xmmword [0x1010c6b0]
movups xmmword [ebp - 0x230], xmm0
mov dword [ebp - 0x210], 0x65036265
movaps xmm0, xmmword [0x1010c080]
movups xmmword [ebp - 0x220], xmm0
mov dword [ebp - 0x20c], 0x16140365
mov dword [ebp - 0x208], 0x23121203
nop dword [eax]
movups xmm0, xmmword [ebp + eax - 0x230]
xorps xmm0, xmm1
movups xmmword [ebp + eax - 0x230], xmm0
add eax, 0x10
cmp eax, 0x20
jb 0x10059650
cmp eax, 0x2c
jae 0x1005967e
xor byte [ebp + eax - 0x230], 0x23
inc eax
cmp eax, 0x2c
jb 0x10059670
xorps xmm0, xmm0
mov dword [ebp - 0x1f4], 0
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x1f0], 0
movups xmmword [ebp - 0x204], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100596a5
sub ecx, edx
lea eax, [ebp - 0x230]
push ecx
push eax
lea ecx, [ebp - 0x204]
call fcn.10034070
mov byte [ebp - 4], 5
mov eax, dword [0x101c319c]
test eax, eax
je 0x100596d3
mov edx, dword [eax + 0x50]
jmp 0x100596d5
xor edx, edx
mov ecx, dword [0x101c3194]
test ecx, ecx
je 0x100596e9
mov ecx, dword [ecx + 0x18]
mov eax, 9
jmp 0x100596f0
mov eax, 0x11
xor ecx, ecx
mov dword [ebp - 0x1dc], eax
test al, 0x10
je 0x10059703
and eax, 0xffffffef
mov dword [ebp - 0x1dc], eax
test al, 8
je 0x10059710
and eax, 0xfffffff7
mov dword [ebp - 0x1dc], eax
lea eax, [ebp - 0x204]
push eax
push ecx
lea ecx, [ebp - 0x1d0]
call fcn.1003e220
mov eax, dword [ebp - 0x1d0]
add esp, 8
test eax, eax
je 0x10059740
mov ecx, dword [eax + 1]
test ecx, ecx
jne 0x1005973b
xor eax, eax
jmp 0x10059740
add eax, 5
add eax, ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x1f0]
mov dword [0x101c6148], eax
cmp ecx, 0xf
jbe 0x1005977f
mov edx, dword [ebp - 0x204]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10059775
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100597f1
push ecx
push edx
call fcn.100f842c
add esp, 8
mov byte [ebp - 4], 3
mov eax, dword [0x101c6148]
mov ecx, edi
push esi
call eax
mov ecx, dword [edi]
mov esi, eax
mov eax, dword [ebp - 0x1e0]
push esi
push eax
mov ecx, dword [ecx + 0x364]
mov dword [ebp - 0x1d0], ecx
mov ecx, edi
call dword [ebp - 0x1d0]
mov eax, dword [ebp - 0x1e0]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
mov dword [eax + 0x18], esi
mov dword [eax + 0x20], 0
mov dword [eax + 0x2c], 0
fstp dword [eax + 0x28]
cmp ecx, 0xf
jbe 0x10059801
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100597f7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100597f7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100f842c
add esp, 8
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
push str.crouch
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x50], xmm0
call fcn.10034070
mov eax, dword [ebp - 0x1d4]
mov byte [ebp - 4], 6
mov esi, dword [eax + 0x50]
mov eax, dword [0x101c3388]
cmp dword [edi + eax], 0
jne 0x1005984b
mov eax, dword [0x101c3308]
mov ecx, edi
call eax
mov eax, dword [0x101c3388]
mov edi, dword [edi + eax]
cmp dword [edi + 4], 0
jne 0x10059873
mov ecx, dword [edi]
test esi, esi
js 0x10059862
cmp esi, dword [ecx + 0xbc]
jl 0x10059864
xor esi, esi
mov eax, dword [ecx + 0xc0]
add eax, ecx
add eax, esi
jmp 0x10059979
mov eax, dword [0x101c6200]
test al, 1
jne 0x10059970
or eax, 1
mov dword [0x101c6200], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x204]
push 0x60
xorps xmm0, xmm0
mov dword [ebp - 0x1f4], 0
push str.55_8B_EC_83_79_04_00_75_25_8B_45_08_8B_09_85_C0_78_08_3B_81_________7C_02_33_C0_69_C0_________03
movups xmmword [ebp - 0x204], xmm0
mov dword [ebp - 0x1f0], 0
call fcn.10034070
mov byte [ebp - 4], 8
mov eax, dword [0x101c319c]
test eax, eax
je 0x100598ce
mov edx, dword [eax + 0x50]
jmp 0x100598d0
xor edx, edx
mov ecx, dword [0x101c3194]
mov eax, dword [ebp - 0x1dc]
test ecx, ecx
je 0x100598e8
mov ecx, dword [ecx + 0x18]
or eax, 2
jmp 0x100598ed
or eax, 4
xor ecx, ecx
mov dword [ebp - 0x1dc], eax
test al, 4
je 0x10059900
and eax, 0xfffffffb
mov dword [ebp - 0x1dc], eax
test al, 2
je 0x1005990d
and eax, 0xfffffffd
mov dword [ebp - 0x1dc], eax
lea eax, [ebp - 0x204]
push eax
push ecx
lea ecx, [ebp - 0x1d0]
call fcn.1003e220
mov eax, dword [ebp - 0x1d0]
add esp, 8
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x1f0]
mov dword [0x101c61f0], eax
cmp ecx, 0xf
jbe 0x1005996c
mov edx, dword [ebp - 0x204]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10059962
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10059a56
push ecx
push edx
call fcn.100f842c
add esp, 8
mov byte [ebp - 4], 6
push esi
mov ecx, edi
call dword [0x101c61f0]
mov ecx, dword [eax + 0xbc]
xor esi, esi
mov dword [ebp - 0x1d0], ecx
test ecx, ecx
mov ecx, dword [ebp - 0x50]
jle 0x100599fe
mov edx, dword [eax + 0xb8]
mov dword [ebp - 0x1cc], edx
lea edi, [eax + edx]
nop dword [eax]
cmp dword [ebp - 0x3c], 0xf
lea eax, [ebp - 0x50]
cmova eax, ecx
xor ecx, ecx
test edx, edx
cmovne ecx, edi
mov edx, dword [ecx]
test edx, edx
je 0x100599bb
add ecx, edx
jmp 0x100599c0
xor ecx, ecx
nop dword [eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x100599e0
test dl, dl
je 0x100599dc
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x100599e0
add ecx, 2
add eax, 2
test dl, dl
jne 0x100599c0
xor eax, eax
jmp 0x100599e5
sbb eax, eax
or eax, 1
test eax, eax
je 0x10059a5c
mov ecx, dword [ebp - 0x50]
inc esi
mov edx, dword [ebp - 0x1cc]
add edi, 4
cmp esi, dword [ebp - 0x1d0]
jl 0x100599a0
mov esi, dword [ebp - 0x1ec]
movss xmm0, dword [esi + 0xa4]
comiss xmm0, dword [0x1010bc90]
jbe 0x10059a2a
mov eax, dword [ebp - 0x1d4]
mulss xmm0, dword [eax + 0x58]
movss dword [ebp - 0x1c], xmm0
movss dword [ebp - 0x18], xmm0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x3c]
cmp eax, 0xf
jbe 0x10059a87
mov ecx, dword [ebp - 0x50]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x10059a7d
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10059a7d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov esi, dword [ebp - 0x1ec]
movss xmm0, dword [0x1010bdb0]
movss xmm1, dword [esi + 0xa4]
comiss xmm0, xmm1
jbe 0x10059a2a
subss xmm0, xmm1
jmp 0x10059a15
push edx
push ecx
call fcn.100f842c
add esp, 8
mov edi, dword [ebp - 0x1e0]
xorps xmm3, xmm3
movss xmm1, dword [ebp - 0x18]
add edi, 0x20
mov edx, dword [ebp - 0x1d4]
movss xmm6, dword [ebp - 0x1e8]
movss xmm2, dword [0x1010bdb0]
lea eax, [ebp - 0x1c]
comiss xmm1, xmm3
lea ecx, [ebp - 0x1d0]
mov dword [ebp - 0x1cc], 0x3f800000
mov dword [ebp - 0x1d0], 0
cmovae ecx, eax
lea eax, [ebp - 0x1cc]
comiss xmm2, xmm1
cmovae eax, ecx
mov eax, dword [eax]
mov dword [edi], eax
mov eax, dword [ebp - 0x1e4]
cmp dword [eax + 0x60], 0
je 0x10059bb3
movss xmm1, dword [edx + 0x60]
movaps xmm0, xmm1
call fcn.1002b1c0
comiss xmm3, xmm0
jae 0x10059bb3
mulss xmm1, xmm6
addss xmm1, dword [edx + 0x64]
comiss xmm1, xmm2
jb 0x10059b1d
movss xmm1, dword [0x1010bda8]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
comiss xmm3, xmm1
jbe 0x10059ba5
addss xmm1, xmm2
jmp 0x10059bae
movss xmm0, dword [eax + 0x20]
lea edi, [eax + 0x20]
comiss xmm0, xmm3
jbe 0x10059a9e
movss xmm6, dword [ebp - 0x1e8]
movaps xmm1, xmm0
movss xmm5, dword [0x1010d2f0]
movaps xmm2, xmm6
mulss xmm2, dword [0x1010beb0]
movaps xmm4, xmm1
xorps xmm4, xmm5
comiss xmm4, xmm2
jbe 0x10059b7f
addss xmm1, xmm2
movss dword [ebp - 0x1c], xmm1
jmp 0x10059aa6
movaps xmm0, xmm2
xorps xmm0, xmm5
comiss xmm0, xmm4
jbe 0x10059b98
subss xmm1, xmm2
movss dword [ebp - 0x1c], xmm1
jmp 0x10059aa6
xorps xmm1, xmm1
movss dword [ebp - 0x1c], xmm1
jmp 0x10059aa6
comiss xmm1, xmm2
jbe 0x10059bae
subss xmm1, xmm2
movss dword [edx + 0x64], xmm1
movss xmm0, dword [edx + 0x60]
lea eax, [ebp - 0x1cc]
mulss xmm0, dword [esi + 0x74]
lea ecx, [ebp - 0x1d0]
mov dword [ebp - 0x1d8], 0x3f800000
movss xmm1, dword [edx + 0x64]
mov dword [ebp - 0x1d0], 0
subss xmm1, xmm0
movss xmm0, dword [edx + 0x5c]
comiss xmm1, xmm3
movss dword [ebp - 0x1cc], xmm1
cmovae ecx, eax
lea eax, [ebp - 0x1d8]
comiss xmm2, xmm1
movss xmm1, dword [edx + 0x58]
cmovae eax, ecx
lea ecx, [ebp - 0x1d0]
mov eax, dword [eax]
mov dword [edx + 0x64], eax
lea eax, [ebp - 0x1cc]
mulss xmm0, dword [esi + 0x74]
mov dword [ebp - 0x1d8], 0x3f800000
mov dword [ebp - 0x1d0], 0x33d6bf95
subss xmm1, xmm0
comiss xmm1, dword [0x1010bca0]
movss dword [ebp - 0x1cc], xmm1
cmovae ecx, eax
lea eax, [ebp - 0x1d8]
comiss xmm2, xmm1
cmovae eax, ecx
mov eax, dword [eax]
mov dword [edx + 0x58], eax
mov dword [0x1015c204], 0
mov dword [ebp - 4], 9
cmp dword [ebp - 0x5c], 0
jl 0x10059c87
mov edx, dword [ebp - 0x64]
test edx, edx
je 0x10059c87
mov ecx, dword [0x101c3264]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100f7fb0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10