Function at 0x100067b6
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
mov dword [ebp - 8], 0
mov dword [ebp - 0x34], 0
mov dword [0x10144f70], 0
jmp 0x100067e2
inc dword [0x10144f70]
cmp dword [0x10144f70], 0x3000
jge 0x10006803
mov eax, dword [0x10144f70]
mov byte [eax + 0x10144f80], 0
jmp 0x100067dc
push 0x200
push 0x10148390
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x1009a1dc
push 0x10148390
call fcn.1001bc40
add esp, 8
push 0x1014b7b0
push 0x10144f80
push 0x10148390
call fcn.10009a07
add esp, 0xc
cmp eax, 0xffffffff
jne 0x1000684f
mov eax, 0xffffffff
jmp 0x10006a6d
mov ax, word [0x1014b7b0]
mov word [ebp - 0x30], ax
push 0x10148596
mov ax, word [0x1014b7b0]
push eax
push 0x10144f80
push 0x1009a1e8
call fcn.100073c8
add esp, 0x10
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x1000688b
mov dword [ebp - 0x34], 1
push 0x10148596
mov ax, word [0x1014b7b0]
push eax
push 0x10144f80
push 0x1009a1f8
call fcn.100073c8
add esp, 0x10
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x10006a4b
or dword [ebp - 8], 1
push 0x10148596
mov ax, word [0x1014b7b0]
push eax
push 0x10144f80
push 0x1009a204
call fcn.100073c8
add esp, 0x10
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x100068ee
or dword [ebp - 8], 2
jmp 0x10006a46
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
inc dword [ebp - 0x20]
push 0x1009a20c
call fcn.1001bd20
add esp, 4
push eax
push 0x1009a214
mov eax, dword [ebp - 0x20]
push eax
call fcn.1001c580
add esp, 0xc
test eax, eax
jne 0x100068f4
push 0x1009a21c
call fcn.1001bd20
add esp, 4
inc eax
add dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x20]
mov al, byte [eax]
mov ecx, dword [ebp - 0x1c]
mov byte [ebp + ecx - 0x18], al
inc dword [ebp - 0x20]
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, 0xd
jne 0x10006936
mov eax, dword [ebp - 0x1c]
mov byte [ebp + eax - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push 0x1014b7c0
call fcn.1001bc30
add esp, 8
push 0x1009a224
lea eax, [ebp - 0x18]
push eax
call fcn.1001bf60
add esp, 8
test eax, eax
jge 0x1000699d
cmp dword [ebp - 0x34], 1
jne 0x10006998
or dword [ebp - 8], 2
jmp 0x10006a46
push 0x1009a22c
lea eax, [ebp - 0x18]
push eax
call fcn.1001bf60
add esp, 8
test eax, eax
jg 0x100069bf
or dword [ebp - 8], 2
jmp 0x10006a46
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
inc dword [ebp - 0x20]
push 0x1009a234
call fcn.1001bd20
add esp, 4
push eax
push 0x1009a23c
mov eax, dword [ebp - 0x20]
push eax
call fcn.1001c580
add esp, 0xc
test eax, eax
jne 0x100069c5
push 0x1009a244
call fcn.1001bd20
add esp, 4
inc eax
add dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x20]
mov al, byte [eax]
mov ecx, dword [ebp - 0x1c]
mov byte [ebp + ecx - 0x2c], al
inc dword [ebp - 0x20]
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, 0xd
jne 0x10006a07
lea eax, [ebp - 0x2c]
push eax
call fcn.1001c490
add esp, 4
mov dword [ebp - 4], eax
test byte [ebp - 4], 2
je 0x10006a46
or dword [ebp - 8], 2
jmp 0x10006a65
cmp dword [ebp - 0x34], 1
jne 0x10006a5e
or dword [ebp - 8], 2
jmp 0x10006a65
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
jmp 0x10006a6d
pop edi
pop esi
pop ebx
leave
ret