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

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x130
mov rax, qword [0x1800d4ad8]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x90], r9
mov r15, r8
mov r13b, dl
movzx ebx, cx
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x1c0]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x1d8]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xd8], rax
mov r12, qword [rsp + 0x1e8]
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0xa8], rax
xor eax, eax
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x50], rax
mov esi, eax
mov qword [rsp + 0x58], rax
mov edi, eax
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x44], eax
lea r14d, [rax + 0x40]
mov r8d, r14d
xor edx, edx
lea rcx, [rsp + 0xe0]
call fcn.180046390
mov dword [rsp + 0x68], r14d
xor eax, eax
test r12, r12
je 0x18000dd0f
mov qword [r12], rax
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.Mozilla_5.0__Windows__U__Windows_NT_6.1__sl__rv:1.9.2.11__Gecko_20101012_Firefox_3.6.11
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r14, rax
mov qword [rsp + 0x50], rax
xor ecx, ecx
test rax, rax
jne 0x18000dd5c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [rsp + 0x40], eax
mov r8d, eax
lea rdx, str.Unable_to_open_internet_connection._Error_code__lu.
mov ecx, eax
call fcn.180022938
xor r13d, r13d
jmp 0x18000dfb3
test bx, bx
jne 0x18000dd72
mov al, r13b
neg al
sbb bx, bx
and bx, 0x16b
add bx, 0x50
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], rcx
xor r9d, r9d
movzx r8d, bx
mov rdx, r15
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetConnectA]
mov rsi, rax
mov qword [rsp + 0x58], rax
xor ebx, ebx
test rax, rax
jne 0x18000ddd1
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Unable_to_connect_to__S._Error_code__lu.
mov r8, r15
mov r9d, eax
mov dword [rsp + 0x40], eax
mov ebx, eax
mov ecx, eax
call fcn.180022938
jmp 0x18000dd54
test r13b, r13b
je 0x18000dde5
mov dword [rsp + 0x44], 0x808000
mov eax, 0x84c08000
jmp 0x18000ddf2
mov dword [rsp + 0x44], 0x4000
mov eax, 0x84404000
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x90]
mov rcx, rsi
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov rdi, rax
mov qword [rsp + 0x60], rax
test rax, rax
jne 0x18000de52
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Open_request_to_server__S_failed._Error_code__lu.
jmp 0x18000ddbc
mov dword [rsp + 0x48], 0x15f90
mov r9d, 4
lea r8, [rsp + 0x48]
lea edx, [r9 + 1]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
jne 0x18000de80
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
mov r9d, 4
lea r8, [rsp + 0x48]
lea edx, [r9 + 2]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
jne 0x18000dea6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x40], ebx
test r13b, r13b
je 0x18000dee6
mov dword [rsp + 0x44], 0x3080
mov r9d, 4
lea r8, [rsp + 0x44]
lea edx, [r9 + 0x1b]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetSetOptionW]
xor r13d, r13d
test eax, eax
jne 0x18000dee9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x40], ebx
jmp 0x18000dee9
xor r13d, r13d
mov eax, dword [rsp + 0x1c8]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x98]
mov r8d, dword [rsp + 0x1b8]
mov rdx, qword [rsp + 0xa0]
mov rcx, rdi
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x18000df52
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [rsp + 0x40], eax
mov ecx, 0x2f0d
mov r8, r15
cmp eax, ecx
jne 0x18000df3f
lea rdx, str.Server_CA_is_not_trusted._Unable_to_establish_secure_connection_to__S.
call fcn.180022938
jmp 0x18000dfb3
mov r9d, eax
lea rdx, str.Unable_to_send_request_to_the_server___S_._Error_code:__lu.
mov ecx, eax
call fcn.180022938
jmp 0x18000dfb3
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x68]
lea r8, [rsp + 0xe0]
mov edx, 0x13
mov rcx, rdi
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
cmp eax, 1
jne 0x18000dfb3
test r12, r12
je 0x18000df8d
lea rcx, [rsp + 0xe0]
call fcn.18006bb74
mov qword [r12], rax
mov rax, qword [rsp + 0xa8]
test rax, rax
je 0x18000dfb3
lea r8, [rsp + 0xe0]
mov rdx, qword [rsp + 0x1f8]
mov rcx, rax
call fcn.1800537a4
nop
test ebx, ebx
je 0x18000dfea
test r14, r14
je 0x18000dfc5
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
test rsi, rsi
je 0x18000dfd3
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
test rdi, rdi
je 0x18000dfe1
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov r14, r13
mov rsi, r13
mov rdi, r13
mov rax, qword [rsp + 0xb0]
mov qword [rax], r14
mov rax, qword [rsp + 0xb8]
mov qword [rax], rsi
mov rax, qword [rsp + 0xc0]
mov qword [rax], rdi
mov eax, ebx
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.180043830
add rsp, 0x130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret