Function at 0x18004f2c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa20]
sub rsp, 0xb20
mov qword [rbp + 0x350], 0xfffffffffffffffe
mov qword [rsp + 0xb78], rbx
mov rax, qword [0x1800ec278]
xor rax, rsp
mov qword [rbp + 0xa10], rax
mov qword [rsp + 0x48], r8
mov r13, rdx
mov r12, rcx
mov qword [rbp + 0x360], rcx
mov qword [rbp + 0x358], rdx
xor esi, esi
mov dword [rsp + 0x30], esi
lea rax, [0x1800bace8]
mov qword [rbp + 0x150], rax
lea rax, [0x1800bad98]
mov qword [rbp + 0x160], rax
lea rax, [rbp + 0x1e8]
mov qword [rsp + 0x40], rax
lea r15, [0x1800bad78]
mov qword [rbp + 0x1e8], r15
lea rax, [0x1800bacc0]
mov qword [rbp + 0x1e8], rax
mov dword [rsp + 0x30], 2
mov rax, qword [rbp + 0x150]
movsxd rcx, dword [rax + 4]
lea rax, [0x1800bac20]
mov qword [rbp + rcx + 0x150], rax
mov rax, qword [rbp + 0x150]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rbp + rcx + 0x14c], edx
mov qword [rbp + 0x158], rsi
mov rax, qword [rbp + 0x150]
movsxd rcx, dword [rax + 4]
lea rbx, [rbp + 0x150]
add rbx, rcx
mov qword [rbx + 0x40], rsi
mov qword [rbx + 8], rsi
mov dword [rbx + 0x14], esi
mov dword [rbx + 0x18], 0x201
mov qword [rbx + 0x20], 6
mov qword [rbx + 0x28], rsi
mov qword [rbx + 0x30], rsi
mov qword [rbx + 0x38], rsi
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1800104d0
lea ecx, [rsi + 8]
call fcn.1800759c4
mov rdi, rax
test rax, rax
je 0x18004f409
xor eax, eax
mov qword [rdi], rax
mov cl, 1
call fcn.180073d3c
mov qword [rdi], rax
jmp 0x18004f40c
mov rdi, rsi
mov qword [rbx + 0x40], rdi
lea rax, [rbp + 0x168]
mov qword [rbx + 0x48], rax
mov qword [rbx + 0x50], rsi
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.1800105d0
nop
mov rcx, rax
call fcn.180017f50
mov rdi, rax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x18004f45b
mov rdx, qword [rcx]
call qword [rdx + 0x10]
test rax, rax
je 0x18004f45b
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
mov rax, qword [rdi]
mov dl, 0x20
mov rcx, rdi
call qword [rax + 0x60]
mov word [rbx + 0x58], ax
cmp qword [rbx + 0x48], 0
jne 0x18004f483
mov edx, dword [rbx + 0x10]
or edx, 4
xor r8d, r8d
mov rcx, rbx
call fcn.1800104d0
nop
lea rax, [rbp + 0x160]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0x160]
movsxd rcx, dword [rax + 4]
lea rax, [0x1800bac38]
mov qword [rbp + rcx + 0x160], rax
mov rax, qword [rbp + 0x160]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx + 0x15c], edx
mov rax, qword [rbp + 0x150]
movsxd rcx, dword [rax + 4]
lea rax, [0x1800bacf8]
mov qword [rbp + rcx + 0x150], rax
mov rax, qword [rbp + 0x150]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x20]
mov dword [rbp + rcx + 0x14c], edx
mov rax, qword [rbp + 0x150]
movsxd rcx, dword [rax + 4]
lea rax, [0x1800bad80]
mov qword [rbp + rcx + 0x150], rax
mov rax, qword [rbp + 0x150]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x14c], edx
lea rax, [rbp + 0x168]
mov qword [rsp + 0x38], rax
lea rcx, [rbp + 0x168]
call fcn.180016460
nop
lea rax, [0x1800bad00]
mov qword [rbp + 0x168], rax
mov qword [rbp + 0x1d0], rsi
mov dword [rbp + 0x1d8], esi
mov r9b, 0xaa
mov r8d, 0x15
lea rdx, [0x1800bd180]
lea rcx, [rbp + 0x368]
call fcn.180041ef0
mov r14, rax
mov r9b, 0xf7
mov r8d, 1
lea rdx, [0x1800ba780]
lea rcx, [rbp + 0x3a8]
call fcn.180041ef0
mov rsi, rax
mov r9b, 0x6b
mov r8d, 1
lea rdx, [0x1800ba784]
lea rcx, [rbp + 0x388]
call fcn.180041ef0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
mov rdx, rbx
lea rcx, [rbp + 0x160]
call fcn.180018200
mov rcx, rax
mov edx, edi
call fcn.180013a30
mov rcx, rax
mov rdx, rsi
call fcn.180018200
mov rcx, rax
mov rdx, r14
call fcn.180018200
nop
cmp qword [rbp + 0x3a0], 8
jb 0x18004f5fe
mov rcx, qword [rbp + 0x388]
call fcn.18007588c
mov qword [rbp + 0x3a0], 7
xor esi, esi
mov qword [rbp + 0x398], rsi
mov word [rbp + 0x388], si
cmp qword [rbp + 0x3c0], 8
jb 0x18004f62f
mov rcx, qword [rbp + 0x3a8]
call fcn.18007588c
mov qword [rbp + 0x3c0], 7
mov qword [rbp + 0x3b8], rsi
mov word [rbp + 0x3a8], si
cmp qword [rbp + 0x380], 8
jb 0x18004f65e
mov rcx, qword [rbp + 0x368]
call fcn.18007588c
mov qword [rbp + 0x380], 7
mov qword [rbp + 0x378], rsi
mov word [rbp + 0x368], si
mov r9b, 0x89
mov r8d, 7
lea rdx, [0x1800bb968]
lea rcx, [rbp + 0x388]
call fcn.180041e20
mov rdi, rax
mov r9b, 0x85
mov r8d, 5
lea rdx, [0x1800ba790]
lea rcx, [rbp + 0x3a8]
call fcn.180041e20
mov rbx, rax
lea rdx, [rbp + 0x368]
lea rcx, [rbp + 0x150]
call fcn.1800146d0
nop
mov r8, rdi
mov rdx, rbx
mov rcx, rax
call fcn.18003e1d0
nop
cmp qword [rbp + 0x380], 8
jb 0x18004f6ee
mov rcx, qword [rbp + 0x368]
call fcn.18007588c
mov qword [rbp + 0x380], 7
mov qword [rbp + 0x378], rsi
mov word [rbp + 0x368], si
cmp qword [rbp + 0x3c0], 0x10
jb 0x18004f71d
mov rcx, qword [rbp + 0x3a8]
call fcn.18007588c
mov qword [rbp + 0x3c0], 0xf
mov qword [rbp + 0x3b8], rsi
mov byte [rbp + 0x3a8], 0
cmp qword [rbp + 0x3a0], 0x10
jb 0x18004f74c
mov rcx, qword [rbp + 0x388]
call fcn.18007588c
mov qword [rbp + 0x3a0], 0xf
mov qword [rbp + 0x398], rsi
mov byte [rbp + 0x388], 0
lea rcx, [rbp + 0x1e8]
call fcn.180014600
lea rax, [rbp + 0x1e8]
mov qword [rsp + 0x38], rax
lea rdi, [0x1800bacc0]
mov qword [rbp + 0x1e8], rdi
mov qword [rbp + 0x1e8], r15
lea rcx, [rbp + 0x1e8]
call fcn.1800749f4
mov r9b, 0xde
mov r8d, 0x13
lea rdx, [0x1800bd1b0]
lea rcx, [rbp + 0x3c8]
call fcn.180041ef0
nop
mov r9b, 0xe5
mov r8d, 8
lea rdx, [0x1800bd1d8]
lea rcx, [rbp + 0x368]
call fcn.180041ef0
nop
cmp qword [rax + 0x18], 8
jb 0x18004f7e2
mov rax, qword [rax]
mov r8d, 0x103
lea rdx, [rbp + 0x3f0]
mov rcx, rax
call fcn.18006cd40
mov ebx, eax
cmp qword [rbp + 0x380], 8
jb 0x18004f80f
mov rcx, qword [rbp + 0x368]
call fcn.18007588c
mov qword [rbp + 0x380], 7
mov qword [rbp + 0x378], rsi
mov word [rbp + 0x368], si
or r15, 0xffffffffffffffff
test ebx, ebx
je 0x18004f8d0
cmp word [rbp + 0x3f0], 0
jne 0x18004f843
mov r8, rsi
jmp 0x18004f85b
lea rax, [rbp + 0x3f0]
mov r8, r15
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x18004f850
lea rdx, [rbp + 0x3f0]
lea rcx, [rbp + 0x3c8]
call fcn.180016510
mov r9b, 0xf5
mov r8d, 9
lea rdx, [0x1800bd1f0]
lea rcx, [rbp + 0x368]
call fcn.180041ef0
nop
mov r9, r15
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x3c8]
call fcn.180018ec0
nop
cmp qword [rbp + 0x380], 8
jb 0x18004f8b7
mov rcx, qword [rbp + 0x368]
call fcn.18007588c
mov qword [rbp + 0x380], 7
mov qword [rbp + 0x378], rsi
mov word [rbp + 0x368], si
mov r9b, 0x9d
mov r8d, 0x15
lea rdx, [0x1800bd208]
lea rcx, [rbp + 0x368]
call fcn.180041ef0
nop
mov r9, r15
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x3c8]
call fcn.180018ec0
nop
cmp qword [rbp + 0x380], 8
jb 0x18004f919
mov rcx, qword [rbp + 0x368]
call fcn.18007588c
mov qword [rbp + 0x380], 7
mov qword [rbp + 0x378], rsi
mov word [rbp + 0x368], si
mov word [rbp + 0x600], si
xor edx, edx
mov r8d, 0x40e
lea rcx, [rbp + 0x602]
call fcn.180079d60
cmp qword [r13 + 0x18], 8
jb 0x18004f95a
mov rax, qword [r13]
jmp 0x18004f95d
mov rax, r13
cmp qword [r12 + 0x18], 8
jb 0x18004f96b
mov r9, qword [r12]
jmp 0x18004f96e
mov r9, r12
lea r8, [rbp + 0x3c8]
cmp qword [rbp + 0x3e0], 8
cmovae r8, qword [rbp + 0x3c8]
mov qword [rsp + 0x20], rax
mov edx, 0x103
lea rcx, [rbp + 0x600]
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
lea rax, [0x1800bace8]
mov qword [rbp + 0x250], rax
lea rax, [0x1800bad98]
mov qword [rbp + 0x260], rax
lea rax, [rbp + 0x2e8]
mov qword [rsp + 0x38], rax
lea rax, [0x1800bad78]
mov qword [rbp + 0x2e8], rax
mov qword [rbp + 0x2e8], rdi
mov r14d, 0x22
mov dword [rsp + 0x30], r14d
mov rax, qword [rbp + 0x250]
movsxd rcx, dword [rax + 4]
lea rax, [0x1800bac20]
mov qword [rbp + rcx + 0x250], rax
mov rax, qword [rbp + 0x250]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rbp + rcx + 0x24c], edx
mov qword [rbp + 0x258], rsi
mov rax, qword [rbp + 0x250]
movsxd rdx, dword [rax + 4]
lea rbx, [rbp + 0x250]
add rbx, rdx
mov qword [rbx + 0x40], rsi
mov qword [rbx + 8], rsi
mov dword [rbx + 0x14], esi
mov dword [rbx + 0x18], 0x201
mov qword [rbx + 0x20], 6
mov qword [rbx + 0x28], rsi
mov qword [rbx + 0x30], rsi
mov qword [rbx + 0x38], rsi
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1800104d0
lea ecx, [r14 - 0x1a]
call fcn.1800759c4
mov rdi, rax
test rax, rax
je 0x18004fa84
xor eax, eax
mov qword [rdi], rax
mov cl, 1
call fcn.180073d3c
mov qword [rdi], rax
jmp 0x18004fa87
mov rdi, rsi
mov qword [rbx + 0x40], rdi
lea rax, [rbp + 0x268]
mov qword [rbx + 0x48], rax
mov qword [rbx + 0x50], rsi
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.1800105d0
nop
mov rcx, rax
call fcn.180017f50
mov rdi, rax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x18004fad6
mov rdx, qword [rcx]
call qword [rdx + 0x10]
test rax, rax
je 0x18004fad6
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
mov rax, qword [rdi]
mov dl, 0x20
mov rcx, rdi
call qword [rax + 0x60]
mov word [rbx + 0x58], ax
cmp qword [rbx + 0x48], 0
jne 0x18004fafe
mov edx, dword [rbx + 0x10]
or edx, 4
xor r8d, r8d
mov rcx, rbx
call fcn.1800104d0
nop
lea rax, [rbp + 0x260]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0x260]
movsxd rcx, dword [rax + 4]
lea rax, [0x1800bac38]
mov qword [rbp + rcx + 0x260], rax
mov rax, qword [rbp + 0x260]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx + 0x25c], edx
mov rax, qword [rbp + 0x250]
movsxd rcx, dword [rax + 4]
lea rax, [0x1800bacf8]
mov qword [rbp + rcx + 0x250], rax
mov rax, qword [rbp + 0x250]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x20]
mov dword [rbp + rcx + 0x24c], edx
mov rax, qword [rbp + 0x250]
movsxd rcx, dword [rax + 4]
lea rax, [0x1800bad80]
mov qword [rbp + rcx + 0x250], rax
mov rax, qword [rbp + 0x250]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x24c], edx
lea rax, [rbp + 0x268]
mov qword [rsp + 0x38], rax
lea rcx, [rbp + 0x268]
call fcn.180016460
nop
lea rax, [0x1800bad00]
mov qword [rbp + 0x268], rax
mov qword [rbp + 0x2d0], rsi
mov dword [rbp + 0x2d8], esi
mov r9b, 0xf7
mov r8d, 1
lea rdx, [0x1800ba780]
lea rcx, [rbp + 0x3a8]
call fcn.180041ef0
mov rsi, rax
mov r9b, 0x6b
mov r8d, 1
lea rdx, [0x1800ba784]
lea rcx, [rbp + 0x368]
call fcn.180041ef0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
mov rdx, rbx
lea rcx, [rbp + 0x260]
call fcn.180018200
mov rcx, rax
mov edx, edi
call fcn.180013a30
mov rcx, rax
mov rdx, rsi
call fcn.180018200
mov rcx, rax
lea rdx, [rbp + 0x600]
call fcn.180018780
nop
cmp qword [rbp + 0x380], 8
jb 0x18004fc5e
mov rcx, qword [rbp + 0x368]
call fcn.18007588c
mov qword [rbp + 0x380], 7
xor esi, esi
mov qword [rbp + 0x378], rsi
mov word [rbp + 0x368], si
cmp qword [rbp + 0x3c0], 8
jb 0x18004fc8f
mov rcx, qword [rbp + 0x3a8]
call fcn.18007588c
mov qword [rbp + 0x3c0], 7
mov qword [rbp + 0x3b8], rsi
mov word [rbp + 0x3a8], si
mov r9b, 0x89
mov r8d, 7
lea rdx, [0x1800bb968]
lea rcx, [rbp + 0x388]
call fcn.180041e20
mov rdi, rax
mov r9b, 0x85
mov r8d, 5
lea rdx, [0x1800ba790]
lea rcx, [rbp + 0x3a8]
call fcn.180041e20
mov rbx, rax
lea rdx, [rbp + 0x368]
lea rcx, [rbp + 0x250]
call fcn.1800146d0
nop
mov r8, rdi
mov rdx, rbx
mov rcx, rax
call fcn.18003e1d0
nop
cmp qword [rbp + 0x380], 8
jb 0x18004fd1f
mov rcx, qword [rbp + 0x368]
call fcn.18007588c
mov qword [rbp + 0x380], 7
mov qword [rbp + 0x378], rsi
mov word [rbp + 0x368], si
cmp qword [rbp + 0x3c0], 0x10
jb 0x18004fd4e
mov rcx, qword [rbp + 0x3a8]
call fcn.18007588c
mov qword [rbp + 0x3c0], 0xf
mov qword [rbp + 0x3b8], rsi
mov byte [rbp + 0x3a8], 0
cmp qword [rbp + 0x3a0], 0x10
jb 0x18004fd7d
mov rcx, qword [rbp + 0x388]
call fcn.18007588c
mov qword [rbp + 0x3a0], 0xf
mov qword [rbp + 0x398], rsi
mov byte [rbp + 0x388], 0
lea rcx, [rbp + 0x2e8]
call fcn.180014600
lea rax, [rbp + 0x2e8]
mov qword [rsp + 0x38], rax
lea rbx, [0x1800bacc0]
mov qword [rbp + 0x2e8], rbx
lea rdi, [0x1800bad78]
mov qword [rbp + 0x2e8], rdi
lea rcx, [rbp + 0x2e8]
call fcn.1800749f4
cmp qword [r12 + 0x18], 8
jb 0x18004fde4
mov rcx, qword [r12]
jmp 0x18004fde7
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x18005015f
lea rax, [0x1800bace8]
mov qword [rbp + 0x50], rax
lea rax, [0x1800bad98]
mov qword [rbp + 0x60], rax
lea rax, [rbp + 0xe8]
mov qword [rsp + 0x38], rax
mov qword [rbp + 0xe8], rdi
mov qword [rbp + 0xe8], rbx
mov dword [rsp + 0x30], 0x222
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [0x1800bac20]
mov qword [rbp + rcx + 0x50], rax
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rbp + rcx + 0x4c], edx
mov qword [rbp + 0x58], rsi
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x50]
add rcx, rax
lea rdx, [rbp + 0x68]
call fcn.1800163c0
nop
lea rax, [rbp + 0x60]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [0x1800bac38]
mov qword [rbp + rcx + 0x60], rax
mov rax, qword [rbp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx + 0x5c], edx
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [0x1800bacf8]
mov qword [rbp + rcx + 0x50], rax
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x20]
mov dword [rbp + rcx + 0x4c], edx
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [0x1800bad80]
mov qword [rbp + rcx + 0x50], rax
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x4c], edx
lea rax, [rbp + 0x68]
mov qword [rsp + 0x38], rax
lea rcx, [rbp + 0x68]
call fcn.180016460
nop
lea rax, [0x1800bad00]
mov qword [rbp + 0x68], rax
mov qword [rbp + 0xd0], rsi
mov dword [rbp + 0xd8], esi
mov r9b, 0x7b
mov r8d, 0x11
lea rdx, str.HzZ8Q_
lea rcx, [rbp + 0x388]
call fcn.180041ef0
mov r14, rax
mov r9b, 0xf7
mov r8d, 1
lea rdx, [0x1800ba780]
lea rcx, [rbp + 0x3a8]
call fcn.180041ef0
mov rsi, rax
mov r9b, 0x6b
mov r8d, 1
lea rdx, [0x1800ba784]
lea rcx, [rbp + 0x368]
call fcn.180041ef0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
mov rdx, rbx
lea rcx, [rbp + 0x60]
call fcn.180018200
mov rcx, rax
mov edx, edi
call fcn.180013a30
mov rcx, rax
mov rdx, rsi
call fcn.180018200
mov rcx, rax
mov rdx, r14
call fcn.180018200
nop
cmp qword [rbp + 0x380], 8
jb 0x18004ffb6
mov rcx, qword [rbp + 0x368]
call fcn.18007588c
mov qword [rbp + 0x380], 7
xor esi, esi
mov qword [rbp + 0x378], rsi
mov word [rbp + 0x368], si
cmp qword [rbp + 0x3c0], 8
jb 0x18004ffe7
mov rcx, qword [rbp + 0x3a8]
call fcn.18007588c
mov qword [rbp + 0x3c0], 7
mov qword [rbp + 0x3b8], rsi
mov word [rbp + 0x3a8], si
cmp qword [rbp + 0x3a0], 8
jb 0x180050016
mov rcx, qword [rbp + 0x388]
call fcn.18007588c
mov qword [rbp + 0x3a0], 7
mov qword [rbp + 0x398], rsi
mov word [rbp + 0x388], si
mov r9b, 0x89
mov r8d, 7
lea rdx, [0x1800bb968]
lea rcx, [rbp + 0x388]
call fcn.180041e20
mov rdi, rax
mov r9b, 0x85
mov r8d, 5
lea rdx, [0x1800ba790]
lea rcx, [rbp + 0x3a8]
call fcn.180041e20
mov rbx, rax
lea rdx, [rbp + 0x368]
lea rcx, [rbp + 0x50]
call fcn.1800146d0
nop
mov r8, rdi
mov rdx, rbx
mov rcx, rax
call fcn.18003e1d0
nop
cmp qword [rbp + 0x380], 8
jb 0x1800500a3
mov rcx, qword [rbp + 0x368]
call fcn.18007588c
mov qword [rbp + 0x380], 7
mov qword [rbp + 0x378], rsi
mov word [rbp + 0x368], si
cmp qword [rbp + 0x3c0], 0x10
jb 0x1800500d2
mov rcx, qword [rbp + 0x3a8]
call fcn.18007588c
mov qword [rbp + 0x3c0], 0xf
mov qword [rbp + 0x3b8], rsi
mov byte [rbp + 0x3a8], 0
cmp qword [rbp + 0x3a0], 0x10
jb 0x180050101
mov rcx, qword [rbp + 0x388]
call fcn.18007588c
mov qword [rbp + 0x3a0], 0xf
mov qword [rbp + 0x398], rsi
mov byte [rbp + 0x388], 0
lea rcx, [rbp + 0xe8]
call fcn.180014600
lea rax, [rbp + 0xe8]
mov qword [rsp + 0x38], rax
lea rax, [0x1800bacc0]
mov qword [rbp + 0xe8], rax
lea rdi, [0x1800bad78]
mov qword [rbp + 0xe8], rdi
lea rcx, [rbp + 0xe8]
call fcn.1800749f4
mov r14d, dword [rsp + 0x30]
mov qword [rbp + 0x398], rsi
mov qword [rbp + 0x3a0], rsi
mov qword [rbp + 0x3a0], 7
mov qword [rbp + 0x398], rsi
mov word [rbp + 0x388], si
cmp word [rbp + 0x600], 0
jne 0x180050195
mov r15, rsi
jmp 0x1800501ab
lea rax, [rbp + 0x600]
nop dword [rax]
inc r15
cmp word [rax + r15*2], 0
jne 0x1800501a0
mov r8, r15
lea rdx, [rbp + 0x600]
lea rcx, [rbp + 0x388]
call fcn.180016510
nop
or r14d, 1
mov dword [rsp + 0x30], r14d
mov r9, qword [rsp + 0x48]
lea rcx, [rbp + 0x388]
call fcn.180053d90
test al, al
jne 0x180050200
cmp qword [r12 + 0x18], 8
jb 0x1800501ee
mov rcx, qword [r12]
jmp 0x1800501f1
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x180050200
mov bl, 1
jmp 0x180050202
xor bl, bl
test r14b, 1
je 0x180050240
and r14d, 0xfffffffe
mov dword [rsp + 0x30], r14d
cmp qword [rbp + 0x3a0], 8
jb 0x180050227
mov rcx, qword [rbp + 0x388]
call fcn.18007588c
mov qword [rbp + 0x3a0], 7
mov qword [rbp + 0x398], rsi
mov word [rbp + 0x388], si
test bl, bl
je 0x180050634
lea rax, [0x1800bace8]
mov qword [rsp + 0x50], rax
lea rax, [0x1800bad98]
mov qword [rsp + 0x60], rax
lea rax, [rbp - 0x18]
mov qword [rsp + 0x38], rax
mov qword [rbp - 0x18], rdi
lea rax, [0x1800bacc0]
mov qword [rbp - 0x18], rax
bts r14d, 0xd
mov dword [rsp + 0x30], r14d
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [0x1800bac20]
mov qword [rsp + rcx + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rsp + rcx + 0x4c], edx
mov qword [rsp + 0x58], rsi
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x50]
add rcx, rax
lea rdx, [rsp + 0x68]
call fcn.1800163c0
nop
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [0x1800bac38]
mov qword [rsp + rcx + 0x60], rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x5c], edx
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [0x1800bacf8]
mov qword [rsp + rcx + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x20]
mov dword [rsp + rcx + 0x4c], edx
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [0x1800bad80]
mov qword [rsp + rcx + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x4c], edx
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x68]
call fcn.180016460
nop
lea rax, [0x1800bad00]
mov qword [rsp + 0x68], rax
mov qword [rbp - 0x30], rsi
mov dword [rbp - 0x28], esi
mov r9b, 0xb2
mov r8d, 0x1a
lea rdx, [0x1800bd260]
lea rcx, [rbp + 0x388]
call fcn.180041ef0
mov r15, rax
mov r9b, 0x79
mov r8d, 1
lea rdx, [0x1800ba7fc]
lea rcx, [rbp + 0x3a8]
call fcn.180041ef0
mov r14, rax
mov r9b, 0x42
mov r8d, 1
lea rdx, [0x1800ba800]
lea rcx, [rbp + 0x368]
call fcn.180041ef0
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.180018200
mov rcx, rax
mov edx, ebx
call fcn.180013a30
mov rcx, rax
mov rdx, r14
call fcn.180018200
mov rcx, rax
mov rdx, r15
call fcn.180018200
mov rcx, rax
lea rdx, str._Last_Error:
call fcn.180018470
mov rcx, rax
mov edx, esi
call fcn.180013a30
nop
cmp qword [rbp + 0x380], 8
jb 0x180050436
mov rcx, qword [rbp + 0x368]
call fcn.18007588c
mov qword [rbp + 0x380], 7
xor esi, esi
mov qword [rbp + 0x378], rsi
mov word [rbp + 0x368], si
cmp qword [rbp + 0x3c0], 8
jb 0x180050467
mov rcx, qword [rbp + 0x3a8]
call fcn.18007588c
mov qword [rbp + 0x3c0], 7
mov qword [rbp + 0x3b8], rsi
mov word [rbp + 0x3a8], si
cmp qword [rbp + 0x3a0], 8
jb 0x180050496
mov rcx, qword [rbp + 0x388]
call fcn.18007588c
mov qword [rbp + 0x3a0], 7
mov qword [rbp + 0x398], rsi
mov word [rbp + 0x388], si
mov r9b, 0x89
mov r8d, 7
lea rdx, [0x1800bb968]
lea rcx, [rbp + 0x388]
call fcn.180041e20
mov rdi, rax
mov r9b, 0xb8
mov r8d, 5
lea rdx, [0x1800ba804]
lea rcx, [rbp + 0x3a8]
call fcn.180041e20
mov rbx, rax
lea rdx, [rbp + 0x368]
lea rcx, [rsp + 0x50]
call fcn.1800146d0
nop
mov r8, rdi
mov rdx, rbx
mov rcx, rax
call fcn.18003e1d0
nop
cmp qword [rbp + 0x380], 8
jb 0x180050524
mov rcx, qword [rbp + 0x368]
call fcn.18007588c
mov qword [rbp + 0x380], 7
mov qword [rbp + 0x378], rsi
mov word [rbp + 0x368], si
cmp qword [rbp + 0x3c0], 0x10
jb 0x180050553
mov rcx, qword [rbp + 0x3a8]
call fcn.18007588c
mov qword [rbp + 0x3c0], 0xf
mov qword [rbp + 0x3b8], rsi
mov byte [rbp + 0x3a8], 0
cmp qword [rbp + 0x3a0], 0x10
jb 0x180050582
mov rcx, qword [rbp + 0x388]
call fcn.18007588c
mov qword [rbp + 0x3a0], 0xf
mov qword [rbp + 0x398], rsi
mov byte [rbp + 0x388], 0
lea rcx, [rbp - 0x18]
call fcn.180014600
lea rax, [rbp - 0x18]
mov qword [rsp + 0x38], rax
lea rax, [0x1800bacc0]
mov qword [rbp - 0x18], rax
lea rax, [0x1800bad78]
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x18]
call fcn.1800749f4
nop
cmp qword [rbp + 0x3e0], 8
jb 0x1800505e3
mov rcx, qword [rbp + 0x3c8]
call fcn.18007588c
mov qword [rbp + 0x3e0], 7
mov qword [rbp + 0x3d8], rsi
mov word [rbp + 0x3c8], si
cmp qword [r12 + 0x18], 8
jb 0x18005060d
mov rcx, qword [r12]
call fcn.18007588c
mov qword [r12 + 0x18], 7
mov qword [r12 + 0x10], rsi
mov word [r12], si
cmp qword [r13 + 0x18], 8
jb 0x180050630
mov rcx, qword [r13]
call fcn.18007588c
xor al, al
jmp 0x180050699
cmp qword [rbp + 0x3e0], 8
jb 0x18005064a
mov rcx, qword [rbp + 0x3c8]
call fcn.18007588c
mov qword [rbp + 0x3e0], 7
mov qword [rbp + 0x3d8], rsi
mov word [rbp + 0x3c8], si
cmp qword [r12 + 0x18], 8
jb 0x180050674
mov rcx, qword [r12]
call fcn.18007588c
mov qword [r12 + 0x18], 7
mov qword [r12 + 0x10], rsi
mov word [r12], si
cmp qword [r13 + 0x18], 8
jb 0x180050697
mov rcx, qword [r13]
call fcn.18007588c
mov al, 1
mov qword [r13 + 0x18], 7
mov qword [r13 + 0x10], rsi
mov word [r13], si
mov rcx, qword [rbp + 0xa10]
xor rcx, rsp
call fcn.180074e80
mov rbx, qword [rsp + 0xb78]
add rsp, 0xb20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret