Function at 0x180004f00
Capabilities:
Check if file exists

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rsp + 0x190], rbx
mov rax, qword [0x180044078]
xor rax, rsp
mov qword [rbp + 0x38], rax
mov rbx, rcx
xor esi, esi
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], si
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], si
jne 0x180004f52
lea rcx, [rbp - 0x48]
call fcn.180002980
nop
cmp qword [rbp - 0x38], 0
jne 0x180004f99
lea rdx, [rbx + 0xa0]
cmp qword [rdx + 0x18], 8
jb 0x180004f7e
mov rdx, qword [rdx]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x180004f85
lea rcx, [rbp - 0x48]
call fcn.180002980
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rcx, qword [rbp - 0x48]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180004fb9
mov r13d, esi
jmp 0x180005481
lea r8, str.HaoKanWallPaper.exe
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0x18]
call fcn.180002b20
nop
lea rcx, [rbp + 0x18]
cmp qword [rbp + 0x30], 8
cmovae rcx, qword [rbp + 0x18]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180004ff1
mov r13d, 1
jmp 0x180005430
lea rdx, str.9755104754656314543663180836632607635531116508026850084024582929
lea rcx, [rbp - 8]
call fcn.18000a580
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rsi
movdqa xmm0, xmmword [0x18002d730]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], si
mov r13d, 1
mov r8d, r13d
lea rdx, [0x18002db14]
lea rcx, [rbp - 0x28]
call fcn.180002980
nop
lea rdx, [rbp - 8]
cmp qword [rbp + 0x10], 8
cmovae rdx, qword [rbp - 8]
movdqa xmm0, xmmword [0x18002d730]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x68], si
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x180005061
lea rcx, [rbp - 0x68]
call fcn.180002980
nop
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x68]
call fcn.18000e620
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x1800050c9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800050c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800055a4
call fcn.180011494
movdqa xmm0, xmmword [0x18002d730]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x68], si
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x18000511a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005115
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800055aa
call fcn.180011494
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
cmp rdi, rbx
je 0x180005375
nop dword [rax]
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x18000513d
mov rdx, qword [rdi]
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], si
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x180005154
lea rcx, [rbp - 0x28]
call fcn.180002980
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x60]
mov qword [rbp - 0x78], rax
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rsi
lea r15, [rbp - 0x28]
mov r14, qword [rbp - 0x28]
mov r12, qword [rbp - 0x10]
cmp r12, 8
cmovae r15, r14
mov rsi, qword [rbp - 0x18]
cmp rsi, 8
jae 0x1800051bc
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x78], 7
jmp 0x1800051ff
mov rbx, rsi
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x60]
call fcn.180002790
mov qword [rsp + 0x60], rax
lea r8, [rsi*2 + 2]
mov rdx, r15
mov rcx, rax
call fcn.180013220
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x70], rsi
xor eax, eax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov r15, qword [rbp - 0x38]
lea rsi, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rsi, qword [rbp - 0x48]
cmp r15, 8
jae 0x180005237
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x50], 7
jmp 0x180005277
mov rbx, r15
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x68]
call fcn.180002790
mov qword [rbp - 0x68], rax
lea r8, [r15*2 + 2]
mov rdx, rsi
mov rcx, rax
call fcn.180013220
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x58], r15
mov dword [rsp + 0x20], r13d
xor r9d, r9d
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x68]
call fcn.18000aa60
mov rsi, qword [rsp + 0x38]
mov rax, rsi
mov rbx, qword [rsp + 0x30]
sub rax, rbx
cmp rax, 0x20
jae 0x1800054eb
test rbx, rbx
je 0x180005321
cmp rbx, rsi
je 0x1800052d6
nop word [rax + rax]
mov rcx, rbx
call fcn.180002720
add rbx, 0x20
cmp rbx, rsi
jne 0x1800052c0
mov rbx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x180005307
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800055b6
mov rcx, rbx
call fcn.180011494
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
xor esi, esi
mov qword [rsp + 0x40], rsi
jmp 0x180005323
xor esi, esi
cmp r12, 8
jb 0x18000535e
lea rdx, [r12*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x180005356
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800055bc
mov rcx, r14
call fcn.180011494
add rdi, 0x20
mov rbx, qword [rsp + 0x50]
cmp rdi, rbx
jne 0x180005130
mov rdi, qword [rsp + 0x48]
mov r13d, esi
test rdi, rdi
je 0x1800053df
cmp rdi, rbx
je 0x180005398
mov rcx, rdi
call fcn.180002720
add rdi, 0x20
cmp rdi, rbx
jne 0x180005382
mov rdi, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x58]
sub rdx, rdi
and rdx, 0xffffffffffffffe0
mov rax, rdi
cmp rdx, 0x1000
jb 0x1800053c9
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800055b0
mov rcx, rdi
call fcn.180011494
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rsi
mov rdx, qword [rbp + 0x10]
cmp rdx, 8
jb 0x18000541f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000541a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800055ce
call fcn.180011494
movdqa xmm0, xmmword [0x18002d730]
movdqu xmmword [rbp + 8], xmm0
mov word [rbp - 8], si
mov rdx, qword [rbp + 0x30]
cmp rdx, 8
jb 0x180005470
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000546b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800055d4
call fcn.180011494
movdqa xmm0, xmmword [0x18002d730]
movdqu xmmword [rbp + 0x28], xmm0
mov word [rbp + 0x18], si
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x1800054c1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800054bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000559e
call fcn.180011494
mov eax, r13d
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.1800115b0
mov rbx, qword [rsp + 0x190]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
test rbx, rbx
je 0x180005556
cmp rbx, rsi
je 0x18000550b
mov rcx, rbx
call fcn.180002720
add rbx, 0x20
cmp rbx, rsi
jne 0x1800054f5
mov rbx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x18000553c
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800055c2
mov rcx, rbx
call fcn.180011494
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
xor esi, esi
mov qword [rsp + 0x40], rsi
jmp 0x180005558
xor esi, esi
cmp r12, 8
jb 0x18000558f
lea rdx, [r12*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x180005587
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800055c8
mov rcx, r14
call fcn.180011494
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
jmp 0x180005378
call fcn.180015e04
nop
call fcn.180015e04
nop
call fcn.180015e04
nop
call fcn.180015e04
nop
call fcn.180015e04
nop
call fcn.180015e04
nop
call fcn.180015e04
nop
call fcn.180015e04
nop
call fcn.180015e04
nop
call fcn.180015e04
int3