Function at 0x100167b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012b4c0
mov eax, dword fs:[0]
push eax
mov eax, 0x1850
call fcn.10128d40
mov eax, dword [0x1016c008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1848], ecx
mov ecx, dword [0x101f4698]
mov edx, dword [ebp + 8]
push edx
mov dword [ebp - 0x1858], edx
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov esi, eax
mov dword [ebp - 0x185c], esi
test esi, esi
je 0x10016b56
mov ecx, dword [esi]
mov edx, dword [ecx + 0x260]
mov ecx, esi
call edx
test al, al
je 0x10016b56
mov eax, dword [0x101f5c34]
add eax, 0xffffffcc
xor eax, 0xea42ce00
cmp dword [eax + esi], 0
jne 0x10016b56
mov eax, dword [0x101f4834]
mov al, byte [eax + esi]
test al, al
jne 0x10016b56
mov edi, dword [0x101f5c0c]
mov edx, dword [0x101df848]
lea ecx, [edi - 0x2a]
xor ecx, 0xea42cdf6
mov eax, dword [ecx + esi]
cmp eax, dword [ecx + edx]
jne 0x10016887
mov ecx, dword [0x101f4774]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x10016b56
mov edx, dword [0x101df848]
mov edi, dword [0x101f5c0c]
test edx, edx
je 0x10016b56
lea ecx, [edi - 0x2a]
xor ecx, 0xea42cdf6
mov eax, dword [ecx + esi]
cmp eax, dword [ecx + edx]
jne 0x100168b5
mov ecx, dword [0x101f4774]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x10016b56
movaps xmm0, xmmword [0x10163740]
mov eax, 0x10
pxor xmm0, xmmword [0x10162ba0]
mov word [ebp - 0x1814], 0x6b07
movups xmmword [ebp - 0x1824], xmm0
nop dword [eax]
xor byte [ebp + eax - 0x1824], 0x6b
inc eax
cmp eax, 0x12
jb 0x100168e0
lea ecx, [ebp - 0x1824]
mov dword [ebp - 0x183c], 0
mov dword [ebp - 0x182c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x1828], 0xf
mov byte [ebp - 0x183c], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10016920
sub ecx, edx
lea eax, [ebp - 0x1824]
push ecx
push eax
lea ecx, [ebp - 0x183c]
call fcn.10011990
lea eax, [ebp - 0x183c]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x101e95f0
call fcn.10010770
movss xmm1, dword [0x10162960]
movss xmm0, dword [eax + 0xc]
mulss xmm0, xmm1
cvttss2si ecx, xmm0
movss xmm0, dword [eax + 8]
mulss xmm0, xmm1
mov dword [ebp - 0x1844], ecx
cvttss2si ecx, xmm0
movss xmm0, dword [eax + 4]
mulss xmm0, xmm1
mov dword [ebp - 0x1854], ecx
cvttss2si ecx, xmm0
movss xmm0, dword [eax]
mulss xmm0, xmm1
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x1828]
mov dword [ebp - 0x1850], ecx
cvttss2si eax, xmm0
mov dword [ebp - 0x184c], eax
cmp edx, 0x10
jb 0x100169ea
mov ecx, dword [ebp - 0x183c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100169e0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100169e0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10128808
add esp, 8
mov eax, dword [ebp - 0x1844]
mov ecx, dword [0x101f46b8]
movzx eax, al
push ecx
mov edx, dword [ecx]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [edx + 0x10]
mulss xmm0, dword [0x1016261c]
movss dword [esp], xmm0
call eax
mov eax, dword [ebp - 0x184c]
lea edx, [ebp - 0x1824]
movss xmm1, dword [0x1016261c]
movzx eax, al
mov ecx, dword [0x101f46b8]
mov esi, dword [ebp - 0x1848]
mov dword [ebp - 0x1818], 0x3f800000
movd xmm0, eax
mov eax, dword [ebp - 0x1850]
cvtdq2ps xmm0, xmm0
movzx eax, al
mov esi, dword [esi + 0x14]
push edx
mulss xmm0, xmm1
movss dword [ebp - 0x1824], xmm0
movd xmm0, eax
mov eax, dword [ebp - 0x1854]
cvtdq2ps xmm0, xmm0
movzx eax, al
mulss xmm0, xmm1
movss dword [ebp - 0x1820], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x181c], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
mov eax, dword [esi]
mov ecx, esi
push 1
push 0x400
mov eax, dword [eax + 0x74]
call eax
mov eax, dword [esi]
mov ecx, esi
push 1
push 0x4000
mov eax, dword [eax + 0x74]
call eax
mov eax, dword [esi]
mov ecx, esi
push 1
push 0x8000
mov eax, dword [eax + 0x74]
call eax
mov ecx, dword [0x101f46c8]
push 0
push 0
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x84]
call eax
lea esi, [ebp - 0x1810]
mov edi, 0x80
mov ecx, esi
call fcn.10005ed0
add esi, 0x30
sub edi, 1
jne 0x10016ae8
lea eax, [ebp - 0x1810]
push eax
push dword [ebp - 0x1858]
call fcn.100162a0
test al, al
je 0x10016b56
mov eax, dword [0x101f5ccc]
lea ecx, [ebp - 0x1810]
mov edi, dword [ebp - 0x185c]
lea edx, [ebp - 0x183d]
add eax, 0xffffffa6
mov byte [ebp - 0x183d], 0xff
xor eax, 0xea42ce26
push edx
push 1
mov esi, dword [eax + edi]
mov dword [eax + edi], ecx
lea ecx, [edi + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov eax, dword [0x101f5ccc]
add eax, 0xffffffa6
xor eax, 0xea42ce26
mov dword [eax + edi], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1012838d
mov esp, ebp
pop ebp
ret 4