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

Disassembly:
jmp 0x140032a20
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
mov eax, 0x14f0
call fcn.140014389
sub rsp, rax
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x3ac
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1518]
mov rax, qword [0x140050048]
xor rax, rbp
mov qword [rbp + 0x14a8], rax
lea rcx, [0x14005b12d]
call fcn.14001525c
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.A_WinHTTP_Example_Program_1.0
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140032aa4
xor al, al
jmp 0x140032e13
mov r8d, 0x68
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.140014d66
mov dword [rbp + 0x30], 0x68
lea rax, [rbp + 0xc0]
mov qword [rbp + 0x48], rax
mov dword [rbp + 0x50], 0x100
lea rax, [rbp + 0x2e0]
mov qword [rbp + 0x78], rax
mov dword [rbp + 0x80], 0x400
mov rcx, qword [rbp + 0x14d0]
call fcn.140014613
mov dword [rbp + 0x1494], eax
mov rcx, qword [rbp + 0x14d0]
call fcn.140014622
mov qword [rbp + 0x1498], rax
lea r9, [rbp + 0x30]
xor r8d, r8d
mov edx, dword [rbp + 0x1494]
mov rcx, qword [rbp + 0x1498]
call qword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
xor r9d, r9d
movzx r8d, word [rbp + 0x54]
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 8]
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov qword [rbp + 0xaf8], rax
cmp qword [rbp + 0xaf8], 0
jne 0x140032b50
xor al, al
jmp 0x140032e13
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rbp + 0x78]
lea rdx, str.POST
mov rcx, qword [rbp + 0xaf8]
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov qword [rbp + 0xb18], rax
cmp qword [rbp + 0xb18], 0
jne 0x140032b9d
xor al, al
jmp 0x140032e13
mov edx, 0x110
lea rcx, [rbp + 0xb40]
call fcn.140014c44
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 0x20
mov rdx, qword [rbp + 0x14d8]
lea rcx, [rbp + 0xb40]
call fcn.140014686
nop
mov rax, qword [rbp + 0xb40]
movsxd rax, dword [rax + 4]
lea rax, [rbp + rax + 0xb40]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
movzx eax, al
test eax, eax
je 0x140032c18
mov byte [rbp + 0x12c4], 0
lea rcx, [rbp + 0xb40]
call fcn.140014334
movzx eax, byte [rbp + 0x12c4]
jmp 0x140032e13
mov edx, 0x20
lea rcx, [rbp + 0xc68]
call fcn.140014f28
lea rcx, [rbp + 0x12e4]
call fcn.14001444c
mov qword [rbp + 0x1498], rax
lea rcx, [rbp + 0x1308]
call fcn.140014d39
lea rcx, [rbp + 0x1398]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rbp + 0x13f8]
lea rcx, [rbp + 0x1398]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rdx, [rbp + 0xb40]
lea rcx, [rbp + 0x1338]
call fcn.140014b0e
lea rcx, [rbp + 0x1368]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rbp + 0x13c8]
lea rcx, [rbp + 0x1368]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rbp + 0x1480]
lea rcx, [rbp + 0x13f8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rbp + 0x1450]
lea rcx, [rbp + 0x13c8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r9, qword [rbp + 0x1498]
lea r8, [rbp + 0x1480]
lea rdx, [rbp + 0x1450]
lea rcx, [rbp + 0xc68]
call fcn.140015135
lea rcx, [rbp + 0xc68]
call fcn.1400140b9
mov dword [rbp + 0x1494], eax
lea rcx, [rbp + 0xc68]
call fcn.1400140b9
mov dword [rbp + 0x1498], eax
xor edx, edx
lea rcx, [rbp + 0xc68]
call fcn.1400143fc
mov qword [rbp + 0x14a0], rax
mov qword [rsp + 0x30], 0
mov eax, dword [rbp + 0x1494]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x1498]
mov dword [rsp + 0x20], eax
mov r9, qword [rbp + 0x14a0]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0xb18]
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov dword [rbp + 0xca4], eax
cmp dword [rbp + 0xca4], 0
je 0x140032da3
xor edx, edx
mov rcx, qword [rbp + 0xb18]
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov dword [rbp + 0xca4], eax
mov rcx, qword [rbp + 0xb18]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rbp + 0xaf8]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rbp + 8]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp dword [rbp + 0xca4], 1
jne 0x140032ddc
mov dword [rbp + 0x1494], 1
jmp 0x140032de6
mov dword [rbp + 0x1494], 0
movzx eax, byte [rbp + 0x1494]
mov byte [rbp + 0x1424], al
lea rcx, [rbp + 0xc68]
call fcn.14001509f
nop
lea rcx, [rbp + 0xb40]
call fcn.140014334
movzx eax, byte [rbp + 0x1424]
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x140043e50]
call fcn.140014ee7
mov rax, rdi
mov rcx, qword [rbp + 0x14a8]
xor rcx, rbp
call fcn.1400148b1
lea rsp, [rbp + 0x14b0]
pop rdi
pop rsi
pop rbp
ret