Function at 0x6f6d80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7388d3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x234
push ebx
mov ebx, ecx
mov ecx, 0x814260
call fcn.00533580
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 0xb4]
push ecx
mov ecx, eax
call fcn.00529760
test eax, eax
je 0x6f7334
mov eax, dword [eax + 0x214]
mov edx, dword [ebp + 8]
push esi
mov dword [ebp - 0x18], eax
push edi
lea eax, [ebp - 0x3c]
push edx
push eax
mov ecx, 0x814260
call fcn.00533580
mov ecx, eax
call fcn.005aac20
mov edi, dword [ebp - 0x38]
mov dword [ebp - 4], 0
test edi, edi
jne 0x6f6dfb
mov edi, 0x73a7f4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x7c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x9c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x79b704
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
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, dword [ebx + 0x3778]
test edi, edi
jne 0x6f6e52
mov edi, 0x73a7f4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x5c]
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [ebp + 8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp - 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xb0], edx
mov dword [ebp - 0xa8], ecx
lea ecx, [ebp - 0x2c]
push ecx
mov dword [ebp - 0xac], eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov edx, dword [ebp - 0x2c]
mov esi, dword [ebx + 0xee0]
movsx eax, word [ebp - 0x2a]
movsx ecx, word [ebp - 0x26]
and edx, 0xffff
add ebx, 0xed8
shl edx, 8
or edx, eax
mov dword [ebp + 0xc], esi
movsx eax, word [ebp - 0x22]
shl edx, 8
or edx, ecx
movsx ecx, word [ebp - 0x20]
mov dword [ebp - 0xa4], edx
mov edx, dword [ebp - 0x24]
and edx, 0xffff
shl edx, 8
or edx, eax
mov eax, 0x8d3dcb09
shl edx, 8
or edx, ecx
mov ecx, dword [ebx + 0xc]
sub ecx, esi
mov dword [ebp - 0xa0], edx
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
jae 0x6f6fd5
mov ecx, ebx
call fcn.006f99f0
cmp eax, 1
jbe 0x6f6f20
mov ecx, ebx
call fcn.006f99f0
mov edi, eax
jmp 0x6f6f25
mov edi, 1
mov ecx, ebx
call fcn.006f99f0
add eax, edi
mov dword [ebp - 0x1c], eax
jns 0x6f6f35
xor eax, eax
lea ecx, [eax*8]
sub ecx, eax
lea edx, [eax + ecx*4]
shl edx, 2
push edx
call fcn.00711d5b
add esp, 4
mov edi, eax
mov eax, dword [ebx + 4]
mov ecx, ebx
push edi
push esi
push eax
call fcn.006f9a80
lea ecx, [ebp - 0xb0]
mov dword [ebp + 0xc], eax
push ecx
push 1
push eax
mov ecx, ebx
call fcn.006f9ac0
mov edx, dword [ebp + 0xc]
mov eax, dword [ebx + 8]
add edx, 0x74
mov ecx, ebx
push edx
push eax
push esi
call fcn.006f9a80
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 4]
push ecx
push edx
mov ecx, ebx
call fcn.006f9a60
mov eax, dword [ebx + 4]
push eax
call fcn.00703996
mov eax, dword [ebp - 0x1c]
add esp, 4
lea ecx, [eax*8]
sub ecx, eax
lea edx, [eax + ecx*4]
mov ecx, ebx
lea eax, [edi + edx*4]
mov dword [ebx + 0xc], eax
call fcn.006f99f0
inc eax
mov dword [ebx + 4], edi
lea ecx, [eax*8]
sub ecx, eax
lea edx, [eax + ecx*4]
lea eax, [edi + edx*4]
mov dword [ebx + 8], eax
jmp 0x6f70a4
mov ecx, esi
mov eax, 0x8d3dcb09
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp edx, 1
jae 0x6f7050
lea edx, [esi + 0x74]
mov ecx, ebx
push edx
push esi
push esi
call fcn.006f9a80
mov edi, dword [ebx + 8]
lea eax, [ebp - 0xb0]
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 0x6f70a0
mov edi, eax
add eax, 0x74
mov ecx, 0x1d
lea esi, [ebp - 0xb0]
cmp eax, edx
rep movsd dword es:[edi], dword [esi]
jne 0x6f7038
jmp 0x6f70a0
push esi
lea ecx, [esi - 0x74]
push esi
push ecx
mov ecx, ebx
call fcn.006f9a80
mov edx, dword [ebx + 8]
lea eax, [edx - 0x74]
cmp esi, eax
je 0x6f7081
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 + 0xc]
cmp eax, ecx
jne 0x6f7067
mov esi, ecx
lea edx, [esi + 0x74]
mov eax, esi
cmp esi, edx
je 0x6f70a0
mov edi, eax
add eax, 0x74
mov ecx, 0x1d
lea esi, [ebp - 0xb0]
cmp eax, edx
rep movsd dword es:[edi], dword [esi]
jne 0x6f708a
add dword [ebx + 8], 0x74
lea ecx, [ebp - 0x140]
call fcn.00546a40
lea edx, [ebp - 0x240]
mov byte [ebp - 4], 1
push edx
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x240]
push 0x78d130
push eax
call fcn.00712e20
xor ebx, ebx
add esp, 8
cmp eax, ebx
mov dword [ebp - 0x14], ebx
je 0x6f7106
lea ecx, [ebp - 0x240]
lea esi, [ebp - 0x240]
sub eax, ecx
lea edi, [ebp - 0x240]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x79b6f0
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x240]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
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 - 0x240]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x140]
call fcn.00546a90
test al, al
jne 0x6f715f
push 0x79b720
call fcn.00405d90
mov esi, dword [ebp + 8]
add esp, 4
jmp 0x6f719c
mov ecx, dword [ebp - 0x134]
lea ebx, [ecx - 4]
push ebx
call fcn.00711d5b
add esp, 4
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x140]
mov esi, eax
push 4
push edx
call fcn.00546cf0
push ebx
push esi
lea ecx, [ebp - 0x140]
call fcn.00546cf0
lea ecx, [ebp - 0x140]
call fcn.00546cb0
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x240]
inc edi
push 0x1001
push eax
lea ecx, [ebp - 0x140]
mov dword [ebp - 0x14], edi
call fcn.00546a90
lea ecx, [ebp - 0x14]
push 4
push ecx
lea ecx, [ebp - 0x140]
call fcn.00546d70
test ebx, ebx
je 0x6f71dc
push ebx
push esi
lea ecx, [ebp - 0x140]
call fcn.00546d70
lea edi, [ebp - 0x9c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x10]
repne scasb al, byte es:[edi]
not ecx
mov dword [ebp - 0x10], ecx
push 4
push edx
lea ecx, [ebp - 0x140]
call fcn.00546d70
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x9c]
push eax
push ecx
lea ecx, [ebp - 0x140]
call fcn.00546d70
lea edi, [ebp - 0x7c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x10]
repne scasb al, byte es:[edi]
not ecx
mov dword [ebp - 0x10], ecx
push 4
push edx
lea ecx, [ebp - 0x140]
call fcn.00546d70
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x7c]
push eax
push ecx
lea ecx, [ebp - 0x140]
call fcn.00546d70
lea edi, [ebp - 0x5c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x10]
repne scasb al, byte es:[edi]
not ecx
mov dword [ebp - 0x10], ecx
push 4
push edx
lea ecx, [ebp - 0x140]
call fcn.00546d70
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x5c]
push eax
push ecx
lea ecx, [ebp - 0x140]
call fcn.00546d70
lea edx, [ebp + 8]
push 4
push edx
lea ecx, [ebp - 0x140]
call fcn.00546d70
lea eax, [ebp - 0x18]
push 4
push eax
lea ecx, [ebp - 0x140]
call fcn.00546d70
lea ecx, [ebp - 0xa8]
push 4
push ecx
lea ecx, [ebp - 0x140]
call fcn.00546d70
lea edx, [ebp - 0xa4]
push 4
push edx
lea ecx, [ebp - 0x140]
call fcn.00546d70
lea eax, [ebp - 0xa0]
push 4
push eax
lea ecx, [ebp - 0x140]
call fcn.00546d70
lea ecx, [ebp - 0x140]
call fcn.00546cb0
test ebx, ebx
je 0x6f72f1
push esi
call fcn.00703996
add esp, 4
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0
call fcn.00546a50
mov ecx, dword [ebp - 0x38]
pop edi
test ecx, ecx
pop esi
je 0x6f7334
mov al, byte [ecx - 1]
test al, al
je 0x6f732a
cmp al, 0xff
je 0x6f732a
dec al
pop ebx
mov byte [ecx - 1], al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
dec ecx
push ecx
call fcn.00703996
add esp, 4
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8