Function at 0x140005b80
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x260]
sub rsp, 0x360
mov rax, qword [0x140032030]
xor rax, rsp
mov qword [rbp + 0x250], rax
mov r12, rcx
mov qword [rsp + 0x40], rcx
mov qword [rbp - 0x80], rcx
xor esi, esi
mov dword [rsp + 0x30], esi
mov qword [rcx], rsi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], 7
mov word [rcx], si
mov dword [rsp + 0x30], 1
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp + 0x40]
call fcn.14000d090
mov r8d, 0x104
lea rdx, [rbp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rbp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], si
lea rax, [rbp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140005c30
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x78]
call fcn.140001b10
mov dword [rsp + 0x30], 3
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rsi
lea rdi, [rbp - 0x78]
mov r15, qword [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rdi, r15
movabs rax, 0x7ffffffffffffffe
movabs rdx, 0x7fffffffffffffff
mov r14, qword [rbp - 0x68]
cmp r14, 8
jae 0x140005c9d
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x60], xmm0
mov ebx, 7
jmp 0x140005d1a
mov rbx, r14
or rbx, 7
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, rdx
ja 0x1400064e8
add rcx, rcx
cmp rcx, 0x1000
jb 0x140005cf3
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400064e8
mov rcx, rax
call fcn.14000aa70
mov rcx, rax
test rax, rax
je 0x1400064ee
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140005d02
test rcx, rcx
je 0x140005cff
call fcn.14000aa70
jmp 0x140005d02
mov rax, rsi
mov qword [rsp + 0x60], rax
lea r8, [r14*2 + 2]
mov rdx, rdi
mov rcx, rax
call fcn.14000c9e0
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], rbx
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x48]
call fcn.140004650
nop
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], 7
mov r8d, 8
lea rdx, [0x14002dca0]
lea rcx, [rbp - 0x38]
call fcn.140001b10
lea rcx, [rbp - 0x38]
call fcn.140003a90
mov edx, eax
lea rcx, [rbp - 0x10]
call fcn.140003600
nop
mov r13, qword [rsp + 0x48]
mov rsi, r13
mov qword [rsp + 0x38], r13
cmp r13, qword [rsp + 0x50]
je 0x14000615d
nop word [rax + rax]
xor r9d, r9d
mov qword [rbp - 0x38], r9
mov qword [rbp - 0x28], r9
mov qword [rbp - 0x20], r9
mov r12, qword [rsi + 0x10]
mov rbx, rsi
cmp qword [rsi + 0x18], 8
jb 0x140005db0
mov rbx, qword [rsi]
cmp r12, 8
jae 0x140005dcc
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x38], xmm0
mov r15d, 7
mov rdi, qword [rbp - 0x38]
jmp 0x140005e5f
mov r15, r12
or r15, 7
movabs rax, 0x7ffffffffffffffe
cmp r15, rax
cmova r15, rax
lea rcx, [r15 + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140006512
add rcx, rcx
cmp rcx, 0x1000
jb 0x140005e33
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140006512
mov rcx, rax
call fcn.14000aa70
test rax, rax
je 0x14000650c
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140005e45
test rcx, rcx
je 0x140005e42
call fcn.14000aa70
mov rdi, rax
jmp 0x140005e45
mov rdi, r9
mov qword [rbp - 0x38], rdi
lea r8, [r12*2 + 2]
mov rdx, rbx
mov rcx, rdi
call fcn.14000c9e0
xor r9d, r9d
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x28], r12
mov r13, r12
lea r8, [rbp - 0x38]
cmp r15, 8
cmovae r8, rdi
lea rax, [rbp + 0x18]
cmp qword [rbp + 0x30], 8
cmovae rax, qword [rbp + 0x18]
sub r8, rax
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140005ea4
add rax, 2
test ecx, ecx
jne 0x140005e90
test edx, edx
jne 0x140006100
mov qword [rbp - 0x58], r9
mov qword [rbp - 0x48], r9
mov qword [rbp - 0x40], r9
lea rsi, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rsi, qword [rbp - 0x78]
cmp r14, 8
jae 0x140005edb
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x58], xmm0
lea ebx, [rdx + 7]
jmp 0x140005f6e
mov rbx, r14
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140006506
add rcx, rcx
cmp rcx, 0x1000
jb 0x140005f45
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140006506
mov rcx, rax
call fcn.14000aa70
mov rcx, rax
test rax, rax
je 0x1400064fa
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140005f54
test rcx, rcx
je 0x140005f51
call fcn.14000aa70
jmp 0x140005f54
mov rax, r9
mov qword [rbp - 0x58], rax
lea r8, [r14*2 + 2]
mov rdx, rsi
mov rcx, rax
call fcn.14000c9e0
xor r9d, r9d
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x48], r14
mov rax, rbx
sub rax, r14
cmp rax, 1
jb 0x140005fac
lea rcx, [r14 + 1]
mov qword [rbp - 0x48], rcx
lea rax, [rbp - 0x58]
cmp rbx, 8
cmovae rax, qword [rbp - 0x58]
mov edx, 0x5c
mov word [rax + r14*2], dx
mov word [rax + rcx*2], r9w
lea rbx, [rbp - 0x58]
jmp 0x140005fcd
mov qword [rsp + 0x20], 1
lea r9, [0x14002d1a8]
mov edx, 1
lea rcx, [rbp - 0x58]
call fcn.1400082d0
mov rbx, rax
lea r9, [rbp - 0x38]
cmp r15, 8
cmovae r9, rdi
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
mov rax, rdx
sub rax, rcx
cmp r12, rax
ja 0x14000601e
lea r14, [rcx + r12]
mov qword [rbx + 0x10], r14
mov rsi, rbx
cmp rdx, 8
jb 0x140006000
mov rsi, qword [rbx]
lea rcx, [rsi + rcx*2]
lea r8, [r12 + r12]
mov rdx, r9
call fcn.14000c9e0
xor r12d, r12d
mov word [rsi + r14*2], r12w
mov r14, qword [rbp - 0x68]
jmp 0x140006040
mov qword [rsp + 0x20], r12
mov rdx, r12
mov rcx, rbx
call fcn.1400082d0
mov rbx, rax
mov r15, qword [rbp - 0x20]
mov r13, qword [rbp - 0x28]
mov rdi, qword [rbp - 0x38]
xor r12d, r12d
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 0xe
jb 0x140006082
lea rsi, [rcx + 0xe]
mov qword [rbx + 0x10], rsi
cmp rdx, 8
jb 0x140006065
mov rbx, qword [rbx]
lea rcx, [rbx + rcx*2]
mov r8d, 0x1c
lea rdx, str.WeChatWin.dll
call fcn.14000c9e0
mov word [rbx + rsi*2], r12w
jmp 0x14000609f
mov qword [rsp + 0x20], 0xe
lea r9, str.WeChatWin.dll
mov edx, 0xe
mov rcx, rbx
call fcn.1400082d0
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rcx, qword [rbp - 0x58]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x140006248
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x1400060fb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400060f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400064fa
call fcn.14000acfc
mov rsi, qword [rsp + 0x38]
cmp r15, 8
jb 0x14000613b
lea rdx, [r15*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140006133
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000650c
mov rcx, rdi
call fcn.14000acfc
add rsi, 0x20
mov qword [rsp + 0x38], rsi
cmp rsi, qword [rsp + 0x50]
jne 0x140005d90
mov r12, qword [rsp + 0x40]
mov r15, qword [rbp - 0x78]
mov r13, qword [rsp + 0x48]
xor ebx, ebx
mov rdx, qword [rbp + 0x30]
cmp rdx, 8
jb 0x14000619f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000619a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400064f4
call fcn.14000acfc
mov qword [rbp + 0x28], rbx
mov qword [rbp + 0x30], 7
mov word [rbp + 0x18], bx
mov rdx, qword [rbp + 0x10]
cmp rdx, 8
jb 0x1400061ef
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400061ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400064f4
call fcn.14000acfc
mov rsi, qword [rbp - 0x60]
cmp qword [r12 + 0x10], 0
jne 0x14000642c
lea r9, [rbp - 0x78]
cmp rsi, 8
cmovae r9, r15
mov rax, qword [r12 + 0x18]
cmp r14, rax
ja 0x140006414
mov qword [r12 + 0x10], r14
mov rdi, r12
cmp rax, 8
jb 0x14000622b
mov rdi, qword [r12]
lea rbx, [r14 + r14]
mov r8, rbx
mov rdx, r9
mov rcx, rdi
call fcn.14000c9e0
xor eax, eax
mov word [rbx + rdi], ax
jmp 0x14000642c
lea r9, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae r9, qword [rbp - 0x78]
mov r12, qword [rsp + 0x40]
mov rcx, qword [r12 + 0x10]
mov rdx, qword [r12 + 0x18]
mov rax, rdx
sub rax, rcx
cmp r14, rax
ja 0x1400062a3
lea rsi, [rcx + r14]
mov qword [r12 + 0x10], rsi
mov rbx, r12
cmp rdx, 8
jb 0x140006286
mov rbx, qword [r12]
lea rcx, [rbx + rcx*2]
lea r8, [r14 + r14]
mov rdx, r9
call fcn.14000c9e0
xor r9d, r9d
mov word [rbx + rsi*2], r9w
mov rbx, r12
jmp 0x1400062bd
mov qword [rsp + 0x20], r14
mov rdx, r14
mov rcx, r12
call fcn.1400082d0
mov rbx, rax
mov r14, qword [rbp - 0x68]
xor r9d, r9d
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x1400062f5
lea r8, [rcx + 1]
mov qword [rbx + 0x10], r8
mov rax, rbx
cmp rdx, 8
jb 0x1400062e5
mov rax, qword [rbx]
mov edx, 0x5c
mov word [rax + rcx*2], dx
mov word [rax + r8*2], r9w
jmp 0x140006315
mov qword [rsp + 0x20], 1
lea r9, [0x14002d1a8]
mov edx, 1
mov rcx, rbx
call fcn.1400082d0
mov rbx, rax
lea r9, [rbp - 0x38]
cmp r15, 8
cmovae r9, rdi
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
mov rax, rdx
sub rax, rcx
cmp r13, rax
ja 0x140006361
lea rsi, [rcx + r13]
mov qword [rbx + 0x10], rsi
cmp rdx, 8
jb 0x140006345
mov rbx, qword [rbx]
lea rcx, [rbx + rcx*2]
lea r8, [r13*2]
mov rdx, r9
call fcn.14000c9e0
xor eax, eax
mov word [rbx + rsi*2], ax
jmp 0x140006379
mov qword [rsp + 0x20], r13
mov rdx, r13
mov rcx, rbx
call fcn.1400082d0
mov r15, qword [rbp - 0x20]
mov rdi, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x1400063b9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400063b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400064fa
call fcn.14000acfc
xor ebx, ebx
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], bx
cmp r15, 8
jb 0x140006406
lea rdx, [r15*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400063fe
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006500
mov rcx, rdi
call fcn.14000acfc
mov r15, qword [rbp - 0x78]
mov r13, qword [rsp + 0x48]
jmp 0x14000615f
mov qword [rsp + 0x20], r14
mov rdx, r14
mov rcx, r12
call fcn.1400082d0
mov r15, qword [rbp - 0x78]
mov rsi, qword [rbp - 0x60]
test r13, r13
je 0x140006478
mov rdx, qword [rsp + 0x50]
mov rcx, r13
call fcn.140008490
mov rdx, qword [rsp + 0x58]
sub rdx, r13
and rdx, 0xffffffffffffffe0
mov rax, r13
cmp rdx, 0x1000
jb 0x14000646f
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006518
mov rcx, r13
call fcn.14000acfc
nop
cmp rsi, 8
jb 0x1400064af
lea rdx, [rsi*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x1400064a7
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400064e2
mov rcx, r15
call fcn.14000acfc
mov rax, r12
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.14000aa50
lea r11, [rsp + 0x360]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140010f38
nop
call fcn.140001200
int3
call fcn.140010f38
nop
call fcn.140010f38
nop
call fcn.140010f38
nop
call fcn.140010f38
nop
call fcn.140001200
nop
call fcn.140010f38
int3
call fcn.140001200
nop
call fcn.140010f38
int3