Function at 0x5832d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a46f9
mov eax, dword fs:[0]
push eax
sub esp, 0x1a4
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 dword [ebp - 0x120], edx
mov edi, ecx
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x180], edi
xorps xmm0, xmm0
mov dword [ebp - 0x114], 0
movq qword [edi], xmm0
mov dword [edi + 8], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov esi, 1
movq qword [ebp - 0xa0], xmm0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x114], esi
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 4], esi
xor ecx, ecx
mov dword [ebp - 0x8c], 0x2d
mov dword [ebp - 0x88], 0xe500fa
mov dword [ebp - 0x84], 0xf800ed
mov dword [ebp - 0x80], 0xef00fa
mov dword [ebp - 0x7c], 0xf500fd
mov dword [ebp - 0x78], 0xff00ed
mov dword [ebp - 0x74], 0xd700da
mov dword [ebp - 0x70], 0xd900c7
mov dword [ebp - 0x6c], 0xd700c4
mov dword [ebp - 0x68], 0xce00df
mov dword [ebp - 0x64], 0xeb00e7
mov dword [ebp - 0x60], 0xd000d4
mov dword [ebp - 0x5c], 0xaf00db
mov dword [ebp - 0x58], 0xb100b6
mov dword [ebp - 0x54], 0x87009f
mov dword [ebp - 0x50], 0xb400b0
mov dword [ebp - 0x4c], 0xad00b5
mov dword [ebp - 0x48], 0xbe00a7
mov dword [ebp - 0x44], 0xa9009d
mov dword [ebp - 0x40], 0xbd00bf
mov dword [ebp - 0x3c], 0xbf00a6
mov dword [ebp - 0x38], 0x8e00bf
mov dword [ebp - 0x34], 0xa10081
mov dword [ebp - 0x30], 0xd600bb
nop
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x88], ax
inc ecx
mov eax, dword [ebp - 0x8c]
cmp ecx, eax
jb 0x583430
xor ecx, ecx
mov dword [ebp - 0x2c], SysStringLen
mov word [ebp + eax*2 - 0x88], cx
xor eax, eax
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x14], 7
lea edx, [ecx + 2]
mov word [ebp - 0x28], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x583473
sub ecx, edx
lea eax, [ebp - 0x88]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.004044f0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0xa0]
call fcn.0045bfa0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00404490
lea eax, [ebp - 0x94]
push eax
call fcn.00583ff0
mov edx, eax
xor ecx, ecx
lea eax, [edx + 4]
mov dword [ebp - 0x118], eax
mov eax, dword [edx]
test eax, eax
je 0x5834f6
mov esi, dword [ebp - 0x118]
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [esi + ecx*2], ax
inc ecx
mov eax, dword [edx]
cmp ecx, eax
jb 0x5834e0
mov esi, 1
mov edx, dword [ebp - 0x118]
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], SysStringLen
mov dword [ebp - 0x14], 7
mov word [edx + eax*2], cx
mov ecx, edx
xor eax, eax
mov word [ebp - 0x28], ax
lea eax, [ecx + 2]
mov dword [ebp - 0x11c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x583524
sub ecx, dword [ebp - 0x11c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004044f0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0xa0]
call fcn.0045bfa0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00404490
mov dword [ebp - 0x8c], 0x2d
xor ecx, ecx
mov dword [ebp - 0x88], 0xe500fa
mov dword [ebp - 0x84], 0xf800ed
mov dword [ebp - 0x80], 0xef00fa
mov dword [ebp - 0x7c], 0xf500fd
mov dword [ebp - 0x78], 0xff00ed
mov dword [ebp - 0x74], 0xd700da
mov dword [ebp - 0x70], 0xd900c7
mov dword [ebp - 0x6c], 0xd700c4
mov dword [ebp - 0x68], 0xce00df
mov dword [ebp - 0x64], 0xeb00e7
mov dword [ebp - 0x60], 0xd000d4
mov dword [ebp - 0x5c], 0xaf00db
mov dword [ebp - 0x58], 0xb100b6
mov dword [ebp - 0x54], 0x87009f
mov dword [ebp - 0x50], 0xb400b0
mov dword [ebp - 0x4c], 0xad00b5
mov dword [ebp - 0x48], 0xbe00a7
mov dword [ebp - 0x44], 0xa9009d
mov dword [ebp - 0x40], 0xbd00bf
mov dword [ebp - 0x3c], 0xbf00a6
mov dword [ebp - 0x38], 0x8e00bf
mov dword [ebp - 0x34], 0xa10081
mov dword [ebp - 0x30], 0xd600bb
nop dword [eax]
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x88], ax
inc ecx
mov eax, dword [ebp - 0x8c]
cmp ecx, eax
jb 0x583620
xor ecx, ecx
mov dword [ebp - 0x2c], reloc.OLEAUT32.dll_SysReAllocString
mov word [ebp + eax*2 - 0x88], cx
xor eax, eax
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x14], 7
lea edx, [ecx + 2]
mov word [ebp - 0x28], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x583663
sub ecx, edx
lea eax, [ebp - 0x88]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.004044f0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0xa0]
call fcn.0045bfa0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00404490
lea eax, [ebp - 0x94]
push eax
call fcn.00583ff0
mov dword [ebp - 0x11c], eax
xor ecx, ecx
lea edx, [eax + 4]
mov eax, dword [eax]
test eax, eax
je 0x5836da
mov esi, dword [ebp - 0x11c]
lea eax, [ecx + 0xa9]
xor word [edx + ecx*2], ax
inc ecx
mov eax, dword [esi]
cmp ecx, eax
jb 0x5836c4
mov esi, 1
xor ecx, ecx
mov dword [ebp - 0x2c], reloc.OLEAUT32.dll_SysReAllocString
mov word [edx + eax*2], cx
xor eax, eax
mov dword [ebp - 0x18], ecx
mov ecx, edx
mov word [ebp - 0x28], ax
mov dword [ebp - 0x14], 7
lea eax, [ecx + 2]
mov dword [ebp - 0x11c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x583702
sub ecx, dword [ebp - 0x11c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004044f0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0xa0]
call fcn.0045bfa0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00404490
mov ecx, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x140], eax
cmp ecx, eax
je 0x583fc0
nop
mov eax, dword [ecx]
mov dword [ebp - 0x2c], eax
lea eax, [ecx + 4]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404120
push 0x30
lea eax, [ebp - 0x5c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [ebp - 0x5c], 0
add esp, 0xc
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
mov word [ebp - 0x34], ax
mov byte [ebp - 0x32], al
push 0xf003f
push 0x200
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x5c]
call fcn.0057f2d0
test al, al
je 0x583b89
lea eax, [ebp - 0xd0]
mov dword [ebp - 0xc8], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x5c]
push eax
movq qword [ebp - 0xd0], xmm0
call fcn.005805c0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x118], eax
cmp eax, dword [ebp - 0xcc]
je 0x583b7a
nop word [eax + eax]
push eax
lea ecx, [ebp - 0xf4]
call fcn.00404120
xor eax, eax
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 7
mov word [ebp - 0x158], ax
lea eax, [ebp - 0xf4]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x138]
call fcn.00404120
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0057f450
mov dword [ebp - 0xfc], 0
xor ecx, ecx
mov dword [ebp - 0xf8], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x10c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xfc], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x170]
call fcn.00404490
lea ecx, [ebp - 0x138]
call fcn.00404490
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 0xe
call fcn.00404490
xorps xmm0, xmm0
mov dword [ebp - 0xa4], 0
lea edx, [ebp - 0x10c]
lea ecx, [ebp - 0x158]
movups xmmword [ebp - 0xc4], xmm0
movups xmmword [ebp - 0xb4], xmm0
call fcn.0041cd00
xor ecx, ecx
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 7
mov word [ebp - 0xc4], cx
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0xa4], ecx
push eax
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0x11
call fcn.00403b80
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 0x13
call fcn.00404490
mov edx, dword [ebp - 0x120]
lea ecx, [ebp - 0xc4]
call fcn.00402f00
test al, al
jne 0x5839bf
mov ecx, dword [ebp - 0x120]
lea eax, [ebp - 0xc4]
push eax
call fcn.00403a30
test al, al
jne 0x5839bf
lea eax, [ebp - 0x17c]
push eax
lea ecx, [ebp - 0xc4]
call fcn.00403720
push dword [ebp - 0x120]
mov byte [ebp - 4], 0x14
or esi, 2
mov ecx, eax
mov dword [ebp - 0x114], esi
call fcn.00403a30
mov byte [ebp - 0x10d], 0
test al, al
je 0x5839c6
mov byte [ebp - 0x10d], 1
mov dword [ebp - 4], 0x13
mov eax, dword [ebp - 0x114]
test al, 2
je 0x5839f6
and eax, 0xfffffffd
lea ecx, [ebp - 0x164]
mov dword [ebp - 0x114], eax
call fcn.00404220
lea ecx, [ebp - 0x17c]
call fcn.00404490
cmp byte [ebp - 0x10d], 0
je 0x583b29
push 0x7cf384
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x170]
push eax
call fcn.00421b40
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0xf4]
cmp dword [ebp - 0xe0], 8
push dword [ebp - 0xe4]
cmovae eax, dword [ebp - 0xf4]
push eax
call fcn.00407c50
mov esi, dword [ebp - 0x114]
xor ecx, ecx
or esi, 8
mov dword [ebp - 0x114], esi
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
movups xmmword [ebp - 0x198], xmm0
mov word [eax], cx
movq qword [ebp - 0x188], xmm1
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x13c], ecx
movups xmmword [ebp - 0x138], xmm0
mov dword [ebp - 0x188], 0
movq qword [ebp - 0x128], xmm1
mov dword [ebp - 0x184], 7
mov word [ebp - 0x198], ax
mov byte [ebp - 4], 0x17
mov eax, dword [edi + 4]
cmp dword [edi + 8], eax
je 0x583af7
mov dword [eax], ecx
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
movups xmmword [eax + 4], xmm0
mov dword [ebp - 0x128], 0
movq qword [eax + 0x14], xmm1
xor eax, eax
add dword [edi + 4], 0x1c
mov dword [ebp - 0x124], 7
mov word [ebp - 0x138], ax
jmp 0x583b06
lea ecx, [ebp - 0x13c]
push ecx
push eax
mov ecx, edi
call fcn.0045cd60
lea ecx, [ebp - 0x138]
call fcn.00404490
lea ecx, [ebp - 0x198]
call fcn.00404490
lea ecx, [ebp - 0x170]
call fcn.00404490
jmp 0x583b2f
mov esi, dword [ebp - 0x114]
lea ecx, [ebp - 0xac]
call fcn.00404220
lea ecx, [ebp - 0xc4]
call fcn.00404490
lea ecx, [ebp - 0x10c]
call fcn.00404490
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 8
call fcn.00404490
mov eax, dword [ebp - 0x118]
add eax, 0x18
mov dword [ebp - 0x118], eax
cmp eax, dword [ebp - 0xcc]
jne 0x583820
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 7
call fcn.00404220
push 0xf003f
push 0x100
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0057f2d0
test al, al
je 0x583f55
lea eax, [ebp - 0xdc]
mov dword [ebp - 0xd4], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x5c]
push eax
movq qword [ebp - 0xdc], xmm0
call fcn.005805c0
mov byte [ebp - 4], 0x18
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x118], eax
cmp eax, dword [ebp - 0xd8]
je 0x583f4a
nop word [eax + eax]
push eax
lea ecx, [ebp - 0xf4]
call fcn.00404120
xor eax, eax
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 7
mov word [ebp - 0x158], ax
lea eax, [ebp - 0xf4]
mov byte [ebp - 4], 0x1a
push eax
lea ecx, [ebp - 0x138]
call fcn.00404120
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 0x1b
push eax
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0057f450
mov dword [ebp - 0xfc], 0
xor ecx, ecx
mov dword [ebp - 0xf8], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x10c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xfc], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x170]
call fcn.00404490
lea ecx, [ebp - 0x138]
call fcn.00404490
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 0x1e
call fcn.00404490
xorps xmm0, xmm0
mov dword [ebp - 0xa4], 0
lea edx, [ebp - 0x10c]
lea ecx, [ebp - 0x158]
movups xmmword [ebp - 0xc4], xmm0
movups xmmword [ebp - 0xb4], xmm0
call fcn.0041cd00
xor ecx, ecx
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 7
mov word [ebp - 0xc4], cx
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0xa4], ecx
push eax
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0x21
call fcn.00403b80
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 0x23
call fcn.00404490
mov edx, dword [ebp - 0x120]
lea ecx, [ebp - 0xc4]
call fcn.00402f00
test al, al
jne 0x583d8f
mov ecx, dword [ebp - 0x120]
lea eax, [ebp - 0xc4]
push eax
call fcn.00403a30
test al, al
jne 0x583d8f
lea eax, [ebp - 0x17c]
push eax
lea ecx, [ebp - 0xc4]
call fcn.00403720
push dword [ebp - 0x120]
mov byte [ebp - 4], 0x24
or esi, 4
mov ecx, eax
mov dword [ebp - 0x114], esi
call fcn.00403a30
mov byte [ebp - 0x10d], 0
test al, al
je 0x583d96
mov byte [ebp - 0x10d], 1
mov dword [ebp - 4], 0x23
mov eax, dword [ebp - 0x114]
test al, 4
je 0x583dc6
and eax, 0xfffffffb
lea ecx, [ebp - 0x164]
mov dword [ebp - 0x114], eax
call fcn.00404220
lea ecx, [ebp - 0x17c]
call fcn.00404490
cmp byte [ebp - 0x10d], 0
je 0x583ef9
push 0x7cf384
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x170]
push eax
call fcn.00421b40
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 0x25
lea eax, [ebp - 0xf4]
cmp dword [ebp - 0xe0], 8
push dword [ebp - 0xe4]
cmovae eax, dword [ebp - 0xf4]
push eax
call fcn.00407c50
mov esi, dword [ebp - 0x114]
xor ecx, ecx
or esi, 0x10
mov dword [ebp - 0x114], esi
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
movups xmmword [ebp - 0x1b0], xmm0
mov word [eax], cx
movq qword [ebp - 0x1a0], xmm1
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x13c], ecx
movups xmmword [ebp - 0x138], xmm0
mov dword [ebp - 0x1a0], 0
movq qword [ebp - 0x128], xmm1
mov dword [ebp - 0x19c], 7
mov word [ebp - 0x1b0], ax
mov byte [ebp - 4], 0x27
mov eax, dword [edi + 4]
cmp dword [edi + 8], eax
je 0x583ec7
mov dword [eax], ecx
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
movups xmmword [eax + 4], xmm0
mov dword [ebp - 0x128], 0
movq qword [eax + 0x14], xmm1
xor eax, eax
add dword [edi + 4], 0x1c
mov dword [ebp - 0x124], 7
mov word [ebp - 0x138], ax
jmp 0x583ed6
lea ecx, [ebp - 0x13c]
push ecx
push eax
mov ecx, edi
call fcn.0045cd60
lea ecx, [ebp - 0x138]
call fcn.00404490
lea ecx, [ebp - 0x1b0]
call fcn.00404490
lea ecx, [ebp - 0x170]
call fcn.00404490
jmp 0x583eff
mov esi, dword [ebp - 0x114]
lea ecx, [ebp - 0xac]
call fcn.00404220
lea ecx, [ebp - 0xc4]
call fcn.00404490
lea ecx, [ebp - 0x10c]
call fcn.00404490
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0x18
call fcn.00404490
mov eax, dword [ebp - 0x118]
add eax, 0x18
mov dword [ebp - 0x118], eax
cmp eax, dword [ebp - 0xd8]
jne 0x583bf0
lea ecx, [ebp - 0xdc]
call fcn.00404220
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x583f6a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x5c], 0
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x34], 0
call fcn.00404490
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x583f92
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x5c], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x58], 0
mov byte [ebp - 4], 1
call fcn.00404490
mov ecx, dword [ebp - 0x11c]
add ecx, 0x1c
mov dword [ebp - 0x11c], ecx
cmp ecx, dword [ebp - 0x140]
jne 0x583760
lea ecx, [ebp - 0xa0]
call fcn.0045c1a0
mov eax, edi
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