Function at 0x407f60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x69731e
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x75f140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x410]
push 0x400
push 0
push eax
mov dword [ebp - 0x424], edi
call fcn.006300b0
add esp, 0xc
lea eax, [ebp - 0x410]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x410]
push eax
call fcn.00407cc0
add esp, 4
test eax, eax
je 0x4080a3
push ecx
mov esi, esp
mov dword [ebp - 0x414], esi
call fcn.0042a586
mov ecx, eax
test ecx, ecx
je 0x40861b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x410]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.00402960
test al, al
jne 0x408038
lea ecx, [ebp - 0x410]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408020
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
mov ecx, esi
call fcn.00403730
mov dword [ebp - 4], 0xffffffff
call fcn.00408630
add esp, 4
call fcn.0042a586
mov ecx, eax
test ecx, ecx
je 0x40861b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x410]
mov dword [ebp - 4], 1
push eax
mov ecx, edi
call fcn.00402960
test al, al
jne 0x4085fd
lea ecx, [ebp - 0x410]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408086
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
mov ecx, edi
call fcn.00403730
jmp 0x4085fd
push 0x400
lea eax, [ebp - 0x410]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x410]
push 0x5c
push eax
call fcn.00630210
add esp, 8
test eax, eax
je 0x4080e1
lea eax, [ebp - 0x410]
push 0x5c
push eax
call fcn.00630210
add esp, 8
mov byte [eax + 1], 0
lea eax, [ebp - 0x410]
push eax
call fcn.00407cc0
add esp, 4
test eax, eax
je 0x4081c3
push ecx
mov esi, esp
mov dword [ebp - 0x414], esi
call fcn.0042a586
mov ecx, eax
test ecx, ecx
je 0x40861b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x410]
mov dword [ebp - 4], 2
push eax
mov ecx, esi
call fcn.00402960
test al, al
jne 0x408158
lea ecx, [ebp - 0x410]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408140
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
mov ecx, esi
call fcn.00403730
mov dword [ebp - 4], 0xffffffff
call fcn.00408630
add esp, 4
call fcn.0042a586
mov ecx, eax
test ecx, ecx
je 0x40861b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x410]
mov dword [ebp - 4], 3
push eax
mov ecx, edi
call fcn.00402960
test al, al
jne 0x4085fd
lea ecx, [ebp - 0x410]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4081a6
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
mov ecx, edi
call fcn.00403730
jmp 0x4085fd
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea eax, [ebp - 0x420]
push eax
push str.SoftwareMyRxjh
push reloc.WS2_32.dll_accept
call esi
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x41c], 0x400
push eax
lea eax, [ebp - 0x410]
push eax
push str.Path
push dword [ebp - 0x420]
call fcn.00407ca0
add esp, 0x10
test eax, eax
je 0x408212
mov byte [ebp - 0x410], 0
lea eax, [ebp - 0x410]
push eax
call fcn.00407cc0
add esp, 4
test eax, eax
je 0x408281
call fcn.0042a586
mov ecx, eax
test ecx, ecx
je 0x40861b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x410]
mov dword [ebp - 4], 4
push eax
mov ecx, edi
call fcn.00402960
test al, al
jne 0x4085fd
lea ecx, [ebp - 0x410]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408264
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
mov ecx, edi
call fcn.00403730
jmp 0x4085fd
lea eax, [ebp - 0x420]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallD7FAEC78_D585_4E20_8296_154AAEEE1B03_is1
push reloc.OLEAUT32.dll_SysReAllocString
call esi
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x41c], 0x400
push eax
lea eax, [ebp - 0x410]
push eax
push str.InstallLocation
push dword [ebp - 0x420]
call fcn.00407ca0
add esp, 0x10
test eax, eax
je 0x4082ca
mov byte [ebp - 0x410], 0
lea eax, [ebp - 0x410]
push eax
call fcn.00407cc0
add esp, 4
test eax, eax
je 0x4083ad
push ecx
mov esi, esp
mov dword [ebp - 0x414], esi
call fcn.0042a586
mov ecx, eax
test ecx, ecx
je 0x40861b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x410]
mov dword [ebp - 4], 5
push eax
mov ecx, esi
call fcn.00402960
test al, al
jne 0x40833d
lea ecx, [ebp - 0x410]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408325
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
mov ecx, esi
call fcn.00403730
mov dword [ebp - 4], 0xffffffff
call fcn.00408630
add esp, 4
call fcn.0042a586
mov ecx, eax
test ecx, ecx
je 0x40861b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x410]
mov dword [ebp - 4], 6
push eax
mov ecx, edi
call fcn.00402960
test al, al
jne 0x4085fd
lea ecx, [ebp - 0x410]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408390
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
mov ecx, edi
call fcn.00403730
jmp 0x4085fd
lea eax, [ebp - 0x420]
push eax
push str.SoftwareBAKEICEBK_LOGINRXJHGamepath
push reloc.WS2_32.dll_accept
call esi
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x41c], 0x400
push eax
lea eax, [ebp - 0x410]
push eax
push str.Gamepath
push dword [ebp - 0x420]
call fcn.00407ca0
add esp, 0x10
test eax, eax
je 0x4083f6
mov byte [ebp - 0x410], 0
lea eax, [ebp - 0x410]
push eax
call fcn.00407cc0
add esp, 4
test eax, eax
je 0x408433
push ecx
lea eax, [ebp - 0x410]
mov ecx, esp
push eax
call fcn.00406f20
call fcn.00408630
add esp, 4
lea eax, [ebp - 0x410]
mov ecx, edi
push eax
call fcn.00406f20
jmp 0x4085fd
call fcn.0042a586
mov ecx, eax
test ecx, ecx
je 0x40861b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x418], eax
push 0x6c1027
lea ecx, [ebp - 0x418]
mov dword [ebp - 4], 7
call fcn.00402960
test al, al
jne 0x40847d
push 0
push 0x6c1027
lea ecx, [ebp - 0x418]
call fcn.00403730
lea eax, [ebp - 0x424]
mov dword [ebp - 4], 8
push eax
call fcn.004077c0
add esp, 4
mov ecx, dword [eax]
mov esi, dword [ebp - 0x418]
mov byte [ebp - 4], 9
lea edx, [ecx - 0x10]
lea ebx, [esi - 0x10]
cmp edx, ebx
je 0x408501
cmp dword [ebx + 0xc], 0
lea esi, [ebx + 0xc]
jl 0x4084ec
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x4084ec
push edx
call fcn.00407700
add esp, 4
mov dword [ebp - 0x414], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x4084e1
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x414]
lea esi, [eax + 0x10]
mov dword [ebp - 0x418], esi
jmp 0x408501
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x418]
call fcn.00403730
mov esi, dword [ebp - 0x418]
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 8
call fcn.00402020
push 0x6c1027
push esi
call fcn.00657b21
add esp, 8
test eax, eax
je 0x40854c
push ecx
lea eax, [ebp - 0x418]
mov ecx, esp
push eax
call fcn.00406ef0
call fcn.00408630
add esp, 4
lea eax, [ebp - 0x418]
mov ecx, edi
push eax
call fcn.00406ef0
jmp 0x4085f2
call fcn.0042a586
mov ecx, eax
test ecx, ecx
je 0x408625
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x414], eax
push 0x6c1140
lea ecx, [ebp - 0x414]
mov byte [ebp - 4], 0xa
call fcn.00402960
test al, al
jne 0x408593
push 0x40
push 0x6c1140
lea ecx, [ebp - 0x414]
call fcn.00403730
push 0
push 0x6c1134
push dword [ebp - 0x414]
mov byte [ebp - 4], 8
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x414]
call fcn.00402020
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.006300b0
add esp, 0xc
lea eax, [ebp - 0x410]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x410]
mov ecx, edi
push eax
call fcn.00406f20
lea ecx, [ebp - 0x418]
call fcn.00402020
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00609c1d
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402130
push 0x80004005
call fcn.00402130
int3