Function at 0x488c90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493786
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x4bd7f4]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44c], ecx
mov byte [ebp - 0xd], 0
lea eax, [ebp - 0x224]
push eax
push 0x102
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [ebp - 0x224]
push ecx
mov ecx, dword [ebp - 0x44c]
add ecx, 0x455c
call fcn.00402580
mov ecx, 0x4c1b4c
call fcn.00404e10
movzx edx, al
test edx, edx
jne 0x488e38
push 0x4ab598
mov eax, dword [ebp - 0x44c]
add eax, 0x455c
push eax
lea ecx, [ebp - 0x438]
push ecx
call fcn.00404b90
add esp, 0xc
mov dword [ebp - 0x450], eax
mov edx, dword [ebp - 0x450]
mov dword [ebp - 0x454], edx
mov dword [ebp - 4], 0
push 0x4c1b4c
mov eax, dword [ebp - 0x454]
push eax
lea ecx, [ebp - 0x43c]
push ecx
call fcn.00404ae0
add esp, 0xc
mov dword [ebp - 0x458], eax
mov edx, dword [ebp - 0x458]
mov dword [ebp - 0x45c], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x45c]
push eax
mov ecx, dword [ebp - 0x44c]
add ecx, 0x455c
call fcn.00405830
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x43c]
call fcn.00401680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call fcn.00401680
lea ecx, [ebp - 0x430]
call fcn.004015e0
mov dword [ebp - 4], 2
push 0x4c1b4c
push 0x4ab59c
lea ecx, [ebp - 0x440]
push ecx
call fcn.00404c40
add esp, 0xc
mov dword [ebp - 0x460], eax
mov edx, dword [ebp - 0x460]
mov dword [ebp - 0x464], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x464]
push eax
lea ecx, [ebp - 0x430]
call fcn.00405830
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x440]
call fcn.00401680
lea ecx, [ebp - 0x430]
call fcn.00401060
push eax
lea ecx, [ebp - 0x224]
push ecx
call fcn.00429783
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x430]
call fcn.00401680
jmp 0x488eb0
push 0x4ab5a0
mov edx, dword [ebp - 0x44c]
add edx, 0x455c
push edx
lea eax, [ebp - 0x444]
push eax
call fcn.00404b90
add esp, 0xc
mov dword [ebp - 0x468], eax
mov ecx, dword [ebp - 0x468]
mov dword [ebp - 0x46c], ecx
mov dword [ebp - 4], 4
mov edx, dword [ebp - 0x46c]
push edx
mov ecx, dword [ebp - 0x44c]
add ecx, 0x455c
call fcn.00405830
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x444]
call fcn.00401680
push str.MP.ini
lea eax, [ebp - 0x224]
push eax
call fcn.00429783
add esp, 8
mov dword [ebp - 0x14], 0
push 0x4ab5c0
lea ecx, [ebp - 0x224]
push ecx
call fcn.00429877
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x488ed9
jmp 0x488fb3
mov edx, dword [ebp - 0x14]
push edx
call fcn.00429905
add esp, 4
mov eax, dword [ebp - 0x44c]
add eax, 0x42d8
push eax
mov ecx, dword [ebp - 0x44c]
add ecx, 0x455c
push ecx
mov edx, esp
mov dword [ebp - 0x448], esp
push ecx
mov ecx, edx
call fcn.00405ae0
mov dword [ebp - 0x470], eax
mov ecx, dword [ebp - 0x44c]
call fcn.0046eb70
mov byte [ebp - 0x471], al
mov al, byte [ebp - 0x471]
mov byte [ebp - 0xd], al
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
je 0x488fa8
lea ecx, [ebp - 0x434]
call fcn.004015e0
mov dword [ebp - 4], 5
push 0xab
lea ecx, [ebp - 0x434]
call fcn.00402350
push 0x4ab5c4
lea ecx, [ebp - 0x434]
call fcn.00404350
movzx edx, byte [ebp - 0xd]
lea eax, [edx*4 + 0x4c1b90]
push eax
lea ecx, [ebp - 0x434]
call fcn.00404310
push 0
push 0
lea ecx, [ebp - 0x434]
call fcn.00401060
push eax
call fcn.004135bf
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x434]
call fcn.00401680
jmp 0x488fb3
mov ecx, dword [ebp - 0x44c]
call fcn.00488b90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004282fc
mov esp, ebp
pop ebp
ret