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

Disassembly:
sub rsp, 0x168
mov rax, qword [0x1403c86e8]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov dword [rsp + 0x4c], 0
mov eax, 2
imul rax, rax, 0x3b
mov ecx, 0x69
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 2
mov ecx, 0x7a
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0xd
mov ecx, 0x57
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x15
mov ecx, Ordinal_79
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 5
mov ecx, WSASetLastError
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x2f
mov ecx, Ordinal_60
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x33
mov ecx, Ordinal_60
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x2e
mov ecx, Ordinal_50
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x31
mov ecx, reloc.OLEAUT32.dll_VarBstrFromDisp
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x26
mov ecx, 0x69
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x34
mov ecx, Ordinal_50
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x39
mov ecx, reloc.WLDAP32.dll_Ordinal_32
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 4
mov ecx, WSASetLastError
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x2b
mov ecx, Ordinal_50
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x3a
mov ecx, WSASetLastError
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 7
mov ecx, Ordinal_50
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x29
mov ecx, WSASetLastError
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x3d
mov ecx, 0x65
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x12
mov ecx, 0x77
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x19
mov ecx, reloc.WLDAP32.dll_Ordinal_46
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x14
mov ecx, reloc.WLDAP32.dll_Ordinal_32
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x28
mov ecx, 0x65
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0xb
mov ecx, reloc.WLDAP32.dll_Ordinal_32
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x44
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0x8a
jae 0x140022bba
jmp 0x140022bbf
call fcn.14028613c
xor eax, eax
mov rcx, qword [rsp + 0x60]
mov word [rsp + rcx + 0xc0], ax
mov eax, 2
imul rax, rax, 0x23
mov ecx, reloc.WLDAP32.dll_Ordinal_32
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x16
mov ecx, 0x54
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x43
mov ecx, reloc.WS2_32.dll_WSAGetLastError
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x37
mov ecx, Ordinal_50
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x1b
mov ecx, Ordinal_60
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x38
mov ecx, reloc.WLDAP32.dll_Ordinal_41
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0xc
mov ecx, Ordinal_41
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 6
mov ecx, 0x61
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x41
mov ecx, 0x63
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x32
mov ecx, 0x76
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x1a
mov ecx, Ordinal_50
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x1e
mov ecx, reloc.WLDAP32.dll_Ordinal_79
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x1c
mov ecx, reloc.WLDAP32.dll_Ordinal_32
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x24
mov ecx, 0x54
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x40
mov ecx, 0x65
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x2c
mov ecx, gethostname
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x42
mov ecx, WSAGetLastError
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0xe
mov ecx, 0x69
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x1f
mov ecx, 0x57
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 1
mov ecx, reloc.WS2_32.dll_WSAGetLastError
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x18
mov ecx, gethostname
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 8
mov ecx, gethostname
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0xf
mov ecx, WSASetLastError
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x35
mov ecx, Ordinal_50
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x30
mov ecx, reloc.WLDAP32.dll_Ordinal_32
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x2a
mov ecx, reloc.WS2_32.dll_WSACleanup
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x10
mov ecx, 0x64
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x2d
mov ecx, reloc.WLDAP32.dll_Ordinal_46
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x1d
mov ecx, 0x57
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 3
mov ecx, 0x69
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x11
mov ecx, reloc.WS2_32.dll_WSAGetLastError
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x13
mov ecx, reloc.WS2_32.dll_WSAStartup
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x3e
mov ecx, reloc.WLDAP32.dll_Ordinal_32
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x21
mov ecx, 0x34
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 9
mov ecx, reloc.WLDAP32.dll_Ordinal_46
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0
mov ecx, Ordinal_79
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x17
mov ecx, reloc.WLDAP32.dll_Ordinal_32
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x36
mov ecx, reloc.WLDAP32.dll_Ordinal_46
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0xa
mov ecx, Ordinal_50
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x25
mov ecx, reloc.OLEAUT32.dll_VarBstrFromDisp
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x3c
mov ecx, WSAGetLastError
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x20
mov ecx, gethostname
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x3f
mov ecx, 0x47
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x22
mov ecx, Ordinal_60
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 0x27
mov ecx, 0x64
mov word [rsp + rax + 0xc0], cx
mov eax, 2
imul rax, rax, 6
mov ecx, reloc.WS2_32.dll_WSASetLastError
mov word [rsp + rax + 0x98], cx
mov eax, 2
imul rax, rax, 0xd
mov ecx, reloc.WS2_32.dll_WSACleanup
mov word [rsp + rax + 0x98], cx
mov eax, 2
imul rax, rax, 0
mov ecx, 0x67
mov word [rsp + rax + 0x98], cx
mov eax, 2
imul rax, rax, 8
mov ecx, reloc.OLEAUT32.dll_VarBstrFromDisp
mov word [rsp + rax + 0x98], cx
mov eax, 2
imul rax, rax, 5
mov ecx, reloc.WS2_32.dll_WSASetLastError
mov word [rsp + rax + 0x98], cx
mov eax, 2
imul rax, rax, 0xc
mov ecx, 0x65
mov word [rsp + rax + 0x98], cx
mov eax, 2
imul rax, rax, 4
mov ecx, 0x75
mov word [rsp + rax + 0x98], cx
mov eax, 2
imul rax, rax, 0xe
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0x1e
jae 0x14002305e
jmp 0x140023063
call fcn.14028613c
xor eax, eax
mov rcx, qword [rsp + 0x68]
mov word [rsp + rcx + 0x98], ax
mov eax, 2
imul rax, rax, 2
mov ecx, Ordinal_46
mov word [rsp + rax + 0x98], cx
mov eax, 2
imul rax, rax, 1
mov ecx, reloc.WS2_32.dll_WSASetLastError
mov word [rsp + rax + 0x98], cx
mov eax, 2
imul rax, rax, 3
mov ecx, reloc.WS2_32.dll_WSAStartup
mov word [rsp + rax + 0x98], cx
mov eax, 2
imul rax, rax, 9
mov ecx, reloc.WS2_32.dll_WSACleanup
mov word [rsp + rax + 0x98], cx
mov eax, 2
imul rax, rax, 0xb
mov ecx, WSASetLastError
mov word [rsp + rax + 0x98], cx
mov eax, 2
imul rax, rax, 0xa
mov ecx, reloc.WLDAP32.dll_Ordinal_46
mov word [rsp + rax + 0x98], cx
mov eax, 2
imul rax, rax, 7
mov ecx, reloc.WS2_32.dll_WSAGetLastError
mov word [rsp + rax + 0x98], cx
mov eax, 2
imul rax, rax, 6
mov ecx, 0x61
mov word [rsp + rax + 0x78], cx
mov eax, 2
imul rax, rax, 0xd
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0x1c
jae 0x140023137
jmp 0x14002313c
call fcn.14028613c
xor eax, eax
mov rcx, qword [rsp + 0x70]
mov word [rsp + rcx + 0x78], ax
mov eax, 2
imul rax, rax, 8
mov ecx, 0x65
mov word [rsp + rax + 0x78], cx
mov eax, 2
imul rax, rax, 5
mov ecx, 0x64
mov word [rsp + rax + 0x78], cx
mov eax, 2
imul rax, rax, 9
mov ecx, reloc.WLDAP32.dll_Ordinal_46
mov word [rsp + rax + 0x78], cx
mov eax, 2
imul rax, rax, 0xa
mov ecx, reloc.WS2_32.dll_WSASetLastError
mov word [rsp + rax + 0x78], cx
mov eax, 2
imul rax, rax, 7
mov ecx, reloc.WS2_32.dll_WSACleanup
mov word [rsp + rax + 0x78], cx
mov eax, 2
imul rax, rax, 3
mov ecx, 0x75
mov word [rsp + rax + 0x78], cx
mov eax, 2
imul rax, rax, 1
mov ecx, 0x67
mov word [rsp + rax + 0x78], cx
mov eax, 2
imul rax, rax, 2
mov ecx, reloc.WS2_32.dll_WSASetLastError
mov word [rsp + rax + 0x78], cx
mov eax, 2
imul rax, rax, 0xb
mov ecx, 0x68
mov word [rsp + rax + 0x78], cx
mov eax, 2
imul rax, rax, 0xc
mov ecx, reloc.WS2_32.dll_WSASetLastError
mov word [rsp + rax + 0x78], cx
mov eax, 2
imul rax, rax, 4
mov ecx, reloc.WS2_32.dll_WSASetLastError
mov word [rsp + rax + 0x78], cx
mov eax, 2
imul rax, rax, 0
mov ecx, Ordinal_50
mov word [rsp + rax + 0x78], 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
xor r8d, r8d
mov edx, 1
lea rcx, [rsp + 0xc0]
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x14002329d
xor r9d, r9d
mov r8w, 0x50
lea rdx, [rsp + 0x98]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400232de
mov dword [rsp + 0x30], 8
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x78]
lea rdx, [0x140364280]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x140023316
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 0x14002332e
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 0x140023341
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp qword [rsp + 0x50], 0
je 0x140023354
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp qword [rsp + 0x58], 0
je 0x140023367
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140286010
add rsp, 0x168
ret