Function at 0x620c40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b27fb
mov eax, dword fs:[0]
push eax
sub esp, 0x4bc
mov eax, dword [0x82f184]
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 - 0x250], 0x7d53c8
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 0x7d53fc
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 0x7d53fc
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 0x7d5404
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 0x620dc6
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 0x6210b5
push 0xb0
lea eax, [ebp - 0x300]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x300], 0x7d4f80
lea ecx, [ebp - 0x298]
mov dword [ebp - 0x2f0], 0x7d5218
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 - method..7.virtual_0], vtable..7.0
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], 0x7c6164
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], 0xdc00eb
mov dword [ebp - 0x374], 0xf500ce
mov dword [ebp - 0x370], 0xd000dd
mov dword [ebp - 0x36c], 0xdb00db
mov dword [ebp - 0x368], 0xa40093
mov dword [ebp - 0x364], 0xb600a1
mov dword [ebp - 0x360], 0xac00b6
mov dword [ebp - 0x35c], 0xbe00b2
mov dword [ebp - 0x358], 0xa70081
mov dword [ebp - 0x354], 0xa400ac
mov dword [ebp - 0x350], 0xa800ec
mov dword [ebp - 0x34c], 0xbd00bc
mov dword [ebp - 0x348], 0xa300bf
mov dword [ebp - 0x344], 0xd2
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x378], ax
inc ecx
mov eax, dword [ebp - 0x37c]
cmp ecx, eax
jb 0x620f60
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 0x620fa3
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
push eax
call fcn.00404c80
add esp, 0xc
call fcn.00434600
mov dword [ebp - 0x338], eax
lea eax, [ebp - 0x4c8]
push eax
call fcn.006218d0
mov edi, eax
xor ecx, ecx
mov edx, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0x21c], eax
test edx, edx
je 0x620ffd
mov esi, eax
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x620fe0
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.0061e960
mov edi, eax
mov edx, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0x334], eax
test edx, edx
je 0x62103f
mov esi, eax
lea eax, [ecx + 0xb8]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x621022
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.00469240
mov eax, dword [ebp - 0x300]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method..7.virtual_0], vtable..7.0
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], 0xe000eb
mov dword [ebp - 0x3c0], 0xef00e9
mov dword [ebp - 0x3bc], 0xf000f9
mov dword [ebp - 0x3b8], 0xfc00e2
mov dword [ebp - 0x3b4], 0xb300b5
mov dword [ebp - 0x3b0], 0xa600b0
mov dword [ebp - 0x3ac], 0xb100aa
mov dword [ebp - 0x3a8], 0xa80085
mov dword [ebp - 0x3a4], 0xbd00a6
mov dword [ebp - 0x3a0], 0xa400b8
mov dword [ebp - 0x39c], 0x9e00a0
mov dword [ebp - 0x398], 0xbb00ab
mov dword [ebp - 0x394], 0x82008c
mov dword [ebp - 0x390], 0xa100b7
mov dword [ebp - 0x38c], 0xbc00a2
mov dword [ebp - 0x388], 0xb200b5
mov dword [ebp - 0x384], 0x8500ab
mov dword [ebp - 0x380], 0xda
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x3c4], ax
inc ecx
mov eax, dword [ebp - 0x3c8]
cmp ecx, eax
jb 0x6211c1
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.0057e080
lea ecx, [ebp - 0x358]
mov byte [ebp - 0x33d], al
mov byte [ebp - 4], 8
call fcn.00404490
cmp byte [ebp - 0x33d], 0
jne 0x6214ad
push 0xb0
lea eax, [ebp - 0x300]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x300], 0x7d4f80
lea ecx, [ebp - 0x298]
mov dword [ebp - 0x2f0], 0x7d5218
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 - method..7.virtual_0], vtable..7.0
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], 0x7c6164
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], 0xdc00ea
mov dword [ebp - 0x364], 0xd200dd
mov dword [ebp - 0x360], 0xc900cf
mov dword [ebp - 0x35c], 0xc600cc
mov dword [ebp - 0x358], 0xae00e0
mov dword [ebp - 0x354], 0xa600b2
mov dword [ebp - 0x350], 0xe500aa
mov dword [ebp - 0x34c], 0xb500a3
mov dword [ebp - 0x348], 0xa600ba
mov dword [ebp - 0x344], 0xcb00b8
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x368], ax
inc ecx
mov eax, dword [ebp - 0x36c]
cmp ecx, eax
jb 0x621360
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 0x6213a4
mov esi, dword [esi]
push ecx
push esi
push eax
call fcn.00404c80
add esp, 0xc
call fcn.00434600
mov dword [ebp - 0x338], eax
lea eax, [ebp - 0x4c8]
push eax
call fcn.00621a30
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
mov dword [ebp - 0x33c], edi
test edx, edx
je 0x6213f1
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x6213e0
xor eax, eax
mov word [edi + edx*2], ax
lea eax, [ebp - 0x41c]
push eax
call fcn.0061e960
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea eax, [esi + 4]
mov dword [ebp - 0x334], eax
test edx, edx
je 0x62143d
mov edi, eax
nop dword [eax + eax]
lea eax, [ecx + 0xb8]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x621420
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.00469240
mov eax, dword [ebp - 0x300]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method..7.virtual_0], vtable..7.0
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 0x621845
xorps xmm0, xmm0
movlpd qword [ebp - 0x228], xmm0
mov dword [ebp - method.GK.virtual_0], vtable.GK.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.0057d220
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 0x62171f
push 0xb0
lea eax, [ebp - 0x300]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x300], 0x7d4f80
lea ecx, [ebp - 0x298]
mov dword [ebp - 0x2f0], 0x7d5218
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 - method..7.virtual_0], vtable..7.0
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], 0x7c6164
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], 0xdc00eb
mov dword [ebp - 0x368], 0xe800ce
mov dword [ebp - 0x364], 0xde00d9
mov dword [ebp - 0x360], 0xcd00cb
mov dword [ebp - 0x35c], 0xb500a9
mov dword [ebp - 0x358], 0x8a00bb
mov dword [ebp - 0x354], 0xa300aa
mov dword [ebp - 0x350], 0xe700a9
mov dword [ebp - 0x34c], 0xbb00ad
mov dword [ebp - 0x348], 0xa400b8
mov dword [ebp - 0x344], 0xcd00be
nop dword [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x36c], ax
inc ecx
mov eax, dword [ebp - 0x370]
cmp ecx, eax
jb 0x621640
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 0x621684
mov esi, dword [esi]
push ecx
push esi
push eax
call fcn.00404c80
add esp, 0xc
call fcn.00434600
mov edi, eax
lea eax, [ebp - 0x4c8]
push eax
call fcn.00621b90
mov ecx, eax
call fcn.00403e20
mov esi, eax
lea eax, [ebp - 0x41c]
push eax
call fcn.0061e960
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.00469240
mov eax, dword [ebp - 0x300]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method..7.virtual_0], vtable..7.0
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.GK.virtual_0], vtable.GK.0
test eax, eax
je 0x621845
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 0x62182a
test dword [ebp - 0x22c], 0x8000
jne 0x62182a
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 0x6217f3
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 0x621830
push dword [ebp - 0x230]
call esi
add esp, 4
jmp 0x621830
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 0x621862
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 0x621895
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.0076d59e
mov esp, ebp
pop ebp
ret 4