Function at 0x1401be2c0
Capabilities:
Connect to http server
Parse url
Send data
Send http request

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov ecx, 0x450
call fcn.140038848
mov rcx, rax
mov qword [rsp + 0x58], rax
xor eax, eax
test rcx, rcx
je 0x1401be307
mov r8, rdi
mov rdx, rsi
call fcn.1401bdd88
nop
mov rdx, rbx
mov rcx, rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp 0x1401beafc
mov rax, rsp
push rbp
push r12
push r14
lea rbp, [rax - 0x628]
sub rsp, 0x710
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1403c2018]
xor rax, rsp
mov qword [rbp + 0x600], rax
mov rbx, rdx
mov r14, rcx
mov rsi, qword [rcx]
add rsi, 0x10
mov qword [rsp + 0x58], rsi
mov rcx, rsi
call fcn.14014b2fc
test eax, eax
je 0x1401beb5e
mov ecx, eax
call fcn.14014b574
nop
mov qword [r14 + 0x28], rbx
mov rcx, qword [r14]
add rcx, 0x60
lea r8, [r14 + 8]
lea rdx, [rsp + 0x60]
call fcn.1401bdc3c
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x40], r14
mov rcx, qword [r14 + 0x28]
cmp byte [r14 + 0x449], 0
jne 0x1401becef
mov r12d, 2
test rcx, rcx
je 0x1401bebb4
mov rax, qword [rcx]
xor r9d, r9d
mov r8, qword [r14 + 0x38]
mov edx, r12d
mov rax, qword [rax + 0x10]
call qword [str.0B__]
mov ebx, 0x68
mov r8d, ebx
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.14003a220
mov dword [rbp - 0x80], ebx
mov ebx, 0x100
mov r8d, ebx
xor edx, edx
lea rcx, [rbp + 0x100]
call fcn.14003a220
lea rax, [rbp + 0x100]
mov qword [rbp - 0x68], rax
mov dword [rbp - 0x60], ebx
mov ebx, 0x400
mov r8d, ebx
xor edx, edx
lea rcx, [rbp + 0x200]
call fcn.14003a220
lea rax, [rbp + 0x200]
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x30], ebx
mov rax, qword [r14 + 0x40]
lea rcx, [rax + 0x48]
cmp qword [rcx + 0x18], 0x10
jb 0x1401bec24
mov rcx, qword [rcx]
lea r9, [rbp - 0x80]
xor r8d, r8d
mov edx, dword [rax + 0x58]
call qword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x1401bec80
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp dword [reloc.WS2_32.dll_accept], r12d
jl 0x1401beceb
mov rbx, qword [r14 + 0x40]
add rbx, 0x48
cmp qword [rbx + 0x18], 0x10
jb 0x1401bec5f
mov rbx, qword [rbx]
call fcn.14017b628
mov rdx, rax
mov qword [rsp + 0x20], rbx
mov r9d, edi
lea r8, str.InternetCrackUrl___failed:_dwError_d_url_s
mov ecx, r12d
call fcn.140178254
jmp 0x1401beceb
mov rcx, qword [r14]
mov qword [rsp + 0x38], r14
and dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
and qword [rsp + 0x20], 0
xor r9d, r9d
movzx r8d, word [rbp - 0x5c]
lea rdx, [rbp + 0x100]
mov rcx, qword [rcx + 8]
call qword [sym.imp.WININET.dll_InternetConnectA]
mov rcx, rax
mov qword [r14 + 0x30], rax
test rax, rax
jne 0x1401bed16
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp dword [reloc.WS2_32.dll_accept], r12d
jl 0x1401beceb
call fcn.14017b628
lea r8, str.InternetConnect___failed:__d
mov r9d, ebx
mov rdx, rax
mov ecx, r12d
call fcn.140178254
mov rcx, qword [r14 + 0x28]
test rcx, rcx
je 0x1401bed0c
mov rax, qword [rcx]
xor r9d, r9d
mov r8, qword [r14 + 0x38]
lea edx, [r9 + 3]
mov rax, qword [rax + 0x10]
call qword [str.0B__]
mov edx, 0x2ef1
jmp 0x1401bede0
lea rax, [0x14033c308]
mov qword [rsp + 0x40], rax
and qword [rsp + 0x48], 0
mov rdx, qword [r14 + 0x40]
add rdx, 0x28
cmp qword [rdx + 0x18], 0x10
jb 0x1401bed3a
mov rdx, qword [rdx]
mov eax, 0x844c0300
mov r8d, 0x84cc0300
cmp dword [rbp - 0x6c], 4
cmove eax, r8d
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rbp + 0x200]
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov qword [r14 + 0x38], rax
test rax, rax
jne 0x1401beda5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp dword [reloc.WS2_32.dll_accept], r12d
jl 0x1401beceb
call fcn.14017b628
lea r8, str.HttpOpenRequest___failed:__d
jmp 0x1401becdd
mov rax, qword [r14]
cmp byte [rax + 0x70], 0
je 0x1401beded
mov rcx, r14
call fcn.1401be514
test al, al
jne 0x1401beded
mov rcx, qword [r14 + 0x28]
test rcx, rcx
je 0x1401beddb
mov rax, qword [rcx]
xor r9d, r9d
mov r8, qword [r14 + 0x38]
lea edx, [r9 + 3]
mov rax, qword [rax + 0x10]
call qword [str.0B__]
mov edx, 0x2f89
mov rcx, r14
call fcn.1401be620
jmp 0x1401bf086
lea rdx, [0x1401bf1c0]
mov rcx, qword [r14 + 0x38]
call qword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
mov r8d, 1
mov edx, r12d
lea rcx, [rbp - 0x10]
call fcn.14017cdb4
nop
mov rdi, qword [r14 + 0x40]
mov rdi, qword [rdi + 0x68]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x1401beed6
lea r12, [rbx + 0x20]
mov rdx, r12
cmp qword [r12 + 0x18], 0x10
jb 0x1401bee38
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
lea rcx, [rbp - 0x10]
call fcn.140094ee0
add r12, 0x20
lea rdx, [0x140363e38]
mov rcx, rax
call fcn.140079470
mov r8, qword [r12 + 0x10]
cmp qword [r12 + 0x18], 0x10
jb 0x1401bee6a
mov r12, qword [r12]
mov rdx, r12
mov rcx, rax
call fcn.140094ee0
mov rcx, rax
lea rdx, [0x14033c330]
call fcn.140079470
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x1401beeac
mov rax, qword [rbx + 8]
jmp 0x1401beea1
cmp rbx, qword [rax + 0x10]
jne 0x1401beea7
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1401bee94
mov rbx, rax
jmp 0x1401beec7
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x1401beec7
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x1401beeb8
cmp rbx, rdi
jne 0x1401bee25
mov r12d, 2
lea rdx, [rbp + 0xe0]
lea rcx, [rbp - 8]
call fcn.14007d64c
nop
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x10]
call fcn.1401bf0cc
mov r8, qword [rax + 8]
add r8, qword [rax]
lea rdx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 0x10
cmovae rdx, qword [rbp + 0xe0]
mov r9d, 0xa0000000
mov rcx, qword [r14 + 0x38]
call qword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
sete bl
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0x10
jb 0x1401bef69
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401bef64
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401bf0c6
call fcn.1400385dc
test bl, bl
je 0x1401befaf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp dword [reloc.WS2_32.dll_accept], r12d
jl 0x1401bef98
call fcn.14017b628
mov rdx, rax
mov r9d, ebx
lea r8, str.HttpAddRequestHeadersA___failed:__d
mov ecx, r12d
call fcn.140178254
mov rcx, qword [r14 + 0x28]
test rcx, rcx
je 0x1401bf059
mov edx, 3
jmp 0x1401bf045
mov rcx, qword [r14 + 0x28]
test rcx, rcx
je 0x1401befd0
mov rax, qword [rcx]
xor r9d, r9d
mov r8, qword [r14 + 0x38]
lea edx, [r9 + 6]
mov rax, qword [rax + 0x10]
call qword [str.0B__]
mov rax, qword [r14 + 0x40]
mov r9, qword [rax + 0x98]
mov rcx, qword [rax + 0xa0]
sub rcx, r9
mov dword [rsp + 0x20], ecx
xor r8d, r8d
xor edx, edx
mov rcx, qword [r14 + 0x38]
call qword [sym.imp.WININET.dll_HttpSendRequestW]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp ebx, 1
jne 0x1401bf067
cmp eax, 0x3e5
je 0x1401bf067
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp dword [reloc.WS2_32.dll_accept], r12d
jl 0x1401bf037
call fcn.14017b628
mov rdx, rax
mov r9d, ebx
lea r8, str.HttpSendRequest___failed:__d
mov ecx, r12d
call fcn.140178254
mov rcx, qword [r14 + 0x28]
test rcx, rcx
je 0x1401bf059
mov edx, 5
mov rax, qword [rcx]
xor r9d, r9d
mov r8, qword [r14 + 0x38]
mov rax, qword [rax + 0x10]
call qword [str.0B__]
mov edx, 0x2ef1
mov rcx, r14
call fcn.1401be620
nop
lea rcx, [rbp + 0x78]
call fcn.140109dbc
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x78], rax
lea rcx, [rbp + 0x78]
call fcn.14014a318
nop
mov rcx, rsi
call fcn.14014b35c
test eax, eax
je 0x1401bf09a
mov ecx, eax
call fcn.14014b574
nop
mov rcx, qword [rbp + 0x600]
xor rcx, rsp
call fcn.140038910
lea r11, [rsp + 0x710]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rbp
ret
call fcn.14004689c
nop