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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10073663
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 0x10033e65
push 0x1008c330
call fcn.10043ce5
add esp, 4
cmp dword [0x1008c330], 0xffffffff
jne 0x10033e65
call fcn.10003fc0
mov ecx, eax
test ecx, ecx
je 0x1003413c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
push 0x10074a50
mov dword [0x1008c334], eax
call fcn.100438b2
add esp, 4
push 0x1008c330
call fcn.10043c94
add esp, 4
mov eax, dword [0x1008c334]
cmp dword [eax - 0xc], 0
je 0x10033e91
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 0x10033ed3
or eax, 1
mov dword [0x1008beb0], eax
push 0x68
push 0
push 0x1008be48
mov dword [ebp - 4], 0
call fcn.10045390
add esp, 0xc
call fcn.10005f50
push 0x10074980
call fcn.100438b2
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 0x1007e87c
push edi
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 1
call fcn.1000a0b0
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 0x10033f5d
cmp dword [esi + 0xc], 0
jl 0x10033f4f
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x10033f4f
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 0x10033f45
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 0x10033f5d
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 0x10033f7b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x1008c334]
cmp dword [eax - 0xc], 0
je 0x10033f8e
lea ecx, [eax - 0x10]
jmp 0x100340ff
lea ecx, [ebp - 0x10]
call fcn.10035dc0
mov byte [ebp - 4], 3
mov edx, dword [eax]
mov esi, dword [0x1008c334]
add esi, 0xfffffff0
lea ecx, [edx - 0x10]
cmp ecx, esi
je 0x10033ff1
cmp dword [esi + 0xc], 0
jl 0x10033fe3
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x10033fe3
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 0x10033fd9
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 0x10033ff1
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 0x1003400f
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 0x10034020
sub esi, ecx
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
sar esi, 1
mov dword [ebp - 0x10], ecx
test edi, edi
je 0x1003406a
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 0x1003409a
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 0x1007e87c
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [ebp - 0x10]
cmp eax, reloc.OLEAUT32.dll_SysReAllocString
je 0x1003409d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1003409d
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x100340f6
call fcn.10003fc0
mov ecx, eax
test ecx, ecx
je 0x10034146
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 0x1007f598
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 0x100340f6
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 0x10034128
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