Function at 0x40ef30
Capabilities:
Check for peb beingdebugged flag
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x44d99b
mov eax, dword fs:[0]
push eax
sub esp, 0x324
mov eax, dword [0x4616c4]
xor eax, esp
mov dword [esp + 0x320], eax
push ebx
push esi
push edi
mov eax, dword [0x4616c4]
xor eax, esp
push eax
lea eax, [esp + 0x334]
mov dword fs:[0], eax
xor ebx, ebx
push str.SOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionUninstall_
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], ebx
call fcn.00402ee0
push 0x103
mov dword [esp + 0x340], ebx
lea eax, [esp + 0x29]
push ebx
push eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x30], bl
call fcn.00435270
push 0x206
lea ecx, [esp + 0x13a]
push ebx
push ecx
mov word [esp + 0x140], bx
call fcn.00435270
mov eax, 0x455db0
add esp, 0x18
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40efc7
sub eax, edx
sar eax, 1
push eax
push 0x455db0
lea ecx, [esp + 0x1c]
call fcn.0040f2e0
push str.IsWow64Process
push str.kernel32
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [0x6f9c60], eax
je 0x40f01b
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x6f9c60]
cmp dword [esp + 0x1c], ebx
je 0x40f033
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push 0xf003f
push ebx
push ecx
jmp 0x40f043
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
push 0xf003f
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x40f07a
mov dword [esp + 0x33c], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x40f143
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x28]
push ecx
push ebx
push str.UninstallString
push eax
mov dword [esp + 0x38], 1
mov dword [esp + 0x30], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
je 0x40f0da
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x33c], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x40f143
mov esi, dword [esp + 0x18]
xor ecx, ecx
cmp esi, ebx
jbe 0x40f109
lea edx, [esp + 0x128]
jmp 0x40f0f0
mov al, byte [esp + ecx + 0x24]
cmp al, bl
je 0x40f102
movsx ax, al
mov word [edx], ax
add edx, 2
add ecx, 1
cmp ecx, esi
jb 0x40f0f0
lea edi, [esp + 0x128]
call fcn.0040ee60
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x33c], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40f14f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x334]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x320]
xor ecx, esp
call fcn.00431de0
add esp, 0x330
ret