Function at 0x4d1180
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4ffda1
mov eax, dword fs:[0]
push eax
mov eax, 0x3054
call fcn.004e6b50
mov eax, dword [0x519bc0]
xor eax, esp
mov dword [esp + 0x3050], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x519bc0]
xor eax, esp
push eax
lea eax, [esp + 0x3068]
mov dword fs:[0], eax
mov dword [esp + 0x18], ecx
mov ebp, dword [esp + 0x3078]
mov ebx, dword [esp + 0x307c]
mov ecx, ebx
mov eax, ebp
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4d11fe
test dx, dx
je 0x4d11f7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4d11fe
add eax, 4
add ecx, 4
test dx, dx
jne 0x4d11d5
xor eax, eax
or esi, 0xffffffff
jmp 0x4d1207
sbb eax, eax
mov esi, 0xffffffff
sbb eax, esi
test eax, eax
je 0x4d1471
lea eax, [esp + 0x2064]
push eax
push 0x800
mov byte [esp + 0x1f], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
movzx ecx, word [esp + 0x2064]
push ecx
call fcn.004eaa79
add esp, 4
cmp word [esp + 0x2064], 0x5c
mov edi, eax
je 0x4d128e
movzx eax, word [ebx]
cmp ax, 0x5c
je 0x4d128e
cmp word [ebp], 0x5c
je 0x4d128e
movzx edx, ax
push edx
call fcn.004eaa79
mov esi, eax
movzx eax, word [ebp]
push eax
call fcn.004eaa79
mov ecx, 0x3a
add esp, 8
cmp word [ebx + 2], cx
je 0x4d127a
mov esi, edi
cmp word [ebp + 2], cx
je 0x4d1282
mov eax, edi
cmp esi, eax
je 0x4d128b
mov byte [esp + 0x17], 1
or esi, 0xffffffff
push ebp
call fcn.00445470
test al, al
je 0x4d12ef
lea ecx, [esp + 0x1c]
call fcn.00443e50
mov dword [esp + 0x3070], 0
push 1
push ebp
lea ecx, [esp + 0x24]
call fcn.00443ed0
test al, al
je 0x4d13a2
lea ecx, [esp + 0x1c]
call fcn.004441a0
test al, al
je 0x4d13a2
push ebp
call fcn.004450c0
test al, al
je 0x4d13a2
mov dword [esp + 0x3070], esi
lea ecx, [esp + 0x1c]
call fcn.004445b0
cmp byte [esp + 0x17], 0
jne 0x4d130a
push ebp
push ebx
call fcn.00445020
test al, al
sete al
test al, al
je 0x4d1471
lea ecx, [esp + 0x1c]
call fcn.00443e50
mov dword [esp + 0x3070], 1
lea ecx, [esp + 0x1040]
call fcn.00443e50
mov byte [esp + 0x3070], 2
push 0
push ebx
lea ecx, [esp + 0x24]
call fcn.00443ed0
test al, al
jne 0x4d137b
push ebx
mov ecx, 0x531158
call fcn.0043f910
mov byte [esp + 0x3070], 1
lea ecx, [esp + 0x1040]
call fcn.004445b0
mov dword [esp + 0x3070], esi
lea ecx, [esp + 0x1c]
call fcn.004445b0
mov eax, 0xa
jmp 0x4d1473
push 0x12
push ebp
lea ecx, [esp + 0x1048]
call fcn.00444060
test al, al
jne 0x4d13bc
mov byte [esp + 0x3070], 1
lea ecx, [esp + 0x1040]
call fcn.004445b0
mov dword [esp + 0x3070], esi
lea ecx, [esp + 0x1c]
call fcn.004445b0
mov eax, 0xf
jmp 0x4d1473
push 0
mov ecx, 0x531158
call fcn.0043f2e0
push esi
push esi
lea ecx, [esp + 0x1048]
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x28]
push edx
call fcn.004d1020
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.004441a0
lea ecx, [esp + 0x1040]
call fcn.004441a0
push 1
mov ecx, 0x531158
call fcn.0043f2e0
test esi, esi
je 0x4d1443
push ebp
call fcn.004450c0
cmp esi, 0xa
jne 0x4d1417
mov esi, 0xe
mov byte [esp + 0x3070], 1
lea ecx, [esp + 0x1040]
call fcn.004445b0
mov dword [esp + 0x3070], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.004445b0
mov eax, esi
jmp 0x4d1473
push ebx
call fcn.004450c0
mov byte [esp + 0x3070], 1
lea ecx, [esp + 0x1040]
call fcn.004445b0
mov dword [esp + 0x3070], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.004445b0
xor eax, eax
mov ecx, dword [esp + 0x3068]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3050]
xor ecx, esp
call fcn.004e6b3a
add esp, 0x3060
ret 8