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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52d65c
mov eax, dword fs:[0]
push eax
sub esp, 0x834
mov eax, dword [0x5867ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
test edi, edi
je 0x42ef44
push edi
call fcn.0042fc30
mov ecx, eax
call fcn.004242d0
call fcn.0042fc30
mov ecx, eax
call fcn.00425090
test eax, eax
jne 0x42f0f5
push 0x208
push eax
lea eax, [ebp - 0x628]
push eax
call fcn.004b8590
add esp, 0xc
mov dword [ebp - 0x840], 1
lea eax, [ebp - 0x83c]
mov dword [ebp - 0x83c], 0x104
lea ecx, [ebp - 0x831]
push eax
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x840]
push eax
push 0x543334
call fcn.0042da40
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x42f0f5
push 0x208
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.004b8590
add esp, 0xc
lea eax, [ebp - 0x628]
push str.birdwp.exe
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42f019
lea ecx, [ebp - 0x831]
call fcn.0042ddc0
push eax
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42f0f5
call fcn.0042fc30
mov ecx, eax
call fcn.00423c30
push eax
call fcn.0041f300
mov ecx, eax
call fcn.00418d90
push str.bizhi
call fcn.0041f300
mov ecx, eax
call fcn.00418e50
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004b8590
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x58a44c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call fcn.0041f300
mov ecx, eax
call fcn.00418d00
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x838], esp
mov dword [eax + 0x24], 0
push 0
push 0
push str.exist_wp
mov dword [ebp - 4], 0
call fcn.0041f300
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.004188f0
test esi, esi
je 0x42f304
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x42f304
push str.exist
push eax
push esi
call fcn.004d3dab
add esp, 0xc
jmp 0x42f304
call fcn.0042fc30
mov ecx, eax
call fcn.00425230
test eax, eax
jne 0x42f1e2
push 1
call fcn.004206a0
add esp, 4
test eax, eax
jne 0x42f1e2
call fcn.0042fc30
mov ecx, eax
call fcn.00423c30
push eax
call fcn.0041f300
mov ecx, eax
call fcn.00418d90
push str.bizhi
call fcn.0041f300
mov ecx, eax
call fcn.00418e50
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004b8590
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x58a44c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call fcn.0041f300
mov ecx, eax
call fcn.00418d00
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x838], esp
mov dword [eax + 0x24], 0
push 0
push 0
push str.giveup
mov dword [ebp - 4], 1
call fcn.0041f300
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.004188f0
test esi, esi
je 0x42f304
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x42f304
push str.giveup
push eax
push esi
call fcn.004d3dab
add esp, 0xc
jmp 0x42f304
cmp dword [0x58a508], 0
jne 0x42f304
push 0xa
push edi
push 0
push dword [0x58a44c]
mov dword [0x58a508], 1
call fcn.004311a0
add esp, 0x10
test esi, esi
je 0x42f304
mov edi, dword [ebp + 0x10]
test edi, edi
jle 0x42f304
call fcn.0042fc30
mov ecx, eax
call fcn.00423c30
push eax
call fcn.0041f300
mov ecx, eax
call fcn.00418d90
push str.bizhi
call fcn.0041f300
mov ecx, eax
call fcn.00418e50
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.004b8590
add esp, 0xc
lea eax, [ebp - 0x830]
push 0x104
push eax
push dword [0x58a44c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x830]
push eax
call fcn.0041f300
mov ecx, eax
call fcn.00418d00
cmp dword [0x585204], 0
jne 0x42f2c3
push 0x547408
push edi
push esi
call fcn.004d3dab
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x838], esp
mov dword [eax + 0x24], 0
push 0
push 0
mov dword [ebp - 4], 2
push 0x547408
jmp 0x42f2f1
push str.fail
push edi
push esi
call fcn.004d3dab
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x838], esp
mov dword [eax + 0x24], 0
push 0
push 0
mov dword [ebp - 4], 3
push str.fail
call fcn.0041f300
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.004188f0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004994d8
mov esp, ebp
pop ebp
ret 0xc