Function at 0x100e9690
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 0x101ad2e5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
push esi
push edi
mov eax, dword [0x10242040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x2c], eax
lea esi, [eax + 0xc0]
push esi
mov dword [ebp - 0x28], esi
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 4
test eax, eax
je 0x100e96ef
push 5
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov eax, dword [esi + 0x2c]
cmp eax, 0x7fffffff
jne 0x100e9705
dec eax
push 6
mov dword [esi + 0x2c], eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov dword [ebp - 4], 0
mov eax, dword fs:[0x2c]
mov ecx, dword [0x103357d4]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x103393bc]
mov dword [ebp - 0x1c], esi
cmp eax, dword [esi + 4]
jle 0x100e97e3
push 0x103393bc
call fcn.1014bbcf
add esp, 4
cmp dword [0x103393bc], 0xffffffff
jne 0x100e97e3
mov eax, dword [0x103393b0]
cmp eax, dword [esi + 4]
jle 0x100e97cc
push 0x103393b0
call fcn.1014bbcf
add esp, 4
cmp dword [0x103393b0], 0xffffffff
jne 0x100e97cc
mov eax, dword [0x10335870]
mov edi, dword [eax + 0x30]
test edi, edi
je 0x100e97b7
mov edx, dword [edi + 0xc]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100e9780
sub ecx, esi
lea esi, [ecx + 1]
mov ecx, 0x4fa38bcd
test esi, esi
je 0x100e97b0
movsx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
imul ecx, eax, 0xf1546419
sub esi, 1
jne 0x100e9795
cmp ecx, 0xbb927918
je 0x100e97b9
mov edi, dword [edi + 4]
test edi, edi
jne 0x100e9778
xor edi, edi
push 0x103393b0
mov dword [0x103393ac], edi
call fcn.1014bb7e
add esp, 4
mov eax, dword [0x103393ac]
push 0x103393bc
mov dword [0x103393b4], eax
call fcn.1014bb7e
add esp, 4
mov ecx, dword [0x103393b4]
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax + 0x30]
xor eax, ecx
je 0x100e9803
mov dword [ecx + 0x50], 0
mov eax, dword [ecx]
push 0
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [0x1033589c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
test al, al
je 0x100e9b8f
mov eax, dword [0x10336270]
cmp dword [eax + 8], 0
je 0x100e9b8f
xorps xmm0, xmm0
comiss xmm0, dword [eax + 0x4c]
jae 0x100e9b8f
call fcn.10099f70
test al, al
je 0x100e9b8f
xor esi, esi
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov byte [ebp - 4], 1
mov eax, 0x146a8c0b
mov ecx, dword [0x103361fc]
mov edx, dword [ecx + 0x38]
sub edx, dword [ecx + 0x34]
imul edx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x18], eax
je 0x100e9896
cmp eax, 0x6666666
ja 0x100e9c2b
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x44]
call fcn.100eaa10
mov esi, dword [ebp - 0x40]
mov ecx, dword [0x103361fc]
mov edx, dword [ecx + 0x38]
mov eax, 0x146a8c0b
sub edx, dword [ecx + 0x34]
xor edi, edi
imul edx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100e990e
mov dword [ebp - 0x18], edi
cmp esi, dword [ebp - 0x3c]
je 0x100e98dd
mov dword [esi + 0x24], 0
call fcn.10018cb0
test al, al
je 0x100e98d5
mov dword [esi], 0x1020d25c
mov dword [esi + 4], edi
mov dword [esi + 0x24], esi
add esi, 0x28
mov dword [ebp - 0x40], esi
jmp 0x100e98ed
lea eax, [ebp - 0x18]
push eax
push esi
lea ecx, [ebp - 0x44]
call fcn.100eab80
mov esi, dword [ebp - 0x40]
mov eax, dword [0x103361fc]
inc edi
mov ecx, dword [eax + 0x38]
sub ecx, dword [eax + 0x34]
mov eax, 0x146a8c0b
imul ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x100e98b1
mov ecx, dword [0x10337b98]
lea eax, [ebp - 0x44]
push eax
call fcn.100e6690
mov ecx, dword [0x1033589c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov ecx, eax
test ecx, ecx
je 0x100e9b7f
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
test al, al
jne 0x100e9b7f
mov edi, dword [0x103361fc]
mov esi, dword [edi + 0x34]
mov edi, dword [edi + 0x38]
cmp esi, edi
je 0x100e9b7f
nop word [eax + eax]
mov ecx, dword [esi]
xor edx, edx
add ecx, 8
mov eax, ecx
cmove eax, edx
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x100e9b71
mov ecx, dword [esi]
mov dword [ebp - 0x18], ecx
cmp byte [ecx + 0x25f], al
jne 0x100e9b71
cmp dword [ecx + 0x100], 0
je 0x100e9b71
mov ecx, dword [ebp - 0x1c]
mov eax, dword [0x10335d08]
cmp eax, dword [ecx + 4]
jle 0x100e99f2
push 0x10335d08
call fcn.1014bbcf
add esp, 4
cmp dword [0x10335d08], 0xffffffff
jne 0x100e99ef
push ecx
push 0x359d9d63
mov byte [ebp - 4], 2
mov ecx, dword [0x10336104]
push 0x22558ba9
call fcn.100bb0f0
push 0x10335d08
mov dword [0x10335d40], eax
mov byte [ebp - 4], 1
call fcn.1014bb7e
add esp, 4
mov ecx, dword [ebp - 0x1c]
mov eax, dword [0x10335d40]
mov dword [ebp - 0x20], eax
mov eax, dword [esi]
mov dword [ebp - 0x24], eax
mov eax, dword [0x10335d38]
cmp eax, dword [ecx + 4]
jle 0x100e9a55
push 0x10335d38
call fcn.1014bbcf
add esp, 4
cmp dword [0x10335d38], 0xffffffff
jne 0x100e9a55
push ecx
push 0x359d9d63
mov byte [ebp - 4], 3
mov ecx, dword [0x10336104]
push 0x22558ba9
call fcn.100bb0f0
add eax, 4
mov byte [ebp - 4], 1
push 0x10335d38
mov dword [0x10335d3c], eax
call fcn.1014bb7e
add esp, 4
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
movss xmm0, dword [eax + ecx]
mov eax, dword [0x10335d3c]
mov ecx, dword [ebp - 0x24]
ucomiss xmm0, dword [ecx + eax]
lahf
test ah, 0x44
jnp 0x100e9b71
mov ecx, dword [esi]
xor edx, edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x58], 0xdead99f1
cvttss2si eax, dword [ecx + 0x138]
mov word [ebp - 0x53], ax
cvttss2si eax, dword [ecx + 0x13c]
mov word [ebp - 0x51], ax
cvttss2si eax, dword [ecx + 0x140]
add ecx, 8
mov word [ebp - 0x4f], ax
mov eax, ecx
cmove eax, edx
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
call eax
mov byte [ebp - 0x54], al
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov eax, dword [eax + 0x100]
mov byte [ebp - 0x4d], al
mov eax, dword [0x1033582c]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x4c], eax
mov ax, word [0x10335840]
mov word [ebp - 0x16], ax
mov al, byte [ebp - 0x46]
and al, 0xfc
mov byte [ebp - 0x11], al
push ecx
push 0x13
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.100e5db0
mov eax, dword [ebp - 0x38]
movups xmm0, xmmword [ebp - 0x58]
mov cx, word [ebp - 0x16]
movups xmmword [eax], xmm0
mov word [eax + 0x10], cx
mov cl, byte [ebp - 0x11]
mov byte [eax + 0x12], cl
lea eax, [ebp - 0x38]
push eax
call fcn.100bb260
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x38]
test edx, edx
je 0x100e9b71
mov ecx, dword [ebp - 0x30]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x100e9b52
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e9b89
push ecx
push edx
call fcn.1014bb22
add esp, 8
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
add esi, 0x1914
cmp esi, edi
jne 0x100e9960
lea ecx, [ebp - 0x44]
call fcn.1004d310
jmp 0x100e9c05
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov esi, dword [0x103361fc]
mov edi, dword [esi + 0x38]
mov esi, dword [esi + 0x34]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1c], esi
cmp esi, edi
je 0x100e9c05
lea ecx, [esi + 8]
mov dword [ebp - 0x18], ecx
nop dword [eax + eax]
mov edx, dword [ecx]
mov eax, dword [ecx - 4]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], eax
cmp eax, edx
je 0x100e9beb
mov edi, eax
mov esi, edx
push 0xa4c4
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add edi, 0xa4c4
add esp, 0xc
cmp edi, esi
jne 0x100e9bc3
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x28]
mov eax, dword [ecx - 4]
mov dword [ecx], eax
add esi, 0x1914
mov byte [ecx + 0x1c], 0
add ecx, 0x1914
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ecx
cmp esi, edi
jne 0x100e9bb0
mov eax, dword [ebp - 0x2c]
add eax, 0xc0
push eax
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100189c0
int3