Function at 0x453368
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
mov eax, 0x51a769
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
call fcn.004cfcb8
xor edx, edx
mov dword [ebp - 0x28], edx
mov word [ebp - 0x14], 8
test ebx, ebx
jne 0x4533a1
xor eax, eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x4535ec
mov cl, byte [ebx]
test cl, cl
jne 0x4533b8
xor eax, eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x4535ec
lea ecx, [ebp - 0x12c]
push ecx
push 0x104
call sub.KERNEL32.dll_GetCurrentDirectoryA
lea eax, [ebp - 0x12c]
test eax, eax
je 0x453412
lea edx, [ebp - 0x12c]
push edx
call fcn.004cd3e4
pop ecx
test eax, eax
je 0x453412
lea ecx, [ebp - 0x12c]
push ecx
call fcn.004cd3e4
pop ecx
movsx eax, byte [ebp + eax - 0x12d]
cmp eax, 0x5c
je 0x453412
push 0x5d25bc
lea edx, [ebp - 0x12c]
push edx
call fcn.004cd308
add esp, 8
push ebx
lea ecx, [ebp - 0x12c]
push ecx
call fcn.004cd308
add esp, 8
push 0x2100
lea eax, [ebp - 0x12c]
push eax
call fcn.00405b9c
add esp, 8
test eax, eax
je 0x453470
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 0x4535ec
push 0
push 0x4001
push ebx
lea ecx, [ebp - 0x12c]
push ecx
call fcn.004530bc
add esp, 0x10
test al, al
je 0x4534d9
push 0x2100
lea eax, [ebp - 0x12c]
push eax
call fcn.00405b9c
add esp, 8
test eax, eax
je 0x4534d9
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 0x4535ec
push 0
push 0x2001
push ebx
lea ecx, [ebp - 0x12c]
push ecx
call fcn.004530bc
add esp, 0x10
test al, al
je 0x453542
push 0x2100
lea eax, [ebp - 0x12c]
push eax
call fcn.00405b9c
add esp, 8
test eax, eax
je 0x453542
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 0x4535ec
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 0x4535b2
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 0x4535ec
mov byte [ebx], 0
mov word [ebp - 0x14], 0
jmp 0x4535e0
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