Function at 0x42c580
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ce551
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x667d00]
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 esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x258], 0
call fcn.005a26c0
add esp, 0xc
mov dword [ebp - 0x238], 0
xor eax, eax
mov dword [ebp - 0x234], 7
lea ecx, [ebp - 0x248]
mov word [ebp - 0x248], ax
push 1
push 0x5d838c
call fcn.004032c0
push 0x24
push str.E9F53651_B706_45D5_A8AE_8F60F9C04819
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0
call fcn.00405ab0
push 1
push 0x5d83dc
lea ecx, [ebp - 0x248]
call fcn.00405ab0
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x264]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push 0
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
call esi
test eax, eax
jne 0x42ca18
push eax
lea eax, [ebp - 0x24c]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x5d8530
push dword [ebp - 0x264]
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x42ca0b
push 0
lea eax, [ebp - 0x250]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x5d4990
push dword [ebp - 0x24c]
call esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x42c8cf
push 0
lea eax, [ebp - 0x254]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.win32
push dword [ebp - 0x250]
call esi
test eax, eax
jne 0x42c7e2
call fcn.00404610
mov ecx, eax
call fcn.0043cd98
push eax
lea ecx, [ebp - 0x230]
call fcn.004030c0
push 0xc
push str.BKExtern.dll
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 1
call fcn.00405ab0
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x230]
lea edx, [ebp - 0x218]
cmovae ecx, dword [ebp - 0x230]
sub edx, ecx
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x42c780
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42c7a0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push 0x6568d8
push dword [ebp - 0x254]
call ebx
push dword [ebp - 0x254]
call edi
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.00403060
push 0
lea eax, [ebp - 0x258]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.win64
push dword [ebp - 0x250]
call esi
test eax, eax
jne 0x42c8c2
call fcn.00404610
mov ecx, eax
call fcn.0043cd98
push eax
lea ecx, [ebp - 0x230]
call fcn.004030c0
push 0xe
push str.BKExtern64.dll
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 2
call fcn.00405ab0
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x230]
lea edx, [ebp - 0x218]
cmovae ecx, dword [ebp - 0x230]
sub edx, ecx
nop word [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x42c860
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42c880
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push 0x6568d8
push dword [ebp - 0x258]
call ebx
push dword [ebp - 0x258]
call edi
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.00403060
mov eax, dword [ebp - 0x250]
test eax, eax
je 0x42c8cf
push eax
call edi
push 0
lea eax, [ebp - 0x25c]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.FLAGS
push dword [ebp - 0x24c]
call esi
test eax, eax
jne 0x42c943
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x218], 0x30
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42c910
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push 0x6568d8
push dword [ebp - 0x25c]
call ebx
push dword [ebp - 0x25c]
call edi
push 0
lea eax, [ebp - 0x260]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.HELPDIR
push dword [ebp - 0x24c]
call esi
test eax, eax
jne 0x42c9fe
call fcn.00404610
mov ecx, eax
call fcn.0043cd98
push eax
lea ecx, [ebp - 0x230]
call fcn.004030c0
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x230]
lea edx, [ebp - 0x218]
cmovae ecx, dword [ebp - 0x230]
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x42c9a2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42c9c0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push 0x6568d8
push dword [ebp - 0x260]
call ebx
push dword [ebp - 0x260]
call edi
lea ecx, [ebp - 0x230]
call fcn.00403060
mov eax, dword [ebp - 0x24c]
test eax, eax
je 0x42ca0b
push eax
call edi
mov eax, dword [ebp - 0x264]
test eax, eax
je 0x42ca18
push eax
call edi
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x42ca54
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42ca4a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ca72
push edx
push ecx
call fcn.0059ce4e
add esp, 8
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.0059d38a
mov esp, ebp
pop ebp
ret 4
call fcn.005a5c79
int3