Function at 0x4391c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bef56
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
mov eax, dword [0x4f2214]
xor eax, dword [ebp + 4]
push ebx
mov ebx, ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x54]
push esi
xor esi, esi
cmp eax, esi
jne 0x4391fa
xor al, al
jmp 0x4394bf
mov al, byte [ebx + 0x4fd]
test al, al
je 0x43922d
push 1
mov ecx, ebx
call fcn.00432240
push esi
push 1
lea ecx, [ebx + 0x51c]
mov byte [ebx + 0x548], 1
call fcn.004471e0
neg eax
sbb eax, eax
neg eax
jmp 0x4394bf
lea eax, [ebx + 0x40]
push eax
lea ecx, [ebp - 0x6c]
push str.SOFTWARE_
push ecx
call fcn.004065da
push eax
lea edx, [ebp - 0x50]
push edx
mov dword [ebp - 4], esi
call fcn.0044cd20
add esp, 0x14
cmp dword [ebp - 0x54], 0x10
jb 0x439261
mov eax, dword [ebp - 0x68]
push eax
call fcn.004a773c
add esp, 4
push edi
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x30], 0
mov edi, dword [ebp + 8]
push 1
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
push ecx
mov ecx, edi
mov byte [ebp - 4], 3
mov byte [ebp - 0x14], 0x5c
call fcn.00433d40
mov esi, eax
cmp esi, 0xffffffff
je 0x43934e
push esi
push 0
lea edx, [ebp - 0x88]
push edx
mov ecx, edi
call fcn.00437100
push eax
lea eax, [ebp - 0x6c]
push 0x4c6298
push eax
mov byte [ebp - 4], 4
call fcn.004065da
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 5
call fcn.00406496
cmp dword [ebp - 0x54], 0x10
jb 0x4392df
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.004a773c
add esp, 4
cmp dword [ebp - 0x70], 0x10
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
mov byte [ebp - 4], 3
jb 0x43930a
mov edx, dword [ebp - 0x84]
push edx
call fcn.004a773c
add esp, 4
push 0xffffffffffffffff
inc esi
push esi
lea eax, [ebp - 0x88]
push eax
mov ecx, edi
call fcn.00437100
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call fcn.00402bf0
mov eax, dword [ebp - 0x70]
mov esi, 0x10
cmp eax, esi
mov byte [ebp - 4], 3
jb 0x439360
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.004a773c
add esp, 4
jmp 0x439360
push 0xffffffffffffffff
push 0
push edi
lea ecx, [ebp - 0x34]
call fcn.00402bf0
mov esi, 0x10
cmp dword [ebp - 0x38], esi
mov eax, dword [ebp - 0x4c]
jae 0x43936b
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x18]
push edx
push 0x20006
xor edi, edi
push edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, edi
je 0x439428
cmp dword [ebp - 0x38], esi
mov eax, dword [ebp - 0x4c]
jae 0x439396
lea eax, [ebp - 0x4c]
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x18]
push edx
push edi
push 0xf003f
push edi
push 0x4c6294
push edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, edi
je 0x439428
mov al, byte [ebx + 0x4fc]
test al, al
je 0x4393f1
mov ecx, ebx
call fcn.004321a0
push 1
add ebx, 0x51c
push edi
mov ecx, ebx
call fcn.00450060
push 5
push 0xc
mov ecx, ebx
call fcn.00450060
push 1
push edi
mov ecx, ebx
call fcn.00450060
cmp dword [ebp - 0x1c], esi
jb 0x439402
mov eax, dword [ebp - 0x30]
push eax
call fcn.004a773c
add esp, 4
cmp dword [ebp - 0x38], esi
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], edi
mov byte [ebp - 0x30], 0
jb 0x439421
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004a773c
add esp, 4
xor al, al
jmp 0x4394be
cmp dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x30]
jae 0x439433
lea eax, [ebp - 0x30]
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
push ecx
push edx
push edi
push eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebx + 0x4fc]
test al, al
je 0x43948c
mov ecx, ebx
call fcn.004321a0
push 1
add ebx, 0x51c
push edi
mov ecx, ebx
call fcn.00450060
push 5
push 0xc
mov ecx, ebx
call fcn.00450060
push 1
push 1
mov ecx, ebx
call fcn.00450060
cmp dword [ebp - 0x1c], esi
jb 0x43949d
mov edx, dword [ebp - 0x30]
push edx
call fcn.004a773c
add esp, 4
cmp dword [ebp - 0x38], esi
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], edi
mov byte [ebp - 0x30], 0
jb 0x4394bc
mov eax, dword [ebp - 0x4c]
push eax
call fcn.004a773c
add esp, 4
mov al, 1
pop edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp + 4]
pop esi
pop ebx
call fcn.004a8117
mov esp, ebp
pop ebp
ret 0x10