Function at 0x40b3f0
Capabilities:
Delete registry key
Get installed programs
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x48a381
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4ada80]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ada80]
xor eax, esp
push eax
lea eax, [esp + 0x22c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x23c]
call fcn.0043a8f1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40b44c
push 0x80004005
call fcn.004010b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push str.YouXunBox
lea ecx, [esp + 0x1c]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_s
push ecx
mov dword [esp + 0x240], 0
call fcn.00406270
mov esi, dword [esp + 0x24]
add esp, 0xc
push esi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x40b4a5
mov dword [esp + 0x234], 0xffffffff
lea eax, [esi - 0x10]
jmp 0x40b633
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push 0
push esi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40b60d
push 0x1fe
push eax
lea edx, [esp + 0x30]
push edx
call fcn.0045c9f0
mov edx, dword [esp + 0x20]
add esp, 0xc
push 0
push 0
push 0
push 0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x3c]
push ecx
push 0
push edx
mov dword [esp + 0x3c], 0xff
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x40b60d
cmp eax, 0xea
je 0x40b60d
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x24]
call fcn.00401870
push 2
lea eax, [esp + 0x28]
push eax
lea ebx, [esp + 0x28]
mov byte [esp + 0x23c], 1
call fcn.004101d0
lea edi, [ebp + 0xd0]
push eax
mov ecx, edi
mov byte [esp + 0x238], 2
call fcn.00401c20
mov byte [esp + 0x234], 1
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 0x40b586
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x234], 0
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 0x40b5ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
push ecx
lea esi, [ebp + 0xcc]
push eax
mov ecx, esi
call fcn.00405eb0
push 2
push 0x4953dc
mov ecx, esi
call fcn.00405eb0
mov esi, dword [esi]
push esi
lea ecx, [ebp + 0x1d8]
call fcn.00444183
mov eax, dword [esp + 0x14]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x3c]
push edx
push 0
push eax
mov dword [esp + 0x3c], 0xff
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x40b507
mov ecx, dword [esp + 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call esi
push SysReAllocString
call esi
mov dword [esp + 0x234], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b64c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.00457b41
add esp, 0x224
ret 4