Function at 0x180043830
Capabilities:
Initialize winhttp library

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
movaps xmmword [rsp + 0x120], xmm6
mov rax, qword [0x18009e040]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov r15, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x60], rdx
mov r12, qword [rbp + 0x98]
xor r8d, r8d
mov rdx, qword [rdx + 0x10]
mov qword [rsp + 0x50], rdx
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, rdx
cmp rax, 0x43
jb 0x180043fe1
mov qword [rsp + 0x48], rbx
cmp qword [rbx + 0x18], 8
jb 0x1800438b6
mov rax, qword [rbx]
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x68], xmm1
lea r13, [rdx + 0x43]
mov esi, 7
lea r14, [rbp - 0x78]
cmp r13, rsi
jbe 0x180043975
mov rsi, r13
or rsi, 7
cmp rsi, rcx
jbe 0x1800438fa
mov rsi, rcx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x180043929
mov eax, 0xa
cmp rsi, rax
cmovb rsi, rax
lea rcx, [rsi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x180043fe7
add rcx, rcx
cmp rcx, 0x1000
jb 0x18004395a
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180043fe7
mov rcx, rax
call fcn.18005731c
test rax, rax
je 0x180043fd5
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
mov rdx, qword [rsp + 0x50]
jmp 0x180043971
test rcx, rcx
je 0x18004396e
call fcn.18005731c
mov r14, rax
mov rdx, qword [rsp + 0x50]
jmp 0x180043971
mov r14, r8
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x60], rsi
movaps xmm0, xmmword [str.https:__note.youdao.com_yws_api_personal_share_methodgetshareKey]
movups xmmword [r14], xmm0
movaps xmm1, xmmword [0x180087cf0]
movups xmmword [r14 + 0x10], xmm1
movaps xmm0, xmmword [0x180087d00]
movups xmmword [r14 + 0x20], xmm0
movaps xmm1, xmmword [0x180087d10]
movups xmmword [r14 + 0x30], xmm1
movaps xmm0, xmmword [0x180087d20]
movups xmmword [r14 + 0x40], xmm0
movaps xmm1, xmmword [0x180087d30]
movups xmmword [r14 + 0x50], xmm1
movaps xmm0, xmmword [0x180087d40]
movups xmmword [r14 + 0x60], xmm0
movaps xmm1, xmmword [0x180087d50]
movups xmmword [r14 + 0x70], xmm1
mov eax, dword [0x180087d60]
mov dword [r14 + 0x80], eax
movzx eax, word [0x180087d64]
mov word [r14 + 0x84], ax
lea rcx, [r14 + 0x86]
lea r8, [rdx + rdx]
mov rdx, qword [rsp + 0x48]
call fcn.18007a0c0
xor esi, esi
mov word [r14 + r13*2], si
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
movdqa xmm6, xmmword [0x1800886b0]
movdqu xmmword [rsp + 0x78], xmm6
mov byte [rsp + 0x68], sil
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
xor r14d, r14d
mov dword [rbp - 0x50], r14d
mov byte [rbp - 0x4c], r14b
mov qword [rbp - 0x48], r14
movdqa xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x30], xmm1
movdqa xmmword [rbp - 0x20], xmm0
xor r8d, r8d
lea rdx, [0x180087af4]
lea rcx, [rbp - 0x30]
call fcn.18004bc20
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp], xmm1
xor r8d, r8d
lea rdx, [0x180087af4]
lea rcx, [rbp - 0x10]
call fcn.18004bc20
nop
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.GF_Http
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [rbp - 0x48], rax
test rax, rax
je 0x180043f1d
mov dword [rsp + 0x20], 0x1388
xor edx, edx
mov r9d, 0x1388
mov r8d, r9d
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rcx, qword [rbp - 0x78]
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x10]
lea rdx, [rbp - 0x30]
call fcn.180042710
movzx eax, byte [rbp - 0x4c]
mov esi, 1
mov ecx, 0x1bb
movzx r8d, word [rsp + 0x40]
cmp r8w, cx
cmove eax, esi
mov byte [rbp - 0x4c], al
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
xor r9d, r9d
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov qword [rbp - 0x40], rax
test rax, rax
jne 0x180043c6f
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
xor r8d, r8d
lea rdx, [0x180087af0]
mov rcx, rdi
call fcn.18004c110
nop
lea rcx, [rbp - 0x50]
call fcn.180042cb0
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x180043ba2
mov rcx, qword [rsp + 0x68]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180043b9d
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180043fcf
call fcn.180057360
mov byte [rsp + 0x68], 0
movdqu xmmword [rsp + 0x78], xmm6
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x180043bee
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
cmp rdx, 0x1000
mov rax, rcx
jb 0x180043be8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180043fd5
call fcn.180057360
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x180043c2d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x180043c28
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180043fdb
mov rcx, r8
call fcn.180057360
mov word [rbx], r14w
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r14
mov rax, rdi
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.180056f00
mov rbx, qword [rsp + 0x188]
movaps xmm6, xmmword [rsp + 0x120]
add rsp, 0x130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8d, esi
lea rdx, [0x180087cb0]
lea rcx, [rbp - 0x50]
call fcn.180042dc0
test al, al
je 0x180043b3b
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x180043cb0
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x180043cbf
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x180043cce
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae rcx, qword [rsp + 0x68]
call sym.LoginAndInject.dll_cJSON_Parse
test rax, rax
je 0x180043b3b
lea rdx, str.entry
mov rcx, rax
call sym.LoginAndInject.dll_cJSON_GetObjectItem
mov rsi, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x180043b3b
lea rdx, str.domainEntity
mov rcx, rax
call sym.LoginAndInject.dll_cJSON_GetObjectItem
mov rcx, rax
call sym.LoginAndInject.dll_cJSON_Print
mov r13, rax
mov r14, 0xffffffffffffffff
test r15, r15
je 0x180043da2
lea rdx, str.transactionId
mov rcx, rsi
call sym.LoginAndInject.dll_cJSON_GetObjectItem
mov rcx, rax
call sym.LoginAndInject.dll_cJSON_Print
mov rsi, r14
nop dword [rax]
inc rsi
cmp byte [rax + rsi], 0
jne 0x180043d50
mov rdx, qword [r15 + 0x18]
mov rcx, r15
cmp rsi, rdx
ja 0x180043d92
mov qword [rsp + 0x48], rcx
cmp rdx, 0x10
jb 0x180043d78
mov rcx, qword [r15]
mov qword [rsp + 0x48], rcx
mov qword [r15 + 0x10], rsi
mov r8, rsi
mov rdx, rax
call fcn.18007a0c0
mov rax, qword [rsp + 0x48]
mov byte [rax + rsi], 0
jmp 0x180043d9d
mov r9, rax
mov rdx, rsi
call fcn.18004c500
mov rsi, qword [rsp + 0x50]
test r12, r12
je 0x180043e09
lea rdx, str.summary
mov rcx, rsi
call sym.LoginAndInject.dll_cJSON_GetObjectItem
mov rcx, rax
call sym.LoginAndInject.dll_cJSON_Print
mov rsi, r14
inc rsi
cmp byte [rax + rsi], 0
jne 0x180043dc1
mov rcx, qword [r12 + 0x18]
cmp rsi, rcx
ja 0x180043dfb
mov r15, r12
cmp rcx, 0x10
jb 0x180043de1
mov r15, qword [r12]
mov qword [r12 + 0x10], rsi
mov r8, rsi
mov rdx, rax
mov rcx, r15
call fcn.18007a0c0
mov byte [r15 + rsi], 0
jmp 0x180043e09
mov r9, rax
mov rdx, rsi
mov rcx, r12
call fcn.18004c500
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
xor esi, esi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
nop dword [rax]
inc r14
cmp byte [r14 + r13], sil
jne 0x180043e20
mov r8, r14
mov rdx, r13
mov rcx, rdi
call fcn.18004c110
nop
lea rcx, [rbp - 0x50]
call fcn.180042cb0
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x180043e7e
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180043e79
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180043fcf
call fcn.180057360
movdqu xmmword [rsp + 0x78], xmm6
mov byte [rsp + 0x68], 0
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x180043eca
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180043ec4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180043fd5
call fcn.180057360
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x180043f09
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x180043f04
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180043fdb
mov rcx, r8
call fcn.180057360
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
jmp 0x180043c3d
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
xor r8d, r8d
lea rdx, [0x180087af0]
mov rcx, rdi
call fcn.18004c110
nop
lea rcx, [rbp - 0x50]
call fcn.180042cb0
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x180043f80
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180043f7b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180043fcf
call fcn.180057360
movdqu xmmword [rsp + 0x78], xmm6
mov byte [rsp + 0x68], 0
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x180043bee
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180043be8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180043fd5
jmp 0x180043be8
call fcn.18005daac
nop
call fcn.18005daac
nop
call fcn.18005daac
nop
call fcn.1800418e0
int3
call fcn.180041810
int3