Function at 0x6e6f20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x380
mov dword [ebp - 0x3c], ecx
nop
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x6f0640
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
call fcn.006f0540
mov dword [ebp - 0x2c], eax
cmp dword [0xa8d668], 0
jne 0x6e6f8d
nop
push 0x4f8
call fcn.0091d7fd
add esp, 4
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], eax
mov ecx, eax
call fcn.0066b2e0
nop
mov eax, dword [ebp - 0x20]
mov dword [0xa8d668], eax
nop
mov eax, dword [0xa8d668]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x28], eax
mov eax, dword [eax + 0x494]
mov dword [ebp - 0x24], eax
movzx eax, byte [0xa4a0f5]
cmp al, 0x72
je 0x6e704b
mov cl, 0x12
nop word [eax + eax]
mov al, 0x37
lock cmpxchg byte [0xa4a0f5], cl
je 0x6e6fd2
cmp al, 0x72
jne 0x6e6fc0
jmp 0x6e704b
xor esi, esi
mov eax, 0x1790e88c
mov dword [ebp - 0x20], 0x1790e88a
mov ecx, 0x4ec4ec4f
nop word cs:[eax + eax]
mov edi, eax
mul ecx
mov ebx, edx
mov eax, dword [ebp - 0x20]
mul ecx
shr edx, 4
imul eax, edx, 0xffffffcc
movzx eax, byte [eax + esi + 0x182e5c9b]
xor al, 0xdb
add byte [esi + 0xa4a0c0], al
cmp esi, 0x34
je 0x6e703c
shr ebx, 4
imul eax, ebx, 0xffffffcc
lea eax, [eax + 0x182e5c9c]
movzx eax, byte [eax + esi]
xor al, 0xdb
add byte [esi + 0xa4a0c1], al
add esi, 2
mov eax, edi
add eax, 2
add dword [ebp - 0x20], 2
jmp 0x6e6ff0
mov al, 0x72
xchg byte [0xa4a0f5], al
mov dword [ebp - 0x10], 0xffffffff
nop
mov dword [ebp - 0x10], 0xffffffff
mov ecx, dword [ebp - 0x24]
call dword [0xa37360]
lea eax, [ebp - 0x30]
push eax
push 9
push 0
push 0xa4a0c0
push 0x80000001
call ecx
mov dword [0xa4b310], 0x306d504b
test eax, eax
jne 0x6e743c
lea esi, [ebp - 0x38c]
push esi
push pe_nt_image_headers32
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
cmp byte [0xa8c3e4], 0
jne 0x6e743c
test eax, eax
je 0x6e743c
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
mov dword [ebp - 0x84], 0x954b60
mov dword [ebp - 0x10], 1
lea ecx, [ebp - 0x84]
push 2
push esi
call fcn.00799fb0
mov eax, dword [ebp - 0x3c]
add eax, 0x48
mov dword [ebp - 0x24], eax
xor edi, edi
mov dword [ebp - 0x68], pe_nt_image_headers32
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x4dc]
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x10], 0xffffffff
call dword [0xa37360]
mov dword [ebp - 0x10], 4
sub esp, 0x20
xorps xmm0, xmm0
movups xmmword [esp + 0x10], xmm0
lea eax, [ebp - 0x68]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x28c]
mov dword [esp + 8], eax
mov dword [ebp - 0x64], edi
mov dword [esp + 4], edi
mov dword [esp], esi
call ecx
test eax, eax
je 0x6e7150
cmp eax, 0xea
je 0x6e73a4
jmp 0x6e73b5
nop
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x494]
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x10], 0xffffffff
call dword [0xa37360]
mov dword [ebp - 0x10], 4
lea eax, [ebp - 0x38]
push eax
push 9
push 0
lea eax, [ebp - 0x28c]
push eax
push esi
call ecx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x34], 0
xor edi, edi
jmp 0x6e71af
cmp eax, 0xea
jne 0x6e7320
mov edi, dword [ebp - 0x20]
inc edi
mov dword [ebp - 0x44], pe_nt_image_headers32
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x4e4]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x10], 0xffffffff
call dword [0xa37360]
mov dword [ebp - 0x10], 4
push 0
push 0
lea eax, [ebp - 0x40]
push eax
push 0
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x18c]
push eax
mov dword [ebp - 0x20], edi
push edi
push esi
call ecx
test eax, eax
jne 0x6e71a0
nop
cmp dword [ebp - 0x40], 1
jne 0x6e72cd
nop
cmp dword [ebp - 0x44], 2
jb 0x6e72cd
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
mov dword [ebp - 0x60], 0x954b60
mov dword [ebp - 0x10], 5
lea ecx, [ebp - 0x60]
push 2
lea eax, [ebp - 0x18c]
push eax
call fcn.00799fb0
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x6e7451
cmp dword [ebp - 0x48], 0x10
lea ecx, [ebp - 0x5c]
jb 0x6e7254
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x10], 6
push eax
push ecx
call dword [sym.imp.USER32.dll_CharUpperBuffA]
cmp dword [ebp - 0x4c], 1
jbe 0x6e7451
mov eax, dword [ebp - 0x5c]
inc eax
cmp dword [ebp - 0x48], 0x10
lea ecx, [ebp - 0x5b]
cmovb eax, ecx
cmp byte [eax], 0x3a
jne 0x6e7293
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.006ee950
mov eax, dword [ebp - 0x48]
cmp eax, 0x10
jb 0x6e72cd
nop
mov ecx, dword [ebp - 0x5c]
lea edx, [eax + 1]
cmp edx, 0x1000
jb 0x6e72c3
nop
mov esi, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, esi
cmp ecx, 0x20
jae 0x6e745e
add eax, 0x24
mov edx, eax
mov ecx, esi
push edx
push ecx
call fcn.0091d82d
add esp, 8
mov eax, dword [ebp - 0x70]
test eax, eax
mov dword [ebp - 0x10], 4
je 0x6e72ef
cmp dword [ebp - 0x6c], 0x10
lea ecx, [ebp - 0x80]
jb 0x6e72e7
mov ecx, dword [ebp - 0x80]
push eax
push ecx
call dword [sym.imp.USER32.dll_CharUpperBuffA]
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x84]
push eax
call fcn.0069f3f0
mov ecx, dword [ebp - 0x24]
cmp eax, dword [ecx]
setne al
mov ecx, dword [ebp - 0x34]
or cl, al
mov dword [ebp - 0x34], ecx
jmp 0x6e71ab
cmp eax, 0x103
jne 0x6e7406
nop
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x2c0]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x10], 0xffffffff
call dword [0xa37360]
mov dword [ebp - 0x10], 4
push esi
call ecx
test byte [ebp - 0x34], 1
jne 0x6e73e2
nop
mov ebx, dword [ebp - 0x3c]
mov edi, dword [ebx + 0x48]
mov eax, dword [edi + 4]
mov dword [ebp - 0x20], eax
mov eax, dword [0xa4a330]
add eax, dword [ebp - 0x2c]
mov ecx, dword [0xa4a324]
lea esi, [ecx + eax]
add esi, 0x122f
mov dword [ebp - 0x10], 0xffffffff
mov ecx, esi
call dword [0xa37360]
mov ecx, dword [ebp - 0x24]
push dword [ebp - 0x20]
push ecx
call esi
mov dword [edi + 4], edi
mov dword [edi], edi
mov dword [edi + 8], edi
mov dword [ebx + 0x4c], 0
nop
mov edi, dword [ebp - 0x64]
inc edi
mov dword [ebp - 0x10], 0xffffffff
jmp 0x6e70e5
cmp eax, 0x103
jne 0x6e7406
nop
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x2c0]
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x10], 0xffffffff
call dword [0xa37360]
mov dword [ebp - 0x10], 4
push esi
call ecx
jmp 0x6e7406
nop
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x2c0]
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x10], 0xffffffff
call dword [0xa37360]
mov dword [ebp - 0x10], 4
push esi
call ecx
mov eax, dword [ebp - 0x6c]
cmp eax, 0x10
jb 0x6e743c
nop
mov ecx, dword [ebp - 0x80]
lea edx, [eax + 1]
cmp edx, 0x1000
jb 0x6e7432
nop
mov esi, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, esi
cmp ecx, 0x20
jae 0x6e746b
add eax, 0x24
mov edx, eax
mov ecx, esi
push edx
push ecx
call fcn.0091d82d
add esp, 8
nop
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x380
pop esi
pop edi
pop ebx
pop ebp
ret
nop
mov dword [ebp - 0x10], 6
call fcn.0069f310
nop
mov dword [ebp - 0x10], 2
call fcn.00900ce1
nop
mov dword [ebp - 0x10], 3
call fcn.00900ce1
nop dword [eax + eax]
push ebp
sub esp, 0x20
add ebp, 0xc
call fcn.009350a0
nop dword [eax]
push ebp
sub esp, 0x20
add ebp, 0xc
call fcn.009350a0
nop dword [eax]
push ebp
sub esp, 0x20
add ebp, 0xc
nop
mov ecx, dword [ebp - 0x2c]
add ecx, dword [0xa4a334]
mov eax, dword [0xa4a328]
lea esi, [eax + ecx]
add esi, 0x122f
mov ecx, esi
call dword [0xa37360]
lea ecx, [ebp - 0x84]
call esi
add esp, 0x20
pop ebp
ret