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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5979bf
mov eax, dword fs:[0]
push eax
sub esp, 0x77c
mov eax, dword [0x5f88c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x74c], ecx
mov ecx, dword [ebp - 0x74c]
call fcn.0048f5a0
movzx eax, al
test eax, eax
jne 0x48e25a
xor eax, eax
jmp 0x48e714
push 0
lea ecx, [ebp - 0x640]
push ecx
call fcn.00402bf0
add esp, 8
mov dword [ebp - 4], 0
push str.jiebangbangun.on
lea edx, [ebp - 0x640]
push edx
lea eax, [ebp - 0x748]
push eax
call fcn.0044f380
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x748]
call fcn.00403230
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48e2e4
push str.jiebangbanglog
lea ecx, [ebp - 0x640]
call fcn.00415320
lea ecx, [ebp - 0x640]
call fcn.00403230
push eax
call fcn.00402eb0
add esp, 4
lea ecx, [ebp - 0x640]
call fcn.00403230
push eax
push 0x5a7500
call fcn.00478210
add esp, 8
mov dword [ebp - 0x750], 1
push 0x208
push 0
lea ecx, [ebp - 0x218]
push ecx
call fcn.0054d9f0
add esp, 0xc
mov dword [ebp - 0x758], 0x208
push 0x208
push 0
lea edx, [ebp - 0x420]
push edx
call fcn.0054d9f0
add esp, 0xc
mov dword [ebp - 0x75c], 0x208
push 0x208
push 0
lea eax, [ebp - 0x628]
push eax
call fcn.0054d9f0
add esp, 0xc
mov dword [ebp - 0x760], 0x208
lea ecx, [ebp - 0x758]
push ecx
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x750]
push eax
push str.InstallPath
push 0x5a7520
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea ecx, [ebp - 0x75c]
push ecx
lea edx, [ebp - 0x420]
push edx
lea eax, [ebp - 0x750]
push eax
push 0x5a754c
push 0x5a7554
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea ecx, [ebp - 0x760]
push ecx
lea edx, [ebp - 0x628]
push edx
lea eax, [ebp - 0x750]
push eax
push str.DisplayVersion
push 0x5a75a0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [ebp - 0x74c]
add ecx, 0x18
call fcn.004030f0
lea edx, [ebp - 0x420]
push edx
mov ecx, dword [ebp - 0x74c]
add ecx, 0x30
call fcn.004030f0
lea eax, [ebp - 0x628]
push eax
mov ecx, dword [ebp - 0x74c]
add ecx, 0x48
call fcn.004030f0
mov ecx, dword [ebp - 0x74c]
add ecx, 0x30
call fcn.00403230
push eax
lea ecx, [ebp - 0x730]
push ecx
call fcn.00481e40
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x74c]
add ecx, 0x48
call fcn.00403230
push eax
lea edx, [ebp - 0x718]
push edx
call fcn.00481e40
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x688]
call fcn.00403ff0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x670]
call fcn.00403ff0
mov byte [ebp - 4], 5
push 0x5a7620
lea ecx, [ebp - 0x6a0]
call fcn.00403fb0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x670]
push eax
lea ecx, [ebp - 0x688]
push ecx
push 0
lea edx, [ebp - 0x6a0]
push edx
lea eax, [ebp - 0x718]
push eax
lea ecx, [ebp - 0x730]
push ecx
lea edx, [ebp - 0x658]
push edx
call fcn.0047a0a0
add esp, 0x1c
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x6a0]
call fcn.00403f20
lea ecx, [ebp - 0x658]
call fcn.00403d90
push eax
lea eax, [ebp - 0x700]
push eax
call fcn.00481600
add esp, 8
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x670]
call fcn.00403d90
push eax
lea ecx, [ebp - 0x6e8]
push ecx
call fcn.00481600
add esp, 8
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x688]
call fcn.00403d90
push eax
lea edx, [ebp - 0x6d0]
push edx
call fcn.00481600
add esp, 8
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x788]
push eax
call fcn.00511160
add esp, 4
mov byte [ebp - 4], 0xc
push 0x5a7624
lea ecx, [ebp - 0x6b8]
call fcn.004031c0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x6b8]
push ecx
lea edx, [ebp - 0x780]
push edx
call fcn.00511130
add esp, 8
mov dword [ebp - 0x764], eax
mov eax, dword [ebp - 0x764]
push eax
lea ecx, [ebp - 0x778]
call fcn.00510ca0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x780]
call fcn.00510e30
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x6b8]
call fcn.00403120
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x788]
call fcn.00510e30
lea ecx, [ebp - 0x778]
push ecx
call fcn.004035e0
add esp, 4
mov dword [ebp - 0x754], eax
push 0x4e20
mov ecx, dword [ebp - 0x754]
call fcn.00511180
movzx edx, al
test edx, edx
je 0x48e642
call fcn.00511760
mov dword [ebp - 0x768], eax
lea ecx, [ebp - 0x6d0]
call fcn.00403230
push eax
lea ecx, [ebp - 0x6e8]
call fcn.00403230
push eax
lea ecx, [ebp - 0x700]
call fcn.00403230
push eax
push str.un_fg:_ls____rq:_ls__err_desc:_ls
mov eax, dword [ebp - 0x768]
push eax
call fcn.00517cf0
add esp, 0x14
mov dword [ebp - 0x76c], eax
push str.int___thiscall_APP::InitEnvironment_struct_HINSTANCE____struct_HINSTANCE____wchar_t__int_
push 0x1be
push 0x5a76d8
mov ecx, dword [ebp - 0x76c]
push ecx
push 0x4e20
mov edx, dword [ebp - 0x754]
push edx
call fcn.00511830
add esp, 0x18
xor eax, eax
jne 0x48e5a3
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x778]
call fcn.00510e30
lea ecx, [ebp - 0x658]
push ecx
mov ecx, dword [ebp - 0x74c]
call fcn.0048ee60
mov dword [ebp - 0x770], 1
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x6d0]
call fcn.00403120
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x6e8]
call fcn.00403120
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x700]
call fcn.00403120
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x658]
call fcn.00403f20
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x670]
call fcn.00403f20
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x688]
call fcn.00403f20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x718]
call fcn.00403f20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x730]
call fcn.00403f20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x748]
call fcn.00403120
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x640]
call fcn.00403120
mov eax, dword [ebp - 0x770]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054b289
mov esp, ebp
pop ebp
ret 0x10