Function at 0x413890
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x45a199
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4737e0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4737e0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x48]
xor esi, esi
mov dword [esp + 0x40], esi
push 0x462d74
mov ecx, ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x28], esi
call fcn.00401ac0
mov dword [esp + 0x40], esi
mov edi, 1
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], 0x104
call fcn.0041d42a
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x41390f
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x40], edi
call fcn.0041d42a
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x41393d
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
push 0x3d
mov bl, 2
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallYouXunBox
lea ecx, [esp + 0x24]
mov byte [esp + 0x48], bl
call fcn.00401ef0
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push 0x20019
push 0
push edx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x413b18
mov dword [esp + 0x2c], edi
mov eax, dword [esi - 8]
mov ecx, edi
sub ecx, dword [esi - 4]
sub eax, 0x100
or eax, ecx
jge 0x4139ae
push 0x100
lea ecx, [esp + 0x1c]
call fcn.00401fa0
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x28]
push eax
push esi
lea ecx, [esp + 0x34]
push ecx
push 0
push str.DisplayIcon
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0043dbf8
add esp, 8
test eax, eax
jl 0x413b0e
cmp eax, dword [esi - 8]
jg 0x413b0e
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], ecx
jne 0x413a0f
push 0x26
lea ebx, [esp + 0x18]
call fcn.00415820
add esp, 4
mov byte [esp + 0x40], 3
jmp 0x413ad4
push ecx
lea eax, [esi - 0x10]
mov dword [esp + 0x18], esp
mov edi, esp
push eax
call fcn.00401ff0
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.004154f0
add esp, 4
test eax, eax
je 0x413ac1
mov eax, dword [esi - 0xc]
test eax, eax
jge 0x413a43
or eax, 0xffffffff
jmp 0x413a5e
push str.YouXunBox
push esi
call fcn.0043c336
add esp, 8
test eax, eax
jne 0x413a5a
or eax, 0xffffffff
jmp 0x413a5e
sub eax, esi
sar eax, 1
dec eax
push eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
call fcn.00402f10
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 4
call fcn.00401d60
mov byte [esp + 0x40], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x413aa1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
call fcn.00401d60
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x413b58
push 0x26
lea ebx, [esp + 0x18]
call fcn.00415820
add esp, 4
mov byte [esp + 0x40], 5
push eax
mov ecx, ebp
call fcn.00401d60
mov byte [esp + 0x40], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x413b01
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x413b58
push 0x80070057
call fcn.00401090
push 0x26
lea ebx, [esp + 0x18]
call fcn.00415820
add esp, 4
push eax
mov ecx, ebp
mov byte [esp + 0x44], 6
call fcn.00401d60
mov byte [esp + 0x40], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x413b58
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x40], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413b79
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x40], 0
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 0x413b9e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0043bfab
add esp, 0x30
ret 4