Function at 0x1009bf90
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b7cde
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x128
mov eax, dword [0x100d99c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 0x14]
mov edi, dword [ebx + 0x10]
mov esi, dword [ebx + 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [0x100fa420]
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x28], 0
test al, 1
jne 0x1009c023
or eax, 1
mov dword [0x100fa420], eax
mov eax, dword [0x100f6b84]
mov dword [0x100fa410], eax
mov dword [0x100fa414], 0
mov dword [0x100fa418], 0
mov dword [0x100fa41c], 0
mov eax, dword [ebx + 0xc]
xor ecx, ecx
xorps xmm3, xmm3
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x20], ecx
movss xmm1, dword [0x100bbc20]
addss xmm3, xmm1
movss dword [ebp - 0x6c], xmm3
movaps xmm2, xmm3
mulss xmm2, dword [eax]
movaps xmm1, xmm3
mulss xmm1, dword [eax + 4]
movaps xmm0, xmm3
mulss xmm0, dword [eax + 8]
mov eax, dword [ebx + 8]
addss xmm2, dword [eax]
addss xmm1, dword [eax + 4]
addss xmm0, dword [eax + 8]
movss dword [edi], xmm2
movss dword [edi + 4], xmm1
movss dword [edi + 8], xmm0
test ecx, ecx
jne 0x1009c0a5
mov ecx, dword [0x100f69b8]
push 0
push 0x4600400b
push edi
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
mov dword [ebp - 0x20], eax
mov ecx, dword [0x100f69b8]
push 0
push 0x4600400b
push edi
mov edx, dword [ecx]
mov edx, dword [edx]
call edx
test eax, 0x600400b
je 0x1009c0d6
mov ecx, dword [ebp - 0x20]
test eax, 0x40000000
je 0x1009c690
cmp eax, ecx
je 0x1009c690
mov eax, dword [ebx + 0xc]
movss xmm3, dword [0x100bbc20]
movss xmm5, dword [edi]
movss xmm6, dword [edi + 4]
movaps xmm4, xmm5
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss xmm2, dword [eax + 8]
mulss xmm0, xmm3
mov dword [ebp - 0xc4], 0
mulss xmm1, xmm3
mov byte [ebp - 0x9b], 1
subss xmm4, xmm0
mulss xmm2, xmm3
movaps xmm3, xmm6
subss xmm3, xmm1
movss xmm1, dword [edi + 8]
movaps xmm0, xmm1
movss dword [ebp - 0x5c], xmm4
subss xmm0, xmm2
subss xmm4, xmm5
movss dword [ebp - 0x58], xmm3
subss xmm3, xmm6
movss dword [ebp - 0x54], xmm0
subss xmm0, xmm1
movss dword [ebp - 0xd0], xmm4
mulss xmm4, xmm4
movss dword [ebp - 0xcc], xmm3
mulss xmm3, xmm3
movss dword [ebp - 0xc8], xmm0
mulss xmm0, xmm0
addss xmm4, xmm3
addss xmm4, xmm0
ucomiss xmm4, dword [0x100bbbf4]
lahf
test ah, 0x44
jp 0x1009c18a
mov byte [ebp - 0x9b], 0
mov ecx, dword [0x100f69b8]
lea edx, [ebp - 0xe0]
push esi
mov dword [ebp - 0xa0], 0
mov byte [ebp - 0x9c], 1
movss dword [ebp - 0xe0], xmm5
movss dword [ebp - 0xdc], xmm6
movss dword [ebp - 0xd8], xmm1
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xb0], 0
mov eax, dword [ecx]
push 0
push 0x4600400b
push edx
mov eax, dword [eax + 0x14]
call eax
mov ecx, dword [0x100f6aa8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x1009c3bb
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x18], 0xc2700000
mov dword [ebp - 0x1c], eax
mov eax, dword [0x100fa3f4]
test al, 1
jne 0x1009c396
or eax, 1
mov dword [0x100fa3f4], eax
movaps xmm0, xmmword [0x100bb620]
mov eax, 0x10
pxor xmm0, xmmword [0x100bd900]
mov dword [ebp - 4], 0
mov dword [ebp - 0x40], 0x8c989d8c
mov dword [ebp - 0x3c], 0x998ced94
mov dword [ebp - 0x38], 0x9b9f8c9a
mov byte [ebp - 0x34], 0xac
movups xmmword [ebp - 0x50], xmm0
xor byte [ebp + eax - 0x50], 0xac
inc eax
cmp eax, 0x1d
jb 0x1009c284
xorps xmm0, xmm0
mov dword [ebp - 0x74], 0
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x70], 0
movups xmmword [ebp - 0x84], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1009c2b0
sub ecx, edx
lea eax, [ebp - 0x50]
push ecx
push eax
lea ecx, [ebp - 0x84]
call fcn.1001d5b0
mov eax, dword [0x100f6954]
mov byte [ebp - 4], 1
test eax, eax
je 0x1009c2de
mov ecx, dword [eax + 0x50]
mov dword [ebp - 0x2c], ecx
jmp 0x1009c2e5
mov dword [ebp - 0x2c], 0
mov eax, dword [0x100f694c]
mov edx, dword [ebp - 0x28]
test eax, eax
je 0x1009c2fc
mov eax, dword [eax + 0x18]
or edx, 1
mov dword [ebp - 0x30], eax
jmp 0x1009c306
or edx, 2
mov dword [ebp - 0x30], 0
mov ecx, edx
lea eax, [ebp - 0x84]
and ecx, 0xfffffffd
test dl, 2
push eax
push dword [ebp - 0x2c]
cmove ecx, edx
lea eax, [ebp - 0x60]
push dword [ebp - 0x30]
mov edx, ecx
and edx, 0xfffffffe
test cl, 1
push eax
cmove edx, ecx
mov dword [ebp - 0x28], edx
call fcn.10025d70
mov eax, dword [ebp - 0x60]
add esp, 0x10
test eax, eax
je 0x1009c34f
mov ecx, dword [eax + 1]
test ecx, ecx
jne 0x1009c34a
xor eax, eax
jmp 0x1009c34f
add eax, 5
add eax, ecx
mov ecx, dword [ebp - 0x70]
mov dword [0x100fa3f0], eax
mov byte [ebp - 4], 0
cmp ecx, 0x10
jb 0x1009c38f
mov edx, dword [ebp - 0x84]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009c385
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009c698
push ecx
push edx
call fcn.100ae001
add esp, 8
mov dword [ebp - 4], 0xffffffff
cmp dword [0x100fa3f0], 0
je 0x1009c3bb
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x1c]
push dword [ebp - 0x18]
push dword [ebp - 0x68]
push 0
push 0x4600400b
call dword [0x100fa3f0]
add esp, 0x10
mov al, byte [esi + 0x37]
test al, al
je 0x1009c534
cmp word [esi + 0x42], 0
jge 0x1009c534
mov eax, dword [esi + 0x4c]
mov dword [0x100fa414], eax
mov eax, dword [ebx + 8]
movss xmm3, dword [edi]
movss xmm4, dword [edi + 4]
movss xmm5, dword [edi + 8]
movss xmm2, dword [eax]
movss xmm1, dword [eax + 4]
subss xmm2, xmm3
movss xmm0, dword [eax + 8]
subss xmm1, xmm4
subss xmm0, xmm5
mov dword [ebp - 0x114], 0
mov byte [ebp - 0xeb], 1
movss dword [ebp - 0x120], xmm2
movss dword [ebp - 0x11c], xmm1
mulss xmm1, xmm1
mulss xmm2, xmm2
movss dword [ebp - 0x118], xmm0
mulss xmm0, xmm0
addss xmm1, xmm2
addss xmm1, xmm0
ucomiss xmm1, dword [0x100bbbf4]
lahf
test ah, 0x44
jp 0x1009c455
mov byte [ebp - 0xeb], 0
mov ecx, dword [0x100f69b8]
lea edx, [ebp - 0x130]
push esi
mov dword [ebp - 0xf0], 0
mov byte [ebp - 0xec], 1
movss dword [ebp - 0x130], xmm3
movss dword [ebp - 0x12c], xmm4
movss dword [ebp - 0x128], xmm5
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0x100], 0
mov eax, dword [ecx]
push 0x100fa410
push 0x600400b
push edx
mov eax, dword [eax + 0x14]
call eax
movss xmm0, dword [0x100bb590]
comiss xmm0, dword [esi + 0x2c]
ja 0x1009c501
cmp byte [esi + 0x36], 0
jne 0x1009c501
cmp byte [esi + 0x37], 0
jne 0x1009c501
xor al, al
jmp 0x1009c503
mov al, 1
test al, al
je 0x1009c511
cmp byte [esi + 0x37], 0
je 0x1009c69e
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp - 0x20]
movss xmm3, dword [ebp - 0x6c]
movss xmm0, dword [0x100bb5b4]
comiss xmm0, xmm3
jae 0x1009c043
xor al, al
jmp 0x1009c672
movss xmm0, dword [0x100bb590]
comiss xmm0, dword [esi + 0x2c]
ja 0x1009c550
cmp byte [esi + 0x36], 0
jne 0x1009c550
test al, al
jne 0x1009c550
xor cl, cl
jmp 0x1009c552
mov cl, 1
test cl, cl
je 0x1009c61f
test al, al
jne 0x1009c61f
test byte [esi + 0x42], 0x80
je 0x1009c59a
push dword [esi + 0x4c]
call fcn.1004f320
add esp, 4
test al, al
je 0x1009c58d
mov eax, dword [ebp - 0x24]
push dword [eax + 0x4c]
call fcn.1004f320
add esp, 4
test al, al
jne 0x1009c69e
mov eax, dword [ebp - 0x24]
test byte [eax + 0x42], 0x80
je 0x1009c511
mov eax, dword [ebx + 0xc]
movss xmm3, dword [eax + 4]
movss xmm2, dword [eax]
movaps xmm1, xmm3
mulss xmm1, dword [esi + 0x1c]
movaps xmm0, xmm2
mulss xmm0, dword [esi + 0x18]
movss xmm4, dword [eax + 8]
addss xmm1, xmm0
movaps xmm0, xmm4
mulss xmm0, dword [esi + 0x20]
addss xmm1, xmm0
movss xmm0, dword [0x100bb590]
comiss xmm0, xmm1
jb 0x1009c514
movss xmm1, dword [esi + 0x2c]
mulss xmm1, dword [0x100bbc20]
movss xmm0, dword [edi]
mulss xmm2, xmm1
mulss xmm3, xmm1
subss xmm0, xmm2
mulss xmm4, xmm1
movss dword [edi], xmm0
movss xmm0, dword [edi + 4]
subss xmm0, xmm3
movss dword [edi + 4], xmm0
movss xmm0, dword [edi + 8]
subss xmm0, xmm4
movss dword [edi + 8], xmm0
jmp 0x1009c670
mov eax, dword [ebp - 0x24]
push dword [eax + 0x4c]
call fcn.1004f320
add esp, 4
test al, al
je 0x1009c511
push dword [ebp - 0x24]
mov ecx, esi
call fcn.1009bae0
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
movss xmm2, dword [ecx]
movss xmm1, dword [eax + 4]
movss xmm0, dword [ecx + 8]
addss xmm2, dword [eax]
addss xmm1, dword [ecx + 4]
addss xmm0, dword [eax + 8]
movss dword [esi + 0xc], xmm2
movss dword [esi + 0x10], xmm1
movss dword [esi + 0x14], xmm0
mov al, 1
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.100ae337
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [ebx + 0xc]
jmp 0x1009c517
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [esi + 0xc]
mov dword [edi], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 4], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 8], eax
jmp 0x1009c670