Function at 0x40bb90
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43693b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
mov eax, dword [0x4481e0]
mov dword [esp + 0x11c], eax
push esi
push edi
mov byte [esp + 0x18], 0
xor eax, eax
mov ecx, 0x40
lea edi, [esp + 0x19]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.00428fe3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 8], eax
push 0
push 0x438a07
lea ecx, [esp + 0x10]
mov dword [esp + 0x13c], 0
call fcn.00402230
lea eax, [esp + 0xc]
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40bd89
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
push eax
mov eax, dword [esp + 0x1c]
push str.UninstallString
push eax
mov dword [esp + 0x2c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40bcb4
lea ecx, [esp + 0x18]
push 0x5c
push ecx
call fcn.0041c17c
mov byte [eax + 1], 0
lea eax, [esp + 0x20]
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40bc68
sub eax, edx
push eax
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x10]
call fcn.00402230
mov edx, dword [esp + 8]
test edx, edx
jne 0x40bc8c
xor eax, eax
jmp 0x40bca0
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40bc91
sub eax, esi
js 0x40bd7f
cmp eax, dword [edx - 8]
jg 0x40bd7f
mov dword [edx - 0xc], eax
mov ecx, dword [esp + 8]
mov byte [eax + ecx], 0
mov edx, dword [0x44914c]
mov ecx, dword [edx + 0x14]
add ecx, 4
call fcn.0040b1a0
lea ecx, [esp + 8]
mov esi, eax
call fcn.0040b1a0
mov esi, dword [esi]
mov eax, dword [eax]
push esi
push eax
call fcn.0041b9dd
add esp, 8
test eax, eax
je 0x40bd89
push 0x438fb4
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.004047c0
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov esi, eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
or edi, 0xffffffff
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40bd25
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test esi, esi
je 0x40bd8c
mov eax, dword [0x44914c]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 0x1c]
add edx, 0x24
push str._UnsetupIME_wnwbio.ime
push edx
call fcn.00402830
mov eax, dword [0x44914c]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 0x1c]
mov ecx, dword [eax + 0x20]
add esp, 8
push edx
call fcn.00405570
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov dword [esp + 0x134], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x40bd7b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
jmp 0x40bdb3
push 0x80070057
call fcn.00401230
or edi, 0xffffffff
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov dword [esp + 0x134], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x40bdae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x124]
call fcn.0041b28e
pop edi
pop esi
mov esp, ebp
pop ebp
ret