Function at 0x100b5c90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10130830
mov eax, dword fs:[0]
push eax
sub esp, 0x44
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 eax, dword [0x1021e574]
test al, 1
jne 0x100b5e20
or eax, 1
mov dword [0x1021e574], eax
mov dword [ebp - 4], 0
mov dword [0x1021e578], 0x10161514
push 1
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP140.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Init_bool_]
mov dword [0x1021e584], eax
mov dword [0x1021e588], 0
mov dword [0x1021e598], 0
mov dword [0x1021e59c], 0xf
mov byte [0x1021e588], 0
xor eax, eax
mov dword [0x1021e5a0], 0
mov dword [0x1021e5b0], 0
mov dword [0x1021e5b4], 7
mov word [0x1021e5a0], ax
mov byte [ebp - 4], 4
push 0x34
mov word [0x1021e5c0], ax
mov byte [0x1021e5c2], al
call fcn.101283a9
mov esi, eax
add esp, 8
mov dword [ebp - 0x4c], esi
push 0
mov ecx, esi
mov byte [ebp - 4], 5
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::codecvt_wchar_t__char__struct__Mbstatet_::constructor_unsigned_int_]
mov dword [esi], 0x10161518
xorps xmm0, xmm0
mov byte [ebp - 4], 4
push dword [0x1021e584]
movlpd qword [0x1021e5b8], xmm0
mov dword [0x1021e57c], esi
call dword [sym.imp.MSVCP140.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Locimp::_New_Locimp_class_std::locale::_Locimp_const__]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::locale::id_std::codecvt_wchar_t__char__struct__Mbstatet_::id]
add esp, 4
mov edi, eax
call dword [sym.imp.MSVCP140.dll_public:_unsigned_int___thiscall_std::locale::id::operator_unsigned_int_void_]
push eax
push esi
mov ecx, edi
call dword [sym.imp.MSVCP140.dll_private:_void___thiscall_std::locale::_Locimp::_Addfac_class_std::locale::facet___unsigned_int_]
push 0x10160dac
lea ecx, [edi + 0x18]
mov dword [edi + 0x10], 0
call dword [sym.imp.MSVCP140.dll_public:_class_std::_Yarn_char_____thiscall_std::_Yarn_char_::operator_char_const__]
mov ecx, dword [0x1021e584]
cmp ecx, edi
je 0x100b5deb
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x100b5dde
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
mov dword [0x1021e584], edi
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 4]
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x100b5e02
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
push 0x10133080
mov dword [0x1021e5c4], 0
call fcn.101287f3
add esp, 4
mov dword [ebp - 4], 0xffffffff
movaps xmm0, xmmword [0x101635b0]
xor eax, eax
movaps xmm1, xmmword [0x10163740]
movups xmmword [ebp - 0x30], xmm0
movaps xmm0, xmmword [0x10163700]
movups xmmword [ebp - 0x20], xmm0
nop
movups xmm0, xmmword [ebp + eax - 0x30]
pxor xmm0, xmm1
movups xmmword [ebp + eax - 0x30], xmm0
add eax, 0x10
cmp eax, 0x20
jb 0x100b5e40
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x38], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100b5e75
sub ecx, edx
lea eax, [ebp - 0x30]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.10011990
mov dword [ebp - 4], 6
mov edx, dword [0x101f464c]
test edx, edx
je 0x100b5ea1
mov edx, dword [edx + 0x50]
jmp 0x100b5ea3
xor edx, edx
mov eax, dword [0x101f4644]
test eax, eax
je 0x100b5eb1
mov eax, dword [eax + 0x18]
jmp 0x100b5eb3
xor eax, eax
lea ecx, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.10005a30
mov dword [ebp - 4], 0xffffffff
add esp, 8
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x100b5efe
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100b5ef4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b60f9
push edx
push ecx
call fcn.10128808
add esp, 8
mov esi, dword [ebp - 0x4c]
test esi, esi
je 0x100b5f0c
lea eax, [esi + 1]
test eax, eax
jne 0x100b5f0e
xor eax, eax
mov ecx, dword [eax]
test esi, esi
je 0x100b5f19
lea eax, [esi + 5]
jmp 0x100b5f1b
xor eax, eax
add eax, ecx
call eax
lea edx, [eax + 4]
test esi, esi
je 0x100b5f2d
lea ecx, [esi + 0xc]
test ecx, ecx
jne 0x100b5f2f
xor ecx, ecx
mov ecx, dword [ecx]
test esi, esi
je 0x100b5f3a
lea eax, [esi + 0x10]
jmp 0x100b5f3c
xor eax, eax
mov eax, dword [eax + ecx + 0xa]
add eax, 0xfffffff4
mov dword [ebp - 0x4c], 0
add eax, edx
mov dword [ebp - 0x50], eax
cmp dword [eax + 0x18], 0
jl 0x100b60ff
xor edi, edi
nop dword [eax + eax]
mov eax, dword [eax]
mov esi, dword [edi + eax + 0x14]
cmp dword [esi], 0x2329
je 0x100b60e0
mov ecx, dword [0x101f46e0]
mov edx, dword [esi + 0x24]
inc edx
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, eax
cmp word [eax], 0
je 0x100b5f99
nop dword [eax]
add ecx, 2
cmp word [ecx], 0
jne 0x100b5f90
push ecx
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.100b68a0
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x28]
mov eax, dword [esi]
cmp eax, 0x2710
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x48]
push eax
jge 0x100b6018
call fcn.100113c0
mov byte [ebp - 4], 8
mov ecx, dword [0x1020407c]
cmp ecx, dword [0x10204080]
je 0x100b600c
movups xmm0, xmmword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov edx, 0xf
mov dword [ecx], eax
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
movups xmmword [ecx + 4], xmm0
mov byte [ebp - 0x28], 0
movq xmm0, qword [ebp - 0x18]
movq qword [ecx + 0x14], xmm0
add dword [0x1020407c], 0x1c
jmp 0x100b6078
lea eax, [ebp - 0x2c]
push eax
push ecx
mov ecx, 0x10204078
jmp 0x100b6070
call fcn.100113c0
mov byte [ebp - 4], 9
mov ecx, dword [0x10204094]
cmp ecx, dword [0x10204098]
je 0x100b6066
movups xmm0, xmmword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov edx, 0xf
mov dword [ecx], eax
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
movups xmmword [ecx + 4], xmm0
mov byte [ebp - 0x28], 0
movq xmm0, qword [ebp - 0x18]
movq qword [ecx + 0x14], xmm0
add dword [0x10204094], 0x1c
jmp 0x100b6078
lea eax, [ebp - 0x2c]
push eax
push ecx
mov ecx, 0x10204090
call fcn.100b6cf0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 7
cmp edx, 0x10
jb 0x100b60a9
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100b609f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b60f9
push edx
push ecx
call fcn.10128808
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x100b60e0
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100b60d6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b60f9
push edx
push ecx
call fcn.10128808
add esp, 8
mov eax, dword [ebp - 0x4c]
add edi, 0x18
mov ecx, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x4c], eax
cmp eax, dword [ecx + 0x18]
jg 0x100b60ff
mov eax, ecx
jmp 0x100b5f60
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov esi, dword [0x1020407c]
mov eax, 0x92492493
mov ecx, dword [0x10204078]
sub esi, ecx
imul esi
mov byte [ebp - 0x4c], 0
push dword [ebp - 0x4c]
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x1020407c]
push eax
call fcn.100b6ff0
mov esi, dword [0x10204094]
mov eax, 0x92492493
mov ecx, dword [0x10204090]
sub esi, ecx
imul esi
mov byte [ebp - 0x4c], 0
push dword [ebp - 0x4c]
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x10204094]
push eax
call fcn.100b6ff0
xor ecx, ecx
mov eax, 0x92492493
mov dword [ebp - 0x50], ecx
add esp, 0x10
mov ecx, dword [0x1020407c]
sub ecx, dword [0x10204078]
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100b6206
mov esi, dword [0x10204088]
xor edi, edi
nop dword [eax + eax]
mov eax, dword [0x10204078]
add eax, 4
add eax, edi
push eax
cmp esi, dword [0x1020408c]
je 0x100b61cb
mov ecx, esi
call fcn.100113c0
mov esi, dword [0x10204088]
add esi, 0x18
mov dword [0x10204088], esi
jmp 0x100b61dc
push esi
mov ecx, 0x10204084
call fcn.100b6b50
mov esi, dword [0x10204088]
mov ecx, dword [0x1020407c]
mov eax, 0x92492493
sub ecx, dword [0x10204078]
add edi, 0x1c
inc dword [ebp - 0x50]
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x50], eax
jb 0x100b61a0
mov edi, dword [0x10204090]
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov eax, 0x92492493
mov ecx, dword [0x10204094]
sub ecx, edi
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100b62a7
mov esi, dword [0x102040a0]
xor eax, eax
mov dword [ebp - 0x4c], eax
nop dword [eax]
add eax, 4
add eax, edi
push eax
cmp esi, dword [0x102040a4]
je 0x100b6266
mov ecx, esi
call fcn.100113c0
mov esi, dword [0x102040a0]
add esi, 0x18
mov dword [0x102040a0], esi
jmp 0x100b6277
push esi
mov ecx, 0x1020409c
call fcn.100b6b50
mov esi, dword [0x102040a0]
mov ecx, dword [0x10204094]
mov eax, 0x92492493
mov edi, dword [0x10204090]
sub ecx, edi
inc dword [ebp - 0x50]
add dword [ebp - 0x4c], 0x1c
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
jb 0x100b6240
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