Function at 0x10104b00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x10331c40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x244], eax
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x23c], eax
mov eax, dword [0x103405a8]
push edi
mov edi, ecx
test al, 1
jne 0x10104bc9
or eax, 1
cmp byte [0x1032fbb0], 0
mov dword [0x103405a8], eax
je 0x10104b60
cmp byte [0x1032fbb1], 0
jne 0x10104ba1
mov byte [0x1032fbb1], 1
nop word [eax + eax]
mov edx, dword [0x1032fbbc]
mov eax, dword [0x1032fbb8]
xor edx, 0xd28f2c5
xor eax, 0x1de26cd5
mov ecx, edx
mov dword [ebp - 0x234], eax
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor dword [ebp - 0x234], eax
mov ecx, dword [ebp - 0x234]
mov eax, ecx
shrd eax, edx, 7
xor al, cl
xor byte [0x1032fbb2], al
lea eax, [ebp - 0x235]
mov ecx, 0x10340590
push eax
push 0x1032fbb2
push 0x1032fbb2
call fcn.10054040
push 0x101b9810
call fcn.101556ad
add esp, 4
mov eax, dword [0x103405c4]
test al, 1
jne 0x10104cd0
or eax, 1
cmp byte [0x1032fbc0], 0
mov dword [0x103405c4], eax
je 0x10104c54
cmp byte [0x1032fbc1], 0
jne 0x10104ca8
mov byte [0x1032fbc1], 1
xor esi, esi
nop dword [eax]
xor edx, edx
mov eax, esi
xor eax, dword [0x1032fc20]
xor edx, dword [0x1032fc24]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [ebp - 0x234], eax
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 - 0x250], edx
shrd eax, edx, 7
xor al, cl
xor byte [esi + 0x1032fbc2], al
inc esi
cmp esi, 0x5e
jb 0x10104c00
jmp 0x10104ca8
xor esi, esi
xor edx, edx
mov eax, esi
xor eax, dword [0x1032fc20]
xor edx, dword [0x1032fc24]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [ebp - 0x234], eax
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 - 0x250], edx
shrd eax, edx, 7
xor al, cl
xor byte [esi + 0x1032fbc2], al
inc esi
cmp esi, 0x5e
jb 0x10104c56
lea eax, [ebp - 0x235]
mov ecx, 0x103405ac
push eax
push 0x1032fc1f
push 0x1032fbc2
call fcn.10054040
push 0x101b97b0
call fcn.101556ad
add esp, 4
lea esi, [edi + 8]
mov edi, dword [esi + 4]
cmp edi, dword [esi + 8]
je 0x10104d00
push 0xe988
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, edi
call fcn.10104250
mov edi, dword [esi + 4]
lea eax, [edi + 0xe988]
mov dword [esi + 4], eax
jmp 0x10104d0a
push edi
mov ecx, esi
call fcn.10103d30
mov edi, eax
push dword [0x1020a020]
call fcn.1006e4b0
mov ecx, dword [ebp - 0x23c]
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 - 0x250], eax
mov eax, dword [eax]
mov dword [edi + 4], eax
movq xmm0, qword [0x1020a0fc]
movq qword [edi + 0x24], xmm0
mov eax, dword [0x1020a104]
mov dword [edi + 0x2c], eax
mov dword [edi + 0xc], 0xffffffff
mov eax, dword [ecx + 0x24]
mov dword [edi + 0x1c], eax
mov eax, dword [ecx + 8]
mov dword [edi + 0x10], eax
lea eax, [edi + 0x48]
push 0xe8c4
push dword [ecx + 0x2c]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x244]
add esp, 0x10
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
imul esi, eax, 0x7c
lea ecx, [edi + 0xe924]
mov dword [edi + 0x20], eax
add esi, 0x1020af48
mov al, byte [esi]
mov byte [edi + 0xe90c], al
mov eax, dword [esi + 4]
mov dword [edi + 0xe910], eax
mov eax, dword [esi + 8]
mov dword [edi + 0xe914], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0xe918], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0xe91c], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0xe920], eax
lea eax, [esi + 0x18]
cmp ecx, eax
je 0x10104deb
cmp dword [eax + 0x14], 0xf
mov edx, dword [eax + 0x10]
jbe 0x10104de4
mov eax, dword [eax]
push edx
push eax
call fcn.1004b9a0
movups xmm0, xmmword [esi + 0x30]
movups xmmword [edi + 0xe93c], xmm0
movups xmm0, xmmword [esi + 0x40]
movups xmmword [edi + 0xe94c], xmm0
movups xmm0, xmmword [esi + 0x50]
movups xmmword [edi + 0xe95c], xmm0
movups xmm0, xmmword [esi + 0x60]
movups xmmword [edi + 0xe96c], xmm0
movq xmm0, qword [esi + 0x70]
movq qword [edi + 0xe97c], xmm0
mov eax, dword [esi + 0x78]
mov esi, dword [ebp - 0x23c]
mov dword [edi + 0xe984], eax
movq xmm0, qword [esi + 0x30]
movq qword [edi + 0x3c], xmm0
mov eax, dword [esi + 0x38]
mov dword [edi + 0x44], eax
test byte [0x10326198], 4
je 0x10105565
push 0x80
xorps xmm0, xmm0
lea eax, [ebp - 0x220]
push 0
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 - 0x244]
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 [0x10332c90]
lea esi, [ebp - 0x230]
push esi
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
call eax
mov esi, dword [ebp - 0x23c]
lea ecx, [ebp - 0x220]
xorps xmm0, xmm0
mov dword [ebp - 0xc], 0
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 8], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10104f20
sub ecx, edx
lea eax, [ebp - 0x220]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.100481b0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x4c]
call fcn.100492f0
mov ecx, dword [ebp - 8]
cmp ecx, 0xf
jbe 0x10104f7b
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10104f71
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10104f71
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1015539a
add esp, 8
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0x14
jbe 0x10105025
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 - 0x240], ecx
add ecx, 0xffffffed
push ecx
lea eax, [edx + esi]
push eax
push edx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x240]
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ecx, 0x1032c320
lea eax, [ebp - 0x1c]
push eax
call fcn.10077200
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 0x10104fd8
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x4c]
call fcn.1004b140
mov ecx, dword [ebp - 8]
cmp ecx, 0xf
jbe 0x1010501f
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10105015
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10105555
push ecx
push edx
call fcn.1015539a
add esp, 8
mov esi, dword [ebp - 0x23c]
mov eax, dword [0x10333574]
test al, 1
jne 0x10105044
mov ecx, dword [0x103334e4]
or eax, 1
mov dword [0x10333574], eax
mov dword [0x10333570], ecx
jmp 0x1010504a
mov ecx, dword [0x10333570]
mov eax, dword [esi + 0x2c]
push ecx
movss xmm0, dword [eax + 0x28]
mov eax, dword [ebp - 0x244]
subss xmm0, dword [eax + ecx]
andps xmm0, xmmword [0x101bba30]
movss dword [esp], xmm0
call fcn.1006e4d0
add esp, 4
mov dword [ebp - 0x25c], eax
cmp byte [edi + 0xe90c], 0
je 0x10105185
mov ecx, dword [0x103405a0]
add edi, 0xe924
mov eax, 0x7fffffff
mov dword [ebp - 0x234], ecx
sub eax, ecx
mov edx, dword [edi + 0x10]
mov dword [ebp - 0x24c], edx
cmp eax, edx
jb 0x10105577
cmp dword [0x103405a4], 0xf
mov eax, 0x10340590
cmova eax, dword [0x10340590]
cmp dword [edi + 0x14], 0xf
mov dword [ebp - 0x248], eax
jbe 0x101050d0
mov edi, dword [edi]
lea eax, [ecx + edx]
mov dword [ebp - 0x24], 0
mov edx, 0xf
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x240], eax
xorps xmm0, xmm0
lea esi, [ebp - 0x34]
movups xmmword [ebp - 0x34], xmm0
cmp eax, edx
jbe 0x10105144
or eax, edx
cmp eax, 0x7fffffff
jbe 0x1010510a
mov eax, 0x7fffffff
jmp 0x10105114
mov ecx, 0x16
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0x244], eax
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.10048150
mov edx, dword [ebp - 0x244]
mov esi, eax
mov eax, dword [ebp - 0x240]
add esp, 8
mov ecx, dword [ebp - 0x234]
mov dword [ebp - 0x34], esi
push ecx
push dword [ebp - 0x248]
mov dword [ebp - 0x24], eax
push esi
mov dword [ebp - 0x20], edx
call sub.VCRUNTIME140.dll_memcpy
push dword [ebp - 0x24c]
mov eax, dword [ebp - 0x234]
add eax, esi
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x240]
add esp, 0x18
mov edi, 1
mov byte [esi + eax], 0
lea eax, [ebp - 0x34]
xor esi, esi
jmp 0x101051a6
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 - 0x23c]
mov dword [ebp - 0x240], eax
movss xmm0, dword [ecx + 0x24]
mulss xmm0, dword [0x101bb96c]
push dword [ecx + 8]
cvttss2si eax, xmm0
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0xd8]
push eax
call fcn.101139a0
add esp, 8
mov dword [ebp - 0x24c], eax
cmp dword [0x103405c0], 0xf
lea ecx, [ebp - 0x120]
mov eax, 0x103405ac
mov dword [ebp - 0x170], 0x101c0160
cmova eax, dword [0x103405ac]
mov dword [ebp - 0x248], 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], 0x101c015c
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 - 0xa0]
mov dword [ebp - 0x16c], 0x101bfe40
mov dword [ebp - 0xa8], eax
mov ecx, 7
mov dword [ebp - 0x134], 0
lea eax, [ebp - 0x98]
mov dword [ebp - 0x130], 4
mov dword [ebp - 0xa4], 7
nop dword [eax]
mov dword [eax - 8], 0
lea eax, [eax + 0xc]
mov dword [eax - 0x10], 0
mov dword [eax - 0xc], 0
sub ecx, 1
jne 0x101052a0
push dword [ebp - 0xa4]
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x9c], 0x1007e6e0
push dword [ebp - 0xa8]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x24c]
push dword [ebp - 0x248]
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x258]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x23c]
add eax, 0xc
mov dword [ebp - 0x98], fcn.1007e8b0
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x170]
push eax
mov dword [ebp - 0x90], 0x1007e6e0
mov dword [ebp - 0x8c], fcn.1007e8b0
mov dword [ebp - 0x84], 0x100e2d00
mov dword [ebp - 0x80], 0x1007e8a0
mov dword [ebp - 0x78], 0x100e2d00
mov dword [ebp - 0x74], 0x1007e8a0
mov dword [ebp - 0x6c], 0x100e2d00
mov dword [ebp - 0x68], 0x1007e8a0
mov dword [ebp - 0x60], 0x100e2d00
mov dword [ebp - 0x5c], 0x1007e8a0
mov dword [ebp - 0x54], 0x1007e6e0
mov dword [ebp - 0x50], fcn.1007e8b0
call fcn.10083d50
add esp, 0x10
lea eax, [ebp - 0xc0]
lea ecx, [ebp - 0x170]
push eax
call fcn.10052180
mov eax, dword [ebp - 0x170]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x170], 0x101c015c
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.10049880
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 - 0xc4]
cmp ecx, 0xf
jbe 0x1010542d
mov edx, dword [ebp - 0xd8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10105423
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101054b8
push ecx
push edx
call fcn.1015539a
add esp, 8
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0xf
mov byte [ebp - 0xd8], 0
test esi, esi
je 0x1010548e
mov ecx, dword [ebp - 8]
cmp ecx, 0xf
jbe 0x1010547c
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10105472
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101054b8
push ecx
push edx
call fcn.1015539a
add esp, 8
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], 0
test edi, edi
je 0x101054c8
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x101054c8
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101054be
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x101054be
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1015539a
add esp, 8
mov ecx, dword [0x1033743c]
lea eax, [ebp - 0xc0]
push 1
push 0xffffffffffffffff
push eax
call fcn.10124f90
mov ecx, dword [ebp - 0xac]
cmp ecx, 0xf
jbe 0x10105514
mov edx, dword [ebp - 0xc0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010550a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10105555
push ecx
push edx
call fcn.1015539a
add esp, 8
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], 0
cmp ecx, 0xf
jbe 0x10105565
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010555b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1010555b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1015539a
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.101556c2
mov esp, ebp
pop ebp
ret 8
call fcn.1004ae90
int3