Function at 0x14007bbb0
Capabilities:
Check if file exists
Get file attributes

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 - 0x160]
sub rsp, 0x260
mov rax, qword [0x14058f6b8]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov r14, rcx
mov qword [rsp + 0x50], rcx
mov byte [rcx + 0x868], 1
xor edx, edx
mov r8d, 0x190
lea rcx, [rsp + 0x70]
call fcn.14039b120
xor r12d, r12d
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], r12
mov dword [rbp - 0x70], r12d
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], r12
mov dword [rbp - 0x50], r12d
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], r12
mov dword [rbp - 0x30], r12d
mov byte [rbp - 0x28], r12b
mov dword [rbp - 0x24], 0xffffffff
mov dword [rbp - 0x20], r12d
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], r12
mov qword [rbp], r12
mov qword [rbp + 8], r12
mov dword [rbp + 0x10], r12d
mov qword [rbp + 0x18], r12
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x28], r12
mov dword [rbp + 0x30], r12d
mov word [rbp + 0x38], r12w
mov qword [rbp + 0x40], r12
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x80], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x90], xmm1
mov qword [rbp + 0xa0], r12
mov qword [rbp + 0xb0], r12
mov qword [rbp + 0xb8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xa0], r12b
movdqa xmmword [rbp + 0xc0], xmm0
mov qword [rbp + 0xd0], r12
mov dword [rbp + 0xd8], r12d
mov byte [rbp + 0xdc], r12b
mov qword [rbp + 0xe0], r12
mov qword [rbp + 0xf0], r12
mov qword [rbp + reloc.WS2_32.dll_ntohs8], 0xf
mov byte [rbp + 0xe0], r12b
mov dword [rsp + 0x70], 2
movups xmmword [rbp + 0x100], xmm0
movups xmmword [rbp + 0x110], xmm0
lea rcx, [rbp + 0x120]
call fcn.140124da0
mov rbx, rax
mov r8d, dword [rax + 8]
add r8d, 5
mov ecx, dword [rax + 0xc]
cmp ecx, r8d
jge 0x14007bd5c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
lea edi, [rax + rcx]
cmp edi, r8d
cmovle edi, r8d
cmp edi, ecx
jle 0x14007bd5c
movsxd rdx, edi
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
call fcn.1403a8174
mov qword [rbx], rax
movsxd rcx, dword [rbx + 8]
mov word [rax + rcx*2], r12w
mov dword [rbx + 0xc], edi
mov rcx, qword [rbx]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14007bd63
movsd xmm0, qword [0x1404d4120]
movsd qword [rcx], xmm0
mov eax, dword [reloc.WS2_32.dll_WSASetLastError]
mov dword [rcx + 8], eax
add dword [rbx + 8], 5
mov qword [rbp + 0x100], r12
mov qword [rbp + 0x108], r12
mov qword [rbp + 0x110], r12
mov dword [rbp + 0x118], r12d
mov r8d, 0xffffffff
mov rdx, qword [rbx]
lea rcx, [rbp + 0x100]
call fcn.140123b70
nop
mov rcx, qword [rbp + 0x120]
test rcx, rcx
je 0x14007bdd0
call fcn.1403a7ac0
mov qword [rbp + 0x120], r12
mov qword [rbp + 0x128], r12
mov rcx, qword [rbp + 0x130]
test rcx, rcx
je 0x14007bdf6
call fcn.1403a7ac0
mov qword [rbp + 0x130], r12
mov dword [rbp + 0x138], r12d
mov rbx, qword [rbp + 0x100]
test rbx, rbx
je 0x14007be1d
cmp word [rbx], 0
je 0x14007be1d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14007be1d
shr eax, 4
and al, 1
jne 0x14007be30
lea rcx, [rbp + 0x100]
call fcn.140124a80
mov rbx, qword [rbp + 0x100]
xorps xmm0, xmm0
movups xmmword [rbp + 0x120], xmm0
movups xmmword [rbp + 0x130], xmm0
mov rdi, r12
mov qword [rbp + 0x120], r12
mov esi, r12d
mov qword [rbp + 0x128], r12
mov r15d, r12d
mov qword [rbp + 0x130], r12
mov dword [rbp + 0x138], r12d
cmp qword [0x140593dd0], rsi
je 0x14007beac
lea rdx, [0x140593dc0]
cmp qword [reloc.WS2_32.dll_getsockopt], 8
cmovae rdx, qword [0x140593dc0]
mov r8d, 0xffffffff
lea rcx, [rbp + 0x120]
call fcn.140123b70
mov r15d, dword [rbp + 0x12c]
mov esi, dword [rbp + 0x128]
mov rdi, qword [rbp + 0x120]
lea r9, [r14 + 0x870]
mov r14, qword [r9 + 0x10]
mov r11, r9
mov r12, qword [r9 + 0x18]
cmp r12, 8
jb 0x14007bec7
mov r11, qword [r9]
mov edx, 0x2d
cmp r14, 8
jne 0x14007bf11
mov r10, r14
lea rax, str.__wechat
movzx ecx, word [r11]
mov r8d, edx
cmp cx, dx
jb 0x14007bf11
sub r11, rax
cmp cx, r8w
ja 0x14007bf11
cmp r10, 1
je 0x14007bfc2
dec r10
add rax, 2
movzx ecx, word [rax + r11]
movzx r8d, word [rax]
cmp cx, r8w
jae 0x14007beef
cmp r12, 8
jb 0x14007bf1a
mov r9, qword [r9]
cmp r14, 0xd
jne 0x14007bf59
mov r8, r14
lea rax, str.__wechatsetup
movzx ecx, word [r9]
cmp cx, dx
jb 0x14007bf59
sub r9, rax
cmp cx, dx
ja 0x14007bf59
cmp r8, 1
je 0x14007c120
dec r8
add rax, 2
movzx ecx, word [r9 + rax]
movzx edx, word [rax]
cmp cx, dx
jae 0x14007bf39
movsxd r13, dword [rbp + 0x108]
lea r15d, [r13 + 0x19]
mov ecx, dword [rbp + 0x10c]
cmp ecx, r15d
jge 0x14007c27b
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
lea r14d, [rax + rcx]
cmp r14d, r15d
cmovle r14d, r15d
cmp r14d, ecx
jle 0x14007c27b
movsxd rdx, r14d
lea rdx, [rdx*2 + 2]
mov rcx, rbx
call fcn.1403a8174
mov rbx, rax
mov qword [rbp + 0x100], rax
mov rax, r13
xor r13d, r13d
mov word [rbx + rax*2], r13w
mov dword [rbp + 0x10c], r14d
jmp 0x14007c27e
movsxd r13, dword [rbp + 0x108]
lea r12d, [r13 + 0x1b]
mov ecx, dword [rbp + 0x10c]
cmp ecx, r12d
jge 0x14007c020
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
lea r14d, [rax + rcx]
cmp r14d, r12d
cmovle r14d, r12d
cmp r14d, ecx
jle 0x14007c020
movsxd rdx, r14d
lea rdx, [rdx*2 + 2]
mov rcx, rbx
call fcn.1403a8174
mov rbx, rax
mov qword [rbp + 0x100], rax
mov rax, r13
xor r13d, r13d
mov word [rbx + rax*2], r13w
mov dword [rbp + 0x10c], r14d
jmp 0x14007c023
xor r13d, r13d
lea rax, [rbx - 2]
nop word [rax + rax]
lea rax, [rax + 2]
cmp word [rax], 0
jne 0x14007c030
movups xmm0, xmmword [str.WeTypeSetup_0.9.2.82_6.exe]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1404d4158]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x1404d4168]
movups xmmword [rax + 0x20], xmm0
movsd xmm1, qword [0x1404d4178]
movsd qword [rax + 0x30], xmm1
mov dword [rbp + 0x108], r12d
lea r14, [0x1404d345c]
test rbx, rbx
je 0x14007c080
cmp word [rbx], 0
jne 0x14007c083
mov rbx, r14
mov r8d, r12d
mov rdx, rbx
lea rcx, [rbp + 0x100]
call fcn.140123b70
lea r12d, [rsi + 0x13]
cmp r15d, r12d
jge 0x14007c0e1
mov eax, r15d
cdq
sub eax, edx
sar eax, 1
lea ebx, [rax + r15]
cmp ebx, r12d
cmovle ebx, r12d
cmp ebx, r15d
jle 0x14007c0e1
movsxd rdx, ebx
lea rdx, [rdx*2 + 2]
mov rcx, rdi
call fcn.1403a8174
mov rdi, rax
mov qword [rbp + 0x120], rax
movsxd rax, esi
mov word [rdi + rax*2], r13w
mov dword [rbp + 0x12c], ebx
lea rax, [rdi - 2]
lea rax, [rax + 2]
cmp word [rax], 0
jne 0x14007c0e5
movups xmm0, xmmword [str.winwx_install_guide]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1404d4190]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x1404d41a0]
movsd qword [rax + 0x20], xmm0
mov esi, r12d
mov dword [rbp + 0x128], r12d
jmp 0x14007c2e3
movsxd r13, dword [rbp + 0x108]
lea r12d, [r13 + 0x1c]
mov ecx, dword [rbp + 0x10c]
cmp ecx, r12d
jge 0x14007c17e
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
lea r14d, [rax + rcx]
cmp r14d, r12d
cmovle r14d, r12d
cmp r14d, ecx
jle 0x14007c17e
movsxd rdx, r14d
lea rdx, [rdx*2 + 2]
mov rcx, rbx
call fcn.1403a8174
mov rbx, rax
mov qword [rbp + 0x100], rax
mov rax, r13
xor r13d, r13d
mov word [rbx + rax*2], r13w
mov dword [rbp + 0x10c], r14d
jmp 0x14007c181
xor r13d, r13d
lea rcx, [rbx - 2]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14007c185
movups xmm0, xmmword [str.WeTypeSetup_0.9.2.82_14.exe]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [0x1404d41d8]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [0x1404d41e8]
movups xmmword [rcx + 0x20], xmm0
movsd xmm1, qword [0x1404d41f8]
movsd qword [rcx + 0x30], xmm1
movzx eax, word [0x1404d4200]
mov word [rcx + 0x38], ax
mov dword [rbp + 0x108], r12d
lea r14, [0x1404d345c]
test rbx, rbx
je 0x14007c1e0
cmp word [rbx], 0
jne 0x14007c1e3
mov rbx, r14
mov r8d, r12d
mov rdx, rbx
lea rcx, [rbp + 0x100]
call fcn.140123b70
lea r12d, [rsi + 0x17]
cmp r15d, r12d
jge 0x14007c241
mov eax, r15d
cdq
sub eax, edx
sar eax, 1
lea ebx, [rax + r15]
cmp ebx, r12d
cmovle ebx, r12d
cmp ebx, r15d
jle 0x14007c241
movsxd rdx, ebx
lea rdx, [rdx*2 + 2]
mov rcx, rdi
call fcn.1403a8174
mov rdi, rax
mov qword [rbp + 0x120], rax
movsxd rax, esi
mov word [rdi + rax*2], r13w
mov dword [rbp + 0x12c], ebx
lea rax, [rdi - 2]
lea rax, [rax + 2]
cmp word [rax], 0
jne 0x14007c245
movups xmm0, xmmword [str.winwx_install_guide_new]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1404d4218]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x1404d4228]
movups xmmword [rax + 0x20], xmm0
mov esi, r12d
mov dword [rbp + 0x128], r12d
jmp 0x14007c2e3
xor r13d, r13d
lea rcx, [rbx - 2]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14007c282
movups xmm0, xmmword [str.WeTypeSetup_0.9.2.82.exe]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [0x1404d4248]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [0x1404d4258]
movups xmmword [rcx + 0x20], xmm0
mov eax, dword [0x1404d4268]
mov dword [rcx + 0x30], eax
mov dword [rbp + 0x108], r15d
lea r14, [0x1404d345c]
test rbx, rbx
je 0x14007c2ce
cmp word [rbx], 0
jne 0x14007c2d1
mov rbx, r14
mov r8d, r15d
mov rdx, rbx
lea rcx, [rbp + 0x100]
call fcn.140123b70
test rdi, rdi
je 0x14007c2f1
cmp word [rdi], 0
mov rdx, rdi
jne 0x14007c2f4
mov rdx, r14
mov r8d, esi
lea rcx, [rbp - 0x68]
call fcn.140123b70
mov dword [rbp + 0xd8], 2
mov byte [rbp - 0x28], 1
mov rbx, qword [rbp + 0x100]
test rbx, rbx
je 0x14007c323
cmp word [rbx], 0
je 0x14007c323
mov r14, rbx
mov r8d, dword [rbp + 0x108]
mov rdx, r14
lea rcx, [rbp - 0x48]
call fcn.140123b70
mov rsi, qword [0x1405b8778]
test rsi, rsi
jne 0x14007c3ab
lea r14, [0x1405b8990]
mov qword [rsp + 0x58], r14
mov dword [rsp + 0x60], r13d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov rsi, qword [0x1405b8778]
test rsi, rsi
jne 0x14007c3a2
lea ecx, [rsi + 0x10]
call fcn.1403982c8
mov qword [rsp + 0x48], rax
lea rcx, vtable.DownloadProgressCallback.0
mov qword [rax], rcx
mov qword [rax + 8], 1
mov qword [0x1405b8778], rax
lea rcx, [0x14007cd40]
call fcn.140089060
mov rsi, qword [0x1405b8778]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rbp + 0x40], rsi
lea rcx, [rsp + 0x70]
call fcn.140095b90
mov rsi, qword [rsp + 0x50]
mov rcx, qword [rsi + 0x808]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x238]
mov rcx, qword [rsi + 0x810]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x238]
mov rcx, qword [rsi + 0x818]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x238]
mov rcx, qword [rsi + 0x7e8]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x238]
mov rcx, qword [rsi + 0x838]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x238]
mov rcx, qword [rsi + 0x7f0]
mov rax, qword [rcx]
mov dl, 1
call qword [rax + 0x238]
mov rcx, qword [rsi + 0x7a8]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x250]
xorps xmm0, xmm0
movups xmmword [rbp + 0x140], xmm0
lea rdx, [rbp + 0x140]
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetWindowRect]
call fcn.14009d320
mov edx, 0x1ac
mov rcx, rax
call fcn.14009d38c
mov edx, dword [rbp + 0x148]
mov r8d, dword [rbp + 0x140]
sub edx, r8d
mov dword [rsp + 0x30], socket
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edx
mov r9d, dword [rbp + 0x144]
xor edx, edx
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_SetWindowPos]
nop
test rdi, rdi
je 0x14007c4aa
mov rcx, rdi
call fcn.1403a7ac0
mov rcx, qword [rbp + 0x130]
test rcx, rcx
je 0x14007c4bc
call fcn.1403a7ac0
nop
test rbx, rbx
je 0x14007c4c9
mov rcx, rbx
call fcn.1403a7ac0
mov rcx, qword [rbp + 0x110]
test rcx, rcx
je 0x14007c4db
call fcn.1403a7ac0
nop
lea rcx, [rsp + 0x70]
call fcn.1400974c0
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.140398000
lea r11, [rsp + 0x260]
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