Function at 0x18003e300
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x2d8
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x180094030]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov dword [rsp + 0x20], 0
mov eax, dword [0x18011e838]
and eax, 1
test eax, eax
jne 0x18003e37a
mov eax, dword [0x18011e838]
or eax, 1
mov dword [0x18011e838], eax
mov edx, 1
lea rcx, [0x18011e820]
call fcn.18001b0e0
lea rcx, [0x18011e820]
call fcn.18001c230
lea rcx, [0x1800678b0]
call fcn.180049b9c
nop
lea rcx, [0x18011e820]
call fcn.1800248c0
movzx eax, al
test eax, eax
jne 0x18003e3b9
lea rdx, [0x18011e820]
mov rcx, qword [rsp + 0x2e0]
call fcn.18001c0b0
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x2e0]
jmp 0x18003e7fe
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180093db0]
mov eax, dword [rcx + rax]
add eax, 0xa34cf56
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180093db0]
mov dword [rdx + rcx], eax
lea rdx, [rsp + 0xb0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jbe 0x18003e4a3
mov eax, dword [rsp + 0x24]
cmp rax, 0x105
jae 0x18003e4a3
mov eax, dword [rsp + 0x24]
dec eax
mov eax, eax
movzx eax, word [rsp + rax*2 + 0xb0]
cmp eax, 0x5c
jne 0x18003e45c
mov eax, dword [rsp + 0x24]
dec eax
mov eax, eax
shl rax, 1
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0x20a
jae 0x18003e448
jmp 0x18003e44d
call fcn.18004b9b4
xor eax, eax
mov rcx, qword [rsp + 0x38]
mov word [rsp + rcx + 0xb0], ax
mov r8, 0xffffffffffffffff
lea rdx, [rsp + 0xb0]
lea rcx, [0x18011e820]
call fcn.1800220e0
lea rdx, [0x18011e820]
mov rcx, qword [rsp + 0x2e0]
call fcn.18001c0b0
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x2e0]
jmp 0x18003e7fe
mov edx, 1
lea rcx, [rsp + 0x90]
call fcn.18001b0e0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
mov r8, 0xffffffffffffffff
xor edx, edx
mov rcx, qword [rsp + 0x48]
call fcn.18001c1b0
mov qword [rsp + 0x40], rax
mov r8, qword [rsp + 0x40]
mov dl, 1
lea rcx, [rsp + 0x90]
call fcn.180039ac0
nop
lea rcx, [rsp + 0x90]
call fcn.1800248c0
movzx eax, al
test eax, eax
jne 0x18003e65e
mov eax, 4
imul rax, rax, 2
lea rcx, [0x180093db0]
mov eax, dword [rcx + rax]
xor eax, 0xfffff895
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x180093db0]
mov dword [rdx + rcx], eax
mov r8, 0xffffffffffffffff
lea rdx, [0x180099e08]
lea rcx, [rsp + 0x60]
call fcn.18001c1b0
nop
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x90]
call fcn.180024900
nop
lea rcx, [rsp + 0x60]
call fcn.180013670
lea rcx, [rsp + 0x90]
call fcn.18000bd00
xor edx, edx
mov rcx, rax
call fcn.180028d80
movzx eax, al
test eax, eax
jne 0x18003e5a8
lea rcx, [rsp + 0x90]
call fcn.18000bd00
xor r8d, r8d
xor edx, edx
mov rcx, rax
call fcn.180027c40
movzx eax, al
test eax, eax
jne 0x18003e65e
lea rdx, [rsp + 0x90]
lea rcx, [0x18011e820]
call fcn.18001c880
lea rax, [0x180096a14]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax]
movsx eax, al
cmp eax, 0x61
jne 0x18003e625
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x18003e625
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180093db0]
mov edx, dword [rcx + rax]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 0xc
lea rdx, [0x180093db0]
mov dword [rdx + rcx], eax
lea rdx, [0x18011e820]
mov rcx, qword [rsp + 0x2e0]
call fcn.18001c0b0
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x90]
call fcn.180013670
mov rax, qword [rsp + 0x2e0]
jmp 0x18003e7fe
cmp qword [0x18011d150], 0
je 0x18003e689
mov r8d, 0x105
lea rdx, [rsp + 0xb0]
lea rcx, [0x180099e18]
call qword [0x18011d150]
mov dword [rsp + 0x28], eax
jmp 0x18003e691
mov dword [rsp + 0x28], 0
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jbe 0x18003e784
mov eax, dword [rsp + 0x24]
cmp rax, 0x105
jae 0x18003e784
mov r8, 0xffffffffffffffff
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x90]
call fcn.1800220e0
lea rcx, [rsp + 0x90]
call fcn.18000bd00
xor edx, edx
mov rcx, rax
call fcn.180028d80
movzx eax, al
test eax, eax
jne 0x18003e70f
lea rcx, [rsp + 0x90]
call fcn.18000bd00
xor r8d, r8d
xor edx, edx
mov rcx, rax
call fcn.180027c40
movzx eax, al
test eax, eax
jne 0x18003e784
lea rdx, [rsp + 0x90]
lea rcx, [0x18011e820]
call fcn.18001c880
mov eax, 4
imul rax, rax, 1
lea rcx, [0x180093db0]
mov eax, dword [rcx + rax]
xor eax, 0xfffff864
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x180093db0]
mov dword [rdx + rcx], eax
lea rdx, [0x18011e820]
mov rcx, qword [rsp + 0x2e0]
call fcn.18001c0b0
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x90]
call fcn.180013670
mov rax, qword [rsp + 0x2e0]
jmp 0x18003e7fe
mov r8, 0xffffffffffffffff
mov rdx, qword [rsp + 0x2e8]
lea rcx, [0x18011e820]
call fcn.1800220e0
mov eax, 4
imul rax, rax, 2
lea rcx, [0x180093db0]
mov eax, dword [rcx + rax]
xor eax, 0xfffff853
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x180093db0]
mov dword [rdx + rcx], eax
lea rdx, [0x18011e820]
mov rcx, qword [rsp + 0x2e0]
call fcn.18001c0b0
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x90]
call fcn.180013670
mov rax, qword [rsp + 0x2e0]
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.18004a8d0
add rsp, 0x2d8
ret