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

Disassembly:
sub esp, 0x420
mov eax, dword [0x44a2b8]
xor eax, esp
mov dword [esp + 0x41c], eax
push esi
push 0x40e
lea eax, [esp + 0x16]
push 0
push eax
mov word [esp + 0x1c], 0
call fcn.00429d70
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 0x20019
push 0
push 0x445488
push closesocket
mov dword [esp + 0x20], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41e547
mov ecx, dword [esp + 4]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 0x441b18
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41e547
mov edx, str.IEXPLORE.EXE
lea ecx, [esp + 0x10]
call fcn.0041e010
test eax, eax
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
jle 0x41e3af
lea ecx, [esp + 0x10]
call fcn.0041e1b0
mov eax, 0x44fc48
lea edx, [eax + 2]
jmp 0x41e370
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41e370
sub eax, edx
sar eax, 1
je 0x41e3af
push 0x44fc48
call esi
test eax, eax
je 0x41e3af
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
mov ecx, dword [esp + 0x41c]
xor ecx, esp
call fcn.00424e88
add esp, 0x420
ret
mov edx, str.firefox.exe
lea ecx, [esp + 0x10]
call fcn.0041e010
test eax, eax
jle 0x41e414
lea ecx, [esp + 0x10]
call fcn.0041e1b0
mov eax, 0x44fc48
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41e3d2
sub eax, edx
sar eax, 1
je 0x41e414
push 0x44fc48
call esi
test eax, eax
je 0x41e414
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
mov ecx, dword [esp + 0x41c]
xor ecx, esp
call fcn.00424e88
add esp, 0x420
ret
mov edx, str.Maxthon.exe
lea ecx, [esp + 0x10]
call fcn.0041e010
test eax, eax
jle 0x41e479
lea ecx, [esp + 0x10]
call fcn.0041e1b0
mov eax, 0x44fc48
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41e437
sub eax, edx
sar eax, 1
je 0x41e479
push 0x44fc48
call esi
test eax, eax
je 0x41e479
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 2
pop esi
mov ecx, dword [esp + 0x41c]
xor ecx, esp
call fcn.00424e88
add esp, 0x420
ret
mov edx, str.TTraveler.exe
lea ecx, [esp + 0x10]
call fcn.0041e010
test eax, eax
jle 0x41e4e2
lea ecx, [esp + 0x10]
call fcn.0041e1b0
mov eax, 0x44fc48
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41e4a0
sub eax, edx
sar eax, 1
je 0x41e4e2
push 0x44fc48
call esi
test eax, eax
je 0x41e4e2
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 3
pop esi
mov ecx, dword [esp + 0x41c]
xor ecx, esp
call fcn.00424e88
add esp, 0x420
ret
mov edx, str.chrome.exe
lea ecx, [esp + 0x10]
call fcn.0041e010
test eax, eax
jle 0x41e547
lea ecx, [esp + 0x10]
call fcn.0041e1b0
mov eax, 0x44fc48
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41e505
sub eax, edx
sar eax, 1
je 0x41e547
push 0x44fc48
call esi
test eax, eax
je 0x41e547
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 4
pop esi
mov ecx, dword [esp + 0x41c]
xor ecx, esp
call fcn.00424e88
add esp, 0x420
ret
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x420]
pop esi
xor ecx, esp
mov eax, 5
call fcn.00424e88
add esp, 0x420
ret