Function at 0x453930
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
mov eax, 0x51bcc1
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
call fcn.004d08c0
xor edx, edx
mov dword [ebp - 0x28], edx
mov word [ebp - 0x14], 8
test ebx, ebx
jne 0x453969
xor eax, eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x453bb4
mov cl, byte [ebx]
test cl, cl
jne 0x453980
xor eax, eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x453bb4
lea ecx, [ebp - 0x12c]
push ecx
push 0x104
call sub.KERNEL32.dll_GetCurrentDirectoryA
lea eax, [ebp - 0x12c]
test eax, eax
je 0x4539da
lea edx, [ebp - 0x12c]
push edx
call fcn.004cdfec
pop ecx
test eax, eax
je 0x4539da
lea ecx, [ebp - 0x12c]
push ecx
call fcn.004cdfec
pop ecx
movsx eax, byte [ebp + eax - 0x12d]
cmp eax, 0x5c
je 0x4539da
push 0x5d3c05
lea edx, [ebp - 0x12c]
push edx
call fcn.004cdf10
add esp, 8
push ebx
lea ecx, [ebp - 0x12c]
push ecx
call fcn.004cdf10
add esp, 8
push 0x2100
lea eax, [ebp - 0x12c]
push eax
call fcn.00405b9c
add esp, 8
test eax, eax
je 0x453a38
xor eax, eax
lea edi, [ebp - 0x12c]
or ecx, 0xffffffff
mov esi, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov al, 1
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x453bb4
push 0
push 0x4001
push ebx
lea ecx, [ebp - 0x12c]
push ecx
call fcn.00453684
add esp, 0x10
test al, al
je 0x453aa1
push 0x2100
lea eax, [ebp - 0x12c]
push eax
call fcn.00405b9c
add esp, 8
test eax, eax
je 0x453aa1
xor eax, eax
lea edi, [ebp - 0x12c]
or ecx, 0xffffffff
mov esi, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov al, 1
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x453bb4
push 0
push 0x2001
push ebx
lea ecx, [ebp - 0x12c]
push ecx
call fcn.00453684
add esp, 0x10
test al, al
je 0x453b0a
push 0x2100
lea eax, [ebp - 0x12c]
push eax
call fcn.00405b9c
add esp, 8
test eax, eax
je 0x453b0a
xor eax, eax
lea edi, [ebp - 0x12c]
or ecx, 0xffffffff
mov esi, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov al, 1
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x453bb4
xor eax, eax
mov edi, ebx
or ecx, 0xffffffff
lea esi, [ebp - 0x12c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x12c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x2100
push eax
call fcn.00405b9c
add esp, 8
test eax, eax
je 0x453b7a
xor eax, eax
lea edi, [ebp - 0x12c]
or ecx, 0xffffffff
mov esi, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov al, 1
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x453bb4
mov byte [ebx], 0
mov word [ebp - 0x14], 0
jmp 0x453ba8
xor eax, eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
mov esp, ebp
mov edi, dword [ebp - 0x138]
mov esi, dword [ebp - 0x134]
mov ebx, dword [ebp - 0x130]
pop ebp
ret