Function at 0x1401516c0
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.1400b1690
mov rcx, rax
mov qword [rsp + 0x58], rax
xor eax, eax
test rcx, rcx
je 0x140151707
mov r8, rdi
mov rdx, rsi
call fcn.140151188
nop
mov rdx, rbx
mov rcx, rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp 0x140151efc
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 [0x14031fcd0]
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.14008de7c
test eax, eax
je 0x140151f5e
mov ecx, eax
call fcn.14008dfb8
nop
mov qword [r14 + 0x28], rbx
mov rcx, qword [r14]
add rcx, 0x60
lea r8, [r14 + 8]
lea rdx, [rsp + 0x60]
call fcn.14015103c
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x40], r14
mov rcx, qword [r14 + 0x28]
cmp byte [r14 + 0x449], 0
jne 0x1401520ef
mov r12d, 2
test rcx, rcx
je 0x140151fb4
mov rax, qword [rcx]
xor r9d, r9d
mov r8, qword [r14 + 0x38]
mov edx, r12d
mov rax, qword [rax + 0x10]
call qword [str.PS_]
mov ebx, 0x68
mov r8d, ebx
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.1400b4a50
mov dword [rbp - 0x80], ebx
mov ebx, 0x100
mov r8d, ebx
xor edx, edx
lea rcx, [rbp + 0x100]
call fcn.1400b4a50
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.1400b4a50
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 0x140152024
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 0x140152080
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp dword [reloc.WS2_32.dll_accept], r12d
jl 0x1401520eb
mov rbx, qword [r14 + 0x40]
add rbx, 0x48
cmp qword [rbx + 0x18], 0x10
jb 0x14015205f
mov rbx, qword [rbx]
call fcn.14010e808
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.14010b1f4
jmp 0x1401520eb
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 0x140152116
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp dword [reloc.WS2_32.dll_accept], r12d
jl 0x1401520eb
call fcn.14010e808
lea r8, str.InternetConnect___failed:__d
mov r9d, ebx
mov rdx, rax
mov ecx, r12d
call fcn.14010b1f4
mov rcx, qword [r14 + 0x28]
test rcx, rcx
je 0x14015210c
mov rax, qword [rcx]
xor r9d, r9d
mov r8, qword [r14 + 0x38]
lea edx, [r9 + 3]
mov rax, qword [rax + 0x10]
call qword [str.PS_]
mov edx, 0x2ef1
jmp 0x1401521e0
lea rax, [0x1402a5428]
mov qword [rsp + 0x40], rax
and qword [rsp + 0x48], 0
mov rdx, qword [r14 + 0x40]
add rdx, 0x28
cmp qword [rdx + 0x18], 0x10
jb 0x14015213a
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 0x1401521a5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp dword [reloc.WS2_32.dll_accept], r12d
jl 0x1401520eb
call fcn.14010e808
lea r8, str.HttpOpenRequest___failed:__d
jmp 0x1401520dd
mov rax, qword [r14]
cmp byte [rax + 0x70], 0
je 0x1401521ed
mov rcx, r14
call fcn.140151914
test al, al
jne 0x1401521ed
mov rcx, qword [r14 + 0x28]
test rcx, rcx
je 0x1401521db
mov rax, qword [rcx]
xor r9d, r9d
mov r8, qword [r14 + 0x38]
lea edx, [r9 + 3]
mov rax, qword [rax + 0x10]
call qword [str.PS_]
mov edx, 0x2f89
mov rcx, r14
call fcn.140151a20
jmp 0x140152486
lea rdx, [0x1401525c0]
mov rcx, qword [r14 + 0x38]
call qword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
mov r8d, 1
mov edx, r12d
lea rcx, [rbp - 0x10]
call fcn.14010fffc
nop
mov rdi, qword [r14 + 0x40]
mov rdi, qword [rdi + 0x68]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x1401522d6
lea r12, [rbx + 0x20]
mov rdx, r12
cmp qword [r12 + 0x18], 0x10
jb 0x140152238
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
lea rcx, [rbp - 0x10]
call fcn.14003d08c
add r12, 0x20
lea rdx, [0x1402d1138]
mov rcx, rax
call fcn.14002206c
mov r8, qword [r12 + 0x10]
cmp qword [r12 + 0x18], 0x10
jb 0x14015226a
mov r12, qword [r12]
mov rdx, r12
mov rcx, rax
call fcn.14003d08c
mov rcx, rax
lea rdx, [0x1402a5450]
call fcn.14002206c
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x1401522ac
mov rax, qword [rbx + 8]
jmp 0x1401522a1
cmp rbx, qword [rax + 0x10]
jne 0x1401522a7
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140152294
mov rbx, rax
jmp 0x1401522c7
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x1401522c7
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x1401522b8
cmp rbx, rdi
jne 0x140152225
mov r12d, 2
lea rdx, [rbp + 0xe0]
lea rcx, [rbp - 8]
call fcn.14010da28
nop
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x10]
call fcn.1401524cc
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 0x140152369
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140152364
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401524c6
call fcn.1400b19ec
test bl, bl
je 0x1401523af
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp dword [reloc.WS2_32.dll_accept], r12d
jl 0x140152398
call fcn.14010e808
mov rdx, rax
mov r9d, ebx
lea r8, str.HttpAddRequestHeadersA___failed:__d
mov ecx, r12d
call fcn.14010b1f4
mov rcx, qword [r14 + 0x28]
test rcx, rcx
je 0x140152459
mov edx, 3
jmp 0x140152445
mov rcx, qword [r14 + 0x28]
test rcx, rcx
je 0x1401523d0
mov rax, qword [rcx]
xor r9d, r9d
mov r8, qword [r14 + 0x38]
lea edx, [r9 + 6]
mov rax, qword [rax + 0x10]
call qword [str.PS_]
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 0x140152467
cmp eax, 0x3e5
je 0x140152467
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp dword [reloc.WS2_32.dll_accept], r12d
jl 0x140152437
call fcn.14010e808
mov rdx, rax
mov r9d, ebx
lea r8, str.HttpSendRequest___failed:__d
mov ecx, r12d
call fcn.14010b1f4
mov rcx, qword [r14 + 0x28]
test rcx, rcx
je 0x140152459
mov edx, 5
mov rax, qword [rcx]
xor r9d, r9d
mov r8, qword [r14 + 0x38]
mov rax, qword [rax + 0x10]
call qword [str.PS_]
mov edx, 0x2ef1
mov rcx, r14
call fcn.140151a20
nop
lea rcx, [rbp + 0x78]
call fcn.14006ecf4
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x78], rax
lea rcx, [rbp + 0x78]
call fcn.14008d53c
nop
mov rcx, rsi
call fcn.14008dedc
test eax, eax
je 0x14015249a
mov ecx, eax
call fcn.14008dfb8
nop
mov rcx, qword [rbp + 0x600]
xor rcx, rsp
call fcn.1400b1670
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.1400c6548
nop