Function at 0x100e7a40
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 0x100fcaf9
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1d0
mov eax, dword [0x101110c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x1013bc80], 0
je 0x100e7e79
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
xor eax, eax
mov dword [ebp - 0x18c], 0xa1a7b2b1
mov dword [ebp - 0x188], 0xadb6a3b6
mov word [ebp - 0x184], 0xb1b0
mov byte [ebp - 0x182], 0xc2
xor byte [ebp + eax - 0x18c], 0xc2
inc eax
cmp eax, 0xb
jb 0x100e7ac3
xorps xmm0, xmm0
mov dword [ebp - 0x1c8], 0
lea ecx, [ebp - 0x18c]
mov dword [ebp - 0x1c4], 0
movups xmmword [ebp - 0x1d8], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100e7af8
sub ecx, edx
lea eax, [ebp - 0x18c]
push ecx
push eax
lea ecx, [ebp - 0x1d8]
call fcn.10033b90
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 4], 0
push ecx
lea eax, [ebp - 0x1c0]
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.100c1e80
push fcn.100326f0
push 1
push 0x18
lea eax, [ebp - 0x1d8]
mov byte [ebp - 4], 2
push eax
call fcn.100f27ec
mov eax, dword [0x101b1370]
mov edx, 1
mov dword [ebp - 0x190], eax
mov eax, dword [0x101ae65c]
mov dword [ebp - 0x17c], edx
cmp dword [eax + 0x18], edx
jl 0x100e7dc3
nop
mov ecx, dword [0x101ae600]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov esi, eax
test esi, esi
je 0x100e7da8
mov ecx, dword [0x101ae798]
cmp byte [ecx + esi], 0
jne 0x100e7da8
mov ecx, dword [0x101ae860]
add ecx, 0xffffffcb
xor ecx, 0x2f303c75
cmp dword [ecx + esi], 0
je 0x100e7da8
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x100e7da8
mov ecx, dword [0x101ae600]
mov eax, dword [0x101ae8fc]
add eax, 0xffffffa4
xor eax, 0x2f303c9c
cmp byte [0x10130e30], 0
mov edx, dword [ecx]
push ecx
mov eax, dword [eax + esi]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
je 0x100e7bf7
call esi
cmp eax, dword [0x10130e2c]
jmp 0x100e7c27
call esi
mov ecx, dword [0x101ae8fc]
mov edi, eax
mov edx, dword [0x10130e2c]
add ecx, 0xffffffa4
xor ecx, 0x2f303c9c
mov edx, dword [ecx + edx]
mov ecx, dword [0x101ae600]
push ecx
mov eax, esp
mov esi, dword [ecx]
mov esi, dword [esi + 0x10]
mov dword [eax], edx
call esi
cmp edi, eax
jne 0x100e7da8
mov ecx, dword [0x101ae5fc]
lea edx, [ebp - 0x178]
push edx
push dword [ebp - 0x17c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test al, al
je 0x100e7da8
xorps xmm0, xmm0
mov dword [ebp - 0x1b0], 0
lea eax, [ebp - 0x168]
mov dword [ebp - 0x1ac], 0
movups xmmword [ebp - 0x1c0], xmm0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100e7c76
sub eax, edx
lea ecx, [ebp - 0x1c0]
push eax
lea eax, [ebp - 0x168]
push eax
call fcn.10033b90
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1c0]
mov ecx, 0x18
mov dword [ebp - 0x198], 0
cmp dword [ebp - 0x1b0], ecx
xorps xmm0, xmm0
movups xmmword [ebp - 0x1a8], xmm0
cmovb ecx, dword [ebp - 0x1b0]
cmp dword [ebp - 0x1ac], 0xf
push ecx
cmova eax, dword [ebp - 0x1c0]
lea ecx, [ebp - 0x1a8]
push eax
mov dword [ebp - 0x194], 0
call fcn.10033b90
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
je 0x100e7d1c
movups xmm0, xmmword [ebp - 0x1a8]
mov ecx, 0xf
mov byte [ebp - 0x1a8], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x198]
movq qword [eax + 0x10], xmm0
add dword [ebp - 0x1c], 0x18
jmp 0x100e7d32
lea ecx, [ebp - 0x1a8]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.10034bd0
mov ecx, dword [ebp - 0x194]
mov byte [ebp - 4], 3
cmp ecx, 0xf
jbe 0x100e7d6a
mov edx, dword [ebp - 0x1a8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100e7d60
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e7e97
push ecx
push edx
call fcn.100f2c1b
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1ac]
cmp ecx, 0xf
jbe 0x100e7da8
mov edx, dword [ebp - 0x1c0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100e7d9e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e7e97
push ecx
push edx
call fcn.100f2c1b
add esp, 8
mov edx, dword [ebp - 0x17c]
mov eax, dword [0x101ae65c]
inc edx
mov dword [ebp - 0x17c], edx
cmp edx, dword [eax + 0x18]
jle 0x100e7b70
mov ecx, dword [ebp - 0x1c]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x20]
sub ecx, esi
imul ecx
sar edx, 2
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp edi, 2
jb 0x100e7e71
mov eax, dword [ebp - 0x190]
xor ecx, ecx
dec eax
mov dword [ebp - 0x17c], ecx
imul edi, eax
xor eax, eax
mov dword [ebp - 0x180], eax
shr edi, 1
neg edi
mov ecx, dword [0x101311a0]
add esi, eax
mov eax, dword [0x101311a4]
add ecx, 0xffffffec
cdq
sub eax, edx
push 1
mov edx, eax
push esi
push ecx
sar edx, 1
mov eax, esp
add edx, edi
push edx
push ecx
mov ecx, 0x101b1368
mov dword [eax], 0xb3ffffff
call fcn.100e0400
mov eax, dword [ebp - 0x190]
mov ecx, dword [ebp - 0x1c]
dec eax
mov esi, dword [ebp - 0x20]
add edi, eax
inc dword [ebp - 0x17c]
sub ecx, esi
add dword [ebp - 0x180], 0x18
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x180]
jb 0x100e7e03
lea ecx, [ebp - 0x20]
call fcn.100329d0
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.100f27a0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3