Function at 0x40ac00
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push eax
lea eax, [esp + 4]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push 0x4332bc
push 0x80000001
call dword [sym.imp.advapi32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40b068
mov eax, dword [0x43b668]
push esi
mov esi, dword [sym.imp.advapi32.dll_RegSetValueExA]
add eax, 0xb0
push 4
push eax
push 4
push 0
push 0x4332cc
push dword [esp + 0x18]
call esi
mov eax, dword [0x43b668]
push 4
add eax, 0x14
push eax
push 4
push 0
push 0x4332dc
push dword [esp + 0x18]
call esi
push 4
push 0x438a38
push 4
push 0
push 0x4332ec
push dword [esp + 0x18]
call esi
mov eax, dword [0x43b668]
push 4
add eax, 0x8c
push eax
push 4
push 0
push 0x4332fc
push dword [esp + 0x18]
call esi
mov eax, dword [0x43b668]
push 4
add eax, 0xc8
push eax
push 4
push 0
push 0x433308
push dword [esp + 0x18]
call esi
mov eax, dword [0x43b668]
push 4
add eax, 0xcc
push eax
push 4
push 0
push 0x433318
push dword [esp + 0x18]
call esi
push 4
push 0x43ab5c
push 4
push 0
push 0x433328
push dword [esp + 0x18]
call esi
mov eax, dword [0x43b668]
push 4
add eax, 0xd0
push eax
push 4
push 0
push 0x433334
push dword [esp + 0x18]
call esi
push 4
push 0x43ac94
push 4
push 0
push 0x433344
push dword [esp + 0x18]
call esi
push 4
push 0x43acd8
push 4
push 0
push 0x433350
push dword [esp + 0x18]
call esi
push 4
push 0x43ad0c
push 4
push 0
push 0x433358
push dword [esp + 0x18]
call esi
push 4
push 0x43aca8
push 4
push 0
push 0x433364
push dword [esp + 0x18]
call esi
push 4
push 0x43ad04
push 4
push 0
push 0x433370
push dword [esp + 0x18]
call esi
push 4
push 0x43a7e0
push 4
push 0
push 0x43338c
push dword [esp + 0x18]
call esi
mov eax, dword [0x43b668]
push 4
add eax, 0xb4
push eax
push 4
push 0
push 0x43339c
push dword [esp + 0x18]
call esi
mov eax, dword [0x43b668]
push 4
add eax, 0xb8
push eax
push 4
push 0
push 0x4333ac
push dword [esp + 0x18]
call esi
push 4
push 0x43b688
push 4
push 0
push 0x4333bc
push dword [esp + 0x18]
call esi
push 4
push 0x43ab68
push 4
push 0
push 0x4333d4
push dword [esp + 0x18]
call esi
push 4
push 0x43b690
push 4
push 0
push 0x4333ec
push dword [esp + 0x18]
call esi
mov eax, dword [0x43b668]
push 4
add eax, 0xbc
push eax
push 4
push 0
push 0x43340c
push dword [esp + 0x18]
call esi
mov eax, dword [0x43b668]
push 4
add eax, 0xc0
push eax
push 4
push 0
push 0x433424
push dword [esp + 0x18]
call esi
push 4
push 0x43b304
push 4
push 0
push 0x433430
push dword [esp + 0x18]
call esi
cmp dword [0x43acdc], 0
je 0x40ae76
push 4
push 0x43b2f8
push 4
push 0
push 0x433444
push dword [esp + 0x18]
call esi
push 4
push 0x43acb8
push 4
push 0
push 0x433458
push dword [esp + 0x18]
call esi
push 4
push 0x43aca0
push 4
push 0
push 0x433468
push dword [esp + 0x18]
call esi
push 4
push 0x43a184
push 4
push 0
push 0x433480
push dword [esp + 0x18]
call esi
push 4
push 0x438a4c
push 4
push 0
push 0x433494
push dword [esp + 0x18]
call esi
push 4
push 0x43acec
push 4
push 0
push 0x4334ac
push dword [esp + 0x18]
call esi
push 4
push 0x43a900
push 4
push 0
push 0x4334c0
push dword [esp + 0x18]
call esi
push 4
push 0x43b01c
push 4
push 0
push 0x4334d0
push dword [esp + 0x18]
call esi
push 4
push 0x43a910
push 4
push 0
push 0x4334e8
push dword [esp + 0x18]
call esi
push 4
push 0x43a6cc
push 4
push 0
push 0x433504
push dword [esp + 0x18]
call esi
push 4
push 0x43a7e4
push 4
push 0
push 0x433510
push dword [esp + 0x18]
call esi
cmp dword [0x43a5b0], 0
je 0x40af71
push 4
push 0x43a7f4
push 4
push 0
push 0x433524
push dword [esp + 0x18]
call esi
mov ecx, 0x43af10
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40af80
sub ecx, edx
lea eax, [ecx + 1]
push eax
push 0x43af10
push 1
push 0
push 0x433538
push dword [esp + 0x18]
call esi
mov ecx, 0x43a920
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40afb0
sub ecx, edx
lea eax, [ecx + 1]
push eax
push 0x43a920
push 1
push 0
push 0x433550
push dword [esp + 0x18]
call esi
mov ecx, 0x43a190
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40afe0
sub ecx, edx
lea eax, [ecx + 1]
push eax
push 0x43a190
push 1
push 0
push 0x433560
push dword [esp + 0x18]
call esi
mov ecx, 0x43a290
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40b010
sub ecx, edx
lea eax, [ecx + 1]
push eax
push 0x43a290
push 1
push 0
push 0x433574
push dword [esp + 0x18]
call esi
push 4
push 0x43ac84
push 4
push 0
push 0x433580
push dword [esp + 0x18]
call esi
push 4
push 0x43ac90
push 4
push 0
push 0x43358c
push dword [esp + 0x18]
call esi
push dword [esp + 4]
call dword [sym.imp.advapi32.dll_RegCloseKey]
pop esi
add esp, 8
ret