Function at 0x429690
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64bab0
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x6af168]
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 eax, dword [ebp + 8]
push 1
mov esi, ecx
push 0xffffffffffffffff
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, esi
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x4c], 0x5c
call fcn.00443940
mov edi, eax
xor ebx, ebx
mov eax, 0xf
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ebx
mov byte [ebp - 0x44], bl
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
cmp edi, 0xffffffff
mov byte [ebp - 4], 1
je 0x429769
push edi
push ebx
lea edx, [ebp - 0x74]
push edx
mov ecx, esi
call fcn.00440e80
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.00401d10
mov byte [ebp - 4], 1
cmp dword [ebp - 0x5c], 0x10
jb 0x429730
mov eax, dword [ebp - 0x70]
push eax
call fcn.0062493b
add esp, 4
push 0xffffffffffffffff
add edi, 1
push edi
lea ecx, [ebp - 0x74]
push ecx
mov ecx, esi
call fcn.00440e80
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00401d10
mov esi, 0x10
cmp dword [ebp - 0x5c], esi
jb 0x429788
mov edx, dword [ebp - 0x70]
push edx
call fcn.0062493b
add esp, 4
jmp 0x429788
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [ebp - 0x48]
call fcn.00401d10
push ebx
push 0x66f61c
lea ecx, [ebp - 0x2c]
call fcn.00402300
mov esi, 0x10
cmp dword [ebp - 0x30], esi
mov eax, dword [ebp - 0x44]
jae 0x429793
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x50]
push ecx
push 0x2001f
push ebx
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x429810
cmp dword [ebp - 0x30], esi
mov eax, dword [ebp - 0x44]
jae 0x4297b8
lea eax, [ebp - 0x44]
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x50]
push ecx
push ebx
push 0xf003f
push ebx
push 0x672aa4
push ebx
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x429810
cmp dword [ebp - 0x14], esi
jb 0x4297ee
mov edx, dword [ebp - 0x28]
push edx
call fcn.0062493b
add esp, 4
cmp dword [ebp - 0x30], esi
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
jb 0x42980c
mov eax, dword [ebp - 0x44]
push eax
call fcn.0062493b
add esp, 4
xor al, al
jmp 0x429879
mov eax, dword [ebp - 0x54]
cmp dword [eax + 0x18], esi
mov edx, dword [eax + 0x14]
jb 0x429820
mov eax, dword [eax + 4]
jmp 0x429823
add eax, 4
cmp dword [ebp - 0x14], esi
mov ecx, dword [ebp - 0x28]
jae 0x42982e
lea ecx, [ebp - 0x28]
push edx
push eax
push 1
push ebx
push ecx
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], esi
jb 0x429859
mov eax, dword [ebp - 0x28]
push eax
call fcn.0062493b
add esp, 4
cmp dword [ebp - 0x30], esi
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
jb 0x429877
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.0062493b
add esp, 4
mov al, 1
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.00624940
mov esp, ebp
pop ebp
ret