Function at 0x5d0ef0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7ac721
mov eax, dword fs:[0]
push eax
sub esp, 0x2dc
mov eax, dword [0x831184]
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 dword [ebp - 0x14c], ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x58]
push 0x30
push 0
push eax
mov dword [ebp - 0x214], 0
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [ebp - 0x38], 0
xorps xmm0, xmm0
mov dword [ebp - 0x34], 7
add esp, 0xc
mov word [ebp - 0x48], ax
movups xmmword [ebp - 0x58], xmm0
mov word [ebp - 0x30], ax
mov byte [ebp - 0x2e], al
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [ebp - 0x1c0], 0x29
mov dword [ebp - 0x1bc], 0xc500fa
mov dword [ebp - 0x1b8], 0xd800cd
mov dword [ebp - 0x1b4], 0xcf00da
mov dword [ebp - 0x1b0], 0xd500dd
mov dword [ebp - 0x1ac], 0xff00ed
mov dword [ebp - 0x1a8], 0xd700da
mov dword [ebp - 0x1a4], 0xd900c7
mov dword [ebp - 0x1a0], 0xd700c4
mov dword [ebp - 0x19c], 0xce00df
mov dword [ebp - 0x198], 0xf500e7
mov dword [ebp - 0x194], 0xca00d3
mov dword [ebp - 0x190], 0xb200da
mov dword [ebp - 0x18c], 0xa700af
mov dword [ebp - 0x188], 0xe400b7
mov dword [ebp - 0x184], 0xbe0080
mov dword [ebp - 0x180], 0xa400b7
mov dword [ebp - 0x17c], 0xb800a6
mov dword [ebp - 0x178], 0xbe00ae
mov dword [ebp - 0x174], 0x830091
mov dword [ebp - 0x170], 0xb900ae
mov dword [ebp - 0x16c], 0xd200bf
cmp byte [ebp + 0xc], cl
je 0x5d10e0
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x1bc], ax
inc ecx
mov eax, dword [ebp - 0x1c0]
cmp ecx, eax
jb 0x5d1050
xor ecx, ecx
mov word [ebp + eax*2 - 0x1bc], cx
xor eax, eax
mov dword [ebp - 0x138], ecx
lea ecx, [ebp - 0x1bc]
mov dword [ebp - 0x134], 7
lea edx, [ecx + 2]
mov word [ebp - 0x148], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5d1095
sub ecx, edx
lea eax, [ebp - 0x1bc]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x148]
call fcn.004044f0
push 0xf003f
push 0
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 1
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x58]
call fcn.0057f200
jmp 0x5d1161
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x1bc], ax
inc ecx
mov eax, dword [ebp - 0x1c0]
cmp ecx, eax
jb 0x5d10e0
xor ecx, ecx
mov dword [ebp - 0x134], 7
mov word [ebp + eax*2 - 0x1bc], cx
xor eax, eax
mov dword [ebp - 0x138], ecx
lea ecx, [ebp - 0x1bc]
mov word [ebp - 0x148], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5d1125
sub ecx, edx
lea eax, [ebp - 0x1bc]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x148]
call fcn.004044f0
push 0xf003f
push 0
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x58]
call fcn.0057f380
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 0
mov bl, al
call fcn.00404490
test bl, bl
je 0x5d16c4
push esi
lea ecx, [ebp - 0x28]
call fcn.00404120
mov byte [ebp - 4], 3
xor ecx, ecx
mov dword [ebp - 0x140], 5
mov dword [ebp - 0x13c], 0xc700cc
mov dword [ebp - 0x138], 0xd800db
mov dword [ebp - 0x134], 0xae00d4
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x13c], ax
inc ecx
mov eax, dword [ebp - 0x140]
cmp ecx, eax
jb 0x5d11b1
xor ecx, ecx
mov word [ebp + eax*2 - 0x13c], cx
lea ecx, [ebp - 0x13c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5d11e0
sub ecx, edx
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
sar ecx, 1
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
cmp edx, ecx
jne 0x5d1333
push edx
lea ecx, [ebp - 0x13c]
push ecx
push eax
call fcn.004090d0
add esp, 0xc
test eax, eax
jne 0x5d1333
push eax
push 0x7cf388
lea ecx, [ebp - 0x164]
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x150], 7
mov word [ebp - 0x164], ax
call fcn.004044f0
mov byte [ebp - 4], 4
mov eax, 0xa
mov dword [ebp - 0x124], eax
xor ecx, ecx
mov dword [ebp - 0x120], 0xde00fa
mov dword [ebp - 0x11c], 0xde00ca
mov dword [ebp - 0x118], 0x8e00d9
mov dword [ebp - 0x114], 0xd100ff
mov dword [ebp - 0x110], 0xd700d6
mov dword [ebp - 0x10c], 0xb3
nop dword [eax]
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x120], ax
inc ecx
mov eax, dword [ebp - 0x124]
cmp ecx, eax
jb 0x5d12a0
xor ecx, ecx
mov word [ebp + eax*2 - 0x120], cx
xor eax, eax
mov dword [ebp - 0x138], ecx
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x134], 7
lea edx, [ecx + 2]
mov word [ebp - 0x148], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5d12e5
sub ecx, edx
lea eax, [ebp - 0x120]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x148]
call fcn.004044f0
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x58]
call fcn.0057f630
lea ecx, [ebp - 0x148]
call fcn.00404490
lea ecx, [ebp - 0x164]
jmp 0x5d141e
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x148]
call fcn.00404120
mov byte [ebp - 4], 5
mov eax, 0xa
mov dword [ebp - 0x124], eax
xor ecx, ecx
mov dword [ebp - 0x120], 0xde00fa
mov dword [ebp - 0x11c], 0xde00ca
mov dword [ebp - 0x118], 0x8e00d9
mov dword [ebp - 0x114], 0xd100ff
mov dword [ebp - 0x110], 0xd700d6
mov dword [ebp - 0x10c], 0xb3
nop
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x120], ax
inc ecx
mov eax, dword [ebp - 0x124]
cmp ecx, eax
jb 0x5d1390
xor ecx, ecx
mov word [ebp + eax*2 - 0x120], cx
xor eax, eax
mov dword [ebp - 0x154], ecx
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x150], 7
lea edx, [ecx + 2]
mov word [ebp - 0x164], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5d13d5
sub ecx, edx
lea eax, [ebp - 0x120]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x164]
call fcn.004044f0
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0x58]
call fcn.0057f630
lea ecx, [ebp - 0x164]
call fcn.00404490
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 3
call fcn.00404490
push 0xb0
lea eax, [ebp - 0x108]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x108], 0x7d6f90
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0xf8], 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 - 0xf0]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x214], 1
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], 7
mov eax, dword [ebp - 0x108]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x108], 0x7c81a4
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x10c], eax
lea ecx, [ebp - 0xf0]
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 - 0xf0], 0x7c8164
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0x14c]
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 8
mov eax, dword [eax + 0xd0]
add eax, 0xc
push eax
call fcn.00404120
mov byte [ebp - 4], 9
lea eax, [ebp - 0x164]
cmp dword [ebp - 0x150], 8
push dword [ebp - 0x154]
cmovae eax, dword [ebp - 0x164]
push eax
lea eax, [ebp - 0xf8]
push eax
call fcn.00404c80
add esp, 0xc
mov dword [ebp - 0x130], 0x11
mov edx, eax
mov dword [ebp - 0x12c], 0xd90089
mov dword [ebp - 0x128], 0xd800ce
xor ecx, ecx
mov dword [ebp - 0x124], 0xdd008d
mov dword [ebp - 0x120], 0xd100db
mov dword [ebp - 0x11c], 0xc600c3
mov dword [ebp - 0x118], 0xc40093
mov dword [ebp - 0x114], 0xd100d4
mov dword [ebp - 0x110], 0x8200d2
mov dword [ebp - 0x10c], 0xba0099
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x12c], ax
inc ecx
mov eax, dword [ebp - 0x130]
cmp ecx, eax
jb 0x5d1590
xor ecx, ecx
mov word [ebp + eax*2 - 0x12c], cx
lea eax, [ebp - 0x12c]
push eax
push edx
call fcn.00404740
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
push ecx
push eax
call fcn.00404c80
add esp, 0x14
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x164]
call fcn.00404490
call fcn.004345f0
mov dword [ebp - 0x14c], eax
lea eax, [ebp - 0x210]
push eax
call fcn.005d1720
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea ebx, [esi + 4]
test edx, edx
je 0x5d1621
nop dword [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebx + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x5d1610
xor eax, eax
mov word [ebx + edx*2], ax
lea eax, [ebp - 0x2e8]
push eax
call fcn.005ca690
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
test edx, edx
je 0x5d1651
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x5d1640
mov ecx, dword [ebp - 0x14c]
xor eax, eax
mov word [edi + edx*2], ax
lea eax, [ebp - 0x108]
push eax
push ebx
push 0x270
push edi
push 1
call fcn.00469f50
mov eax, dword [ebp - 0x108]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x108], 0x7c81a4
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x10c], eax
lea ecx, [ebp - 0xf0]
call fcn.004073e0
lea ecx, [ebp - 0xe8]
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 - 0xa0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x28]
call fcn.00404490
mov eax, dword [ebp - 0x58]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x5d16db
push eax
call esi
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x30], 0
call fcn.00404490
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x5d16f8
push eax
call esi
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.0076eb7e
mov esp, ebp
pop ebp
ret 8