Function at 0x44a7f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x7dcee0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0
push ebx
push esi
push edi
jne 0x44a823
mov eax, dword [ebp + 8]
mov byte [eax], 0
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0069528d
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0
push 0
call ebx
mov edi, eax
lea eax, [edi + edi + 2]
call fcn.00697040
mov esi, esp
push esi
push edi
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call edi
mov ebx, eax
lea eax, [ebx + 1]
call fcn.00697040
mov eax, esp
push 0
push 0
push ebx
push eax
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
mov dword [ebp - 0xc], eax
call edi
mov ecx, dword [ebp + 0x10]
push 0
push 0
push 0xffffffffffffffff
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, eax
lea eax, [ebx + ebx + 2]
call fcn.00697040
mov edx, dword [ebp + 0x10]
mov esi, esp
push ebx
push esi
push 0xffffffffffffffff
push edx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov dword [ebp - 8], eax
lea eax, [eax + eax + 2]
call fcn.00697040
mov eax, dword [ebp - 8]
mov ebx, esp
push 0
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call edi
mov esi, eax
lea eax, [esi + 1]
call fcn.00697040
mov eax, esp
push 0
push 0
push esi
push eax
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
mov dword [ebp - 8], eax
call edi
call fcn.005db510
mov edi, dword [ebp - 0xc]
mov esi, eax
mov eax, edi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x44a921
mov ebx, dword [ebp - 8]
sub eax, ecx
push eax
push edi
push ebx
call fcn.00696343
add esp, 0xc
test eax, eax
jne 0x44a9de
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44a945
sub eax, edx
push eax
push esi
push ebx
call fcn.00696343
mov edx, dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x44a9ba
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x44a964
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44a973
sub eax, edx
add eax, ebx
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x44a980
mov edi, dword [ebp + 8]
sub eax, ecx
mov esi, ecx
dec edi
nop
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x44a990
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0069528d
mov esp, ebp
pop ebp
ret
mov eax, ebx
sub edx, ebx
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x44a9c0
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0069528d
mov esp, ebp
pop ebp
ret
mov edx, dword [0xa18ee8]
test edx, edx
je 0x44aa6a
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44a9f1
sub eax, edi
push eax
push edx
push ebx
call fcn.00696343
add esp, 0xc
test eax, eax
jne 0x44aa6a
mov edi, dword [ebp + 8]
mov edx, edi
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x44aa12
mov eax, dword [0xa18ee8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44aa24
sub eax, edx
add eax, ebx
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x44aa31
sub eax, ecx
mov esi, ecx
dec edi
lea ecx, [ecx]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x44aa40
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0069528d
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov byte [esi], 0
mov ecx, dword [0x7fc5cc]
push ebx
push ecx
call fcn.00447730
add esp, 8
test al, al
je 0x44aa9a
mov edx, esi
mov eax, ebx
sub edx, ebx
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x44aa90
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0069528d
mov esp, ebp
pop ebp
ret