Function at 0x48d5a0
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x57e7ed
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x732480]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x214]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], 0x71f078
lea eax, [ebp]
mov dword [ebp - 4], 0
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
or ebx, 0xffffffff
test edi, edi
je 0x48d6e8
cmp edi, 0x104
jbe 0x48d69d
mov ecx, 2
mul ecx
cmovb eax, ebx
push eax
call fcn.005536f9
add esp, 4
mov dword [ebp - 0x14], eax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x48d68f
push edi
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.00435080
mov ecx, dword [ebp - 0x10]
mov edx, eax
add esp, 0xc
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov dword [edx], ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
test eax, eax
je 0x48d675
cmp eax, ebx
je 0x48d692
mov eax, dword [ebp - 0x14]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x48d692
push 4
push 2
push dword [ebp - 0x14]
call fcn.00425140
add esp, 0xc
push edi
call fcn.005533c3
add esp, 4
jmp 0x48d6e8
mov edi, dword [ebp - 0x14]
push edi
call fcn.005533c3
add esp, 4
jmp 0x48d6e8
push edi
lea eax, [ebp]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00435080
mov ecx, dword [ebp - 0x10]
mov edx, eax
add esp, 0xc
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov dword [edx], ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
test eax, eax
je 0x48d6d9
cmp eax, 0xffffffff
je 0x48d6e8
mov eax, dword [ebp - 0x14]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x48d6e8
push 4
push 2
push dword [ebp - 0x14]
call fcn.00425140
add esp, 0xc
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 2
jl 0x48d770
mov ecx, dword [eax]
mov eax, dword [ebp - 0x10]
cmp ecx, 1
je 0x48d6ff
test ecx, ecx
jne 0x48d705
cmp dword [eax + 0xc], 0x10
je 0x48d717
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x10]
push 0
inc eax
push eax
call fcn.0042c850
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 1
jle 0x48d770
mov ecx, dword [eax + 0xc]
cmp word [ecx + eax + 2], 0x3a
jne 0x48d770
movzx ecx, word [eax + ecx]
call fcn.0042edd0
movzx edi, ax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x10]
cmp ecx, 1
je 0x48d745
test ecx, ecx
jne 0x48d74b
cmp dword [eax + 0xc], 0x10
je 0x48d75a
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x10]
push 0
inc eax
push eax
call fcn.0042c850
lea eax, [ebp - 0x10]
mov dword [ebp - 0x18], 0
push edi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
call fcn.004577b0
push dword [ebp - 0x18]
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.00480490
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
test eax, eax
je 0x48d79b
cmp eax, 0xffffffff
je 0x48d7aa
mov ecx, dword [ebp - 0x10]
lock xadd dword [ecx], ebx
dec ebx
setne cl
test cl, cl
jne 0x48d7aa
push 4
push 2
push dword [ebp - 0x10]
call fcn.00425140
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.00553392
lea esp, [ebp + 0x20c]
pop ebp
ret