Function at 0x1005a950
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 0x101056a1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x220
mov eax, dword [0x101210c0]
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 0x1005b8f7
cmp dword [ebx + 0x14], 0
je 0x1005b8f7
mov eax, dword [0x101cca68]
add eax, 0xffffffcb
xor eax, 0x59107264
cmp dword [eax + edi], 0
jne 0x1005b8f7
mov eax, dword [0x101cc9a4]
cmp dword [edi + eax], 0
je 0x1005b8f7
mov ecx, dword [0x101cc804]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x1005b8f7
mov ecx, dword [0x101cc804]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
test al, al
je 0x1005b8f7
mov ecx, dword [0x101cc808]
mov eax, dword [0x101ccb08]
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 0x1005b8f7
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 [0x101cc9a4]
mov esi, dword [edi + eax]
mov ecx, esi
call fcn.1005a050
push eax
lea ecx, [ebp - 0x1c8]
call fcn.1005a1d0
movss xmm0, dword [esi + 0xf4]
comiss xmm0, dword [0x10114de4]
jbe 0x1005aabb
push str.moving
lea ecx, [ebp - 0x1c8]
call fcn.1005a1d0
movss xmm0, dword [esi + 0xa4]
comiss xmm0, dword [0x10114e20]
jbe 0x1005aadc
push str.crouch
lea ecx, [ebp - 0x1c8]
call fcn.1005a1d0
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 0x1005ab30
mov edx, dword [ebp - 0x80]
test edx, edx
je 0x1005ab29
mov ecx, dword [0x101cc884]
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 [0x101cc808]
mov eax, dword [0x101ccb08]
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 [0x101cc9a4]
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 0x1005abda
mov eax, dword [0x101cca6c]
add eax, 0xffffffca
xor eax, 0x59107265
test byte [eax + edi], 1
jne 0x1005abda
mov ecx, dword [0x101cc808]
mov eax, dword [0x101ccb0c]
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 0x1005abda
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.1005bc50
mov eax, dword [0x101cc990]
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 [0x101cc94c]
add esp, 8
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1d8], ecx
mov ecx, dword [0x101cc9a8]
fstp dword [ebp - 0x1e8]
mov eax, dword [eax + 0xc0]
mov dword [ebp - 0x1e0], eax
cmp dword [edi + ecx], 0
jne 0x1005ac56
mov eax, dword [0x101cc928]
mov ecx, edi
call eax
mov ecx, dword [0x101cc9a8]
mov eax, dword [ebp - 0x1e0]
mov ecx, dword [edi + ecx]
mov edx, eax
call dword [ebp - 0x1d8]
movss xmm4, dword [0x10116460]
cmp eax, 0x3d4
je 0x1005ac77
cmp eax, 0x3d3
jne 0x1005acc2
mov eax, dword [ebp - 0x18]
movss xmm1, dword [ebp - 0x1e8]
mulss xmm1, dword [0x10114f88]
movss xmm2, dword [eax + 0xc8]
movaps xmm3, xmm2
xorps xmm3, xmm4
comiss xmm3, xmm1
jbe 0x1005aca3
addss xmm1, xmm2
jmp 0x1005acba
movaps xmm0, xmm1
xorps xmm0, xmm4
comiss xmm0, xmm3
jbe 0x1005acb7
subss xmm2, xmm1
movaps xmm1, xmm2
jmp 0x1005acba
xorps xmm1, xmm1
movss dword [eax + 0xc8], xmm1
movss xmm0, dword [0x10114e70]
xorps xmm2, xmm2
comiss xmm0, dword [esi + 0xec]
jb 0x1005ad53
mov eax, dword [ebp - 0x1e4]
cmp byte [eax + 0x108], 0
je 0x1005ad53
cmp byte [eax + 0x128], 0
jne 0x1005ad53
cmp byte [eax + 0x109], 0
jne 0x1005ad53
movss xmm0, dword [eax + 0x74]
comiss xmm0, xmm2
jbe 0x1005ad53
movss xmm0, dword [eax + 0x80]
lea ecx, [ebp - 0x18]
subss xmm0, dword [esi + 0x80]
movss dword [ebp - 0x18], xmm0
call fcn.100e0830
movss xmm0, dword [ebp - 0x18]
divss xmm0, dword [ebp - 0x1e8]
comiss xmm0, dword [0x1011504c]
jbe 0x1005ad53
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.1005bc50
xorps xmm0, xmm0
call fcn.1002bd40
movss dword [ebp - 0x18], xmm0
xorps xmm0, xmm0
call fcn.1002bd70
mov eax, dword [ebp - 0x1e4]
movss dword [ebp - 0x1cc], xmm0
movss xmm0, dword [eax + 0x80]
mulss xmm0, dword [0x10114da0]
movss dword [ebp - 0x1d8], xmm0
call fcn.1002bd40
movss dword [ebp - 0x1e0], xmm0
movss xmm0, dword [ebp - 0x1d8]
call fcn.1002bd70
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 [0x10116460]
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 [0x10114e30]
and al, 1
comiss xmm2, xmm1
mov dword [ebp - 0x1cc], ecx
subss xmm6, xmm7
jb 0x1005af00
test cl, cl
je 0x1005af00
test al, al
jne 0x1005af00
movss xmm0, dword [0x101150f4]
comiss xmm0, xmm5
jbe 0x1005af00
mov cl, 1
xor ch, ch
movss xmm1, dword [0x10114e40]
comiss xmm2, xmm1
jb 0x1005af20
cmp byte [ebp - 0x1e0], 0
je 0x1005af20
cmp byte [ebp - 0x18], 0
jne 0x1005af20
movss xmm0, dword [0x101150f8]
comiss xmm0, xmm6
jbe 0x1005af20
mov al, 1
xor ah, ah
test cl, cl
jne 0x1005af41
test ch, ch
jne 0x1005af41
test al, al
jne 0x1005af41
test ah, ah
jne 0x1005af41
jmp 0x1005af43
xor cl, cl
comiss xmm2, xmm1
jb 0x1005aebf
test al, al
je 0x1005aebf
cmp byte [ebp - 0x1cc], cl
jne 0x1005aebf
comiss xmm5, dword [0x10114e20]
jbe 0x1005aebf
mov ch, 1
jmp 0x1005aec1
xor al, al
comiss xmm2, xmm1
jb 0x1005aeec
cmp byte [ebp - 0x18], al
je 0x1005aeec
cmp byte [ebp - 0x1e0], al
jne 0x1005aeec
comiss xmm6, dword [0x10114e2c]
jbe 0x1005aeec
mov ah, 1
jmp 0x1005aeee
mov cl, 1
mov eax, dword [0x101ccbd0]
add eax, 0xffffff71
xor eax, 0x591072be
mov byte [eax + edi], cl
mov ah, byte [esi + 0x108]
cmp byte [edx + 0x108], ah
jne 0x1005af75
mov al, byte [edx + 0x128]
cmp al, byte [esi + 0x128]
jne 0x1005af75
xor cl, cl
jmp 0x1005af77
mov cl, 1
test ah, ah
je 0x1005b049
cmp byte [edx + 0x109], 0
mov eax, dword [0x101cc990]
mov eax, dword [edi + eax]
mov dword [ebp - 0x18], eax
jne 0x1005afb9
test cl, cl
je 0x1005afb9
movups xmm0, xmmword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
sub esp, 0x14
mov eax, esp
push 0x3dc
push 5
movups xmmword [eax], xmm0
push edi
mov dword [eax + 0x10], ecx
call fcn.1005bc50
mov eax, dword [ebp - 0x18]
cmp byte [esi + 0x109], 0
je 0x1005b01b
mov ecx, dword [0x101cc94c]
mov eax, dword [eax + 0x130]
mov dword [ebp - 0x1d8], ecx
mov ecx, dword [0x101cc9a8]
mov dword [ebp - 0x1cc], eax
cmp dword [edi + ecx], 0
jne 0x1005affb
mov eax, dword [0x101cc928]
mov ecx, edi
call eax
mov ecx, dword [0x101cc9a8]
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 0x1005b021
mov ecx, dword [ebp - 0x1d4]
cmp byte [esi + 0x109], 0
jne 0x1005b075
test cl, cl
jne 0x1005b075
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x130]
jb 0x1005b075
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x138], 0
jmp 0x1005b075
test cl, cl
je 0x1005b075
cmp byte [ebp - 0x1d4], 0
jne 0x1005b075
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.1005bc50
mov eax, dword [0x101cc990]
mov ecx, dword [0x101cc94c]
mov dword [ebp - 0x1d8], ecx
mov ecx, dword [0x101cc9a8]
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 0x1005b0bc
mov eax, dword [0x101cc928]
mov ecx, edi
call eax
mov ecx, dword [0x101cc9a8]
mov eax, dword [ebp - 0x1cc]
mov ecx, dword [edi + ecx]
mov edx, eax
call dword [ebp - 0x1d8]
cmp eax, 0x3d5
jne 0x1005b1b7
mov eax, dword [esi + 0x64]
test eax, eax
je 0x1005b12e
cmp eax, dword [esi + 0x68]
je 0x1005b12e
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.1005bc50
mov eax, dword [ebp - 0x1d4]
movss xmm0, dword [ebp - 0x1cc]
movss dword [eax + 0x294], xmm0
jmp 0x1005b1b7
mov edx, dword [ebp - 0x1d4]
movss xmm0, dword [ebp - 0x1e8]
movss xmm1, dword [0x10114e70]
mulss xmm0, dword [edx + 0x290]
addss xmm0, dword [edx + 0x294]
comiss xmm1, xmm0
jbe 0x1005b1b7
movss xmm0, dword [esi + 0xf8]
lea eax, [ebp - 0x1d8]
subss xmm0, dword [0x10114e20]
xorps xmm2, xmm2
mov dword [ebp - 0x18], 0x3f800000
lea ecx, [ebp - 0x1cc]
mov dword [ebp - 0x1cc], 0
mulss xmm0, dword [0x10114f58]
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 0x1005b1e9
mov eax, dword [0x101ccb90]
add eax, 0xffffff81
xor eax, 0x591072ae
mov eax, dword [eax + ecx]
mov ecx, dword [0x101cc808]
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 [0x101cc990]
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 0x1005b7a7
cmp dword [eax + 0x18], 0
ja 0x1005b471
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.10035cc0
mov byte [ebp - 4], 3
lea esi, [ebp - 0x38]
cmp dword [ebp - 0x24], 0xf
mov eax, dword [0x101cf774]
cmova esi, dword [ebp - 0x38]
test al, 1
jne 0x1005b3f3
or eax, 1
mov dword [0x101cf774], eax
mov byte [ebp - 4], 4
xor eax, eax
movaps xmm0, xmmword [0x10115530]
movaps xmm1, xmmword [0x101157e0]
movups xmmword [ebp - 0x230], xmm0
mov dword [ebp - 0x210], 0x65036265
movaps xmm0, xmmword [0x10115170]
movups xmmword [ebp - 0x220], xmm0
mov dword [ebp - 0x20c], 0x16140365
mov dword [ebp - 0x208], 0x23121203
nop word [eax + eax]
movups xmm0, xmmword [ebp + eax - 0x230]
xorps xmm0, xmm1
movups xmmword [ebp + eax - 0x230], xmm0
add eax, 0x10
cmp eax, 0x20
jb 0x1005b2c0
cmp eax, 0x2c
jae 0x1005b2ee
xor byte [ebp + eax - 0x230], 0x23
inc eax
cmp eax, 0x2c
jb 0x1005b2e0
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 0x1005b315
sub ecx, edx
lea eax, [ebp - 0x230]
push ecx
push eax
lea ecx, [ebp - 0x204]
call fcn.10035cc0
mov byte [ebp - 4], 5
mov eax, dword [0x101cc7bc]
test eax, eax
je 0x1005b343
mov edx, dword [eax + 0x50]
jmp 0x1005b345
xor edx, edx
mov ecx, dword [0x101cc7b4]
test ecx, ecx
je 0x1005b359
mov ecx, dword [ecx + 0x18]
mov eax, 9
jmp 0x1005b360
mov eax, 0x11
xor ecx, ecx
mov dword [ebp - 0x1dc], eax
test al, 0x10
je 0x1005b373
and eax, 0xffffffef
mov dword [ebp - 0x1dc], eax
test al, 8
je 0x1005b380
and eax, 0xfffffff7
mov dword [ebp - 0x1dc], eax
lea eax, [ebp - 0x204]
push eax
push ecx
lea ecx, [ebp - 0x1d0]
call fcn.1003fbe0
mov eax, dword [ebp - 0x1d0]
add esp, 8
test eax, eax
je 0x1005b3b0
mov ecx, dword [eax + 1]
test ecx, ecx
jne 0x1005b3ab
xor eax, eax
jmp 0x1005b3b0
add eax, 5
add eax, ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x1f0]
mov dword [0x101cf778], eax
cmp ecx, 0xf
jbe 0x1005b3ef
mov edx, dword [ebp - 0x204]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005b3e5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005b461
push ecx
push edx
call fcn.1010120b
add esp, 8
mov byte [ebp - 4], 3
mov eax, dword [0x101cf778]
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 0x1005b471
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005b467
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005b467
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010120b
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.10035cc0
mov eax, dword [ebp - 0x1d4]
mov byte [ebp - 4], 6
mov esi, dword [eax + 0x50]
mov eax, dword [0x101cc9a8]
cmp dword [edi + eax], 0
jne 0x1005b4bb
mov eax, dword [0x101cc928]
mov ecx, edi
call eax
mov eax, dword [0x101cc9a8]
mov edi, dword [edi + eax]
cmp dword [edi + 4], 0
jne 0x1005b4e3
mov ecx, dword [edi]
test esi, esi
js 0x1005b4d2
cmp esi, dword [ecx + 0xbc]
jl 0x1005b4d4
xor esi, esi
mov eax, dword [ecx + 0xc0]
add eax, ecx
add eax, esi
jmp 0x1005b5e9
mov eax, dword [0x101cf828]
test al, 1
jne 0x1005b5e0
or eax, 1
mov dword [0x101cf828], 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.10035cc0
mov byte [ebp - 4], 8
mov eax, dword [0x101cc7bc]
test eax, eax
je 0x1005b53e
mov edx, dword [eax + 0x50]
jmp 0x1005b540
xor edx, edx
mov ecx, dword [0x101cc7b4]
mov eax, dword [ebp - 0x1dc]
test ecx, ecx
je 0x1005b558
mov ecx, dword [ecx + 0x18]
or eax, 2
jmp 0x1005b55d
or eax, 4
xor ecx, ecx
mov dword [ebp - 0x1dc], eax
test al, 4
je 0x1005b570
and eax, 0xfffffffb
mov dword [ebp - 0x1dc], eax
test al, 2
je 0x1005b57d
and eax, 0xfffffffd
mov dword [ebp - 0x1dc], eax
lea eax, [ebp - 0x204]
push eax
push ecx
lea ecx, [ebp - 0x1d0]
call fcn.1003fbe0
mov eax, dword [ebp - 0x1d0]
add esp, 8
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x1f0]
mov dword [0x101cf818], eax
cmp ecx, 0xf
jbe 0x1005b5dc
mov edx, dword [ebp - 0x204]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005b5d2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005b6c6
push ecx
push edx
call fcn.1010120b
add esp, 8
mov byte [ebp - 4], 6
push esi
mov ecx, edi
call dword [0x101cf818]
mov ecx, dword [eax + 0xbc]
xor esi, esi
mov dword [ebp - 0x1d0], ecx
test ecx, ecx
mov ecx, dword [ebp - 0x50]
jle 0x1005b66e
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 0x1005b62b
add ecx, edx
jmp 0x1005b630
xor ecx, ecx
nop dword [eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x1005b650
test dl, dl
je 0x1005b64c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x1005b650
add ecx, 2
add eax, 2
test dl, dl
jne 0x1005b630
xor eax, eax
jmp 0x1005b655
sbb eax, eax
or eax, 1
test eax, eax
je 0x1005b6cc
mov ecx, dword [ebp - 0x50]
inc esi
mov edx, dword [ebp - 0x1cc]
add edi, 4
cmp esi, dword [ebp - 0x1d0]
jl 0x1005b610
mov esi, dword [ebp - 0x1ec]
movss xmm0, dword [esi + 0xa4]
comiss xmm0, dword [0x10114d54]
jbe 0x1005b69a
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 0x1005b6f7
mov ecx, dword [ebp - 0x50]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x1005b6ed
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005b6ed
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 [0x10114e70]
movss xmm1, dword [esi + 0xa4]
comiss xmm0, xmm1
jbe 0x1005b69a
subss xmm0, xmm1
jmp 0x1005b685
push edx
push ecx
call fcn.1010120b
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 [0x10114e70]
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 0x1005b823
movss xmm1, dword [edx + 0x60]
movaps xmm0, xmm1
call fcn.1002bd50
comiss xmm3, xmm0
jae 0x1005b823
mulss xmm1, xmm6
addss xmm1, dword [edx + 0x64]
comiss xmm1, xmm2
jb 0x1005b78d
movss xmm1, dword [0x10114e68]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
comiss xmm3, xmm1
jbe 0x1005b815
addss xmm1, xmm2
jmp 0x1005b81e
movss xmm0, dword [eax + 0x20]
lea edi, [eax + 0x20]
comiss xmm0, xmm3
jbe 0x1005b70e
movss xmm6, dword [ebp - 0x1e8]
movaps xmm1, xmm0
movss xmm5, dword [0x10116460]
movaps xmm2, xmm6
mulss xmm2, dword [0x10114f78]
movaps xmm4, xmm1
xorps xmm4, xmm5
comiss xmm4, xmm2
jbe 0x1005b7ef
addss xmm1, xmm2
movss dword [ebp - 0x1c], xmm1
jmp 0x1005b716
movaps xmm0, xmm2
xorps xmm0, xmm5
comiss xmm0, xmm4
jbe 0x1005b808
subss xmm1, xmm2
movss dword [ebp - 0x1c], xmm1
jmp 0x1005b716
xorps xmm1, xmm1
movss dword [ebp - 0x1c], xmm1
jmp 0x1005b716
comiss xmm1, xmm2
jbe 0x1005b81e
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 [0x10114d60]
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 [0x10165a14], 0
mov dword [ebp - 4], 9
cmp dword [ebp - 0x5c], 0
jl 0x1005b8f7
mov edx, dword [ebp - 0x64]
test edx, edx
je 0x1005b8f7
mov ecx, dword [0x101cc884]
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.10100d90
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10