Function at 0x1800903b0
Capabilities:
Initialize winhttp library
Prepare http request
Read http header
Receive http response

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0xd8
mov rax, qword [0x18014a010]
xor rax, rsp
mov qword [rbp - 0x11], rax
mov rdi, r9
mov r12d, r8d
mov rsi, rdx
mov rbx, rcx
mov r14, qword [rbp + 0x6f]
mov r15, qword [rbp + 0x77]
mov rcx, qword [rcx + 0x20]
xor r13d, r13d
test rcx, rcx
je 0x180090401
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov qword [rbx + 0x20], r13
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x180090414
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov qword [rbx + 0x18], r13
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x180090427
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov qword [rbx + 0x10], r13
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
lea rcx, str.Microsoft_Internet_Explorer
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rcx, rax
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x18009045e
mov dword [rbx + 0xc8], 1
jmp 0x18009081a
mov eax, dword [rbx + 0x30]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbx + 0x2c]
mov r8d, dword [rbx + 0x28]
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
mov qword [rbp - 0x41], r13
mov qword [rbp - 0x39], 7
mov word [rbp - 0x51], r13w
mov qword [rbp - 0x61], r13
mov qword [rbp - 0x59], 7
mov word [rbp - 0x71], r13w
lea r9, [rbp - 0x79]
lea r8, [rbp - 0x71]
lea rdx, [rbp - 0x51]
mov rcx, rsi
call fcn.18008e8b0
mov eax, 0x1bb
movzx r8d, word [rbp - 0x79]
cmp r8w, ax
jne 0x1800904bf
mov byte [rbx + 8], 1
lea rdx, [rbp - 0x51]
cmp qword [rbp - 0x39], 8
cmovae rdx, qword [rbp - 0x51]
xor r9d, r9d
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov r10, rax
mov qword [rbx + 0x18], rax
test rax, rax
jne 0x1800904f8
mov eax, 2
mov dword [rbx + 0xc8], eax
xor bl, bl
jmp 0x18009078a
movzx eax, byte [rbx + 8]
neg al
sbb ecx, ecx
and ecx, 0x800000
lea r8, [rbp - 0x71]
cmp qword [rbp - 0x59], 8
cmovae r8, qword [rbp - 0x71]
lea rax, [0x180126cc0]
lea rdx, [0x180126cb0]
test r12d, r12d
cmove rdx, rax
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov rcx, r10
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov qword [rbx + 0x20], rax
test rax, rax
jne 0x18009055e
mov eax, 1
mov dword [rbx + 0xc8], eax
xor bl, bl
jmp 0x18009078a
cmp byte [rbx + 8], 0
je 0x180090582
mov dword [rbp - 0x79], 0x3301
mov r9d, 4
lea r8, [rbp - 0x79]
lea edx, [r9 + 0x1b]
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov r9d, dword [rbp + 0x7f]
mov r8, r15
mov rdx, r14
mov rcx, rbx
call fcn.180090850
test al, al
jne 0x1800905a9
mov dword [rbx + 0xc8], 3
xor bl, bl
jmp 0x18009078a
xor edx, edx
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x1800905ca
mov dword [rbx + 0xc8], 1
xor bl, bl
jmp 0x18009078a
mov dword [rbp - 0x79], r13d
mov dword [rbp - 0x75], 4
mov qword [rsp + 0x28], r13
lea rax, [rbp - 0x75]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x79]
xor r8d, r8d
mov edx, 0x20000013
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x180090602
mov eax, dword [rbp - 0x79]
mov dword [rdi], eax
mov qword [rbp - 0x21], r13
mov r14d, 7
mov qword [rbp - 0x19], r14
mov word [rbp - 0x31], r13w
mov dword [rbp - 0x79], r13d
mov rsi, r13
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1800906c2
mov qword [rsp + 0x28], r13
lea rax, [rbp - 0x79]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r14 + 0xf]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1800906c2
mov ecx, dword [rbp - 0x79]
shr rcx, 1
mov eax, 2
mul rcx
mov rdi, 0xffffffffffffffff
cmovo rax, rdi
mov rcx, rax
call fcn.1800966c0
mov rsi, rax
mov qword [rsp + 0x28], r13
lea rax, [rbp - 0x79]
mov qword [rsp + 0x20], rax
mov r9, rsi
xor r8d, r8d
lea edx, [rdi + 0x17]
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x1800906c2
nop dword [rax + rax]
inc rdi
cmp word [rsi + rdi*2], 0
jne 0x1800906a0
mov r8, rdi
mov rdx, rsi
lea rcx, [rbp - 0x31]
call fcn.180018c50
mov r14, qword [rbp - 0x19]
jmp 0x180090743
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rax, vtable.Bstrlib::CBString.0
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x4c], 7
mov dword [rsp + 0x48], 8
mov ecx, 8
call fcn.1800caa98
mov qword [rsp + 0x50], rax
test rax, rax
je 0x180090704
mov rcx, qword [str.METASEC]
mov qword [rax], rcx
mov dword [rsp + 0x28], ebx
lea rax, str.Error__d_has_occurred._n
mov qword [rsp + 0x20], rax
lea r9, str.CWinHttp::QueryHeadersData
mov r8d, 0x166
lea rdx, str.D:gitlab_runner_builds_a09b78ae0mobilesecproduct_SecSDK_mlmssdk_baseMetaSecSDKWindows_srcHttpClient.cc
lea rcx, [rsp + 0x40]
call fcn.180020aa0
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x180090743
call fcn.1800ca7c8
nop
mov rcx, rsi
call fcn.180096034
mov bl, 1
cmp r14, 8
jb 0x18009078a
lea rdx, [r14*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180090784
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180090840
call fcn.180096034
nop
mov rdx, qword [rbp - 0x59]
cmp rdx, 8
jb 0x1800907ca
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800907c5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180090846
call fcn.180096034
mov qword [rbp - 0x61], r13
mov qword [rbp - 0x59], 7
mov word [rbp - 0x71], r13w
mov rdx, qword [rbp - 0x39]
cmp rdx, 8
jb 0x180090817
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180090812
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009083a
call fcn.180096034
movzx eax, bl
mov rcx, qword [rbp - 0x11]
xor rcx, rsp
call fcn.180096010
add rsp, 0xd8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1800d0cf4
nop
call fcn.1800d0cf4
nop
call fcn.1800d0cf4
int3