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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bdc2f
mov eax, dword fs:[0]
push eax
sub esp, 0x77c
mov eax, dword [0x6218c0]
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.004b4770
movzx eax, al
test eax, eax
jne 0x4b33da
xor eax, eax
jmp 0x4b3894
push 0
lea ecx, [ebp - 0x640]
push ecx
call fcn.004092e0
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.004726c0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x748]
call fcn.00406a40
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4b3464
push str.jiebangbanglog
lea ecx, [ebp - 0x640]
call fcn.0042ceb0
lea ecx, [ebp - 0x640]
call fcn.00406a40
push eax
call fcn.004095a0
add esp, 4
lea ecx, [ebp - 0x640]
call fcn.00406a40
push eax
push 0x5cd520
call fcn.0049d4a0
add esp, 8
mov dword [ebp - 0x750], 1
push 0x208
push 0
lea ecx, [ebp - 0x218]
push ecx
call fcn.00572a00
add esp, 0xc
mov dword [ebp - 0x758], 0x208
push 0x208
push 0
lea edx, [ebp - 0x420]
push edx
call fcn.00572a00
add esp, 0xc
mov dword [ebp - 0x75c], 0x208
push 0x208
push 0
lea eax, [ebp - 0x628]
push eax
call fcn.00572a00
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 0x5cd540
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 0x5cd56c
push 0x5cd574
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 0x5cd5c0
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.00409780
lea edx, [ebp - 0x420]
push edx
mov ecx, dword [ebp - 0x74c]
add ecx, 0x30
call fcn.00409780
lea eax, [ebp - 0x628]
push eax
mov ecx, dword [ebp - 0x74c]
add ecx, 0x48
call fcn.00409780
mov ecx, dword [ebp - 0x74c]
add ecx, 0x30
call fcn.00406a40
push eax
lea ecx, [ebp - 0x730]
push ecx
call fcn.004a7060
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x74c]
add ecx, 0x48
call fcn.00406a40
push eax
lea edx, [ebp - 0x718]
push edx
call fcn.004a7060
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x688]
call fcn.00406fc0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x670]
call fcn.00406fc0
mov byte [ebp - 4], 5
push 0x5cd640
lea ecx, [ebp - 0x6a0]
call fcn.004061c0
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.0049f330
add esp, 0x1c
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x6a0]
call fcn.00406170
lea ecx, [ebp - 0x658]
call fcn.00406230
push eax
lea eax, [ebp - 0x700]
push eax
call fcn.004a6820
add esp, 8
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x670]
call fcn.00406230
push eax
lea ecx, [ebp - 0x6e8]
push ecx
call fcn.004a6820
add esp, 8
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x688]
call fcn.00406230
push eax
lea edx, [ebp - 0x6d0]
push edx
call fcn.004a6820
add esp, 8
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x788]
push eax
call fcn.00536180
add esp, 4
mov byte [ebp - 4], 0xc
push 0x5cd644
lea ecx, [ebp - 0x6b8]
call fcn.00406cb0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x6b8]
push ecx
lea edx, [ebp - 0x780]
push edx
call fcn.00536150
add esp, 8
mov dword [ebp - 0x764], eax
mov eax, dword [ebp - 0x764]
push eax
lea ecx, [ebp - 0x778]
call fcn.00535cc0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x780]
call fcn.00535e50
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x6b8]
call fcn.00406c10
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x788]
call fcn.00535e50
lea ecx, [ebp - 0x778]
push ecx
call fcn.00405010
add esp, 4
mov dword [ebp - 0x754], eax
push 0x4e20
mov ecx, dword [ebp - 0x754]
call fcn.005361a0
movzx edx, al
test edx, edx
je 0x4b37c2
call fcn.00536780
mov dword [ebp - 0x768], eax
lea ecx, [ebp - 0x6d0]
call fcn.00406a40
push eax
lea ecx, [ebp - 0x6e8]
call fcn.00406a40
push eax
lea ecx, [ebp - 0x700]
call fcn.00406a40
push eax
push str.un_fg:_ls____rq:_ls__err_desc:_ls
mov eax, dword [ebp - 0x768]
push eax
call fcn.0053cd10
add esp, 0x14
mov dword [ebp - 0x76c], eax
push str.int___thiscall_APP::InitEnvironment_struct_HINSTANCE____struct_HINSTANCE____wchar_t__int_
push 0x1c2
push 0x5cd6f8
mov ecx, dword [ebp - 0x76c]
push ecx
push 0x4e20
mov edx, dword [ebp - 0x754]
push edx
call fcn.00536850
add esp, 0x18
xor eax, eax
jne 0x4b3723
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x778]
call fcn.00535e50
lea ecx, [ebp - 0x658]
push ecx
mov ecx, dword [ebp - 0x74c]
call fcn.004b4030
mov dword [ebp - 0x770], 1
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x6d0]
call fcn.00406c10
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x6e8]
call fcn.00406c10
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x700]
call fcn.00406c10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x658]
call fcn.00406170
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x670]
call fcn.00406170
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x688]
call fcn.00406170
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x718]
call fcn.00406170
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x730]
call fcn.00406170
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x748]
call fcn.00406c10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x640]
call fcn.00406c10
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.0057029b
mov esp, ebp
pop ebp
ret 0x10