Function at 0x621cd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b3f8b
mov eax, dword fs:[0]
push eax
sub esp, 0x4bc
mov eax, dword [0x831184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x21c], 0
movups xmmword [ebp - 0x250], xmm0
mov dword [ebp - 0x220], esi
movups xmmword [ebp - 0x240], xmm0
mov dword [ebp - 0x24c], 0
mov byte [ebp - 0x248], 0
mov dword [ebp - 0x244], 2
mov dword [ebp - method.K.3.virtual_0], vtable.K.3.0
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 4], 0
push 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
mov byte [ebp - 4], 0
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push 1
push 1
lea eax, [ebp - 0x3dc]
mov dword [ebp - 0x24c], 0
push 0x7d740c
push eax
call fcn.004160c0
add esp, 0xc
mov byte [ebp - 4], 2
lea eax, [ebp - 0x3dc]
lea ecx, [ebp - 0x250]
push eax
call fcn.00416740
lea ecx, [ebp - 0x3dc]
mov byte [ebp - 4], 0
call fcn.00416250
push 0
push 1
lea eax, [ebp - 0x3dc]
push 0x7d740c
push eax
call fcn.004160c0
add esp, 8
mov byte [ebp - 4], 3
lea eax, [ebp - 0x3dc]
lea ecx, [ebp - 0x250]
push eax
call fcn.00416740
lea ecx, [ebp - 0x3dc]
mov byte [ebp - 4], 0
call fcn.00416250
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x3dc]
push 0x7d7414
push eax
call fcn.004160c0
mov edi, 7
add esp, 0xc
mov byte [ebp - 4], 4
lea eax, [ebp - 0x3dc]
lea ecx, [ebp - 0x250]
push eax
call fcn.00416740
lea ecx, [ebp - 0x3dc]
mov byte [ebp - 4], 0
call fcn.00416250
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x621e56
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
lea ecx, [ebp - 0x250]
push 0
call fcn.004164d0
push eax
push 0
push 0
push 4
push 2
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
test eax, eax
je 0x622145
push 0xb0
lea eax, [ebp - 0x300]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x300], 0x7d6f90
lea ecx, [ebp - 0x298]
mov dword [ebp - 0x2f0], 0x7d7228
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov eax, 0xf
mov byte [ebp - 4], 5
mov dword [ebp - 0x33c], eax
lea ecx, [ebp - 0x300]
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x2e8]
push 0
push eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t____]
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x300]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x300], 0x7c81a4
mov eax, dword [ebp - 0x300]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x304], eax
lea ecx, [ebp - 0x2e8]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov dword [ebp - 0x2e8], 0x7c8164
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2ac], 0
mov byte [ebp - 4], 7
mov eax, 0x1a
mov dword [ebp - 0x37c], eax
xor ecx, ecx
mov dword [ebp - 0x378], 0xcf00fa
mov dword [ebp - 0x374], 0xe200df
mov dword [ebp - 0x370], 0xc300cc
mov dword [ebp - 0x36c], 0xd400ca
mov dword [ebp - 0x368], 0xd700e2
mov dword [ebp - 0x364], 0xc100d0
mov dword [ebp - 0x360], 0xdf00c7
mov dword [ebp - 0x35c], 0xc100c3
mov dword [ebp - 0x358], 0xd400f0
mov dword [ebp - 0x354], 0xd300dd
mov dword [ebp - 0x350], 0xdb009d
mov dword [ebp - 0x34c], 0xb200cd
mov dword [ebp - 0x348], 0xb000ae
mov dword [ebp - 0x344], 0xc3
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x378], ax
inc ecx
mov eax, dword [ebp - 0x37c]
cmp ecx, eax
jb 0x621ff0
xor ecx, ecx
mov word [ebp + eax*2 - 0x378], cx
lea eax, [ebp - 0x378]
push eax
lea eax, [ebp - 0x2f0]
push eax
call fcn.00404740
add esp, 8
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x622033
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
push eax
call fcn.00404c80
add esp, 0xc
call fcn.004345f0
mov dword [ebp - 0x338], eax
lea eax, [ebp - 0x4c8]
push eax
call fcn.00622960
mov edi, eax
xor ecx, ecx
mov edx, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0x21c], eax
test edx, edx
je 0x62208d
mov esi, eax
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x622070
mov esi, dword [ebp - 0x220]
mov eax, dword [ebp - 0x21c]
xor ecx, ecx
mov word [eax + edx*2], cx
lea eax, [ebp - 0x41c]
push eax
call fcn.0061f9f0
mov edi, eax
mov edx, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0x334], eax
test edx, edx
je 0x6220cf
mov esi, eax
lea eax, [ecx + 0xa9]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x6220b2
mov esi, dword [ebp - 0x220]
mov eax, dword [ebp - 0x334]
xor ecx, ecx
mov word [eax + edx*2], cx
lea ecx, [ebp - 0x300]
push ecx
push dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x338]
push 0xe0
push eax
push 0
call fcn.00469f50
mov eax, dword [ebp - 0x300]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x300], 0x7c81a4
mov eax, dword [ebp - 0x300]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x304], eax
lea ecx, [ebp - 0x2e8]
call fcn.004073e0
lea ecx, [ebp - 0x2e0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x298]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
mov edi, dword [ebp - 0x33c]
push 0x30
lea eax, [ebp - 0x330]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [ebp - 0x310], 0
xorps xmm0, xmm0
mov dword [ebp - 0x30c], 7
add esp, 0xc
mov word [ebp - 0x320], ax
movups xmmword [ebp - 0x330], xmm0
mov word [ebp - 0x308], ax
mov byte [ebp - 0x306], al
mov byte [ebp - 4], 8
mov eax, 0x22
mov dword [ebp - 0x3c8], eax
xor ecx, ecx
mov dword [ebp - 0x3c4], 0xf300fa
mov dword [ebp - 0x3c0], 0xf800f8
mov dword [ebp - 0x3bc], 0xe300e8
mov dword [ebp - 0x3b8], 0xf300f3
mov dword [ebp - 0x3b4], 0xc000c4
mov dword [ebp - 0x3b0], 0xd100c1
mov dword [ebp - 0x3ac], 0xc200db
mov dword [ebp - 0x3a8], 0xd700f4
mov dword [ebp - 0x3a4], 0xce00d7
mov dword [ebp - 0x3a0], 0xd300c9
mov dword [ebp - 0x39c], 0xed00d1
mov dword [ebp - 0x398], 0xb400da
mov dword [ebp - 0x394], 0x91009d
mov dword [ebp - 0x390], 0xb600a6
mov dword [ebp - 0x38c], 0xaf00b3
mov dword [ebp - 0x388], 0xad00a4
mov dword [ebp - 0x384], 0x9600ba
mov dword [ebp - 0x380], 0xcb
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x3c4], ax
inc ecx
mov eax, dword [ebp - 0x3c8]
cmp ecx, eax
jb 0x622251
xor ecx, ecx
mov word [ebp + eax*2 - 0x3c4], cx
lea eax, [ebp - 0x3c4]
push esi
push eax
lea eax, [ebp - 0x358]
push eax
call fcn.0041ee30
add esp, 0xc
push 0xf003f
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x330]
mov byte [ebp - 4], 9
call fcn.0057f200
lea ecx, [ebp - 0x358]
mov byte [ebp - 0x33d], al
mov byte [ebp - 4], 8
call fcn.00404490
cmp byte [ebp - 0x33d], 0
jne 0x62253d
push 0xb0
lea eax, [ebp - 0x300]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x300], 0x7d6f90
lea ecx, [ebp - 0x298]
mov dword [ebp - 0x2f0], 0x7d7228
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
push 0
lea eax, [ebp - 0x2e8]
mov byte [ebp - 4], 0xa
or edi, 0x10
lea ecx, [ebp - 0x300]
push eax
mov dword [ebp - 0x21c], edi
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t____]
mov dword [ebp - 4], 0xb
mov eax, dword [ebp - 0x300]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x300], 0x7c81a4
mov eax, dword [ebp - 0x300]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x304], eax
lea ecx, [ebp - 0x2e8]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov dword [ebp - 0x2e8], 0x7c8164
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2ac], 0
mov byte [ebp - 4], 0xc
xor ecx, ecx
mov dword [ebp - 0x36c], 0x13
mov dword [ebp - 0x368], 0xcf00fb
mov dword [ebp - 0x364], 0xc500cc
mov dword [ebp - 0x360], 0xda00de
mov dword [ebp - 0x35c], 0xc900dd
mov dword [ebp - 0x358], 0xdd0091
mov dword [ebp - 0x354], 0xd100c3
mov dword [ebp - 0x350], 0x9600db
mov dword [ebp - 0x34c], 0xca00d2
mov dword [ebp - 0x348], 0xd500cb
mov dword [ebp - 0x344], 0xbc00c9
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x368], ax
inc ecx
mov eax, dword [ebp - 0x36c]
cmp ecx, eax
jb 0x6223f0
xor ecx, ecx
mov word [ebp + eax*2 - 0x368], cx
lea eax, [ebp - 0x368]
push eax
lea eax, [ebp - 0x2f0]
push eax
call fcn.00404740
mov ecx, dword [esi + 0x10]
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x622434
mov esi, dword [esi]
push ecx
push esi
push eax
call fcn.00404c80
add esp, 0xc
call fcn.004345f0
mov dword [ebp - 0x338], eax
lea eax, [ebp - 0x4c8]
push eax
call fcn.00622ac0
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
mov dword [ebp - 0x33c], edi
test edx, edx
je 0x622481
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x622470
xor eax, eax
mov word [edi + edx*2], ax
lea eax, [ebp - 0x41c]
push eax
call fcn.0061f9f0
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea eax, [esi + 4]
mov dword [ebp - 0x334], eax
test edx, edx
je 0x6224cd
mov edi, eax
nop dword [eax + eax]
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x6224b0
mov edi, dword [ebp - 0x33c]
mov eax, dword [ebp - 0x334]
xor ecx, ecx
mov word [eax + edx*2], cx
lea ecx, [ebp - 0x300]
push ecx
mov ecx, dword [ebp - 0x338]
push edi
push 0xe6
push eax
push 0
call fcn.00469f50
mov eax, dword [ebp - 0x300]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x300], 0x7c81a4
mov eax, dword [ebp - 0x300]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x304], eax
lea ecx, [ebp - 0x2e8]
call fcn.004073e0
lea ecx, [ebp - 0x2e0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x298]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
jmp 0x6228d5
xorps xmm0, xmm0
movlpd qword [ebp - 0x228], xmm0
mov dword [ebp - method..141.virtual_0], vtable..141.0
mov dword [ebp - 0x224], 0
push ecx
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x228]
call fcn.0057e3a0
lea ecx, [ebp - 0x250]
call fcn.004164d0
push 0
push eax
push 0
push 0
push 4
push 4
push dword [ebp - 0x330]
call dword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
test eax, eax
je 0x6227af
push 0xb0
lea eax, [ebp - 0x300]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x300], 0x7d6f90
lea ecx, [ebp - 0x298]
mov dword [ebp - 0x2f0], 0x7d7228
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
push 0
lea eax, [ebp - 0x2e8]
mov byte [ebp - 4], 0xe
or edi, 0x20
lea ecx, [ebp - 0x300]
push eax
mov dword [ebp - 0x21c], edi
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t____]
mov dword [ebp - 4], 0xf
mov eax, dword [ebp - 0x300]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x300], 0x7c81a4
mov eax, dword [ebp - 0x300]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x304], eax
lea ecx, [ebp - 0x2e8]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov dword [ebp - 0x2e8], 0x7c8164
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2ac], 0
mov byte [ebp - 4], 0x10
xor ecx, ecx
mov dword [ebp - 0x370], 0x15
mov dword [ebp - 0x36c], 0xcf00fa
mov dword [ebp - 0x368], 0xff00df
mov dword [ebp - 0x364], 0xcd00c8
mov dword [ebp - 0x360], 0xc200da
mov dword [ebp - 0x35c], 0xc600d8
mov dword [ebp - 0x358], 0xfd00ca
mov dword [ebp - 0x354], 0xd000db
mov dword [ebp - 0x350], 0x9800d8
mov dword [ebp - 0x34c], 0xc800dc
mov dword [ebp - 0x348], 0xd300c9
mov dword [ebp - 0x344], 0xbe00cf
nop dword [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x36c], ax
inc ecx
mov eax, dword [ebp - 0x370]
cmp ecx, eax
jb 0x6226d0
xor ecx, ecx
mov word [ebp + eax*2 - 0x36c], cx
lea eax, [ebp - 0x36c]
push eax
lea eax, [ebp - 0x2f0]
push eax
call fcn.00404740
mov ecx, dword [esi + 0x10]
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x622714
mov esi, dword [esi]
push ecx
push esi
push eax
call fcn.00404c80
add esp, 0xc
call fcn.004345f0
mov edi, eax
lea eax, [ebp - 0x4c8]
push eax
call fcn.00622c20
mov ecx, eax
call fcn.00403e20
mov esi, eax
lea eax, [ebp - 0x41c]
push eax
call fcn.0061f9f0
mov ecx, eax
call fcn.00403e20
lea ecx, [ebp - 0x300]
push ecx
push esi
push 0xee
push eax
push 0
mov ecx, edi
call fcn.00469f50
mov eax, dword [ebp - 0x300]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x300], 0x7c81a4
mov eax, dword [ebp - 0x300]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x304], eax
lea ecx, [ebp - 0x2e8]
call fcn.004073e0
lea ecx, [ebp - 0x2e0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x298]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
mov eax, dword [ebp - 0x224]
mov dword [ebp - method..141.virtual_0], vtable..141.0
test eax, eax
je 0x6228d5
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x22c], 0
push ecx
lea ecx, [ebp - 0x22c]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorControl]
test eax, eax
je 0x6228ba
test dword [ebp - 0x22c], 0x8000
jne 0x6228ba
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x33c]
push eax
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorOwner]
push dword [ebp - 0x33c]
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call esi
add esp, 4
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x338]
push eax
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorGroup]
push dword [ebp - 0x338]
call esi
add esp, 4
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x334]
push eax
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorDacl]
cmp dword [ebp - 0x220], 0
je 0x622883
push dword [ebp - 0x334]
call esi
add esp, 4
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorSacl]
cmp dword [ebp - 0x220], 0
je 0x6228c0
push dword [ebp - 0x230]
call esi
add esp, 4
jmp 0x6228c0
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push dword [ebp - 0x224]
call esi
add esp, 4
mov dword [ebp - 0x224], 0
mov eax, dword [ebp - 0x330]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x6228f2
push eax
call esi
mov dword [ebp - 0x330], 0
lea ecx, [ebp - 0x320]
mov dword [ebp - 0x32c], 0
mov byte [ebp - 0x308], 0
call fcn.00404490
mov eax, dword [ebp - 0x330]
test eax, eax
je 0x622925
push eax
call esi
mov dword [ebp - 0x330], 0
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x32c], 0
call fcn.004166a0
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.0076eb7e
mov esp, ebp
pop ebp
ret 4