Function at 0x140093780
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xd0
mov rax, qword [0x14058f6b8]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rbx, rcx
call fcn.1402d3b70
mov qword [rbp - 1], rax
mov rdx, qword [rbx + 0xf8]
mov qword [rbp + 0xf], rdx
mov qword [rbp + 7], rax
test rax, rax
je 0x14009394a
lea r15, [0x1405b30d0]
mov qword [rbp - 0x39], r15
xor r14d, r14d
mov edi, r14d
mov dword [rbp - 0x31], r14d
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
lea rdx, [rbp - 1]
call fcn.140094640
mov qword [rax], rbx
inc edi
mov dword [rbp - 0x31], edi
cmp edi, 1
jl 0x1400937f1
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [rbx + 0x31], 0
je 0x140093954
lea rcx, [rbx + 0x38]
call fcn.140124930
mov qword [rbx + 8], rax
cmp rax, 0xffffffffffffffff
jne 0x140093954
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x140093857
cmp word [rcx], 0
je 0x140093857
lea rdx, [rbx + 0x48]
call fcn.140125a00
mov rax, qword [rbx + 0x48]
test rax, rax
je 0x140093857
cmp byte [rax], 0
jne 0x14009385e
lea rax, [0x1404d34b0]
mov qword [rbp - 0x39], rax
mov ecx, 2
call fcn.140312ed0
test eax, eax
je 0x14009393c
lea rax, [rbp - 0x39]
mov qword [rbp - 0x11], rax
lea rax, [0x1400818f0]
mov qword [rbp - 9], rax
movabs rax, 0xd000000000000000
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x49], 1
lea rax, [rbp - 0x19]
mov qword [rbp - 0x41], rax
lea rax, str.open_file_error:_
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x51], reloc.WS2_32.dll_send
movaps xmm0, xmmword [rbp - 0x49]
movdqa xmmword [rbp - 0x49], xmm0
movaps xmm1, xmmword [rbp - 0x59]
movdqa xmmword [rbp - 0x59], xmm1
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x59]
lea rcx, [rbp + 0x1f]
call fcn.140077780
nop
lea rax, [rbp + 0x1f]
cmp qword [rbp + 0x37], 0x10
cmovae rax, qword [rbp + 0x1f]
mov qword [rbp - 0x59], rax
mov rax, qword [rbp + 0x2f]
mov qword [rbp - 0x51], rax
movaps xmm0, xmmword [rbp - 0x59]
movdqa xmmword [rbp - 0x59], xmm0
lea rax, [rbp - 0x59]
mov qword [rsp + 0x28], rax
lea rax, str.CurlHttpClient
mov qword [rsp + 0x20], rax
lea r9, str.CurlHttpClient::doHttpsGet
mov r8d, 0x1a0
lea rdx, str.C:codeWeChatPinYinwxkb01_mozcWetypeUpdateWetypeInstallerWetypeUpdatehttp_clientCurlHttpClient.cpp
mov ecx, 2
call fcn.140077ea0
nop
lea rcx, [rbp + 0x1f]
call fcn.14007cfc0
mov rcx, qword [rbp - 1]
call fcn.1402d3b10
call fcn.1401f2060
mov eax, 2
jmp 0x140093df6
cmp byte [rbx + 0x30], 0
je 0x140093981
mov edx, 0x29
lea r8d, [rdx - 0x28]
mov rcx, qword [rbp - 1]
call fcn.1402d77c0
lea r8, [fcn.140076000]
mov edx, 0x4e7e
mov rcx, qword [rbp - 1]
call fcn.1402d77c0
lea rdi, [rbx + 0x78]
mov rdx, rdi
lea rcx, [rbp + 0x1f]
call fcn.140123a00
mov rcx, rax
call fcn.140123b10
cmp qword [rdi + 0x18], 0x10
jb 0x1400939a3
mov rdi, qword [rdi]
mov r8, rdi
mov edx, 0x2712
mov rcx, qword [rbp - 1]
call fcn.1402d77c0
mov rsi, r14
cmp qword [rbx + 0xe0], r14
je 0x1400939ec
lea rdx, [rbx + 0xd0]
cmp qword [rdx + 0x18], 0x10
jb 0x1400939d1
mov rdx, qword [rdx]
xor ecx, ecx
call fcn.1402d3f40
mov rsi, rax
mov r8, rax
mov edx, 0x2727
mov rcx, qword [rbp - 1]
call fcn.1402d77c0
cmp qword [rbx + 0x68], 0
je 0x140093a0f
lea r8, [rbx + 0x58]
cmp qword [r8 + 0x18], 0x10
jb 0x140093a01
mov r8, qword [r8]
mov edx, 0x2717
mov rcx, qword [rbp - 1]
call fcn.1402d77c0
xor r8d, r8d
lea edx, [r8 + 0x2b]
mov rcx, qword [rbp - 1]
call fcn.1402d77c0
lea r8, [0x140092c40]
mov edx, 0x4efb
mov rcx, qword [rbp - 1]
call fcn.1402d77c0
lea r8, [rbp + 7]
mov edx, 0x2749
mov rcx, qword [rbp - 1]
call fcn.1402d77c0
mov edx, 0x34
lea r8d, [rdx - 0x33]
mov rcx, qword [rbp - 1]
call fcn.1402d77c0
mov edx, 0x50
lea r8d, [rdx - 0x4f]
mov rcx, qword [rbp - 1]
call fcn.1402d77c0
xor r8d, r8d
mov edx, 0x4e2c
mov rcx, qword [rbp - 1]
call fcn.1402d77c0
lea r8, [0x1400944e0]
mov edx, 0x4e2b
mov rcx, qword [rbp - 1]
call fcn.1402d77c0
mov r8, rbx
mov edx, 0x2711
mov rcx, qword [rbp - 1]
call fcn.1402d77c0
mov edx, 0x63
lea r8d, [rdx - 0x62]
mov rcx, qword [rbp - 1]
call fcn.1402d77c0
mov edx, 0x2d
lea r8d, [rdx - 0x2c]
mov rcx, qword [rbp - 1]
call fcn.1402d77c0
mov edx, 0x40
mov rcx, qword [rbp - 1]
cmp qword [rbx + 0xa8], 0
jne 0x140093ae9
xor r8d, r8d
call fcn.1402d77c0
xor r8d, r8d
lea edx, [r8 + 0x51]
jmp 0x140093b0a
mov r8d, 1
call fcn.1402d77c0
lea r8, [rbx + 0x98]
cmp qword [r8 + 0x18], 0x10
jb 0x140093b05
mov r8, qword [r8]
mov edx, 0x2751
mov rcx, qword [rbp - 1]
call fcn.1402d77c0
mov edi, 0xa
mov r8d, edi
lea edx, [rdi + 0x44]
mov rcx, qword [rbp - 1]
call fcn.1402d77c0
mov ecx, dword [rbx + 0xf0]
test ecx, ecx
je 0x140093b51
sub ecx, 1
je 0x140093b4c
sub ecx, 1
je 0x140093b45
cmp ecx, 1
jne 0x140093b51
lea edi, [rcx + 0x22]
jmp 0x140093b51
mov edi, 0xb4
jmp 0x140093b51
mov edi, 0x3c
mov r8d, edi
mov edx, reloc.WS2_32.dll_listen
mov rcx, qword [rbp - 1]
call fcn.1402d77c0
mov rcx, qword [rbp - 1]
call fcn.1402d3be0
mov edi, eax
test rsi, rsi
je 0x140093b7a
mov rcx, rsi
call fcn.1402d3fe0
mov dword [rbp + 0x17], r14d
test edi, edi
jne 0x140093c96
lea r8, [rbp + 0x17]
mov edx, 0x200002
mov rcx, qword [rbp - 1]
call fcn.1402d3b40
mov esi, dword [rbp + 0x17]
cmp esi, 0xc8
je 0x140093c80
cmp qword [rbx + 0x68], 0
je 0x140093bba
cmp esi, 0xce
je 0x140093c80
inc dword [0x140593e60]
mov ecx, 2
call fcn.140312ed0
test eax, eax
je 0x140093d51
mov dword [rbp - 0x29], r14d
movabs rax, 0x1000000000000000
mov qword [rbp - 0x39], rax
mov dword [rbp - 0x25], esi
movabs rax, 0x1000000000000004
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x59], 2
lea rax, [rbp - 0x39]
mov qword [rbp - 0x51], rax
lea rax, str.doHttpsGet_failed__errorcode:__retcode:
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], 0x2b
movaps xmm0, xmmword [rbp - 0x59]
movdqa xmmword [rbp - 0x59], xmm0
movaps xmm1, xmmword [rbp - 0x49]
movdqa xmmword [rbp - 0x49], xmm1
lea r8, [rbp - 0x59]
lea rdx, [rbp - 0x49]
lea rcx, [rbp + 0x1f]
call fcn.140077780
nop
lea rax, [rbp + 0x1f]
cmp qword [rbp + 0x37], 0x10
cmovae rax, qword [rbp + 0x1f]
mov qword [rbp - 0x59], rax
mov rax, qword [rbp + 0x2f]
mov qword [rbp - 0x51], rax
movaps xmm0, xmmword [rbp - 0x59]
movdqa xmmword [rbp - 0x59], xmm0
lea rax, [rbp - 0x59]
mov qword [rsp + 0x28], rax
lea r9, str.CurlHttpClient::doHttpsGet
mov r8d, 0x1e2
call fcn.140092900
nop
jmp 0x140093d48
inc dword [0x140593e58]
mov dword [0x140593e60], r14d
mov dword [rbp + 0x17], r14d
jmp 0x140093d51
mov dword [rbp + 0x17], edi
inc dword [0x140593e60]
mov ecx, 2
call fcn.140312ed0
test eax, eax
je 0x140093d51
mov dword [rbp - 0x51], edi
movabs rax, 0x1000000000000000
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x49], 1
lea rax, [rbp - 0x59]
mov qword [rbp - 0x41], rax
lea rax, str.doHttpsGet_failed__errorcode:
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], 0x1f
movaps xmm0, xmmword [rbp - 0x49]
movdqa xmmword [rbp - 0x49], xmm0
movaps xmm1, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x39], xmm1
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0x1f]
call fcn.140077780
nop
lea rax, [rbp + 0x1f]
cmp qword [rbp + 0x37], 0x10
cmovae rax, qword [rbp + 0x1f]
mov qword [rbp - 0x49], rax
mov rax, qword [rbp + 0x2f]
mov qword [rbp - 0x41], rax
movaps xmm0, xmmword [rbp - 0x49]
movdqa xmmword [rbp - 0x49], xmm0
lea rax, [rbp - 0x49]
mov qword [rsp + 0x28], rax
lea r9, str.CurlHttpClient::doHttpsGet
mov r8d, 0x1ed
call fcn.140092900
nop
lea rcx, [rbp + 0x1f]
call fcn.14007cfc0
mov rcx, qword [rbp - 1]
call fcn.1402d3b10
call fcn.1401f2060
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r8, qword [0x1405b30f8]
mov rax, qword [r8 + 8]
mov rdx, r8
mov rcx, qword [rbp - 1]
cmp byte [rax + 0x19], 0
jne 0x140093d98
cmp qword [rax + 0x20], rcx
jae 0x140093d8c
mov rax, qword [rax + 0x10]
jmp 0x140093d92
mov rdx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140093d80
cmp byte [rdx + 0x19], 0
jne 0x140093dc2
cmp rcx, qword [rdx + 0x20]
jb 0x140093dc2
cmp rdx, r8
je 0x140093dc2
lea rcx, [0x1405b30f8]
call fcn.140090c40
mov edx, 0x30
mov rcx, rax
call fcn.140398020
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rbp - 1], r14
mov rcx, qword [rbx + 8]
cmp rcx, 0xffffffffffffffff
je 0x140093ddf
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [rbx + 0x31], 0
je 0x140093df4
cmp qword [rbx], 0
jne 0x140093df4
lea rcx, [rbx + 0x38]
call fcn.140124840
mov eax, edi
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140398000
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret