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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10073a83
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x10089040]
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 [0x1008ade8]
mov edx, dword [eax + edx*4]
mov eax, dword [0x1008c330]
cmp eax, dword [edx + 4]
jle 0x100340f5
push 0x1008c330
call fcn.100440d0
add esp, 4
cmp dword [0x1008c330], 0xffffffff
jne 0x100340f5
call fcn.10003fc0
mov ecx, eax
test ecx, ecx
je 0x100343cc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
push 0x10074e80
mov dword [0x1008c334], eax
call fcn.10043c72
add esp, 4
push 0x1008c330
call fcn.1004407f
add esp, 4
mov eax, dword [0x1008c334]
cmp dword [eax - 0xc], 0
je 0x10034121
lea ecx, [eax - 0x10]
call fcn.10005e40
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 [0x1008beb0]
test al, 1
jne 0x10034163
or eax, 1
mov dword [0x1008beb0], eax
push 0x68
push 0
push 0x1008be48
mov dword [ebp - 4], 0
call fcn.10045770
add esp, 0xc
call fcn.10005f50
push 0x10074db0
call fcn.10043c72
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x1008be60]
lea ecx, [ecx - 0x10]
call fcn.10005e40
lea edi, [eax + 0x10]
mov dword [ebp - 0x24], edi
push 0x1007e894
push edi
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 1
call fcn.1000a1b0
add esp, 8
mov byte [ebp - 4], 2
or ebx, 0xffffffff
mov edx, dword [eax]
mov esi, dword [0x1008c334]
add esi, 0xfffffff0
lea ecx, [edx - 0x10]
cmp ecx, esi
je 0x100341ed
cmp dword [esi + 0xc], 0
jl 0x100341df
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x100341df
call fcn.10005e40
mov dword [ebp - 0x10], eax
lea edx, [esi + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100341d5
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x10]
add eax, 0x10
mov dword [0x1008c334], eax
jmp 0x100341ed
push dword [edx - 0xc]
mov ecx, 0x1008c334
push edx
call fcn.10005d10
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 0x1003420b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x1008c334]
cmp dword [eax - 0xc], 0
je 0x1003421e
lea ecx, [eax - 0x10]
jmp 0x1003438f
lea ecx, [ebp - 0x10]
call fcn.10036050
mov byte [ebp - 4], 3
mov edx, dword [eax]
mov esi, dword [0x1008c334]
add esi, 0xfffffff0
lea ecx, [edx - 0x10]
cmp ecx, esi
je 0x10034281
cmp dword [esi + 0xc], 0
jl 0x10034273
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x10034273
call fcn.10005e40
mov dword [ebp - 0x18], eax
lea edx, [esi + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10034269
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x18]
add eax, 0x10
mov dword [0x1008c334], eax
jmp 0x10034281
push dword [edx - 0xc]
mov ecx, 0x1008c334
push edx
call fcn.10005d10
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 0x1003429f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x1008c334]
mov esi, eax
mov dword [ebp - 0x18], eax
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x100342b0
sub esi, ecx
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
sar esi, 1
mov dword [ebp - 0x10], ecx
test edi, edi
je 0x100342fa
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 0x1003432a
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 0x1007e894
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [ebp - 0x10]
cmp eax, reloc.OLEAUT32.dll_SysReAllocString
je 0x1003432d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1003432d
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x10034386
call fcn.10003fc0
mov ecx, eax
test ecx, ecx
je 0x100343d6
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 0x1007f5b0
push eax
call fcn.10005430
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 0x10034386
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [0x1008c334]
lea ecx, [ecx - 0x10]
call fcn.10005e40
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 0x100343b8
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.100013a0
push 0x80004005
call fcn.100013a0
int3