Function at 0x418fb0
Capabilities:
Print debug messages
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x463963
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x47b040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov eax, dword fs:[0x2c]
mov edx, dword [eax]
mov eax, dword [0x47e484]
cmp eax, dword [edx + 4]
jle 0x41903e
push 0x47e484
call fcn.004384a8
add esp, 4
cmp dword [0x47e484], 0xffffffff
jne 0x41903e
call fcn.00405000
mov ecx, eax
test ecx, ecx
je 0x419311
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
push 0x466280
mov dword [0x47e488], eax
call fcn.00438a8d
add esp, 4
push 0x47e484
call fcn.00438457
add esp, 4
mov eax, dword [0x47e488]
cmp dword [eax - 0xc], 0
je 0x41906a
lea ecx, [eax - 0x10]
call fcn.004064a0
add eax, 0x10
mov dword [ebx], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x47e038]
test al, 1
jne 0x4190ac
or eax, 1
mov dword [0x47e038], eax
push 0x68
push 0
push 0x47dfd0
mov dword [ebp - 4], 0
call fcn.0043a680
add esp, 0xc
call fcn.0041b300
push 0x466210
call fcn.00438a8d
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x47dfe8]
lea ecx, [ecx - 0x10]
call fcn.004064a0
lea edi, [eax + 0x10]
mov dword [ebp - 0x24], edi
push 0x470d98
push edi
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 1
call fcn.00425290
add esp, 8
mov byte [ebp - 4], 2
or ebx, 0xffffffff
mov edx, dword [eax]
mov esi, dword [0x47e488]
add esi, 0xfffffff0
lea ecx, [edx - 0x10]
cmp ecx, esi
je 0x419136
cmp dword [esi + 0xc], 0
jl 0x419128
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x419128
call fcn.004064a0
mov dword [ebp - 0x10], eax
lea edx, [esi + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41911e
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x10]
add eax, 0x10
mov dword [0x47e488], eax
jmp 0x419136
push dword [edx - 0xc]
mov ecx, 0x47e488
push edx
call fcn.004065f0
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x419154
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x47e488]
cmp dword [eax - 0xc], 0
je 0x419167
lea ecx, [eax - 0x10]
jmp 0x4192d4
lea ecx, [ebp - 0x10]
call fcn.00426290
mov byte [ebp - 4], 3
mov edx, dword [eax]
mov esi, dword [0x47e488]
add esi, 0xfffffff0
lea ecx, [edx - 0x10]
cmp ecx, esi
je 0x4191ca
cmp dword [esi + 0xc], 0
jl 0x4191bc
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x4191bc
call fcn.004064a0
mov dword [ebp - 0x18], eax
lea edx, [esi + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4191b2
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x18]
add eax, 0x10
mov dword [0x47e488], eax
jmp 0x4191ca
push dword [edx - 0xc]
mov ecx, 0x47e488
push edx
call fcn.004065f0
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4191e8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x47e488]
mov esi, eax
mov dword [ebp - 0x18], eax
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4191f5
sub esi, ecx
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
sar esi, 1
mov dword [ebp - 0x10], ecx
test edi, edi
je 0x41923f
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x41926f
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], ecx
lea eax, [esi*2 + 2]
push eax
push dword [ebp - 0x18]
push 1
push 0
push 0x470d98
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [ebp - 0x10]
cmp eax, reloc.OLEAUT32.dll_SysReAllocString
je 0x419272
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x419272
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x4192cb
call fcn.00405000
mov ecx, eax
test ecx, ecx
je 0x41931b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push esi
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 4
push 0x4714a4
push eax
call fcn.00406780
mov esi, dword [ebp - 0x10]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4192cb
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [0x47e488]
lea ecx, [ecx - 0x10]
call fcn.004064a0
mov esi, dword [ebp - 0x14]
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
mov dword [esi], eax
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4192fd
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004022c0
push 0x80004005
call fcn.004022c0
int3