Function at 0x18003f0a0
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 [0x18009b1a0]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov dword [rsp + 0x20], 0
mov eax, dword [0x1800e8b60]
and eax, 1
test eax, eax
jne 0x18003f11a
mov eax, dword [0x1800e8b60]
or eax, 1
mov dword [0x1800e8b60], eax
mov edx, 1
lea rcx, [0x1800e8b48]
call fcn.1800368b0
lea rcx, [0x1800e8b48]
call fcn.18001ec60
lea rcx, [0x18006b990]
call fcn.18005a26c
nop
lea rcx, [0x1800e8b48]
call fcn.180027e90
movzx eax, al
test eax, eax
jne 0x18003f159
lea rdx, [0x1800e8b48]
mov rcx, qword [rsp + 0x2e0]
call fcn.18001eb20
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x2e0]
jmp 0x18003f6d5
mov eax, 4
imul rax, rax, 1
lea rcx, [0x18009adc0]
mov edx, 4
imul rdx, rdx, 2
lea r8, [0x18009adc0]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x18009adc0]
mov edx, 4
imul rdx, rdx, 1
lea r8, [0x18009adc0]
mov edx, dword [r8 + rdx]
cmp dword [rcx + rax], edx
jae 0x18003f1d7
mov eax, 4
imul rax, rax, 3
lea rcx, [0x18009adc0]
mov edx, dword [rcx + rax]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x18009adc0]
mov dword [rdx + rcx], eax
lea rdx, [rsp + 0xb0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [rsp + 0x24], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x18009adc0]
mov eax, dword [rcx + rax]
xor eax, 0xfffff95f
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x18009adc0]
mov dword [rdx + rcx], eax
cmp dword [rsp + 0x24], 0
jbe 0x18003f36e
mov eax, dword [rsp + 0x24]
cmp rax, 0x105
jae 0x18003f36e
mov dword [rsp + 0x2c], 0
mov eax, dword [rsp + 0x2c]
cmp eax, 0x8d0816a9
jne 0x18003f25f
lea r8, [0x1800a0220]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [rsp + 0x60], rax
jmp 0x18003f287
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x18009adc0]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x18009adc0]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0x24]
dec eax
mov eax, eax
movzx eax, word [rsp + rax*2 + 0xb0]
cmp eax, 0x5c
jne 0x18003f327
mov eax, 4
imul rax, rax, 1
lea rcx, [0x18009adc0]
mov eax, dword [rcx + rax]
xor eax, 0xfffff945
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x18009adc0]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0x24]
dec eax
mov eax, eax
shl rax, 1
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0x20a
jae 0x18003f2e8
jmp 0x18003f2ed
call fcn.18005c094
xor eax, eax
mov rcx, qword [rsp + 0x38]
mov word [rsp + rcx + 0xb0], ax
mov eax, 4
imul rax, rax, 1
lea rcx, [0x18009adc0]
mov eax, dword [rcx + rax]
xor eax, 0xfffff93a
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x18009adc0]
mov dword [rdx + rcx], eax
mov r8, 0xffffffffffffffff
lea rdx, [rsp + 0xb0]
lea rcx, [0x1800e8b48]
call fcn.180025180
lea rdx, [0x1800e8b48]
mov rcx, qword [rsp + 0x2e0]
call fcn.18001eb20
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x2e0]
jmp 0x18003f6d5
mov edx, 1
lea rcx, [rsp + 0x98]
call fcn.1800368b0
lea rax, [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov r8, 0xffffffffffffffff
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.18001ec10
mov qword [rsp + 0x48], rax
mov r8, qword [rsp + 0x48]
mov dl, 1
lea rcx, [rsp + 0x98]
call fcn.18003aa40
nop
lea rcx, [rsp + 0x98]
call fcn.180027e90
movzx eax, al
test eax, eax
jne 0x18003f4bf
mov r8, 0xffffffffffffffff
lea rdx, [0x1800a0260]
lea rcx, [rsp + 0x68]
call fcn.18001ec10
nop
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x98]
call fcn.180027f00
nop
lea rcx, [rsp + 0x68]
call fcn.180013e90
lea rcx, [rsp + 0x98]
call fcn.18000be20
xor edx, edx
mov rcx, rax
call fcn.18002ca40
movzx eax, al
test eax, eax
jne 0x18003f447
lea rcx, [rsp + 0x98]
call fcn.18000be20
xor r8d, r8d
xor edx, edx
mov rcx, rax
call fcn.18002b9b0
movzx eax, al
test eax, eax
jne 0x18003f4bf
lea rdx, [rsp + 0x98]
lea rcx, [0x1800e8b48]
call fcn.18001f260
mov eax, 4
imul rax, rax, 2
lea rcx, [0x18009adc0]
mov eax, dword [rcx + rax]
xor eax, 0xfffff91e
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x18009adc0]
mov dword [rdx + rcx], eax
lea rdx, [0x1800e8b48]
mov rcx, qword [rsp + 0x2e0]
call fcn.18001eb20
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x98]
call fcn.180013e90
mov rax, qword [rsp + 0x2e0]
jmp 0x18003f6d5
cmp qword [0x1800e7558], 0
je 0x18003f4ea
mov r8d, 0x105
lea rdx, [rsp + 0xb0]
lea rcx, [0x1800a0270]
call qword [0x1800e7558]
mov dword [rsp + 0x28], eax
jmp 0x18003f4f2
mov dword [rsp + 0x28], 0
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x34]
cmp eax, 0x56d046b1
jne 0x18003f525
lea r8, [0x1800a0280]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [rsp + 0x50], rax
jmp 0x18003f54d
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x18009adc0]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x18009adc0]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x18009adc0]
mov eax, dword [rcx + rax]
xor eax, 0xfffff8fc
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x18009adc0]
mov dword [rdx + rcx], eax
cmp dword [rsp + 0x24], 0
jbe 0x18003f686
mov eax, dword [rsp + 0x24]
cmp rax, 0x105
jae 0x18003f686
mov r8, 0xffffffffffffffff
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x98]
call fcn.180025180
lea rcx, [rsp + 0x98]
call fcn.18000be20
xor edx, edx
mov rcx, rax
call fcn.18002ca40
movzx eax, al
test eax, eax
jne 0x18003f5f2
lea rcx, [rsp + 0x98]
call fcn.18000be20
xor r8d, r8d
xor edx, edx
mov rcx, rax
call fcn.18002b9b0
movzx eax, al
test eax, eax
jne 0x18003f686
mov eax, 4
imul rax, rax, 1
lea rcx, [0x18009adc0]
mov eax, dword [rcx + rax]
xor eax, 0xfffff8e9
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x18009adc0]
mov dword [rdx + rcx], eax
lea rdx, [rsp + 0x98]
lea rcx, [0x1800e8b48]
call fcn.18001f260
lea rdx, [0x1800e8b48]
mov rcx, qword [rsp + 0x2e0]
call fcn.18001eb20
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x98]
call fcn.180013e90
mov rax, qword [rsp + 0x2e0]
jmp 0x18003f6d5
mov r8, 0xffffffffffffffff
mov rdx, qword [rsp + 0x2e8]
lea rcx, [0x1800e8b48]
call fcn.180025180
lea rdx, [0x1800e8b48]
mov rcx, qword [rsp + 0x2e0]
call fcn.18001eb20
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x98]
call fcn.180013e90
mov rax, qword [rsp + 0x2e0]
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.18005afa0
add rsp, 0x2d8
ret