Function at 0x140005760
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 - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x140035030]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rsi, rcx
mov qword [rsp + 0x50], rcx
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp - 0x60]
call fcn.14000e080
mov r8d, 0x104
lea rdx, [rbp - 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rbp - 0x60]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
xor r12d, r12d
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r12w
lea rax, [rbp - 0x60]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r12w
jne 0x1400057f4
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x58]
call fcn.140001ae0
nop
lea rdx, str.WechatAppLauncher.exe
lea rcx, [rsp + 0x58]
call fcn.1400090b0
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], r12
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x14000588d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005888
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005e09
call fcn.14000bb4c
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r12w
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rcx, qword [rsp + 0x78]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x140005958
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x140005900
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400058fb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005df7
call fcn.14000bb4c
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r12w
mov rdx, qword [rsi + 0x18]
cmp rdx, 8
jb 0x140005951
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14000594c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005e03
mov rcx, r8
call fcn.14000bb4c
xor al, al
jmp 0x140005c76
call fcn.140004ee0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r12
mov rbx, qword [rax]
mov r14, qword [rax + 8]
cmp rbx, r14
je 0x1400059df
mov rdx, r14
sub rdx, rbx
sar rdx, 5
lea rcx, [rsp + 0x30]
call fcn.1400093e0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov rdi, qword [rsp + 0x30]
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x68], rax
nop
mov rdx, rbx
mov rcx, rdi
call fcn.140009270
add rdi, 0x20
mov qword [rsp + 0x60], rdi
add rbx, 0x20
cmp rbx, r14
jne 0x1400059b0
mov rdx, rdi
mov rcx, rdi
call fcn.140009ba0
mov qword [rsp + 0x38], rdi
jmp 0x1400059e4
mov rdi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x30]
cmp r14, rdi
je 0x140005b89
mov r13d, 0x5c
nop dword [rax + rax]
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r12w
mov r9, rsi
cmp qword [rsi + 0x18], 8
jb 0x140005a26
mov r9, qword [rsi]
mov rbx, qword [rsi + 0x10]
lea rcx, [rsp + 0x58]
cmp rbx, 7
ja 0x140005a53
mov qword [rsp + 0x68], rbx
lea r8, [rbx + rbx]
mov rdx, r9
call fcn.14000d9d0
mov word [rsp + rbx*2 + 0x58], r12w
lea rbx, [rsp + 0x58]
jmp 0x140005a63
mov qword [rsp + 0x20], rbx
mov rdx, rbx
call fcn.1400099e0
mov rbx, rax
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x140005a97
lea r8, [rcx + 1]
mov qword [rbx + 0x10], r8
mov rax, rbx
cmp rdx, 8
jb 0x140005a8b
mov rax, qword [rbx]
mov word [rax + rcx*2], r13w
mov word [rax + r8*2], r12w
jmp 0x140005ab7
mov qword [rsp + 0x20], 1
lea r9, [0x14002f2f8]
mov edx, 1
mov rcx, rbx
call fcn.1400099e0
mov rbx, rax
mov r9, r14
cmp qword [r14 + 0x18], 8
jb 0x140005ac4
mov r9, qword [r14]
mov rdx, qword [r14 + 0x10]
mov rcx, qword [rbx + 0x10]
mov r8, qword [rbx + 0x18]
mov rax, r8
sub rax, rcx
cmp rdx, rax
ja 0x140005b03
lea r15, [rcx + rdx]
mov qword [rbx + 0x10], r15
cmp r8, 8
jb 0x140005aec
mov rbx, qword [rbx]
lea rcx, [rbx + rcx*2]
lea r8, [rdx + rdx]
mov rdx, r9
call fcn.14000d9d0
mov word [rbx + r15*2], r12w
jmp 0x140005b10
mov qword [rsp + 0x20], rdx
mov rcx, rbx
call fcn.1400099e0
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
nop
mov rdx, qword [rsp + 0x70]
test eax, eax
je 0x140005cb6
cmp rdx, 8
jb 0x140005b72
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005b6d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005e15
call fcn.14000bb4c
add r14, 0x20
cmp r14, rdi
jne 0x140005a00
mov rdi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x30]
test r14, r14
je 0x140005be2
mov rdx, rdi
mov rcx, r14
call fcn.140009ba0
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005bcf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005e0f
call fcn.14000bb4c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r12
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x140005c23
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005c1e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005df7
call fcn.14000bb4c
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r12w
mov rdx, qword [rsi + 0x18]
cmp rdx, 8
jb 0x140005c74
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140005c6f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005e03
mov rcx, r8
call fcn.14000bb4c
mov al, 1
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], 7
mov word [rsi], r12w
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.14000b8a0
lea r11, [rsp + 0x2c0]
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
cmp rdx, 8
jb 0x140005cf3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005cee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005e15
call fcn.14000bb4c
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r12w
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140005d64
mov rdx, qword [rsp + 0x38]
call fcn.140009ba0
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005d51
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005e1b
call fcn.14000bb4c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r12
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x140005da5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005da0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005e21
call fcn.14000bb4c
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r12w
mov rdx, qword [rsi + 0x18]
cmp rdx, 8
jb 0x140005951
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14000594c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005dfd
jmp 0x140005949
call fcn.140011f28
nop
call fcn.140011f28
int3
call fcn.140011f28
nop
call fcn.140011f28
int3
call fcn.140011f28
nop
call fcn.140011f28
nop
call fcn.140011f28
nop
call fcn.140011f28
int3