Function at 0x1800040a0
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x68]
sub rsp, 0x150
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1800420b0]
xor rax, rsp
mov qword [rbp + 0x48], rax
mov rbx, rcx
mov qword [rbp], 7
xor r14d, r14d
mov qword [rbp - 8], r14
mov word [rbp - 0x18], r14w
cmp word [rdx], r14w
jne 0x1800040f2
mov r8d, r14d
jmp 0x180004100
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r14w
jne 0x1800040f6
lea rcx, [rbp - 0x18]
call fcn.180002090
nop
cmp qword [rbp - 8], 0
jne 0x180004145
lea rdx, [rbx + 0x90]
cmp qword [rdx + 0x18], 8
jb 0x180004122
mov rdx, qword [rdx]
cmp word [rdx], 0
jne 0x18000412d
mov r8, r14
jmp 0x18000413c
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x180004131
lea rcx, [rbp - 0x18]
call fcn.180002090
lea rcx, [rbp - 0x18]
cmp qword [rbp], 8
cmovae rcx, qword [rbp - 0x18]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180004165
mov esi, r14d
jmp 0x1800044db
lea r8, str.YiiMiZip.exe
lea rdx, [rbp - 0x18]
lea rcx, [rbp + 0x28]
call fcn.180002370
nop
lea rcx, [rbp + 0x28]
cmp qword [rbp + 0x40], 8
cmovae rcx, qword [rbp + 0x28]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x18000419c
mov esi, 1
jmp 0x1800044b0
lea rdx, str.9948384500004730031646461157524719651229
lea rcx, [rbp + 8]
call fcn.180007cc0
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r14
mov qword [rbp - 0x20], 7
mov qword [rbp - 0x28], r14
mov word [rbp - 0x38], r14w
mov esi, 1
mov r8d, esi
lea rdx, [0x18002bac4]
lea rcx, [rbp - 0x38]
call fcn.180002090
nop
lea rdx, [rbp + 8]
cmp qword [rbp + 0x20], 8
cmovae rdx, qword [rbp + 8]
mov qword [rbp - 0x40], 7
mov qword [rbp - 0x48], r14
mov word [rbp - 0x58], r14w
cmp word [rdx], 0
jne 0x18000420f
mov r8, r14
jmp 0x18000421e
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x180004213
lea rcx, [rbp - 0x58]
call fcn.180002090
nop
lea r8, [rsp + 0x38]
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x58]
call fcn.18000b570
nop
mov r8, qword [rbp - 0x40]
cmp r8, 8
jb 0x180004255
inc r8
mov rdx, qword [rbp - 0x58]
lea rcx, [rbp - 0x58]
call fcn.1800021e0
mov qword [rbp - 0x40], 7
mov qword [rbp - 0x48], r14
mov word [rbp - 0x58], r14w
mov r8, qword [rbp - 0x20]
cmp r8, 8
jb 0x180004280
inc r8
mov rdx, qword [rbp - 0x38]
lea rcx, [rbp - 0x38]
call fcn.1800021e0
mov rbx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
cmp rbx, rdx
je 0x180004441
movzx edi, byte [rsp + 0x30]
cmp qword [rbx + 0x18], 8
jb 0x1800042a4
mov rdx, qword [rbx]
jmp 0x1800042a7
mov rdx, rbx
mov qword [rbp - 0x20], 7
mov qword [rbp - 0x28], r14
mov word [rbp - 0x38], r14w
cmp word [rdx], 0
jne 0x1800042c3
mov r8, r14
jmp 0x1800042db
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1800042d0
lea rcx, [rbp - 0x38]
call fcn.180002090
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], r14
lea rax, [rsp + 0x50]
mov qword [rbp - 0x68], rax
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r14
mov word [rsp + 0x50], r14w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x50]
call fcn.180001f50
nop
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], r14
mov word [rsp + 0x70], r14w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x70]
call fcn.180001f50
nop
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, [rbp - 0x58]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.180007e50
mov rdx, qword [rbp - 0x50]
mov rax, rdx
mov rcx, qword [rbp - 0x58]
sub rax, rcx
cmp rax, 0x20
jae 0x1800043e3
test rcx, rcx
je 0x1800043b0
movzx r9d, dil
lea r8, [rbp - 0x58]
call fcn.180002450
mov r8, qword [rbp - 0x48]
mov rdx, qword [rbp - 0x58]
sub r8, rdx
sar r8, 5
lea rcx, [rbp - 0x58]
call fcn.180007170
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], r14
mov r8, qword [rbp - 0x20]
cmp r8, 8
jb 0x1800043ca
inc r8
mov rdx, qword [rbp - 0x38]
lea rcx, [rbp - 0x38]
call fcn.1800021e0
add rbx, 0x20
mov rdx, qword [rsp + 0x40]
cmp rbx, rdx
jne 0x180004298
mov rbx, qword [rsp + 0x38]
jmp 0x180004441
test rcx, rcx
je 0x18000441b
movzx r9d, byte [rsp + 0x30]
lea r8, [rbp - 0x58]
call fcn.180002450
mov r8, qword [rbp - 0x48]
mov rdx, qword [rbp - 0x58]
sub r8, rdx
sar r8, 5
lea rcx, [rbp - 0x58]
call fcn.180007170
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], r14
mov r8, qword [rbp - 0x20]
cmp r8, 8
jb 0x180004435
inc r8
mov rdx, qword [rbp - 0x38]
lea rcx, [rbp - 0x38]
call fcn.1800021e0
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
jmp 0x180004444
mov esi, r14d
test rbx, rbx
je 0x180004485
movzx r9d, byte [rsp + 0x30]
lea r8, [rsp + 0x38]
mov rcx, rbx
call fcn.180002450
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x38]
sub r8, rdx
sar r8, 5
lea rcx, [rsp + 0x38]
call fcn.180007170
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r14
mov r8, qword [rbp + 0x20]
cmp r8, 8
jb 0x18000449f
inc r8
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 8]
call fcn.1800021e0
mov qword [rbp + 0x20], 7
mov qword [rbp + 0x18], r14
mov word [rbp + 8], r14w
mov r8, qword [rbp + 0x40]
cmp r8, 8
jb 0x1800044ca
inc r8
mov rdx, qword [rbp + 0x28]
lea rcx, [rbp + 0x28]
call fcn.1800021e0
mov qword [rbp + 0x40], 7
mov qword [rbp + 0x38], r14
mov word [rbp + 0x28], r14w
mov r8, qword [rbp]
cmp r8, 8
jb 0x1800044f5
inc r8
mov rdx, qword [rbp - 0x18]
lea rcx, [rbp - 0x18]
call fcn.1800021e0
mov eax, esi
mov rcx, qword [rbp + 0x48]
xor rcx, rsp
call fcn.180011e50
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret