Function at 0x1801b9bc0
Capabilities:
Check if file exists

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x408]
sub rsp, 0x508
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x180332088]
xor rax, rsp
mov qword [rbp + 0x3f0], rax
mov r12, r9
mov rsi, r8
mov rbx, rdx
mov r14, rcx
test rdx, rdx
je 0x1801b9f57
mov rcx, rdx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1801b9f57
mov qword [rbp - 0x38], 7
xor r13d, r13d
mov qword [rbp - 0x40], r13
mov word [rbp - 0x50], r13w
mov dword [rsp + 0x40], r13d
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x50]
mov rdx, rsi
mov rcx, rbx
call fcn.1801baa30
test eax, eax
jne 0x1801b9c55
mov ebx, r13d
jmp 0x1801b9f39
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], r13
mov word [rbp - 0x70], r13w
mov dword [rsp + 0x40], r13d
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x70]
mov rdx, r12
mov rcx, rbx
call fcn.1801baa30
test eax, eax
jne 0x1801b9c8b
mov ebx, r13d
jmp 0x1801b9f0e
mov ecx, 0xa
call fcn.1800787b0
mov r15d, eax
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], r13
mov word [rsp + 0x70], r13w
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r13
mov word [rsp + 0x50], r13w
lea r9, [rsp + 0x70]
mov r8d, eax
mov rdx, rsi
mov rcx, rbx
call fcn.1801bb1b0
test eax, eax
je 0x1801b9eac
lea r9, [rsp + 0x50]
mov r8d, r15d
mov rdx, r12
mov rcx, rbx
call fcn.1801bb1b0
test eax, eax
je 0x1801b9eac
lea rdi, [r14 + 0x48]
lea rax, [rsp + 0x70]
or rbx, 0xffffffffffffffff
cmp rdi, rax
je 0x1801b9d19
mov r9, rbx
xor r8d, r8d
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.18005cbe0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x30]
call fcn.180233580
mov dword [rsp + 0x20], r15d
mov r9, rsi
lea r8, str.WanNengWBInput
lea rdx, str._s_s_Copy_d
lea rcx, [rbp - 0x30]
call fcn.18005c530
cmp word [rbp - 0x30], 0
jne 0x1801b9d55
mov r8, r13
jmp 0x1801b9d6b
lea rax, [rbp - 0x30]
mov r8, rbx
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1801b9d60
lea rsi, [r14 + 0x88]
lea rdx, [rbp - 0x30]
mov rcx, rsi
call fcn.18005c660
mov dword [rsp + 0x40], r13d
cmp qword [rsi + 0x18], 8
jb 0x1801b9d8d
mov rsi, qword [rsi]
cmp qword [rdi + 0x18], 8
jb 0x1801b9d97
mov rdi, qword [rdi]
lea r13, [r14 + 8]
lea rax, [r14 + 0x10]
lea r8, [r14 + 0x18]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
mov rdx, rdi
mov rcx, r14
call fcn.1801dfea0
mov qword [r14 + 0x28], rax
cmp dword [rsp + 0x40], 0
jne 0x1801b9ea9
test rax, rax
je 0x1801b9ea9
lea rsi, [r14 + 0x68]
lea rax, [rsp + 0x50]
cmp rsi, rax
je 0x1801b9dfb
mov r9, rbx
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.18005cbe0
mov dword [rsp + 0x20], r15d
mov r9, r12
lea r8, str.WanNengWBInput
lea rdx, str._s_s_Copy_d
lea rcx, [rbp + 0x1e0]
call fcn.18005c530
cmp word [rbp + 0x1e0], 0
jne 0x1801b9e2b
xor ebx, ebx
jmp 0x1801b9e3c
lea rax, [rbp + 0x1e0]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1801b9e32
lea rdi, [r14 + 0xa8]
mov r8, rbx
lea rdx, [rbp + 0x1e0]
mov rcx, rdi
call fcn.18005c660
cmp qword [rdi + 0x18], 8
jb 0x1801b9e5f
mov rdi, qword [rdi]
cmp qword [rsi + 0x18], 8
jb 0x1801b9e69
mov rsi, qword [rsi]
lea rax, [r14 + 0x14]
lea r8, [r14 + 0x20]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
mov rdx, rsi
mov rcx, r14
call fcn.1801dfea0
mov qword [r14 + 0x38], rax
cmp dword [rsp + 0x40], 0
jne 0x1801b9ea9
xor r13d, r13d
test rax, rax
je 0x1801b9eac
lea ebx, [r13 + 1]
jmp 0x1801b9eaf
xor r13d, r13d
mov ebx, r13d
mov r8, qword [rsp + 0x68]
cmp r8, 8
jb 0x1801b9ecc
inc r8
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.18005cac0
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r13
mov word [rsp + 0x50], r13w
mov r8, qword [rbp - 0x78]
cmp r8, 8
jb 0x1801b9efc
inc r8
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x70]
call fcn.18005cac0
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], r13
mov word [rsp + 0x70], r13w
mov r8, qword [rbp - 0x58]
cmp r8, 8
jb 0x1801b9f28
inc r8
mov rdx, qword [rbp - 0x70]
lea rcx, [rbp - 0x70]
call fcn.18005cac0
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], r13
mov word [rbp - 0x70], r13w
mov r8, qword [rbp - 0x38]
cmp r8, 8
jb 0x1801b9f53
inc r8
mov rdx, qword [rbp - 0x50]
lea rcx, [rbp - 0x50]
call fcn.18005cac0
mov eax, ebx
jmp 0x1801b9f59
xor eax, eax
mov rcx, qword [rbp + 0x3f0]
xor rcx, rsp
call fcn.1802037a0
add rsp, 0x508
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret