Function at 0x140010dbc
Capabilities:
Get common file path

Disassembly:
push rdi
sub rsp, 0xe80
mov rax, qword [0x140134040]
xor rax, rsp
mov qword [rsp + 0xe70], rax
lea rdx, [0x140137a10]
lea rcx, [rsp + 0x148]
call fcn.14000e304
nop
lea rcx, [0x140137908]
call qword [sym.imp.ole32.dll_CoCreateGuid]
mov dword [rsp + 0x28], 0x400
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0xa8]
call fcn.140011544
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [0x1401379b0]
call fcn.140006e34
lea rcx, [rsp + 0xa8]
call fcn.140003844
mov eax, 2
imul rax, rax, 0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0x800
jae 0x140010e57
jmp 0x140010e5c
call fcn.1400d94b0
xor eax, eax
mov rcx, qword [rsp + 0x48]
mov word [rsp + rcx + 0x670], ax
mov r8d, 0x400
lea rdx, [rsp + 0x670]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [rsp + 0x28], eax
lea rdx, [rsp + 0x670]
lea rcx, [0x140137a60]
call fcn.140012328
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x140137918], eax
mov eax, 2
imul rax, rax, 0
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0x800
jae 0x140010ec0
jmp 0x140010ec5
call fcn.1400d94b0
xor eax, eax
mov rcx, qword [rsp + 0x50]
mov word [rsp + rcx + 0x670], ax
lea rdx, [rsp + 0x670]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov dword [rsp + 0x28], eax
lea rdx, [rsp + 0x670]
lea rcx, [0x140137990]
call fcn.140012328
mov byte [0x140137902], 1
lea rax, [rsp + 0x150]
mov rdi, rax
xor eax, eax
mov ecx, 0x114
rep stosb byte [rdi], al
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x150], 0x114
lea rcx, [0x1401157d0]
call fcn.14005d1ec
mov rcx, rax
call fcn.140066c54
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x140010f6d
lea rcx, [0x1401157b8]
call fcn.14005d03c
mov rdx, rax
mov rcx, qword [rsp + 0x58]
call fcn.140066d64
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x140010fbf
lea rcx, [rsp + 0x150]
call qword [rsp + 0x38]
test eax, eax
jne 0x140010fbf
mov al, byte [rsp + 0x154]
mov byte [0x140137901], al
mov al, byte [rsp + 0x158]
mov byte [0x140137903], al
movzx eax, byte [0x140137901]
cmp eax, 0xa
jne 0x140010fbf
cmp dword [rsp + 0x15c], 0x55f0
jb 0x140010fbf
mov byte [0x140137901], 0xb
mov edx, 0x400
lea rcx, [rsp + 0x270]
call fcn.140068e3c
test eax, eax
jne 0x140011212
lea rdx, [rsp + 0x270]
lea rcx, [0x1401379d0]
call fcn.140012404
lea rcx, [rsp + 0x270]
call fcn.140068ed0
mov qword [rsp + 0x40], rax
lea rdx, [0x1401156b7]
lea rcx, [0x1401379f0]
call fcn.140012404
cmp qword [rsp + 0x40], 0
je 0x140011212
mov dword [rsp + 0x24], 0
jmp 0x140011032
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x18]
cmp qword [rcx + rax*8], 0
je 0x140011212
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x18]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x30], rax
cmp dword [rsp + 0x24], 0
jbe 0x14001107a
lea rdx, str._...._..
lea rcx, [0x1401379f0]
call fcn.1400123bc
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
movzx eax, byte [rcx + rax]
mov edx, eax
lea rcx, [rsp + 0xc8]
call fcn.140010d84
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
lea rcx, [0x1401379f0]
call fcn.1400123e0
nop
lea rcx, [rsp + 0xc8]
call fcn.14000389c
lea rdx, [0x1401157f4]
lea rcx, [0x1401379f0]
call fcn.1400123bc
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x30]
movzx eax, byte [rcx + rax]
mov edx, eax
lea rcx, [rsp + 0xe8]
call fcn.140010d84
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x80]
lea rcx, [0x1401379f0]
call fcn.1400123e0
nop
lea rcx, [rsp + 0xe8]
call fcn.14000389c
lea rdx, [0x1401157f0]
lea rcx, [0x1401379f0]
call fcn.1400123bc
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x30]
movzx eax, byte [rcx + rax]
mov edx, eax
lea rcx, [rsp + 0x108]
call fcn.140010d84
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x90]
lea rcx, [0x1401379f0]
call fcn.1400123e0
nop
lea rcx, [rsp + 0x108]
call fcn.14000389c
lea rdx, [0x1401157f8]
lea rcx, [0x1401379f0]
call fcn.1400123bc
mov eax, 1
imul rax, rax, 3
mov rcx, qword [rsp + 0x30]
movzx eax, byte [rcx + rax]
mov edx, eax
lea rcx, [rsp + 0x128]
call fcn.140010d84
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0xa0]
lea rcx, [0x1401379f0]
call fcn.1400123e0
nop
lea rcx, [rsp + 0x128]
call fcn.14000389c
jmp 0x140011028
mov byte [0x140137904], 1
mov byte [0x140137900], 1
mov byte [rsp + 0x20], 1
lea rcx, [rsp + 0x148]
call fcn.14000e2e8
mov al, byte [rsp + 0x20]
mov rcx, qword [rsp + 0xe70]
xor rcx, rsp
call fcn.1400d9310
add rsp, 0xe80
pop rdi
ret