Function at 0x1003bfc0
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 0x101184e3
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x128
mov eax, dword [0x1013a0c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x1013a5fc], 0
je 0x1003c44a
push 0x1013a600
lea ecx, [ebp - 0x58]
call fcn.1002d280
mov dword [ebp - 4], 0
xor eax, eax
mov ecx, dword [0x1014dc20]
mov dword [ebp - 0x120], 0xcfd0cbcc
mov dword [ebp - 0x11c], 0x8ad7ddc1
mov word [ebp - 0x118], 0xd3d4
mov byte [ebp - 0x116], 0xa4
nop dword [eax]
xor byte [ebp + eax - 0x120], 0xa4
inc eax
cmp eax, 0xb
jb 0x1003c050
cmp dword [ebp - 0x44], 0xf
lea edx, [ebp - 0x120]
lea eax, [ebp - 0x58]
cmova eax, dword [ebp - 0x58]
push edx
push eax
call ecx
push 0xb8
lea eax, [ebp - 0x110]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x110]
call fcn.1003dc90
mov byte [ebp - 4], 1
cmp dword [ebp - 0xb4], 0
je 0x1003c3e2
mov eax, dword [ebp - 0x110]
lea ecx, [ebp - 0x110]
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::fail_void_const]
test al, al
jne 0x1003c3e2
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], al
push 2
push 0
push 0
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int_]
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x110]
call dword [sym.imp.MSVCP140.dll_public:_class_std::fpos_struct__Mbstatet____thiscall_std::basic_istream_char__struct_std::char_traits_char__::tellg_void_]
mov edx, dword [eax + 8]
add edx, dword [eax]
mov eax, dword [ebp - 0x1c]
cmp edx, eax
ja 0x1003c124
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], edx
cmova eax, dword [ebp - 0x2c]
mov byte [eax + edx], 0
jmp 0x1003c131
push 0
sub edx, eax
lea ecx, [ebp - 0x2c]
push edx
call fcn.10038a70
push 0
push 0
push 0
lea ecx, [ebp - 0x110]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int_]
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x2c]
push 0
push dword [ebp - 0x1c]
cmova eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x110]
push eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::read_char___long_long___int64__]
lea ecx, [ebp - 0x100]
call fcn.10031770
test eax, eax
jne 0x1003c188
mov eax, dword [ebp - 0x110]
lea ecx, [ebp - 0x110]
push 0
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x138]
call fcn.1003bc10
sub esp, 0x28
mov byte [ebp - 4], 3
mov ecx, esp
mov edx, eax
mov dword [ecx + 0x24], 0
lea ecx, [ebp - 0x40]
call fcn.1003f9f0
add esp, 0x28
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x124]
cmp ecx, 0xf
jbe 0x1003c1f3
mov edx, dword [ebp - 0x138]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003c1e9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003c1e9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10115831
add esp, 8
push 0x1014c29c
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0xf
mov byte [ebp - 0x138], 0
call fcn.1003df10
mov ecx, eax
call fcn.100426b0
cmp dword [0x1014c2d0], eax
mov dword [0x1014c2d0], eax
setne cl
test cl, cl
je 0x1003c23f
mov eax, dword [0x1014c2c8]
test eax, eax
je 0x1003c23f
call eax
push 0x1014c334
lea ecx, [ebp - 0x40]
call fcn.1003df10
mov ecx, eax
call fcn.100426b0
cmp dword [0x1014c368], eax
mov dword [0x1014c368], eax
setne cl
test cl, cl
je 0x1003c270
mov eax, dword [0x1014c360]
test eax, eax
je 0x1003c270
call eax
push 0x1014c3cc
lea ecx, [ebp - 0x40]
call fcn.1003df10
mov ecx, eax
call fcn.100426b0
cmp dword [0x1014c400], eax
mov dword [0x1014c400], eax
setne cl
test cl, cl
je 0x1003c2a1
mov eax, dword [0x1014c3f8]
test eax, eax
je 0x1003c2a1
call eax
push 0x1014c464
lea ecx, [ebp - 0x40]
call fcn.1003df10
mov ecx, eax
call fcn.100426b0
cmp dword [0x1014c498], eax
mov dword [0x1014c498], eax
setne cl
test cl, cl
je 0x1003c2d2
mov eax, dword [0x1014c490]
test eax, eax
je 0x1003c2d2
call eax
push 0x1014c4fc
lea ecx, [ebp - 0x40]
call fcn.1003df10
mov ecx, eax
call fcn.100426b0
cmp dword [0x1014c530], eax
mov dword [0x1014c530], eax
setne cl
test cl, cl
je 0x1003c303
mov eax, dword [0x1014c528]
test eax, eax
je 0x1003c303
call eax
push 0x1014c594
lea ecx, [ebp - 0x40]
call fcn.1003df10
mov ecx, eax
call fcn.100426b0
cmp dword [0x1014c5c8], eax
mov dword [0x1014c5c8], eax
setne cl
test cl, cl
je 0x1003c334
mov eax, dword [0x1014c5c0]
test eax, eax
je 0x1003c334
call eax
push 0x1014c62c
lea ecx, [ebp - 0x40]
call fcn.1003df10
mov ecx, eax
call fcn.100426b0
cmp dword [0x1014c660], eax
mov dword [0x1014c660], eax
setne cl
test cl, cl
je 0x1003c365
mov eax, dword [0x1014c658]
test eax, eax
je 0x1003c365
call eax
push 0x1014c6c4
lea ecx, [ebp - 0x40]
call fcn.1003df10
mov ecx, eax
call fcn.100426b0
cmp dword [0x1014c6f8], eax
mov dword [0x1014c6f8], eax
setne cl
test cl, cl
je 0x1003c396
mov eax, dword [0x1014c6f0]
test eax, eax
je 0x1003c396
call eax
lea ecx, [ebp - 0x40]
call fcn.1003e210
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x1003c3ce
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003c3c4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003c43a
push ecx
push edx
call fcn.10115831
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
jmp 0x1003c409
lea ecx, [ebp - 0x100]
call fcn.10031770
test eax, eax
jne 0x1003c409
push eax
mov eax, dword [ebp - 0x110]
lea ecx, [ebp - 0x110]
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea ecx, [ebp - 0x110]
call fcn.1003c470
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x1003c44a
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003c440
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003c440
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10115831
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101153b6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret