Function at 0x405ee0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x44ebb6
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x46b9d8]
xor eax, esp
mov dword [esp + 0x414], eax
push ebx
push esi
push edi
mov eax, dword [0x46b9d8]
xor eax, esp
push eax
lea eax, [esp + 0x428]
mov dword fs:[0], eax
mov esi, dword [esp + 0x438]
xor ebx, ebx
push 0x3ff
lea eax, [esp + 0x29]
push ebx
mov dword [esp + 0x18], ebx
push eax
mov byte [esp + 0x30], bl
call fcn.00438170
add esp, 0xc
lea ecx, [esp + 0x24]
push ecx
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea edx, [esp + 0x24]
push edx
call fcn.004055d0
add esp, 4
test eax, eax
je 0x405f89
push ecx
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.00405510
call fcn.004050c0
add esp, 4
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00405510
jmp 0x4061d8
push 0x400
lea edx, [esp + 0x28]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x24]
push 0x5c
push eax
call fcn.00438270
add esp, 8
test eax, eax
je 0x405fbf
lea ecx, [esp + 0x24]
push 0x5c
push ecx
call fcn.00438270
add esp, 8
mov byte [eax + 1], bl
lea edx, [esp + 0x24]
push edx
call fcn.004055d0
add esp, 4
test eax, eax
jne 0x405f5f
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea edx, [esp + 0x10]
push edx
push str.SoftwareMyRxjh
push reloc.WS2_32.dll_accept
call edi
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
push ecx
push str.Path
push edx
mov dword [esp + 0x28], 0x400
call fcn.00404f40
add esp, 0x10
test eax, eax
je 0x406013
mov byte [esp + 0x24], bl
lea eax, [esp + 0x24]
push eax
call fcn.004055d0
add esp, 4
test eax, eax
jne 0x405f78
lea edx, [esp + 0x10]
push edx
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallD7FAEC78_D585_4E20_8296_154AAEEE1B03_is1
push reloc.WS2_32.dll_bind
call edi
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
push ecx
push str.InstallLocation
push edx
mov dword [esp + 0x28], 0x400
call fcn.00404f40
add esp, 0x10
test eax, eax
je 0x406065
mov byte [esp + 0x24], bl
lea eax, [esp + 0x24]
push eax
call fcn.004055d0
add esp, 4
test eax, eax
je 0x4060a0
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00405510
call fcn.004050c0
add esp, 4
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00405510
jmp 0x4061d8
lea ecx, [esp + 0x10]
push ecx
push str.SoftwareBAKEICEBK_LOGINRXJHGamepath
push reloc.WS2_32.dll_accept
call edi
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x28]
push eax
push str.Gamepath
push ecx
mov dword [esp + 0x28], 0x400
call fcn.00404f40
add esp, 0x10
cmp eax, ebx
je 0x4060dd
mov byte [esp + 0x24], bl
lea edx, [esp + 0x24]
push edx
call fcn.004055d0
add esp, 4
test eax, eax
jne 0x405f5f
push 0x4541f2
lea ecx, [esp + 0x18]
call fcn.00405510
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x434], ebx
call fcn.00405cb0
add esp, 4
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x434], 1
call fcn.00405310
lea ecx, [esp + 0x20]
mov byte [esp + 0x430], bl
call fcn.00401630
lea eax, [esp + 0x14]
push 0x4541f2
push eax
call fcn.00405060
add esp, 8
test al, al
je 0x406173
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.004051a0
call fcn.004050c0
add esp, 4
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.004051a0
jmp 0x4061cf
push 0x454220
lea ecx, [esp + 0x24]
call fcn.00405510
mov eax, dword [eax]
push ebx
push 0x454214
push eax
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x20]
call fcn.00401630
push 0x400
lea ecx, [esp + 0x28]
push ebx
push ecx
call fcn.00438170
add esp, 0xc
lea edx, [esp + 0x24]
push edx
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00405510
lea ecx, [esp + 0x14]
call fcn.00401630
mov eax, esi
mov ecx, dword [esp + 0x428]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.00437a5c
add esp, 0x424
ret