Function at 0x6f6520
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7388ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x21c
push ebx
mov dword [ebp - 0x10], ecx
push esi
push edi
lea ecx, [ebp - 0xb4]
call fcn.00546a40
lea eax, [ebp - 0x228]
xor ebx, ebx
push eax
push 0x100
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [ebp - 0x228]
push 0x78d130
push ecx
call fcn.00712e20
add esp, 8
cmp eax, ebx
je 0x6f65a0
lea edx, [ebp - 0x228]
lea esi, [ebp - 0x228]
sub eax, edx
lea edi, [ebp - 0x228]
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]
mov edi, 0x79b6f0
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x228]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x228]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0xb4]
call fcn.00546a90
test al, al
jne 0x6f65f9
push 0x79b6c8
call fcn.00405d90
add esp, 4
jmp 0x6f6945
lea ecx, [ebp - 0x18]
push 4
push ecx
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x18], ebx
call fcn.00546cf0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
cmp eax, ebx
jle 0x6f693a
mov edx, dword [ebp - 0x10]
lea ebx, [edx + 0xed8]
lea eax, [ebp - 0x14]
push 4
push eax
lea ecx, [ebp - 0xb4]
call fcn.00546cf0
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x114]
push ecx
push edx
lea ecx, [ebp - 0xb4]
call fcn.00546cf0
lea eax, [ebp - 0x14]
push 4
push eax
lea ecx, [ebp - 0xb4]
call fcn.00546cf0
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0xf4]
push ecx
push edx
lea ecx, [ebp - 0xb4]
call fcn.00546cf0
lea eax, [ebp - 0x14]
push 4
push eax
lea ecx, [ebp - 0xb4]
call fcn.00546cf0
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0xd4]
push ecx
push edx
lea ecx, [ebp - 0xb4]
call fcn.00546cf0
lea eax, [ebp - 0x128]
push 4
push eax
lea ecx, [ebp - 0xb4]
call fcn.00546cf0
lea ecx, [ebp - 0x124]
push 4
push ecx
lea ecx, [ebp - 0xb4]
call fcn.00546cf0
lea edx, [ebp - 0x120]
push 4
push edx
lea ecx, [ebp - 0xb4]
call fcn.00546cf0
lea eax, [ebp - 0x11c]
push 4
push eax
lea ecx, [ebp - 0xb4]
call fcn.00546cf0
lea ecx, [ebp - 0x118]
push 4
push ecx
lea ecx, [ebp - 0xb4]
call fcn.00546cf0
mov ecx, dword [ebx + 8]
mov edi, dword [ebx + 0xc]
sub edi, ecx
mov eax, 0x8d3dcb09
imul edi
add edx, edi
mov esi, ecx
sar edx, 6
mov eax, edx
mov dword [ebp - 0x10], esi
shr eax, 0x1f
add edx, eax
cmp edx, 1
jae 0x6f6856
mov eax, dword [ebx + 4]
test eax, eax
je 0x6f674b
mov edi, ecx
sub edi, eax
mov eax, 0x8d3dcb09
imul edi
add edx, edi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
mov edi, edx
ja 0x6f6750
mov edi, 1
mov eax, dword [ebx + 4]
test eax, eax
jne 0x6f675b
xor edx, edx
jmp 0x6f6770
sub ecx, eax
mov eax, 0x8d3dcb09
imul ecx
add edx, ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea eax, [edx + edi]
test eax, eax
mov dword [ebp - 0x24], eax
jge 0x6f677c
xor eax, eax
lea edx, [eax*8]
sub edx, eax
lea eax, [eax + edx*4]
shl eax, 2
push eax
call fcn.00711d5b
mov dword [ebp - 0x20], eax
mov edi, eax
mov eax, dword [ebx + 4]
add esp, 4
cmp eax, esi
mov dword [ebp - 0x10], eax
je 0x6f67c2
jmp 0x6f67a8
mov eax, dword [ebp - 0x10]
push eax
push edi
call fcn.006f9bf0
mov eax, dword [ebp - 0x10]
add esp, 8
add eax, 0x74
add edi, 0x74
cmp eax, esi
mov dword [ebp - 0x10], eax
jne 0x6f67a5
lea ecx, [ebp - 0x128]
push ecx
push 1
push edi
mov ecx, ebx
call fcn.006f9ac0
mov edx, dword [ebx + 8]
add edi, 0x74
push edi
push edx
push esi
mov ecx, ebx
call fcn.006f9a80
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
push eax
push ecx
mov ecx, ebx
call fcn.006f9a60
mov eax, dword [ebx + 4]
push eax
call fcn.00703996
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
add esp, 4
lea edx, [eax*8]
sub edx, eax
lea eax, [eax + edx*4]
lea ecx, [esi + eax*4]
mov eax, dword [ebx + 4]
test eax, eax
mov dword [ebx + 0xc], ecx
jne 0x6f6821
xor edx, edx
jmp 0x6f6839
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0x8d3dcb09
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [edx + 1]
mov dword [ebx + 4], esi
lea ecx, [eax*8]
sub ecx, eax
lea edx, [eax + ecx*4]
lea eax, [esi + edx*4]
mov dword [ebx + 8], eax
jmp 0x6f6928
mov edi, ecx
mov eax, 0x8d3dcb09
sub edi, esi
imul edi
add edx, edi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
jae 0x6f68d1
lea edx, [esi + 0x74]
push edx
push ecx
push esi
mov ecx, ebx
call fcn.006f9a80
mov edi, dword [ebx + 8]
lea eax, [ebp - 0x128]
mov ecx, edi
push eax
sub ecx, esi
mov eax, 0x8d3dcb09
imul ecx
add edx, ecx
mov eax, 1
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, ebx
sub eax, edx
push eax
push edi
call fcn.006f9ac0
mov edx, dword [ebx + 8]
mov eax, esi
cmp esi, edx
je 0x6f6924
mov edi, eax
add eax, 0x74
mov ecx, 0x1d
lea esi, [ebp - 0x128]
cmp eax, edx
rep movsd dword es:[edi], dword [esi]
jne 0x6f68b9
jmp 0x6f6924
lea eax, [ecx - 0x74]
push ecx
push ecx
push eax
mov ecx, ebx
mov dword [ebp - 0x20], eax
call fcn.006f9a80
mov edx, dword [ebx + 8]
lea eax, [edx - 0x74]
cmp esi, eax
je 0x6f6905
sub eax, 0x74
sub edx, 0x74
mov ecx, 0x1d
mov esi, eax
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x10]
cmp eax, ecx
jne 0x6f68eb
mov esi, ecx
lea edx, [esi + 0x74]
mov eax, esi
cmp esi, edx
je 0x6f6924
mov edi, eax
add eax, 0x74
mov ecx, 0x1d
lea esi, [ebp - 0x128]
cmp eax, edx
rep movsd dword es:[edi], dword [esi]
jne 0x6f690e
add dword [ebx + 8], 0x74
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
inc eax
cmp eax, ecx
mov dword [ebp - 0x1c], eax
jl 0x6f6624
lea ecx, [ebp - 0xb4]
call fcn.00546cb0
lea ecx, [ebp - 0xb4]
mov dword [ebp - 4], 0xffffffff
call fcn.00546a50
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret