Function at 0x407290
Capabilities:
Get common file path

Disassembly:
mov r11, rsp
sub rsp, 0x1f8
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rdi
mov rax, qword [0x004242f8]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
lea rdx, [r11 - 0x128]
call fcn.00404690
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x98], 0xf
xor ebx, ebx
mov qword [rsp + 0x90], rbx
mov byte [rsp + 0x80], bl
lea r9d, [rbx + 0xb]
lea r8, str.Control.ktl
lea edx, [rbx + 0xf]
lea rcx, [rsp + 0x80]
call fcn.0040a220
mov qword [rsp + 0x90], 0xb
lea rax, [rsp + 0x80]
cmp qword [rsp + 0x98], 0x10
cmovae rax, qword [rsp + 0x80]
mov byte [rax + 0xb], bl
mov edx, 0xf
mov qword [rsp + 0x40], rdx
mov r8, rbx
mov qword [rsp + 0x38], rbx
mov byte [rsp + 0x28], r8b
xor eax, eax
mov rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xd0]
repne scasb al, byte [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
cmp rcx, 0xfffffffffffffffe
jbe 0x407380
call fcn.00409ca0
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x38]
cmp rdx, rdi
jae 0x407399
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.004067c0
mov rdx, qword [rsp + 0x40]
jmp 0x4073b7
test rdi, rdi
jne 0x4073b7
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x28]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x28]
mov byte [rax], dil
jmp 0x4073f5
test rdi, rdi
je 0x4073f5
lea rcx, [rsp + 0x28]
cmp rdx, 0x10
cmovae rcx, qword [rsp + 0x28]
mov r9, rdi
lea r8, [rsp + 0xd0]
call fcn.0040a220
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rax, qword [rsp + 0x28]
mov byte [rdi + rax], 0
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x20]
call fcn.00409750
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x98], 0xf
mov qword [rsp + 0x90], rbx
mov byte [rsp + 0x80], 0
mov r9d, 0xa
lea r8, str.Packet.ktl
lea edx, [r9 + 5]
lea rcx, [rsp + 0x80]
call fcn.0040a220
mov qword [rsp + 0x90], 0xa
lea rax, [rsp + 0x80]
cmp qword [rsp + 0x98], 0x10
cmovae rax, qword [rsp + 0x80]
mov byte [rax + 0xa], 0
mov edx, 0xf
mov qword [rsp + 0x40], rdx
mov r8, rbx
mov qword [rsp + 0x38], rbx
mov byte [rsp + 0x28], r8b
xor eax, eax
mov rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xd0]
repne scasb al, byte [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
cmp rcx, 0xfffffffffffffffe
jbe 0x4074bb
call fcn.00409ca0
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x38]
cmp rdx, rdi
jae 0x4074d4
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.004067c0
mov rdx, qword [rsp + 0x40]
jmp 0x4074f2
test rdi, rdi
jne 0x4074f2
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x28]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x28]
mov byte [rax], dil
jmp 0x407530
test rdi, rdi
je 0x407530
lea rcx, [rsp + 0x28]
cmp rdx, 0x10
cmovae rcx, qword [rsp + 0x28]
mov r9, rdi
lea r8, [rsp + 0xd0]
call fcn.0040a220
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rax, qword [rsp + 0x28]
mov byte [rax + rdi], 0
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x20]
call fcn.00409750
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x98], 0xf
mov qword [rsp + 0x90], rbx
mov byte [rsp + 0x80], 0
mov r9d, 0xc
lea r8, str.PacketOS.ktl
lea edx, [r9 + 3]
lea rcx, [rsp + 0x80]
call fcn.0040a220
mov qword [rsp + 0x90], 0xc
lea rax, [rsp + 0x80]
cmp qword [rsp + 0x98], 0x10
cmovae rax, qword [rsp + 0x80]
mov byte [rax + 0xc], 0
mov edx, 0xf
mov qword [rsp + 0x40], rdx
mov r8, rbx
mov qword [rsp + 0x38], rbx
mov byte [rsp + 0x28], r8b
xor eax, eax
mov rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xd0]
repne scasb al, byte [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
cmp rcx, 0xfffffffffffffffe
jbe 0x4075f6
call fcn.00409ca0
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x38]
cmp rdx, rdi
jae 0x40760f
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.004067c0
mov rdx, qword [rsp + 0x40]
jmp 0x40762d
test rdi, rdi
jne 0x40762d
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x28]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x28]
mov byte [rax], dil
jmp 0x40766b
test rdi, rdi
je 0x40766b
lea rcx, [rsp + 0x28]
cmp rdx, 0x10
cmovae rcx, qword [rsp + 0x28]
mov r9, rdi
lea r8, [rsp + 0xd0]
call fcn.0040a220
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rax, qword [rsp + 0x28]
mov byte [rax + rdi], 0
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x20]
call fcn.00409750
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x98], 0xf
mov qword [rsp + 0x90], rbx
mov byte [rsp + 0x80], 0
mov r9d, 9
lea r8, str.I8042.ktl
lea edx, [r9 + 6]
lea rcx, [rsp + 0x80]
call fcn.0040a220
mov qword [rsp + 0x90], 9
lea rax, [rsp + 0x80]
cmp qword [rsp + 0x98], 0x10
cmovae rax, qword [rsp + 0x80]
mov byte [rax + 9], 0
mov edx, 0xf
mov qword [rsp + 0x40], rdx
mov r8, rbx
mov qword [rsp + 0x38], rbx
mov byte [rsp + 0x28], r8b
xor eax, eax
mov rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xd0]
repne scasb al, byte [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
cmp rcx, 0xfffffffffffffffe
jbe 0x407731
call fcn.00409ca0
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x38]
cmp rdx, rdi
jae 0x40774a
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.004067c0
mov rdx, qword [rsp + 0x40]
jmp 0x407768
test rdi, rdi
jne 0x407768
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x28]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x28]
mov byte [rax], dil
jmp 0x4077a6
test rdi, rdi
je 0x4077a6
lea rcx, [rsp + 0x28]
cmp rdx, 0x10
cmovae rcx, qword [rsp + 0x28]
mov r9, rdi
lea r8, [rsp + 0xd0]
call fcn.0040a220
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rax, qword [rsp + 0x28]
mov byte [rdi + rax], 0
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x20]
call fcn.00409750
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x98], 0xf
mov qword [rsp + 0x90], rbx
mov byte [rsp + 0x80], 0
mov r8d, 0xe
lea rdx, str.SynTPStart.Exe
lea rcx, [rsp + 0x78]
call fcn.00406d20
nop
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], rbx
mov byte [rsp + 0x58], 0
xor eax, eax
mov rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xd0]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x50]
call fcn.00406d20
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x50]
call fcn.00409750
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x98], 0xf
mov qword [rsp + 0x90], rbx
mov byte [rsp + 0x80], 0
mov r8d, 9
lea rdx, str.SynTP.gid
lea rcx, [rsp + 0x78]
call fcn.00406d20
nop
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], rbx
mov byte [rsp + 0x58], 0
xor eax, eax
mov rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xd0]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x50]
call fcn.00406d20
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x50]
call fcn.00409750
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x98], 0xf
mov qword [rsp + 0x90], rbx
mov byte [rsp + 0x80], 0
mov r8d, 9
lea rdx, str.SynTP.cnt
lea rcx, [rsp + 0x78]
call fcn.00406d20
nop
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], rbx
mov byte [rsp + 0x58], 0
xor eax, eax
mov rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xd0]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x50]
call fcn.00406d20
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x50]
call fcn.00409750
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x98], 0xf
mov qword [rsp + 0x90], rbx
mov byte [rsp + 0x80], 0
mov r8d, 9
lea rdx, str.SynTP.hlp
lea rcx, [rsp + 0x78]
call fcn.00406d20
nop
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], rbx
mov byte [rsp + 0x58], 0
xor eax, eax
mov rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xd0]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x50]
call fcn.00406d20
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x50]
call fcn.00409750
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x98], 0xf
mov qword [rsp + 0x90], rbx
mov byte [rsp + 0x80], 0
mov r8d, 9
lea rdx, str.SynTP.chm
lea rcx, [rsp + 0x78]
call fcn.00406d20
nop
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], rbx
mov byte [rsp + 0x58], 0
xor eax, eax
mov rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xd0]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x50]
call fcn.00406d20
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x50]
call fcn.00409750
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x98], 0xf
mov qword [rsp + 0x90], rbx
mov byte [rsp + 0x80], 0
mov r8d, 9
lea rdx, str.SynTP.ini
lea rcx, [rsp + 0x78]
call fcn.00406d20
nop
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], rbx
mov byte [rsp + 0x58], 0
xor eax, eax
mov rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xd0]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x50]
call fcn.00406d20
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x50]
call fcn.00409750
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x98], 0xf
mov qword [rsp + 0x90], rbx
mov byte [rsp + 0x80], 0
mov r8d, 0xc
lea rdx, str.SynDiag.log
lea rcx, [rsp + 0x78]
call fcn.00406d20
nop
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], rbx
mov byte [rsp + 0x58], 0
xor eax, eax
mov rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xd0]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x50]
call fcn.00406d20
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x50]
call fcn.00409750
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x98], 0xf
mov qword [rsp + 0x90], rbx
mov byte [rsp + 0x80], 0
mov r8d, 5
lea rdx, str..mpg
lea rcx, [rsp + 0x78]
call fcn.00406d20
nop
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], rbx
mov byte [rsp + 0x58], 0
xor eax, eax
mov rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xd0]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x50]
call fcn.00406d20
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x50]
call fcn.00409750
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x98], 0xf
mov qword [rsp + 0x90], rbx
mov byte [rsp + 0x80], 0
mov r8d, 4
lea rdx, str..js
lea rcx, [rsp + 0x78]
call fcn.00406d20
nop
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], rbx
mov byte [rsp + 0x58], 0
xor eax, eax
mov rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xd0]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x50]
call fcn.00406d20
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x50]
call fcn.00409750
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x98], 0xf
mov qword [rsp + 0x90], rbx
mov byte [rsp + 0x80], 0
mov r8d, 5
lea rdx, str..png
lea rcx, [rsp + 0x78]
call fcn.00406d20
nop
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], rbx
mov byte [rsp + 0x58], 0
xor eax, eax
mov rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xd0]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x50]
call fcn.00406d20
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x50]
call fcn.00409750
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x98], 0xf
mov qword [rsp + 0x90], rbx
mov byte [rsp + 0x80], 0
mov r8d, 6
lea rdx, str..html
lea rcx, [rsp + 0x78]
call fcn.00406d20
nop
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], rbx
mov byte [rsp + 0x58], 0
xor eax, eax
mov rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xd0]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x50]
call fcn.00406d20
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x50]
call fcn.00409750
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x98], 0xf
mov qword [rsp + 0x90], rbx
mov byte [rsp + 0x80], 0
mov r8d, 5
lea rdx, str..wmv
lea rcx, [rsp + 0x78]
call fcn.00406d20
nop
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], rbx
mov byte [rsp + 0x58], 0
xor eax, eax
mov rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xd0]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x50]
call fcn.00406d20
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x50]
call fcn.00409750
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x98], 0xf
mov qword [rsp + 0x90], rbx
mov byte [rsp + 0x80], 0
mov r8d, 5
lea rdx, str..syn
add qword [rax], r8