Function at 0x140002930
Capabilities:
Get common file path

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x128
mov eax, dword [rsp + 0x138]
sub eax, 0x346e
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x138]
add eax, 0xb1e
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x160]
xor eax, 0x3ece
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x150]
xor eax, 0x895
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x158]
xor eax, 0x7e8b
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x160]
add eax, 5
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x138]
xor eax, 0x625
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
xor eax, 0x7190
cmp dword [rsp + 0x58], eax
jge 0x140002b33
mov eax, dword [rsp + 0x48]
sub eax, 0x185
mov dword [rsp + 0x48], eax
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x130]
mov eax, dword [rcx + rax + 0x48]
xor eax, 0x1a33bc
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x130]
mov dword [rdx + rcx + 0x48], eax
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0xf0]
or eax, 0x1b2221
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0xf0], eax
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x130]
mov ecx, dword [rcx + 0x54]
sub ecx, 0xffff0481
mov rdx, qword [rsp + 0x130]
mov eax, dword [rdx + rax + 0x48]
xor eax, ecx
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x130]
mov dword [rdx + rcx + 0x48], eax
mov eax, dword [rsp + 0x4c]
add eax, 0x3ece
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x58]
sub eax, 0x731
mov dword [rsp + 0x74], eax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0xd0], rax
mov eax, dword [rsp + 0x40]
add eax, 0x44f
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x44]
sub eax, 0xb9
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x4c]
add eax, 0x228
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x54]
add eax, 0x34ee
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x44]
sub eax, 0xd30
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x6c]
mov r8d, dword [rsp + 0x70]
mov rdx, qword [rsp + 0xd0]
mov ecx, dword [rsp + 0x74]
call fcn.140017320
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
sub eax, 0x195
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x84]
add eax, 0xffffffff
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0x120], eax
mov eax, dword [rsp + 0x58]
sub eax, 0x46
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x5c]
mov dword [rsp + 0x5c], eax
jmp 0x140002b59
mov eax, dword [rsp + 0x5c]
inc eax
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x60]
cmp dword [rsp + 0x5c], eax
ja 0x140002ca6
mov eax, dword [rsp + 0x5c]
imul eax, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x130]
add eax, dword [rcx + 0x120]
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0x120], eax
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 0x130]
mov ecx, dword [rcx + 0xb8]
sub ecx, 4
mov rdx, qword [rsp + 0x130]
mov eax, dword [rdx + rax + 0x110]
or eax, ecx
mov ecx, 4
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x130]
mov dword [rdx + rcx + 0x110], eax
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x130]
mov rdx, qword [rsp + 0x130]
mov edx, dword [rdx + 0xf8]
mov eax, dword [rcx + rax + 0x48]
sub eax, edx
sub eax, 0x1ac82d
mov rcx, qword [rsp + 0x130]
mov ecx, dword [rcx + 0xfc]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0xfc], eax
mov eax, 4
imul rax, rax, 2
mov ecx, 4
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x130]
mov edx, dword [rdx + 0x58]
mov r8, qword [rsp + 0x130]
add edx, dword [r8 + rcx + 0xc4]
mov ecx, edx
xor ecx, 0x190873
mov rdx, qword [rsp + 0x130]
mov eax, dword [rdx + rax + 0x10]
xor eax, ecx
mov ecx, 4
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x130]
mov dword [rdx + rcx + 0x10], eax
mov rax, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x130]
mov ecx, dword [rcx + 0x58]
mov eax, dword [rax + 0xa0]
xor eax, ecx
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0xa0], eax
jmp 0x140002b4f
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x130]
mov rdx, qword [rsp + 0x130]
mov edx, dword [rdx + 0xa0]
cmp dword [rcx + rax + 0xc4], edx
jb 0x140002d07
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x130]
mov eax, dword [rcx + rax + 0x64]
add eax, 5
mov rcx, qword [rsp + 0x130]
mov ecx, dword [rcx + 0x120]
imul ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0x120], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x130]
mov ecx, dword [rcx + 0x120]
mov dword [rax + 0x80], ecx
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x130]
mov rdx, qword [rsp + 0x130]
mov edx, dword [rdx + 0xf8]
cmp dword [rcx + rax + 0xd0], edx
ja 0x140002d7e
mov rax, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x130]
mov ecx, dword [rcx + 8]
mov eax, dword [rax + 0x80]
sub eax, ecx
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0x80], eax
jmp 0x140002dcc
mov eax, 4
imul rax, rax, 0
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x130]
mov eax, dword [rdx + rax + 0x2c]
mov rdx, qword [rsp + 0x130]
mov ecx, dword [rdx + rcx + 0xd0]
lea eax, [rax + rcx - 0x22ce0]
mov rcx, qword [rsp + 0x130]
mov ecx, dword [rcx + 0x58]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0x58], eax
mov eax, dword [rsp + 0x58]
xor eax, 0xd98
cmp dword [rsp + 0x4c], eax
je 0x1400033a5
mov eax, dword [rsp + 0x4c]
sub eax, 0x93a
cmp dword [rsp + 0x44], eax
jle 0x140002f0e
mov rax, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x130]
mov ecx, dword [rcx + 0x120]
mov dword [rax + 0xf4], ecx
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x130]
mov rdx, qword [rsp + 0x130]
mov edx, dword [rdx + 0x13c]
cmp dword [rcx + rax + 0xd0], edx
ja 0x140002e5d
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0xf4]
mov rcx, qword [rsp + 0x130]
add eax, dword [rcx + 0xc]
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0xf4], eax
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x130]
mov rdx, qword [rsp + 0x130]
mov eax, dword [rdx + rax + 0xc4]
mov ecx, dword [rcx + 0xc0]
sub ecx, eax
mov eax, ecx
sub eax, 0xffe4c391
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0x28], eax
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x84], eax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0xd8], rax
mov eax, dword [rsp + 0x48]
sub eax, 0x848
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0x44]
add eax, 0x42c
mov dword [rsp + 0x7c], eax
mov eax, dword [rsp + 0x4c]
xor eax, 0xddb
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x7c]
mov r8d, dword [rsp + 0x80]
mov rdx, qword [rsp + 0xd8]
mov ecx, dword [rsp + 0x84]
call fcn.140003e10
mov dword [rsp + 0x40], eax
jmp 0x1400033a5
mov eax, 4
imul rax, rax, 0
mov ecx, 4
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x130]
mov r8d, dword [rsp + 0x44]
mov ecx, dword [rdx + rcx + 0x100]
and ecx, r8d
mov rdx, qword [rsp + 0x130]
cmp dword [rdx + rax + 0x48], ecx
jae 0x140003352
mov rax, qword [rsp + 0x130]
mov ecx, dword [rsp + 0x44]
imul ecx, dword [rax + 0xc0]
mov eax, ecx
sub eax, dword [rsp + 0x40]
mov dword [rsp + 0x94], eax
mov rax, qword [rsp + 0x130]
mov ecx, dword [rsp + 0x40]
mov eax, dword [rax + 0xb8]
sub eax, ecx
imul eax, dword [rsp + 0x50]
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x44]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x8c], eax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0xe0], rax
imul eax, dword [rsp + 0x40], 0x36e1
sub eax, 0x4471
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0xe0]
mov r8d, dword [rsp + 0x8c]
mov edx, dword [rsp + 0x90]
mov ecx, dword [rsp + 0x94]
call fcn.140018a00
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x130]
mov ecx, dword [rsp + 0x48]
mov eax, dword [rax + 0x13c]
sub eax, ecx
xor eax, dword [rsp + 0x40]
mov eax, eax
mov qword [rsp + 0xf8], rax
mov eax, 4
imul rax, rax, 1
mov ecx, 4
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x130]
mov r8, qword [rsp + 0x130]
mov ecx, dword [r8 + rcx + 0x64]
mov eax, dword [rdx + rax + 0x10]
or eax, ecx
xor eax, dword [rsp + 0x44]
mov dword [rsp + 0xa4], eax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x130]
mov edx, dword [rsp + 0x58]
mov eax, dword [rcx + rax + 0x64]
sub eax, edx
mov dword [rsp + 0xa0], eax
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x44]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x130]
imul eax, dword [rcx + 0x58]
mov eax, eax
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x130]
mov ecx, dword [rsp + 0x4c]
mov eax, dword [rax + 0x74]
sub eax, ecx
mov dword [rsp + 0x9c], eax
mov eax, dword [rsp + 0x54]
xor eax, 0x4455
imul eax, dword [rsp + 0x48]
mov dword [rsp + 0x98], eax
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0xa0]
mov ecx, dword [rsp + 0x50]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x130]
sub eax, dword [rcx + 0xa0]
mov eax, eax
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0xf0]
mov r8d, dword [rsp + 0xa0]
mov edx, dword [rsp + 0xa4]
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
imul eax, dword [rsp + 0x54], 0x406c
mov ecx, dword [rsp + 0x50]
lea eax, [rcx + rax - 0x43db]
mov dword [rsp + 0x50], eax
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x130]
mov rdx, qword [rsp + 0x130]
mov edx, dword [rdx + 0x78]
mov eax, dword [rcx + rax + 0xc4]
sub eax, edx
mov ecx, dword [rsp + 0x48]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x130]
mov ecx, dword [rsp + 0x40]
mov eax, dword [rax + 0xbc]
and eax, ecx
and eax, 0x406c
mov dword [rsp + 0xb8], eax
mov eax, dword [rsp + 0x50]
xor eax, 0x3f8c
mov dword [rsp + 0xb4], eax
mov eax, dword [rsp + 0x54]
imul eax, dword [rsp + 0x54]
mov dword [rsp + 0xb0], eax
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0xac], eax
imul eax, dword [rsp + 0x54], 0x346e
mov dword [rsp + 0xa8], eax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0xac]
mov r8d, dword [rsp + 0xb0]
mov edx, dword [rsp + 0xb4]
mov ecx, dword [rsp + 0xb8]
call fcn.14001c3e0
mov dword [rsp + 0x54], eax
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x130]
mov eax, dword [rcx + rax + 0x48]
mov ecx, dword [rsp + 0x4c]
add ecx, eax
mov eax, ecx
imul eax, eax, 0x4455
mov dword [rsp + 0xc8], eax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x108], rax
mov eax, dword [rsp + 0x44]
add eax, 0x35fb
mov dword [rsp + 0xc4], eax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x130]
mov eax, dword [rcx + rax + 0x98]
xor eax, 0x3c66
mov dword [rsp + 0xc0], eax
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 0x130]
mov edx, dword [rsp + 0x40]
mov eax, dword [rcx + rax + 0x110]
and eax, edx
mov dword [rsp + 0xbc], eax
mov eax, dword [rsp + 0xbc]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0xc0]
mov r8d, dword [rsp + 0xc4]
mov rdx, qword [rsp + 0x108]
mov ecx, dword [rsp + 0xc8]
call fcn.140003e10
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x4c]
sub eax, 0x36e1
mov dword [rsp + 0xcc], eax
mov eax, dword [rsp + 0x50]
or eax, 0x3719
cdqe
mov qword [rsp + 0x110], rax
mov rdx, qword [rsp + 0x110]
mov ecx, dword [rsp + 0xcc]
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x130]
mov eax, dword [rcx + rax + 0x48]
add eax, 0x3f61
mov ecx, dword [rsp + 0x40]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
jmp 0x1400033a5
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x130]
mov eax, dword [rcx + rax + 0x12c]
add eax, 0x3719
or eax, 0x3c56
cmp dword [rsp + 0x54], eax
jne 0x1400033a5
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0xfc]
or eax, 0x35fb
mov eax, eax
mov qword [rsp + 0x118], rax
mov rcx, qword [rsp + 0x118]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x40]
add eax, 0xf5
add rsp, 0x128
ret