Function at 0x100a7200
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 0x100beb3e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xd8
mov eax, dword [0x100cd040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x38], ecx
mov eax, dword [ebx + 0xc]
mov edi, dword [ebx + 8]
mov esi, dword [ebx + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [0x100f5db4]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x28], 0
test al, 1
jne 0x100a729c
or eax, 1
mov dword [0x100f5db4], eax
mov eax, dword [0x100f0bc0]
mov dword [0x100f5dbc], eax
mov dword [0x100f5dc0], 0
mov dword [0x100f5dc4], 0
mov dword [0x100f5dc8], 0
xor eax, eax
mov dword [ebp - 0x64], 0
xorps xmm3, xmm3
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x34], eax
movss xmm1, dword [0x100c2594]
addss xmm3, xmm1
movss dword [ebp - 0x74], xmm3
movaps xmm2, xmm3
mulss xmm2, dword [edx]
movaps xmm1, xmm3
mulss xmm1, dword [edx + 4]
movaps xmm0, xmm3
mulss xmm0, dword [edx + 8]
addss xmm2, dword [ecx]
addss xmm1, dword [ecx + 4]
addss xmm0, dword [ecx + 8]
movss dword [edi], xmm2
movss dword [edi + 4], xmm1
movss dword [edi + 8], xmm0
test eax, eax
jne 0x100a7318
mov ecx, dword [0x100f0a3c]
push 0
push 0x4600400b
push edi
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
mov dword [ebp - 0x34], eax
mov ecx, dword [0x100f0a3c]
push 0
push 0x4600400b
push edi
mov edx, dword [ecx]
mov edx, dword [edx]
call edx
test eax, 0x600400b
je 0x100a7347
test eax, 0x40000000
je 0x100a79dd
cmp eax, dword [ebp - 0x34]
je 0x100a79dd
mov eax, dword [ebp - 0x24]
movss xmm3, dword [0x100c2594]
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 - 0xb4], 0
mulss xmm1, xmm3
mov byte [ebp - 0x8b], 1
subss xmm4, xmm0
mulss xmm2, xmm3
movaps xmm3, xmm6
subss xmm3, xmm1
movss xmm1, dword [edi + 8]
movaps xmm0, xmm1
movss dword [ebp - 0x64], xmm4
subss xmm0, xmm2
subss xmm4, xmm5
movss dword [ebp - 0x60], xmm3
subss xmm3, xmm6
movss dword [ebp - 0x5c], xmm0
subss xmm0, xmm1
movss dword [ebp - 0xc0], xmm4
mulss xmm4, xmm4
movss dword [ebp - 0xbc], xmm3
mulss xmm3, xmm3
movss dword [ebp - 0xb8], xmm0
mulss xmm0, xmm0
addss xmm4, xmm3
addss xmm4, xmm0
ucomiss xmm4, dword [0x100c2474]
lahf
test ah, 0x44
jp 0x100a73fb
mov byte [ebp - 0x8b], 0
mov ecx, dword [0x100f0a3c]
lea edx, [ebp - 0xd0]
push esi
mov dword [ebp - 0x90], 0
mov byte [ebp - 0x8c], 1
movss dword [ebp - 0xd0], xmm5
movss dword [ebp - 0xcc], xmm6
movss dword [ebp - 0xc8], xmm1
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xa0], 0
mov eax, dword [ecx]
push 0
push 0x4600400b
push edx
mov eax, dword [eax + 0x14]
call eax
mov ecx, dword [0x100f0b20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x100a7627
lea eax, [ebp - 0x64]
mov dword [ebp - 0x18], 0xc2700000
mov dword [ebp - 0x1c], eax
mov eax, dword [0x100f5d04]
test al, 1
jne 0x100a7602
or eax, 1
mov dword [0x100f5d04], eax
mov dword [ebp - 4], 0
mov eax, 0x10
movaps xmm0, xmmword [0x100c2b40]
xorps xmm0, xmmword [0x100c2860]
mov dword [ebp - 0x48], 0x11050011
mov dword [ebp - 0x44], 0x4117009
mov dword [ebp - 0x40], 0x6021107
mov byte [ebp - 0x3c], 0x31
movups xmmword [ebp - 0x58], xmm0
xor byte [ebp + eax - 0x58], 0x31
inc eax
cmp eax, 0x1d
jb 0x100a74f4
xorps xmm0, xmm0
mov dword [ebp - 0xd8], 0
lea ecx, [ebp - 0x58]
mov dword [ebp - 0xd4], 0
movups xmmword [ebp - 0xe8], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a7523
sub ecx, edx
lea eax, [ebp - 0x58]
push ecx
push eax
lea ecx, [ebp - 0xe8]
call fcn.1001fd30
mov byte [ebp - 4], 1
mov eax, dword [0x100f09e4]
test eax, eax
je 0x100a754e
mov edi, dword [eax + 0x50]
jmp 0x100a7550
xor edi, edi
mov eax, dword [0x100f09dc]
mov ecx, dword [ebp - 0x28]
test eax, eax
je 0x100a7564
mov edx, dword [eax + 0x18]
or ecx, 1
jmp 0x100a7569
or ecx, 2
xor edx, edx
mov eax, ecx
mov dword [ebp - 0x28], ecx
and ecx, 0xfffffffd
test al, 2
cmove ecx, eax
mov dword [ebp - 0x28], ecx
and dword [ebp - 0x28], 0xfffffffe
test cl, 1
mov eax, dword [ebp - 0x28]
cmove eax, ecx
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0xe8]
push eax
push edx
mov edx, edi
call fcn.10019b90
mov eax, dword [ebp - 0x68]
add esp, 8
test eax, eax
je 0x100a75b5
mov ecx, dword [eax + 1]
test ecx, ecx
jne 0x100a75b0
xor eax, eax
jmp 0x100a75b5
add eax, 5
add eax, ecx
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0xd4]
mov dword [0x100f5d08], eax
cmp ecx, 0xf
jbe 0x100a75f8
mov edx, dword [ebp - 0xe8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100a75ee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a7a01
push ecx
push edx
call fcn.100b54c7
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x2c]
cmp dword [0x100f5d08], 0
je 0x100a7627
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x1c]
push dword [ebp - 0x18]
push dword [ebp - 0x70]
push 0
push 0x4600400b
call dword [0x100f5d08]
add esp, 0x10
mov al, byte [esi + 0x37]
test al, al
je 0x100a7799
cmp word [esi + 0x42], 0
jge 0x100a7799
mov ecx, dword [ebp - 0x38]
mov eax, dword [esi + 0x4c]
mov dword [0x100f5dc0], eax
movss xmm3, dword [edi]
movss xmm2, dword [ecx]
movss xmm4, dword [edi + 4]
subss xmm2, xmm3
movss xmm1, dword [ecx + 4]
movss xmm5, dword [edi + 8]
subss xmm1, xmm4
movss xmm0, dword [ecx + 8]
subss xmm0, xmm5
mov dword [ebp - 0xb4], 0
movss dword [ebp - 0xc0], xmm2
mulss xmm2, xmm2
mov byte [ebp - 0x8b], 1
movss dword [ebp - 0xbc], xmm1
mulss xmm1, xmm1
movss dword [ebp - 0xb8], xmm0
mulss xmm0, xmm0
addss xmm1, xmm2
addss xmm1, xmm0
ucomiss xmm1, dword [0x100c2474]
lahf
test ah, 0x44
jp 0x100a76c1
mov byte [ebp - 0x8b], 0
mov ecx, dword [0x100f0a3c]
lea edx, [ebp - 0xd0]
push esi
mov dword [ebp - 0x90], 0
mov byte [ebp - 0x8c], 1
movss dword [ebp - 0xd0], xmm3
movss dword [ebp - 0xcc], xmm4
movss dword [ebp - 0xc8], xmm5
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xa0], 0
mov eax, dword [ecx]
push 0x100f5dbc
push 0x600400b
push edx
mov eax, dword [eax + 0x14]
call eax
movss xmm6, dword [0x100c2544]
comiss xmm6, dword [esi + 0x2c]
ja 0x100a776d
cmp byte [esi + 0x36], 0
jne 0x100a776d
cmp byte [esi + 0x37], 0
jne 0x100a776d
xor al, al
jmp 0x100a776f
mov al, 1
test al, al
je 0x100a79dd
cmp byte [esi + 0x37], 0
jne 0x100a79dd
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
mov al, 1
jmp 0x100a7ab1
movss xmm6, dword [0x100c2544]
comiss xmm6, dword [esi + 0x2c]
ja 0x100a77b5
cmp byte [esi + 0x36], 0
jne 0x100a77b5
test al, al
jne 0x100a77b5
xor cl, cl
jmp 0x100a77b7
mov cl, 1
test cl, cl
je 0x100a794b
test al, al
jne 0x100a794b
test byte [esi + 0x42], 0x80
je 0x100a7909
mov eax, dword [0x100f5d3c]
mov edi, dword [esi + 0x4c]
test al, 1
jne 0x100a77f2
or eax, 1
mov dword [0x100f5d3c], eax
mov eax, dword [0x100f0b4c]
mov eax, dword [eax + 0x26]
mov dword [0x100f5d40], eax
test edi, edi
je 0x100a78fc
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x28]
call eax
test eax, eax
je 0x100a78f4
mov eax, dword [0x100f5d40]
lea ecx, [edi + 8]
mov dword [ebp - 0x1c], eax
mov al, byte [edi + eax]
mov byte [ebp - 0x1d], al
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x100a784b
mov eax, dword [eax + 8]
cmp byte [eax + 1], 0x46
jne 0x100a7844
cmp byte [eax + 4], 0x63
jne 0x100a7844
cmp byte [eax + 5], 0x42
jne 0x100a7844
cmp byte [eax + 9], 0x68
je 0x100a784b
mov eax, dword [ebp - 0x1c]
mov byte [edi + eax], 2
mov eax, dword [0x100f0b4c]
mov ecx, edi
call eax
mov ecx, dword [ebp - 0x1c]
mov dl, byte [ebp - 0x1d]
mov byte [edi + ecx], dl
test al, al
je 0x100a78f4
mov edi, dword [ebp - 0x30]
mov eax, dword [0x100f5d3c]
mov edi, dword [edi + 0x4c]
test al, 1
jne 0x100a7889
or eax, 1
mov dword [0x100f5d3c], eax
mov eax, dword [0x100f0b4c]
mov eax, dword [eax + 0x26]
mov dword [0x100f5d40], eax
test edi, edi
je 0x100a78f4
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x28]
call eax
test eax, eax
je 0x100a78f4
mov eax, dword [0x100f5d40]
lea ecx, [edi + 8]
mov dword [ebp - 0x1c], eax
mov al, byte [edi + eax]
mov byte [ebp - 0x1d], al
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x100a78da
mov eax, dword [eax + 8]
cmp byte [eax + 1], 0x46
jne 0x100a78d3
cmp byte [eax + 4], 0x63
jne 0x100a78d3
cmp byte [eax + 5], 0x42
jne 0x100a78d3
cmp byte [eax + 9], 0x68
je 0x100a78da
mov eax, dword [ebp - 0x1c]
mov byte [edi + eax], 2
mov eax, dword [0x100f0b4c]
mov ecx, edi
call eax
mov ecx, dword [ebp - 0x1c]
mov dl, byte [ebp - 0x1d]
mov byte [edi + ecx], dl
test al, al
jne 0x100a7a07
movss xmm6, dword [0x100c2544]
mov eax, dword [ebp - 0x30]
test byte [eax + 0x42], 0x80
je 0x100a79da
mov edx, dword [ebp - 0x24]
movss xmm3, dword [edx + 4]
movss xmm4, dword [edx]
movaps xmm1, xmm3
mulss xmm1, dword [esi + 0x1c]
movaps xmm0, xmm4
mulss xmm0, dword [esi + 0x18]
movss xmm5, dword [edx + 8]
addss xmm1, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esi + 0x20]
addss xmm1, xmm0
comiss xmm6, xmm1
jae 0x100a7a22
mov edi, dword [ebp - 0x2c]
jmp 0x100a79e0
mov eax, dword [ebp - 0x30]
mov edi, dword [eax + 0x4c]
mov eax, dword [0x100f5d3c]
test al, 1
jne 0x100a796f
or eax, 1
mov dword [0x100f5d3c], eax
mov eax, dword [0x100f0b4c]
mov eax, dword [eax + 0x26]
mov dword [0x100f5d40], eax
test edi, edi
je 0x100a79da
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x28]
call eax
test eax, eax
je 0x100a79da
mov eax, dword [0x100f5d40]
lea ecx, [edi + 8]
mov dword [ebp - 0x1c], eax
mov al, byte [edi + eax]
mov byte [ebp - 0x1d], al
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x100a79c0
mov eax, dword [eax + 8]
cmp byte [eax + 1], 0x46
jne 0x100a79b9
cmp byte [eax + 4], 0x63
jne 0x100a79b9
cmp byte [eax + 5], 0x42
jne 0x100a79b9
cmp byte [eax + 9], 0x68
je 0x100a79c0
mov eax, dword [ebp - 0x1c]
mov byte [edi + eax], 2
mov eax, dword [0x100f0b4c]
mov ecx, edi
call eax
mov ecx, dword [ebp - 0x1c]
mov dl, byte [ebp - 0x1d]
mov byte [edi + ecx], dl
test al, al
jne 0x100a7a70
mov edi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x24]
movss xmm3, dword [ebp - 0x74]
movss xmm0, dword [0x100c260c]
comiss xmm0, xmm3
jb 0x100a7aaf
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
jmp 0x100a72b9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [esi + 0xc]
mov dword [ecx], eax
mov eax, dword [esi + 0x10]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x14]
mov dword [ecx + 8], eax
mov al, 1
jmp 0x100a7ab1
movss xmm2, dword [esi + 0x2c]
mov al, 1
mulss xmm2, dword [0x100c2594]
mov ecx, dword [ebp - 0x2c]
movaps xmm1, xmm2
movss xmm0, dword [ecx]
mulss xmm1, xmm4
subss xmm0, xmm1
movaps xmm1, xmm2
mulss xmm1, xmm3
mulss xmm2, xmm5
movss dword [ecx], xmm0
movss xmm0, dword [ecx + 4]
subss xmm0, xmm1
movss dword [ecx + 4], xmm0
movss xmm0, dword [ecx + 8]
subss xmm0, xmm2
movss dword [ecx + 8], xmm0
jmp 0x100a7ab1
push dword [ebp - 0x30]
mov ecx, esi
call fcn.100208b0
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x24]
movss xmm2, dword [ecx]
movss xmm1, dword [ecx + 4]
movss xmm0, dword [ecx + 8]
addss xmm2, dword [eax]
addss xmm1, dword [eax + 4]
addss xmm0, dword [eax + 8]
mov al, 1
movss dword [esi + 0xc], xmm2
movss dword [esi + 0x10], xmm1
movss dword [esi + 0x14], xmm0
jmp 0x100a7ab1
xor al, al
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.100b504c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret