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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x5a8
mov rax, qword [0x1400690c0]
xor rax, rsp
mov qword [rsp + 0x590], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.ReportUploader_1.0
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x140002213
mov r9d, 0x10
lea r8, [0x1400549e0]
lea rdx, str.Failed_to_initialize_WinHTTP_session.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor al, al
jmp 0x1400025ea
mov r8d, 0x68
xor edx, edx
lea rcx, [rsp + 0xa0]
call fcn.140051710
mov dword [rsp + 0xa0], 0x68
lea rax, [rsp + 0x170]
mov qword [rsp + 0xb8], rax
mov dword [rsp + 0xc0], 0x104
lea rax, [rsp + 0x380]
mov qword [rsp + 0xe8], rax
mov dword [rsp + 0xf0], 0x104
mov rcx, qword [rsp + 0x5b0]
call fcn.1400240c0
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x5b0]
call fcn.140020d50
lea r9, [rsp + 0xa0]
xor r8d, r8d
mov rcx, qword [rsp + 0x68]
mov edx, ecx
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
jne 0x1400022d5
mov r9d, 0x10
lea r8, [0x140054a40]
lea rdx, str.Failed_to_parse_webhook_URL.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor al, al
jmp 0x1400025ea
xor r9d, r9d
movzx r8d, word [rsp + 0xc4]
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14000232f
mov r9d, 0x10
lea r8, [0x140054a90]
lea rdx, str.Failed_to_connect_to_the_webhook_server.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor al, al
jmp 0x1400025ea
movzx eax, word [rsp + 0xc4]
cmp eax, 0x1bb
jne 0x140002348
mov dword [rsp + 0x60], 0x800000
jmp 0x140002350
mov dword [rsp + 0x60], 0
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0xe8]
lea rdx, str.POST
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x1400023cd
mov r9d, 0x10
lea r8, [0x140054b08]
lea rdx, str.Failed_to_open_HTTP_request.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor al, al
jmp 0x1400025ea
lea rdx, str.Content_Type:_application_json_r_n
lea rcx, [rsp + 0x130]
call fcn.140017490
nop
mov r8, qword [rsp + 0x5b8]
lea rdx, str._content_:__
lea rcx, [rsp + 0x150]
call fcn.140003ff0
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
lea r8, [0x140054ba4]
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x110]
call fcn.140003ec0
nop
lea rcx, [rsp + 0x150]
call fcn.140019880
nop
lea rcx, [rsp + 0x110]
call fcn.1400240c0
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x110]
call fcn.1400240c0
mov qword [rsp + 0x88], rax
lea rcx, [rsp + 0x110]
call fcn.140020d30
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x130]
call fcn.140020d50
mov qword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x80]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x88]
mov dword [rsp + 0x20], ecx
mov rcx, qword [rsp + 0x90]
mov r9, rcx
mov r8d, 0xffffffff
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x14000252d
mov r9d, 0x10
lea r8, [0x140054bb8]
lea rdx, str.Failed_to_send_data_to_the_webhook.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov byte [rsp + 0x40], 0
lea rcx, [rsp + 0x110]
call fcn.140019880
nop
lea rcx, [rsp + 0x130]
call fcn.1400198b0
movzx eax, byte [rsp + 0x40]
jmp 0x1400025ea
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x1400025a3
mov r9d, 0x10
lea r8, [0x140054c18]
lea rdx, str.Failed_to_receive_a_response_from_the_webhook.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov byte [rsp + 0x41], 0
lea rcx, [rsp + 0x110]
call fcn.140019880
nop
lea rcx, [rsp + 0x130]
call fcn.1400198b0
movzx eax, byte [rsp + 0x41]
jmp 0x1400025ea
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov byte [rsp + 0x42], 1
lea rcx, [rsp + 0x110]
call fcn.140019880
nop
lea rcx, [rsp + 0x130]
call fcn.1400198b0
movzx eax, byte [rsp + 0x42]
mov rcx, qword [rsp + 0x590]
xor rcx, rsp
call fcn.14002b0a0
add rsp, 0x5a8
ret