Function at 0x62f650
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b406a
mov eax, dword fs:[0]
push eax
sub esp, 0x48c
mov eax, dword [0x82f184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
mov dword [ebp - 0x2f8], 0
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x62f696
mov eax, dword [edi]
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
call fcn.004651e0
push eax
lea ecx, [ebp - 0x360]
call fcn.00416320
push 0
push 0
push 0
lea eax, [ebp - 0x35c]
push eax
push 1
push ebx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
lea ecx, [ebp - 0x360]
mov esi, eax
call fcn.00416250
test esi, esi
je 0x62fa7f
push 0
push 1
lea eax, [ebp - 0x360]
push 0x7d53fc
push eax
call fcn.004160c0
add esp, 0x10
lea eax, [ebp - 0x35c]
push 0
push 0
push 0
push eax
push 1
push ebx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
lea ecx, [ebp - 0x360]
mov esi, eax
call fcn.00416250
test esi, esi
je 0x62fa7f
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x360]
push 0x7d5404
push eax
call fcn.004160c0
add esp, 0x14
lea eax, [ebp - 0x35c]
push 0
push 0
push 0
push eax
push 1
push ebx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
lea ecx, [ebp - 0x360]
mov esi, eax
call fcn.00416250
test esi, esi
je 0x62fa7f
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x62f792
mov eax, dword [edi]
push 0
push 0x2000000
push 3
push 0
push 0
push 0xc0000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x62fa83
push 0xb0
lea eax, [ebp - 0x2c8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x2c8], 0x7d4f80
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x2b8], 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 - 0x2b0]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x2c8]
mov dword [ebp - 0x2f8], 0xf
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], 1
mov eax, dword [ebp - 0x2c8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method..7.virtual_0], vtable..7.0
mov eax, dword [ebp - 0x2c8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x2cc], eax
lea ecx, [ebp - 0x2b0]
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 - 0x2b0], 0x7c6164
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 0
mov dword [ebp - 4], 2
xor ecx, ecx
mov dword [ebp - 0x2f4], 0x13
mov dword [ebp - 0x2f0], 0xd800fa
mov dword [ebp - 0x2ec], 0xd000d9
mov dword [ebp - 0x2e8], 0xcd00c9
mov dword [ebp - 0x2e4], 0xd9009e
mov dword [ebp - 0x2e0], 0xad00a9
mov dword [ebp - 0x2dc], 0xe300a7
mov dword [ebp - 0x2d8], 0xb200ab
mov dword [ebp - 0x2d4], 0xa200a8
mov dword [ebp - 0x2d0], 0xf300ba
mov dword [ebp - 0x2cc], 0xcb00ea
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x2f0], ax
inc ecx
mov eax, dword [ebp - 0x2f4]
cmp ecx, eax
jb 0x62f8e1
xor ecx, ecx
mov word [ebp + eax*2 - 0x2f0], cx
lea eax, [ebp - 0x2f0]
push eax
lea eax, [ebp - 0x2b8]
push eax
call fcn.00404740
add esp, 8
mov edx, edi
mov ecx, eax
call fcn.00402db0
call fcn.00434600
mov edi, eax
lea eax, [ebp - 0x398]
push eax
call fcn.0062fbf0
mov ecx, eax
call fcn.00403e20
mov esi, eax
lea eax, [ebp - 0x498]
push eax
call fcn.0062fab0
mov ecx, eax
call fcn.00403e20
lea ecx, [ebp - 0x2c8]
push ecx
push esi
push 0x3a
push eax
push 1
mov ecx, edi
call fcn.00469240
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method..7.virtual_0], vtable..7.0
mov eax, dword [ebp - 0x2c8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x2cc], eax
lea ecx, [ebp - 0x2b0]
call fcn.004073e0
lea ecx, [ebp - 0x2a8]
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 - 0x260]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
push 0
push 1
lea eax, [ebp - 0x360]
push 0x7d53fc
push eax
call fcn.004160c0
mov edi, dword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
add esp, 0x10
mov esi, dword [sym.imp.ADVAPI32.dll_IsValidSid]
test ebx, ebx
je 0x62fa10
cmp byte [ebp - 0x318], 0
je 0x62fa10
lea eax, [ebp - 0x35c]
push eax
call esi
test eax, eax
je 0x62fa10
push 0
push 0
push 0
lea eax, [ebp - 0x35c]
push eax
push 1
push 1
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [ebp - 0x360]
call fcn.00416250
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x3f8]
push 0x7d5404
push eax
call fcn.004160c0
add esp, 0x14
test ebx, ebx
je 0x62fa6d
cmp byte [ebp - 0x3b0], 0
je 0x62fa6d
lea eax, [ebp - 0x3f4]
push eax
call esi
test eax, eax
je 0x62fa6d
push 0
push 0
push 0
lea eax, [ebp - 0x3f4]
push eax
push 1
push 1
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [ebp - 0x3f8]
call fcn.00416250
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x62fa88
mov eax, 2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0076d59e
mov esp, ebp
pop ebp
ret