Function at 0x100d1910
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x103250c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x24c], eax
mov eax, dword [0x10363fb8]
push edi
mov edi, ecx
test al, 1
jne 0x100d196b
or eax, 1
mov ecx, 0x1031fd08
push 0x10363fa0
mov dword [0x10363fb8], eax
call fcn.1004eea0
push 0x1016ffe0
call fcn.1010f95d
mov eax, dword [0x10363fb8]
add esp, 4
test al, 2
jne 0x100d1a80
or eax, 2
cmp byte [0x1031fd20], 0
mov dword [0x10363fb8], eax
je 0x100d19fa
cmp byte [0x1031fd21], 0
jne 0x100d1a58
mov byte [0x1031fd21], 1
xor esi, esi
nop word [eax + eax]
xor edx, edx
mov eax, esi
xor eax, dword [0x1031fd68]
xor edx, dword [0x1031fd6c]
xor eax, 0x1de26cd5
mov dword [ebp - 0x234], eax
xor edx, 0xd28f2c5
mov ecx, edx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor dword [ebp - 0x234], eax
mov ecx, dword [ebp - 0x234]
mov eax, ecx
mov dword [ebp - 0x25c], edx
shrd eax, edx, 7
xor al, byte [esi + 0x1031fd22]
xor al, cl
mov byte [esi + 0x1031fd22], al
inc esi
cmp esi, 0x43
jb 0x100d19a0
jmp 0x100d1a58
xor esi, esi
nop dword [eax]
xor edx, edx
mov eax, esi
xor eax, dword [0x1031fd68]
xor edx, dword [0x1031fd6c]
xor eax, 0x1de26cd5
mov dword [ebp - 0x234], eax
xor edx, 0xd28f2c5
mov ecx, edx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor dword [ebp - 0x234], eax
mov ecx, dword [ebp - 0x234]
mov eax, ecx
mov dword [ebp - 0x25c], edx
shrd eax, edx, 7
xor al, byte [esi + 0x1031fd22]
xor al, cl
mov byte [esi + 0x1031fd22], al
inc esi
cmp esi, 0x43
jb 0x100d1a00
lea eax, [ebp - 0x24d]
mov ecx, 0x10363fbc
push eax
push 0x1031fd64
push 0x1031fd22
call fcn.1004d5e0
push 0x1016ff60
call fcn.1010f95d
add esp, 4
lea esi, [edi + 8]
mov edi, dword [esi + 4]
cmp edi, dword [esi + 8]
je 0x100d1ab0
push 0xec4c
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, edi
call fcn.100d1030
mov edi, dword [esi + 4]
lea eax, [edi + 0xec4c]
mov dword [esi + 4], eax
jmp 0x100d1aba
push edi
mov ecx, esi
call fcn.100d0b30
mov edi, eax
push dword [0x1019e020]
call fcn.100625d0
mov ecx, dword [ebp - 0x24c]
fstp dword [edi + 0x14]
mov dword [edi + 0x18], 0
mov word [edi], 0
mov dword [edi + 8], 0xffffffff
lea eax, [ecx + 0x10]
mov dword [ebp - 0x25c], eax
mov eax, dword [eax]
mov dword [edi + 4], eax
movq xmm0, qword [0x1019e0fc]
movq qword [edi + 0x24], xmm0
mov eax, dword [0x1019e104]
mov dword [edi + 0x2c], eax
mov dword [edi + 0xc], 0xffffffff
mov eax, dword [ecx + 0x28]
mov dword [edi + 0x1c], eax
mov eax, dword [ecx + 8]
mov dword [edi + 0x10], eax
lea eax, [edi + 0x4c]
push 0xe8b4
push dword [ecx + 0x30]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x23c]
add esp, 0x10
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
imul ecx, eax, 0x34c
lea esi, [edi + 0xe900]
mov dword [edi + 0x20], eax
lea edx, [esi + 0x10]
add ecx, 0x1019eb68
mov dword [ebp - 0x234], ecx
mov al, byte [ecx]
mov byte [esi], al
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
mov eax, dword [ecx + 8]
mov dword [esi + 8], eax
mov eax, dword [ecx + 0xc]
mov dword [esi + 0xc], eax
lea eax, [ecx + 0x10]
cmp edx, eax
je 0x100d1b91
cmp dword [eax + 0x14], 0xf
mov edx, dword [eax + 0x10]
jbe 0x100d1b81
mov eax, dword [eax]
push edx
push eax
lea ecx, [esi + 0x10]
call fcn.10045050
mov ecx, dword [ebp - 0x234]
lea eax, [esi + 0x28]
sub ecx, esi
mov edx, 0xd
nop dword [eax + eax]
lea eax, [eax + 0x38]
movups xmm0, xmmword [ecx + eax - 0x38]
movups xmmword [eax - 0x38], xmm0
movups xmm0, xmmword [ecx + eax - 0x28]
movups xmmword [eax - 0x28], xmm0
movups xmm0, xmmword [ecx + eax - 0x18]
movups xmmword [eax - 0x18], xmm0
movq xmm0, qword [ecx + eax - 8]
movq qword [eax - 8], xmm0
sub edx, 1
jne 0x100d1ba0
mov eax, dword [ebp - 0x234]
movups xmm0, xmmword [eax + 0x300]
movups xmmword [esi + 0x300], xmm0
movups xmm0, xmmword [eax + 0x310]
movups xmmword [esi + 0x310], xmm0
movups xmm0, xmmword [eax + 0x320]
movups xmmword [esi + 0x320], xmm0
movups xmm0, xmmword [eax + 0x330]
movups xmmword [esi + 0x330], xmm0
movq xmm0, qword [eax + 0x340]
movq qword [esi + 0x340], xmm0
mov eax, dword [eax + 0x348]
mov dword [esi + 0x348], eax
mov eax, dword [ebp - 0x24c]
movq xmm0, qword [eax + 0x34]
movq qword [edi + 0x3c], xmm0
mov eax, dword [eax + 0x3c]
mov dword [edi + 0x44], eax
test byte [0x103178a0], 4
je 0x100d23c5
push 0x80
xorps xmm0, xmm0
lea eax, [ebp - 0x220]
push edx
push eax
movlpd qword [ebp - 0x230], xmm0
movq qword [ebp - 0x228], xmm0
call sub.VCRUNTIME140.dll_memset
push 0x80
xorps xmm0, xmm0
mov dword [ebp - 0x1a0], 0
lea eax, [ebp - 0x174]
mov dword [ebp - 0x18c], 0
push 0
push eax
movups xmmword [ebp - 0x19c], xmm0
mov dword [ebp - 0x178], 0
movups xmmword [ebp - 0x188], xmm0
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebp - 0x23c]
add esp, 0x18
add ecx, 8
mov word [ebp - 0xf4], 0
xorps xmm0, xmm0
mov byte [ebp - 0xe0], 0
movups xmmword [ebp - 0xf0], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x10325ec0]
lea esi, [ebp - 0x230]
push esi
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
call eax
xorps xmm0, xmm0
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x220]
mov dword [ebp - 8], 0
movups xmmword [ebp - 0x1c], xmm0
lea edx, [ecx + 1]
lea esi, [edi + 0xe900]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d1d18
sub ecx, edx
lea eax, [ebp - 0x220]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.10041b20
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x4c]
call fcn.10042a60
mov ecx, dword [ebp - 8]
cmp ecx, 0xf
jbe 0x100d1d73
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d1d69
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d1d69
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010f64a
add esp, 8
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0x14
jbe 0x100d1e1d
cmp dword [ebp - 0x38], 0xf
lea esi, [ecx - 0x14]
lea edx, [ebp - 0x4c]
cmova edx, dword [ebp - 0x4c]
sub ecx, esi
add edx, 0x14
mov dword [ebp - 0x238], ecx
add ecx, 0xffffffed
push ecx
lea eax, [edx + esi]
push eax
push edx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x238]
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ecx, 0x1031fcf8
lea eax, [ebp - 0x1c]
push eax
call fcn.1006b160
cmp dword [ebp - 8], 0xf
lea edx, [ebp - 0x1c]
cmova edx, dword [ebp - 0x1c]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d1dd0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x4c]
call fcn.10044950
mov ecx, dword [ebp - 8]
cmp ecx, 0xf
jbe 0x100d1e17
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d1e0d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d23b5
push ecx
push edx
call fcn.1010f64a
add esp, 8
lea esi, [edi + 0xe900]
mov eax, dword [0x10326794]
test al, 1
jne 0x100d1e3c
mov ecx, dword [0x10326704]
or eax, 1
mov dword [0x10326794], eax
mov dword [0x10326790], ecx
jmp 0x100d1e42
mov ecx, dword [0x10326790]
mov eax, dword [ebp - 0x24c]
push ecx
mov eax, dword [eax + 0x30]
movss xmm0, dword [eax + 0x30]
mov eax, dword [ebp - 0x23c]
subss xmm0, dword [eax + ecx]
andps xmm0, xmmword [0x10172630]
movss dword [esp], xmm0
call fcn.100625f0
add esp, 4
mov dword [ebp - 0x268], eax
cmp byte [esi], 0
je 0x100d1f7f
mov ecx, dword [0x10363fb0]
lea esi, [edi + 0xe910]
mov edx, dword [esi + 0x10]
mov eax, 0x7fffffff
sub eax, ecx
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x258], edx
cmp eax, edx
jb 0x100d23d7
cmp dword [0x10363fb4], 0xf
mov eax, 0x10363fa0
cmova eax, dword [0x10363fa0]
cmp dword [esi + 0x14], 0xf
mov dword [ebp - 0x254], eax
jbe 0x100d1eca
mov esi, dword [esi]
lea eax, [ecx + edx]
mov dword [ebp - 0x24], 0
mov edx, 0xf
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x238], eax
xorps xmm0, xmm0
lea edi, [ebp - 0x34]
movups xmmword [ebp - 0x34], xmm0
cmp eax, edx
jbe 0x100d1f3e
or eax, edx
cmp eax, 0x7fffffff
jbe 0x100d1f04
mov eax, 0x7fffffff
jmp 0x100d1f0e
mov ecx, 0x16
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0x23c], eax
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.10041ac0
mov edx, dword [ebp - 0x23c]
mov edi, eax
mov eax, dword [ebp - 0x238]
add esp, 8
mov ecx, dword [ebp - 0x234]
mov dword [ebp - 0x34], edi
push ecx
push dword [ebp - 0x254]
mov dword [ebp - 0x24], eax
push edi
mov dword [ebp - 0x20], edx
call sub.VCRUNTIME140.dll_memcpy
push dword [ebp - 0x258]
mov eax, dword [ebp - 0x234]
add eax, edi
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x238]
add esp, 0x18
xor esi, esi
mov byte [edi + eax], 0
lea eax, [ebp - 0x34]
mov edi, 1
jmp 0x100d1fa0
xor edi, edi
mov dword [ebp - 0xc], 0
xorps xmm0, xmm0
mov dword [ebp - 8], 0xf
movups xmmword [ebp - 0x1c], xmm0
mov byte [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
lea esi, [edi + 2]
mov ecx, dword [ebp - 0x24c]
mov dword [ebp - 0x238], eax
movss xmm0, dword [ecx + 0x28]
mulss xmm0, dword [0x10172564]
push dword [ecx + 8]
cvttss2si eax, xmm0
mov dword [ebp - 0x264], eax
lea eax, [ebp - 0x7c]
push eax
call fcn.100dfed0
add esp, 8
mov dword [ebp - 0x258], eax
cmp dword [0x10363fd0], 0xf
lea ecx, [ebp - 0x120]
mov eax, 0x10363fbc
mov dword [ebp - 0x170], 0x10176f00
cmova eax, dword [0x10363fbc]
mov dword [ebp - 0x254], eax
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
push 0
lea eax, [ebp - 0x16c]
push eax
lea ecx, [ebp - 0x170]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov eax, dword [ebp - 0x170]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x170], 0x10176efc
mov eax, dword [ebp - 0x170]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x174], eax
lea ecx, [ebp - 0x16c]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
lea eax, [ebp - 0xd0]
mov dword [ebp - 0x16c], 0x10176be0
mov dword [ebp - 0xd8], eax
mov ecx, 7
mov dword [ebp - 0x134], 0
lea eax, [ebp - 0xc8]
mov dword [ebp - 0x130], 4
mov dword [ebp - 0xd4], 7
mov dword [eax - 8], 0
lea eax, [eax + 0xc]
mov dword [eax - 0x10], 0
mov dword [eax - 0xc], 0
sub ecx, 1
jne 0x100d2090
push dword [ebp - 0xd4]
mov dword [ebp - 0x244], 0x10076850
lea eax, [ebp - 0x4c]
push dword [ebp - 0xd8]
mov dword [ebp - 0x248], eax
movq xmm0, qword [ebp - 0x248]
mov eax, dword [ebp - 0x258]
push dword [ebp - 0x254]
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x264]
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0x244], 0x10076850
movq xmm0, qword [ebp - 0x248]
mov dword [ebp - 0x248], eax
mov eax, dword [ebp - 0x24c]
movq qword [ebp - 0xc4], xmm0
add eax, 0xc
mov dword [ebp - 0x244], 0x100b4c60
movq xmm0, qword [ebp - 0x248]
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x268]
movq qword [ebp - 0xb8], xmm0
mov dword [ebp - 0x244], 0x100b4c60
movq xmm0, qword [ebp - 0x248]
mov dword [ebp - 0x248], eax
mov eax, dword [ebp - 0x25c]
movq qword [ebp - 0xac], xmm0
mov dword [ebp - 0x244], 0x100b4c60
movq xmm0, qword [ebp - 0x248]
mov dword [ebp - 0x248], eax
mov eax, dword [ebp - 0x238]
movq qword [ebp - 0xa0], xmm0
mov dword [ebp - 0x244], 0x100b4c60
movq xmm0, qword [ebp - 0x248]
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x170]
movq qword [ebp - 0x94], xmm0
mov dword [ebp - 0x244], 0x10076850
movq xmm0, qword [ebp - 0x248]
push eax
mov dword [ebp - 0xc8], fcn.10076a20
mov dword [ebp - 0xbc], fcn.10076a20
mov dword [ebp - 0xb0], 0x10076a10
mov dword [ebp - 0xa4], 0x10076a10
mov dword [ebp - 0x98], 0x10076a10
mov dword [ebp - 0x8c], 0x10076a10
movq qword [ebp - 0x88], xmm0
mov dword [ebp - 0x80], fcn.10076a20
call fcn.1007bcb0
add esp, 0x10
lea eax, [ebp - 0x64]
lea ecx, [ebp - 0x170]
push eax
call fcn.1004b740
mov eax, dword [ebp - 0x170]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x170], 0x10176efc
mov eax, dword [ebp - 0x170]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x174], eax
lea ecx, [ebp - 0x16c]
call fcn.10042ff0
lea ecx, [ebp - 0x168]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x120]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, dword [ebp - 0x68]
cmp ecx, 0xf
jbe 0x100d22a8
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d229e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d232a
push ecx
push edx
call fcn.1010f64a
add esp, 8
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
test esi, esi
je 0x100d2300
mov ecx, dword [ebp - 8]
cmp ecx, 0xf
jbe 0x100d22ee
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d22e4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d232a
push ecx
push edx
call fcn.1010f64a
add esp, 8
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], 0
test edi, edi
je 0x100d233a
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x100d233a
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d2330
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d2330
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010f64a
add esp, 8
mov ecx, dword [0x1035fa2c]
lea eax, [ebp - 0x64]
push 1
push 0xffffffffffffffff
push eax
call fcn.100fdeb0
mov ecx, dword [ebp - 0x50]
cmp ecx, 0xf
jbe 0x100d237d
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d2373
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d23b5
push ecx
push edx
call fcn.1010f64a
add esp, 8
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
cmp ecx, 0xf
jbe 0x100d23c5
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d23bb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d23bb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010f64a
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1010f972
mov esp, ebp
pop ebp
ret 8
call fcn.100446a0
int3