Function at 0x432920
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d3731
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x64c00c]
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 dword [ebp - 0x24], 0
mov dword [ebp - 4], 0
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x65cc38]
cmp eax, dword [ecx + 4]
jle 0x4329ab
push 0x65cc38
call fcn.00483c2d
add esp, 4
cmp dword [0x65cc38], 0xffffffff
jne 0x4329ab
mov byte [ebp - 4], 1
call fcn.00414990
push 0x5d7c10
call fcn.00484084
add esp, 4
mov byte [ebp - 4], 0
push 0x65cc38
call fcn.00483be3
add esp, 4
mov ecx, 0x65cc40
call fcn.00412eb0
mov ebx, eax
mov ecx, 0x65cc40
lea eax, [ebp - 0x28]
push eax
call fcn.00412f90
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ecx, ecx
je 0x4329d8
push ecx
call esi
push 0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
push 0
push 0xf023f
push 0
push 0
push 0
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push ebx
call edi
test eax, eax
je 0x432a79
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x432a10
push eax
call esi
push 0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
push 0
push 0xf013f
push 0
push 0
push 0
push dword [ebp - 0x2c]
push ebx
call edi
test eax, eax
je 0x432a79
mov edx, dword [ebp - 0x28]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x432a4f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor ebx, ebx
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x432a5b
push eax
call esi
mov eax, ebx
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.00483ab6
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x28]
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x432a96
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], 1
test eax, eax
je 0x432a4f
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x2c]
push 4
push ecx
push 4
push 0
push str.install
push eax
call ebx
test eax, eax
jne 0x432a4f
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], 1
test eax, eax
je 0x432ae0
push 4
lea ecx, [ebp - 0x2c]
push ecx
push 4
push 0
push str.setup
push eax
call ebx
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
call fcn.00405800
mov ecx, eax
test ecx, ecx
je 0x432b9e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 2
movzx eax, word [ebp - 0x14]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x18]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1e]
push eax
movzx eax, word [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push str._d__d__d__d:_d:_d
push eax
call fcn.00408c40
mov eax, dword [ebp - 0x24]
add esp, 0x20
mov esi, dword [ebp - 0x28]
test eax, eax
je 0x432b75
mov edx, esi
lea ecx, [edx + 2]
mov dword [ebp - 0x2c], ecx
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x432b50
sub edx, dword [ebp - 0x2c]
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push esi
push 1
push 0
push str.InstallTime
push eax
call ebx
mov ebx, 1
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x432b93
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x432a51
push 0x80004005
call fcn.00405600
int3