Function at 0x5d2d00
Capabilities:
Encode data using xor
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7ab37d
mov eax, dword fs:[0]
push eax
sub esp, 0x308
mov eax, dword [0x82f184]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x94]
push 0x26
xor eax, eax
mov dword [ebp - 0x18], esi
push str.FD57A771_FD80_44E0_854F_BECFE2734911
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 7
mov word [ebp - 0x94], ax
call fcn.004044f0
mov dword [ebp - 4], 0
mov eax, 0xc
mov dword [ebp - 0x6c], eax
xor ecx, ecx
mov dword [ebp - 0x68], 0xdc00fc
mov dword [ebp - 0x64], 0xda00dc
mov dword [ebp - 0x60], 0xd100c9
mov dword [ebp - 0x5c], 0xec00ca
mov dword [ebp - 0x58], 0xae00a3
mov dword [ebp - 0x54], 0xa600b2
mov dword [ebp - 0x50], 0xc4
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x68], ax
inc ecx
mov eax, dword [ebp - 0x6c]
cmp ecx, eax
jb 0x5d2da2
xor ecx, ecx
mov word [ebp + eax*2 - 0x68], cx
xor eax, eax
mov dword [ebp - 0x9c], ecx
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x98], 7
lea edx, [ecx + 2]
mov word [ebp - 0xac], ax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5d2de0
sub ecx, edx
lea eax, [ebp - 0x68]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xac]
call fcn.004044f0
lea eax, [ebp - 0x94]
mov ecx, esi
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.0057e4b0
lea ecx, [ebp - 0xac]
call fcn.00404490
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call fcn.00404490
push 0x26
xor eax, eax
mov dword [ebp - 0x84], 0
push str.FD57A771_FD80_44E0_854F_BECFE2734911
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x80], 7
mov word [ebp - 0x94], ax
call fcn.004044f0
lea eax, [ebp - 0x94]
mov dword [ebp - 4], 1
push eax
mov ecx, esi
call fcn.0057e170
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
mov bl, al
call fcn.00404490
test bl, bl
je 0x5d3914
mov eax, 6
mov dword [ebp - 0xa4], 0xd600ff
mov dword [ebp - 0xa8], eax
xor ecx, ecx
mov dword [ebp - 0xa0], 0xdc00d5
mov dword [ebp - 0x9c], 0xd800d0
mov dword [ebp - 0x98], 0xbe
nop dword [eax]
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0xa4], ax
inc ecx
mov eax, dword [ebp - 0xa8]
cmp ecx, eax
jb 0x5d2ed0
xor ecx, ecx
mov word [ebp + eax*2 - 0xa4], cx
xor eax, eax
mov dword [ebp - 0x54], ecx
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x50], 7
lea edx, [ecx + 2]
mov word [ebp - 0x64], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5d2f10
sub ecx, edx
lea eax, [ebp - 0xa4]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.004044f0
mov dword [ebp - 4], 2
xor ecx, ecx
mov dword [ebp - 0x34], 0xb
mov dword [ebp - 0x30], 0xd000fc
mov dword [ebp - 0x2c], 0xcb00c9
mov dword [ebp - 0x28], 0xdc00d0
mov dword [ebp - 0x24], 0xf100c7
mov dword [ebp - 0x20], 0xac00a1
mov dword [ebp - 0x1c], 0xc300a7
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x30], ax
inc ecx
mov eax, dword [ebp - 0x34]
cmp ecx, eax
jb 0x5d2f70
xor ecx, ecx
mov word [ebp + eax*2 - 0x30], cx
xor eax, eax
mov dword [ebp - 0x84], ecx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x80], 7
lea edx, [ecx + 2]
mov word [ebp - 0x94], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5d2fa6
sub ecx, edx
lea eax, [ebp - 0x30]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x94]
call fcn.004044f0
mov ebx, dword [ebp - 0x18]
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x94]
mov ecx, ebx
push eax
call fcn.0057e4b0
lea ecx, [ebp - 0x94]
call fcn.00404490
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0xffffffff
call fcn.00404490
mov dword [ebp - 0xf4], 0x21
xor ecx, ecx
mov dword [ebp - 0xf0], 0xcd00d0
mov dword [ebp - 0xec], 0xcb00ce
mov dword [ebp - 0xe8], 0x920086
mov dword [ebp - 0xe4], 0xc80091
mov dword [ebp - 0xe0], 0xb600b7
mov dword [ebp - 0xdc], 0xa400ec
mov dword [ebp - 0xd8], 0xaa00ab
mov dword [ebp - 0xd4], 0xab00a1
mov dword [ebp - 0xd0], 0xe700ad
mov dword [ebp - 0xcc], 0xa400a9
mov dword [ebp - 0xc8], 0xe200a1
mov dword [ebp - 0xc4], 0xae00a8
mov dword [ebp - 0xc0], 0xb800a6
mov dword [ebp - 0xbc], 0xbc00b1
mov dword [ebp - 0xb8], 0xfb00ba
mov dword [ebp - 0xb4], 0xb400bf
mov dword [ebp - 0xb0], 0xd900b7
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0xf0], ax
inc ecx
mov eax, dword [ebp - 0xf4]
cmp ecx, eax
jb 0x5d30b0
xor ecx, ecx
mov word [ebp + eax*2 - 0xf0], cx
xor eax, eax
mov dword [ebp - 0x84], ecx
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x80], 7
lea edx, [ecx + 2]
mov word [ebp - 0x94], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5d30f2
sub ecx, edx
lea eax, [ebp - 0xf0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x94]
call fcn.004044f0
mov dword [ebp - 4], 3
mov eax, 0xa
mov dword [ebp - 0x34], eax
xor ecx, ecx
mov dword [ebp - 0x30], 0xd800fe
mov dword [ebp - 0x2c], 0xd200cc
mov dword [ebp - 0x28], 0xd200df
mov dword [ebp - 0x24], 0xea00d0
mov dword [ebp - 0x20], 0x8d0092
mov dword [ebp - 0x1c], 0xc2
nop
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x30], ax
inc ecx
mov eax, dword [ebp - 0x34]
cmp ecx, eax
jb 0x5d3150
xor ecx, ecx
mov word [ebp + eax*2 - 0x30], cx
xor eax, eax
mov dword [ebp - 0x54], ecx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x50], 7
lea edx, [ecx + 2]
mov word [ebp - 0x64], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5d3180
sub ecx, edx
lea eax, [ebp - 0x30]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.004044f0
lea eax, [ebp - 0x94]
mov ecx, ebx
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0057e4b0
lea ecx, [ebp - 0x64]
call fcn.00404490
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call fcn.00404490
lea eax, [ebp - 0x134]
push eax
call fcn.005d3940
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
test edx, edx
je 0x5d31f2
lea eax, [ecx + 0xb8]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x5d31e1
xor eax, eax
mov ecx, edi
mov word [edi + edx*2], ax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], 7
mov word [ebp - 0x94], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5d3211
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x94]
call fcn.004044f0
mov dword [ebp - 4], 4
xor ecx, ecx
mov dword [ebp - 0x44], 0x13
mov dword [ebp - 0x40], 0xcc00eb
mov dword [ebp - 0x3c], 0xdc00dd
mov dword [ebp - 0x38], 0xce00d9
mov dword [ebp - 0x34], 0xd600ca
mov dword [ebp - 0x30], 0xaf00af
mov dword [ebp - 0x2c], 0x9600b1
mov dword [ebp - 0x28], 0x890096
mov dword [ebp - 0x24], 0x8d0099
mov dword [ebp - 0x20], 0x86009b
mov dword [ebp - 0x1c], 0xcb0084
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x40], ax
inc ecx
mov eax, dword [ebp - 0x44]
cmp ecx, eax
jb 0x5d3283
xor ecx, ecx
mov word [ebp + eax*2 - 0x40], cx
xor eax, eax
mov dword [ebp - 0x54], ecx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x50], 7
lea edx, [ecx + 2]
mov word [ebp - 0x64], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5d32b3
sub ecx, edx
lea eax, [ebp - 0x40]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.004044f0
lea eax, [ebp - 0x94]
mov ecx, ebx
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0057e4b0
lea ecx, [ebp - 0x64]
call fcn.00404490
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call fcn.00404490
mov dword [ebp - 0x7c], 0x15
xor ecx, ecx
mov dword [ebp - 0x78], 0xd100eb
mov dword [ebp - 0x74], 0xcc00d5
mov dword [ebp - 0x70], 0xd800ef
mov dword [ebp - 0x6c], 0xcd00df
mov dword [ebp - 0x68], 0xa900a3
mov dword [ebp - 0x64], 0xb60091
mov dword [ebp - 0x60], 0xa200a3
mov dword [ebp - 0x5c], 0xb400a3
mov dword [ebp - 0x58], 0xa000bc
mov dword [ebp - 0x54], 0xa500a5
mov dword [ebp - 0x50], 0xcd00bf
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x78], ax
inc ecx
mov eax, dword [ebp - 0x7c]
cmp ecx, eax
jb 0x5d3351
xor ecx, ecx
mov word [ebp + eax*2 - 0x78], cx
xor eax, eax
mov dword [ebp - 0x9c], ecx
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x98], 7
lea edx, [ecx + 2]
mov word [ebp - 0xac], ax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5d3390
sub ecx, edx
lea eax, [ebp - 0x78]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xac]
call fcn.004044f0
cmp byte [ebx + 0x28], 0
je 0x5d33e3
cmp dword [ebp - 0x98], 8
lea ecx, [ebp - 0x18]
push 4
push ecx
push 4
lea eax, [ebp - 0xac]
mov dword [ebp - 0x18], 1
cmovae eax, dword [ebp - 0xac]
push 0
push eax
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0xac]
call fcn.00404490
lea eax, [ebp - 0x11c]
push eax
call fcn.005d3a50
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
test edx, edx
je 0x5d3421
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x5d3410
xor eax, eax
mov ecx, edi
mov word [edi + edx*2], ax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], 7
mov word [ebp - 0x94], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5d3440
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x94]
call fcn.004044f0
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x64]
push 3
xor eax, eax
mov dword [ebp - 0x54], 0
push 0x7d8820
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
call fcn.004044f0
lea eax, [ebp - 0x94]
mov ecx, ebx
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0057e4b0
lea ecx, [ebp - 0x64]
call fcn.00404490
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call fcn.00404490
mov dword [ebp - 0xf4], 0x21
xor ecx, ecx
mov dword [ebp - 0xf0], 0xcd00d0
mov dword [ebp - 0xec], 0xcb00ce
mov dword [ebp - 0xe8], 0x920086
mov dword [ebp - 0xe4], 0xc80091
mov dword [ebp - 0xe0], 0xb600b7
mov dword [ebp - 0xdc], 0xa400ec
mov dword [ebp - 0xd8], 0xaa00ab
mov dword [ebp - 0xd4], 0xab00a1
mov dword [ebp - 0xd0], 0xe700ad
mov dword [ebp - 0xcc], 0xa400a9
mov dword [ebp - 0xc8], 0xe200a1
mov dword [ebp - 0xc4], 0xae00a8
mov dword [ebp - 0xc0], 0xb800a6
mov dword [ebp - 0xbc], 0xbc00b1
mov dword [ebp - 0xb8], 0xfb00ba
mov dword [ebp - 0xb4], 0xb400bf
mov dword [ebp - 0xb0], 0xd900b7
nop dword [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0xf0], ax
inc ecx
mov eax, dword [ebp - 0xf4]
cmp ecx, eax
jb 0x5d3570
xor ecx, ecx
mov word [ebp + eax*2 - 0xf0], cx
xor eax, eax
mov dword [ebp - 0x84], ecx
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x80], 7
lea edx, [ecx + 2]
mov word [ebp - 0x94], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5d35b2
sub ecx, edx
lea eax, [ebp - 0xf0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x94]
call fcn.004044f0
mov dword [ebp - 4], 6
mov eax, 0x12
mov dword [ebp - 0x44], eax
xor ecx, ecx
mov dword [ebp - 0x40], 0xd800fe
mov dword [ebp - 0x3c], 0xd200cc
mov dword [ebp - 0x38], 0xd200df
mov dword [ebp - 0x34], 0xea00d0
mov dword [ebp - 0x30], 0x8d0092
mov dword [ebp - 0x2c], 0xa20084
mov dword [ebp - 0x28], 0xa900a8
mov dword [ebp - 0x24], 0xa600a4
mov dword [ebp - 0x20], 0xa200ab
mov dword [ebp - 0x1c], 0xca
nop dword [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x40], ax
inc ecx
mov eax, dword [ebp - 0x44]
cmp ecx, eax
jb 0x5d3630
xor ecx, ecx
mov word [ebp + eax*2 - 0x40], cx
xor eax, eax
mov dword [ebp - 0x54], ecx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x50], 7
lea edx, [ecx + 2]
mov word [ebp - 0x64], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5d3660
sub ecx, edx
lea eax, [ebp - 0x40]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.004044f0
lea eax, [ebp - 0x94]
mov ecx, ebx
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0057e4b0
lea ecx, [ebp - 0x64]
call fcn.00404490
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call fcn.00404490
lea eax, [ebp - 0x1d4]
push eax
call fcn.005d3b20
mov edi, eax
xor ecx, ecx
mov edx, dword [edi]
lea esi, [edi + 4]
test edx, edx
je 0x5d36d2
lea eax, [ecx + 0xb8]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x5d36c1
xor eax, eax
mov ecx, esi
mov word [esi + edx*2], ax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], 7
mov word [ebp - 0x94], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5d36f1
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x94]
call fcn.004044f0
mov dword [ebp - 4], 7
mov eax, 0x16
mov dword [ebp - 0x4c], eax
xor ecx, ecx
mov dword [ebp - 0x48], 0xcc00eb
mov dword [ebp - 0x44], 0xdc00dd
mov dword [ebp - 0x40], 0xce00d9
mov dword [ebp - 0x3c], 0xd600ca
mov dword [ebp - 0x38], 0xaf00af
mov dword [ebp - 0x34], 0x9600b1
mov dword [ebp - 0x30], 0x890096
mov dword [ebp - 0x2c], 0xa60080
mov dword [ebp - 0x28], 0xa500a4
mov dword [ebp - 0x24], 0xaa00a8
mov dword [ebp - 0x20], 0xa600af
mov dword [ebp - 0x1c], 0xce
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x48], ax
inc ecx
mov eax, dword [ebp - 0x4c]
cmp ecx, eax
jb 0x5d3772
xor ecx, ecx
mov word [ebp + eax*2 - 0x48], cx
xor eax, eax
mov dword [ebp - 0x54], ecx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x50], 7
lea edx, [ecx + 2]
mov word [ebp - 0x64], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5d37a2
sub ecx, edx
lea eax, [ebp - 0x48]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.004044f0
lea eax, [ebp - 0x94]
mov ecx, ebx
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0057e4b0
lea ecx, [ebp - 0x64]
call fcn.00404490
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call fcn.00404490
lea eax, [ebp - 0x314]
push eax
call fcn.005d3b20
mov edi, eax
xor ecx, ecx
mov edx, dword [edi]
lea esi, [edi + 4]
test edx, edx
je 0x5d3814
lea eax, [ecx + 0xb8]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x5d3803
xor eax, eax
mov ecx, esi
mov word [esi + edx*2], ax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5d3830
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x30]
call fcn.004044f0
mov dword [ebp - 4], 8
mov eax, 0xe
mov dword [ebp - 0x70], eax
xor ecx, ecx
mov dword [ebp - 0x6c], 0xcc00eb
mov dword [ebp - 0x68], 0xdc00dd
mov dword [ebp - 0x64], 0xce00d9
mov dword [ebp - 0x60], 0xd600ca
mov dword [ebp - 0x5c], 0xaf00af
mov dword [ebp - 0x58], 0x9600b1
mov dword [ebp - 0x54], 0x890096
mov dword [ebp - 0x50], 0xc6
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x6c], ax
inc ecx
mov eax, dword [ebp - 0x70]
cmp ecx, eax
jb 0x5d3892
xor ecx, ecx
lea edx, [ebp - 0x6c]
mov word [ebp + eax*2 - 0x6c], cx
xor eax, eax
mov dword [ebp - 0x1dc], ecx
lea ecx, [edx + 2]
mov dword [ebp - 0x1d8], 7
mov word [ebp - 0x1ec], ax
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x5d38d0
sub edx, ecx
lea eax, [ebp - 0x6c]
sar edx, 1
lea ecx, [ebp - 0x1ec]
push edx
push eax
call fcn.004044f0
lea eax, [ebp - 0x30]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1ec]
push eax
call fcn.0057e4b0
lea ecx, [ebp - 0x1ec]
call fcn.00404490
lea ecx, [ebp - 0x30]
call fcn.00404490
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0076d59e
mov esp, ebp
pop ebp
ret 4