Function at 0x40b070
Capabilities:
Create process on windows
Enumerate gui resources
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x64981e
mov eax, dword fs:[0]
push eax
sub esp, 0x2e8
mov eax, dword [0x703eb0]
xor eax, esp
mov dword [esp + 0x2b0], eax
push ebx
push esi
push edi
mov eax, dword [0x703eb0]
xor eax, esp
push eax
lea eax, [esp + 0x2f8]
mov dword fs:[0], eax
lea eax, [esp + 0x54]
mov ebx, ecx
push eax
mov dword [esp + 0x44], ebx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [esp + 0x38]
push ecx
push 0x20019
push 0
push str.SOFTWARE_reimageBooster
push SysReAllocString
mov dword [esp + 0x314], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40b1c2
push str.UserID
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
mov dword [esp + 0x20], edi
test edi, edi
jne 0x40b10f
push 0x8007000e
call fcn.00401090
push 0x200
lea edx, [esp + 0xc0]
push 0
push edx
mov byte [esp + 0x30c], 1
call fcn.005236f0
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0xc0]
push ecx
lea edx, [esp + 0x30]
push edx
push 0
push edi
push eax
mov dword [esp + 0x34], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40b1a8
mov eax, dword [esp + 0x28]
dec eax
je 0x40b194
sub eax, 2
je 0x40b17c
dec eax
jne 0x40b1a8
mov ecx, dword [esp + 0xbc]
push ecx
lea esi, [esp + 0x58]
call fcn.00407130
jmp 0x40b1a8
fld qword [esp + 0xbc]
sub esp, 8
lea esi, [esp + 0x5c]
fstp qword [esp]
call fcn.00407100
jmp 0x40b1a8
lea edi, [esp + 0xbc]
lea esi, [esp + 0x54]
call fcn.00403440
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x38]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
mov byte [esp + 0x304], 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.0040cd50
mov byte [esp + 0x300], 2
mov eax, dword [ebx + 0x224]
sub eax, 0x10
push eax
call fcn.00402be0
lea edi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x1c], edi
push str._uid
lea ecx, [esp + 0x34]
mov byte [esp + 0x304], 3
call fcn.004023d0
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x30c], 4
call fcn.00402540
add esp, 0xc
lea edx, [esp + 0x2c]
push edx
push eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x30c], 5
call fcn.00402540
add esp, 0xc
mov byte [esp + 0x300], 7
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b26a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebx + 0x228]
cmp dword [ecx - 0xc], 0
lea eax, [ebx + 0x228]
je 0x40b36b
mov edx, dword [ebx + 0x22c]
cmp dword [edx - 0xc], 0
lea esi, [ebx + 0x22c]
je 0x40b36b
push eax
lea eax, [esp + 0x38]
push str.price
push eax
call fcn.00406870
add esp, 0xc
push str.ref
push eax
lea ecx, [esp + 0x44]
push ecx
mov byte [esp + 0x30c], 8
call fcn.00402600
add esp, 0xc
push esi
push eax
lea edx, [esp + 0x30]
mov bl, 9
push edx
mov byte [esp + 0x30c], bl
call fcn.00402540
add esp, 0xc
mov byte [esp + 0x300], 0xa
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00406a10
mov byte [esp + 0x300], bl
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b31b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x300], 8
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b343
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x300], 7
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b36b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x38], esp
mov esi, esp
push eax
call fcn.00402be0
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea esi, [esp + 0x28]
call fcn.0040adc0
add esp, 4
push 0x44
lea ecx, [esp + 0x78]
push 0
push ecx
call fcn.005236f0
xor eax, eax
add esp, 0xc
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov eax, 0x32
xor edx, edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x78]
push ecx
push edx
push edx
push edx
push edx
push edx
push edx
mov word [esp + 0xc4], dx
mov edx, dword [esp + 0x44]
push edx
push 0
mov dword [esp + 0x9c], 0x44
mov dword [esp + 0xc8], 7
mov dword [esp + 0xac], 0x3c
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40b4ea
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b439
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x300], 4
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b461
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x300], 3
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b489
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x300], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b4ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x300], 0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b4d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x54]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, 1
jmp 0x40b656
mov ebx, dword [esp + 0x6c]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, 0x19
lea esp, [esp]
push 0x32
call esi
push ebx
push 0x40b030
call dword [sym.imp.USER32.dll_EnumWindows]
dec edi
jne 0x40b500
push 0xbb8
call esi
mov edx, dword [esp + 0x40]
mov ecx, dword [edx + 0x230]
cmp dword [ecx - 0xc], edi
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
je 0x40b575
or edx, 0xffffffff
push 1
mov word [esp + 0x50], dx
sub esp, 0x10
mov eax, 0xb
mov word [esp + 0x58], ax
mov edx, dword [esp + 0x58]
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x5c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x60]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x64]
push ecx
push 0x722660
mov dword [eax + 0xc], edx
call fcn.00409130
lea eax, [esp + 0x44]
push eax
call edi
push 0xafc8
call esi
mov ecx, dword [esp + 0x70]
push 0
push 0
push 0x12
push ecx
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b5ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x300], 4
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b5d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x300], 3
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b5fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x300], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b625
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x300], 0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b64d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x54]
push ecx
call edi
xor eax, eax
mov ecx, dword [esp + 0x2f8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2b0]
xor ecx, esp
call fcn.00521602
mov esp, ebp
pop ebp
ret