Function at 0x45bdb0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5faae2
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x67f4f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
test esi, esi
jne 0x45be03
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00478a88
mov esp, ebp
pop ebp
ret 4
push 0x208
xor edi, edi
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.0053dd00
add esp, 0xc
call fcn.00433320
test al, al
je 0x45be8a
lea ecx, [ebp - 0x219]
call fcn.0045b750
push eax
push esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x220]
call fcn.00460000
lea ecx, [ebp - 0x21a]
mov dword [ebp - 4], edi
call fcn.0045bcd0
push eax
push edi
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21a]
call fcn.0045b830
push eax
lea ecx, [ebp - 0x220]
call fcn.00460430
lea ecx, [ebp - 0x220]
mov edi, eax
call fcn.00460320
mov eax, edi
jmp 0x45bde6
mov eax, dword [0x68af24]
test al, 1
jne 0x45bea1
or eax, 1
mov dword [0x68af20], edi
mov dword [0x68af24], eax
mov byte [ebp - 0x219], 0
lea eax, [ebp - 0x224]
mov dword [ebp - 4], 1
push eax
call fcn.00462c42
lea eax, [ebp - 0x224]
mov dword [ebp - 4], 2
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x219]
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x234]
push eax
push 0x45acb0
push 0x68af20
call fcn.004636f9
add esp, 0x10
test eax, eax
je 0x45c21a
lea eax, [ebp - 0x224]
mov dword [ebp - 4], 3
push eax
call fcn.00462c7c
add esp, 4
lea eax, [ebp - 0x218]
push 0x68af28
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, dword [0x68af60]
test al, 1
jne 0x45bf3f
or eax, 1
mov dword [0x68af5c], 0
mov dword [0x68af60], eax
mov byte [ebp - 0x219], 0
lea eax, [ebp - 0x224]
mov dword [ebp - 4], 6
push eax
call fcn.00462c42
lea eax, [ebp - 0x224]
mov dword [ebp - 4], 7
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x219]
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x234]
push eax
push 0x45ab70
push 0x68af5c
call fcn.004636f9
add esp, 0x10
test eax, eax
je 0x45c1f2
lea eax, [ebp - 0x224]
mov dword [ebp - 4], 8
push eax
call fcn.00462c7c
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x23c]
push eax
push 0x20006
push 0
push 0x68af68
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45be83
call fcn.00409110
mov ecx, eax
test ecx, ecx
je 0x45c233
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
mov eax, dword [0x68afcc]
mov dword [ebp - 4], 0xb
test al, 1
jne 0x45c01b
or eax, 1
mov dword [0x68afc8], 0
mov dword [0x68afcc], eax
mov byte [ebp - 0x219], 0
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 0xc
push eax
call fcn.00462c42
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x219]
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x234]
push eax
push 0x45a9d0
push 0x68afc8
call fcn.004636f9
add esp, 0x10
test eax, eax
je 0x45c1d9
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 0xe
push eax
call fcn.00462c7c
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x220]
push 0x68afd0
push eax
call fcn.0040d7f0
mov esi, dword [ebp - 0x220]
add esp, 0x10
cmp dword [esi - 4], 1
mov edi, dword [esi - 0xc]
jle 0x45c0bb
push edi
lea ecx, [ebp - 0x220]
call fcn.00409060
mov esi, dword [ebp - 0x220]
mov eax, dword [0x68aff4]
test al, 1
jne 0x45c0d6
or eax, 1
mov dword [0x68aff0], 0
mov dword [0x68aff4], eax
mov byte [ebp - 0x21a], 0
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 0x11
push eax
call fcn.00462c42
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x244], eax
lea eax, [ebp - 0x21a]
mov dword [ebp - 0x240], eax
lea eax, [ebp - 0x244]
push eax
push 0x45a800
push 0x68aff0
call fcn.004636f9
add esp, 0x10
test eax, eax
je 0x45c1b8
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 0x13
push eax
call fcn.00462c7c
add esp, 4
mov byte [ebp - 4], 0xb
lea eax, [edi + edi]
push eax
push esi
push 1
push 0
push 0x68aff8
push dword [ebp - 0x23c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esi - 8]
neg eax
push esi
sbb edi, edi
inc edi
call fcn.00562507
add esp, 8
test eax, eax
js 0x45c23d
cmp eax, dword [esi - 8]
jg 0x45c23d
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
push dword [ebp - 0x23c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45be83
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
jmp 0x45bde6
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 0x14
push eax
call fcn.00462cbe
add esp, 4
mov byte [ebp - 4], 0x12
test al, al
je 0x45c25d
jmp 0x45c247
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 0xf
push eax
call fcn.00462cbe
add esp, 4
mov byte [ebp - 4], 0xd
jmp 0x45c1cf
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 9
push eax
call fcn.00462cbe
add esp, 4
mov byte [ebp - 4], 7
test al, al
je 0x45c25d
sub esp, 8
lea eax, [ebp - 0x224]
mov ecx, esp
jmp 0x45c252
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 4
push eax
call fcn.00462cbe
add esp, 4
mov byte [ebp - 4], 2
jmp 0x45c209
push 0x80004005
call fcn.004084c0
push 0x80070057
call fcn.004084c0
sub esp, 8
lea eax, [ebp - 0x22c]
mov ecx, esp
push eax
call fcn.00407770
call fcn.00407ca0
call fcn.004637ca
int3