Function at 0x140021eb0
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x188
mov rax, qword [0x1403c86e8]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov dword [rsp + 0x4c], 0
mov rcx, qword [rsp + 0x190]
call fcn.1402958f0
inc rax
mov qword [rsp + 0x60], rax
mov eax, 2
mul qword [rsp + 0x60]
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400ed9e0
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x90], 0
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x190]
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x90]
call fcn.1402a48f4
mov eax, 2
imul rax, rax, 0x3b
mov ecx, 0x69
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 2
mov ecx, 0x7a
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0xd
mov ecx, 0x57
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x15
mov ecx, Ordinal_79
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 5
mov ecx, WSASetLastError
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x2f
mov ecx, Ordinal_60
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x33
mov ecx, Ordinal_60
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x2e
mov ecx, Ordinal_50
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x31
mov ecx, reloc.OLEAUT32.dll_VarBstrFromDisp
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x26
mov ecx, 0x69
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x34
mov ecx, Ordinal_50
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x39
mov ecx, reloc.WLDAP32.dll_Ordinal_32
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 4
mov ecx, WSASetLastError
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x2b
mov ecx, Ordinal_50
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x3a
mov ecx, WSASetLastError
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 7
mov ecx, Ordinal_50
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x29
mov ecx, WSASetLastError
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x3d
mov ecx, 0x65
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x12
mov ecx, 0x77
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x19
mov ecx, reloc.WLDAP32.dll_Ordinal_46
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x14
mov ecx, reloc.WLDAP32.dll_Ordinal_32
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x28
mov ecx, 0x65
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0xb
mov ecx, reloc.WLDAP32.dll_Ordinal_32
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x44
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0x8a
jae 0x140022167
jmp 0x14002216c
call fcn.14028613c
xor eax, eax
mov rcx, qword [rsp + 0x70]
mov word [rsp + rcx + 0xe0], ax
mov eax, 2
imul rax, rax, 0x23
mov ecx, reloc.WLDAP32.dll_Ordinal_32
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x16
mov ecx, 0x54
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x43
mov ecx, reloc.WS2_32.dll_WSAGetLastError
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x37
mov ecx, Ordinal_50
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x1b
mov ecx, Ordinal_60
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x38
mov ecx, reloc.WLDAP32.dll_Ordinal_41
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0xc
mov ecx, Ordinal_41
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 6
mov ecx, 0x61
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x41
mov ecx, 0x63
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x32
mov ecx, 0x76
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x1a
mov ecx, Ordinal_50
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x1e
mov ecx, reloc.WLDAP32.dll_Ordinal_79
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x1c
mov ecx, reloc.WLDAP32.dll_Ordinal_32
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x24
mov ecx, 0x54
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x40
mov ecx, 0x65
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x2c
mov ecx, gethostname
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x42
mov ecx, WSAGetLastError
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0xe
mov ecx, 0x69
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x1f
mov ecx, 0x57
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 1
mov ecx, reloc.WS2_32.dll_WSAGetLastError
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x18
mov ecx, gethostname
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 8
mov ecx, gethostname
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0xf
mov ecx, WSASetLastError
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x35
mov ecx, Ordinal_50
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x30
mov ecx, reloc.WLDAP32.dll_Ordinal_32
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x2a
mov ecx, reloc.WS2_32.dll_WSACleanup
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x10
mov ecx, 0x64
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x2d
mov ecx, reloc.WLDAP32.dll_Ordinal_46
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x1d
mov ecx, 0x57
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 3
mov ecx, 0x69
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x11
mov ecx, reloc.WS2_32.dll_WSAGetLastError
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x13
mov ecx, reloc.WS2_32.dll_WSAStartup
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x3e
mov ecx, reloc.WLDAP32.dll_Ordinal_32
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x21
mov ecx, 0x34
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 9
mov ecx, reloc.WLDAP32.dll_Ordinal_46
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0
mov ecx, Ordinal_79
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x17
mov ecx, reloc.WLDAP32.dll_Ordinal_32
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x36
mov ecx, reloc.WLDAP32.dll_Ordinal_46
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0xa
mov ecx, Ordinal_50
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x25
mov ecx, reloc.OLEAUT32.dll_VarBstrFromDisp
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x3c
mov ecx, WSAGetLastError
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x20
mov ecx, gethostname
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x3f
mov ecx, 0x47
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x22
mov ecx, Ordinal_60
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 0x27
mov ecx, 0x64
mov word [rsp + rax + 0xe0], cx
mov eax, 2
imul rax, rax, 6
mov ecx, reloc.WS2_32.dll_WSASetLastError
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0xd
mov ecx, reloc.WS2_32.dll_WSACleanup
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0
mov ecx, 0x67
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 8
mov ecx, reloc.OLEAUT32.dll_VarBstrFromDisp
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 5
mov ecx, reloc.WS2_32.dll_WSASetLastError
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0xc
mov ecx, 0x65
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 4
mov ecx, 0x75
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0xe
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0x1e
jae 0x14002260b
jmp 0x140022610
call fcn.14028613c
xor eax, eax
mov rcx, qword [rsp + 0x78]
mov word [rsp + rcx + 0xc0], ax
mov eax, 2
imul rax, rax, 2
mov ecx, Ordinal_46
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 1
mov ecx, reloc.WS2_32.dll_WSASetLastError
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 3
mov ecx, reloc.WS2_32.dll_WSAStartup
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 9
mov ecx, reloc.WS2_32.dll_WSACleanup
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0xb
mov ecx, WSASetLastError
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0xa
mov ecx, reloc.WLDAP32.dll_Ordinal_46
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 7
mov ecx, reloc.WS2_32.dll_WSAGetLastError
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 6
mov ecx, 0x61
mov word [rsp + rax + 0xa0], cx
mov eax, 2
imul rax, rax, 0xd
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0x1c
jae 0x1400226ed
jmp 0x1400226f2
call fcn.14028613c
xor eax, eax
mov rcx, qword [rsp + 0x80]
mov word [rsp + rcx + 0xa0], ax
mov eax, 2
imul rax, rax, 8
mov ecx, 0x65
mov word [rsp + rax + 0xa0], cx
mov eax, 2
imul rax, rax, 5
mov ecx, 0x64
mov word [rsp + rax + 0xa0], cx
mov eax, 2
imul rax, rax, 9
mov ecx, reloc.WLDAP32.dll_Ordinal_46
mov word [rsp + rax + 0xa0], cx
mov eax, 2
imul rax, rax, 0xa
mov ecx, reloc.WS2_32.dll_WSASetLastError
mov word [rsp + rax + 0xa0], cx
mov eax, 2
imul rax, rax, 7
mov ecx, reloc.WS2_32.dll_WSACleanup
mov word [rsp + rax + 0xa0], cx
mov eax, 2
imul rax, rax, 3
mov ecx, 0x75
mov word [rsp + rax + 0xa0], cx
mov eax, 2
imul rax, rax, 1
mov ecx, 0x67
mov word [rsp + rax + 0xa0], cx
mov eax, 2
imul rax, rax, 2
mov ecx, reloc.WS2_32.dll_WSASetLastError
mov word [rsp + rax + 0xa0], cx
mov eax, 2
imul rax, rax, 0xb
mov ecx, 0x68
mov word [rsp + rax + 0xa0], cx
mov eax, 2
imul rax, rax, 0xc
mov ecx, reloc.WS2_32.dll_WSASetLastError
mov word [rsp + rax + 0xa0], cx
mov eax, 2
imul rax, rax, 4
mov ecx, reloc.WS2_32.dll_WSASetLastError
mov word [rsp + rax + 0xa0], cx
mov eax, 2
imul rax, rax, 0
mov ecx, Ordinal_50
mov word [rsp + rax + 0xa0], cx
mov dword [rsp + 0x48], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x68]
mov edx, 3
lea rcx, [rsp + 0xe0]
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x98]
call fcn.1400ed9d8
cmp qword [rsp + 0x58], 0
je 0x140022899
xor r9d, r9d
mov r8w, 0x50
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400228dd
mov dword [rsp + 0x30], 8
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0xa0]
lea rdx, [0x140364278]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x140022915
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
je 0x14002292d
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov dword [rsp + 0x4c], eax
cmp qword [rsp + 0x40], 0
je 0x140022940
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp qword [rsp + 0x50], 0
je 0x140022953
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp qword [rsp + 0x58], 0
je 0x140022966
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140286010
add rsp, 0x188
ret