Function at 0x18000ed7c
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x4da8]
mov eax, 0x4e80
call fcn.180009960
sub rsp, rax
mov rbx, r9
mov r15, r8
mov rdi, rdx
mov rsi, rcx
xor r12d, r12d
xor r9d, r9d
lea rcx, str.Diamotrix
xor r8d, r8d
lea edx, [r9 + 1]
mov dword [rsp + 0x20], r12d
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r14, rax
test rax, rax
jne 0x18000ede8
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x18000edb7
cmp qword [rdi + 0x18], 8
jb 0x18000edf4
mov rdx, qword [rdi]
jmp 0x18000edf7
mov rdx, rdi
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], r12d
mov r8d, 0x50
xor r9d, r9d
mov rcx, rax
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], r12
call qword [sym.imp.WININET.dll_InternetConnectW]
mov r13, rax
test rax, rax
jne 0x18000ee33
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x18000eddb
cmp qword [rbx + 0x18], 8
jb 0x18000ee3f
mov r8, qword [rbx]
jmp 0x18000ee42
mov r8, rbx
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], r12d
lea rdx, str.POST
xor r9d, r9d
mov rcx, rax
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov r12, rax
test rax, rax
je 0x18000efda
mov rcx, qword [r15 + 8]
mov r9, qword [r15]
lea rdx, str.Content_Type:_multipart_form_data_r_n
sub rcx, qword [r15]
mov r8d, 0x23
mov dword [rsp + 0x20], ecx
mov rcx, rax
call qword [sym.imp.WININET.dll_HttpSendRequestA]
xor ecx, ecx
test eax, eax
jne 0x18000eeca
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x18000edb4
mov r15d, 0xf
mov dword [rbp + 0x4db8], ecx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], r15
mov byte [rsp + 0x40], cl
jmp 0x18000ef02
mov eax, dword [rbp + 0x4db8]
test eax, eax
je 0x18000ef21
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
mov r8d, eax
call fcn.180001e1c
lea r9, [rbp + 0x4db8]
lea rdx, [rsp + 0x60]
mov r8d, 0x4e20
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x18000eee6
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor r12d, r12d
mov qword [rsi + 0x18], r15
mov qword [rsi + 0x10], r12
mov byte [rsi], r12b
mov rcx, qword [rsp + 0x58]
cmp rcx, 0x10
jae 0x18000ef73
mov r8, qword [rsp + 0x50]
inc r8
je 0x18000ef80
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.180003f70
mov rcx, qword [rsp + 0x58]
jmp 0x18000ef80
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x40], r12
mov qword [rsi], rax
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0x18], rcx
mov qword [rsp + 0x58], r15
mov qword [rsi + 0x10], rax
cmp qword [rdi + 0x18], 8
mov qword [rsp + 0x50], r12
mov byte [rsp + 0x40], r12b
jb 0x18000efab
mov rcx, qword [rdi]
call fcn.1800048d8
mov qword [rdi + 0x10], r12
mov r14d, 7
mov qword [rdi + 0x18], r14
mov word [rdi], r12w
cmp qword [rbx + 0x18], 8
jb 0x18000efcc
mov rcx, qword [rbx]
call fcn.1800048d8
mov qword [rbx + 0x18], r14
mov qword [rbx + 0x10], r12
mov word [rbx], r12w
jmp 0x18000f04e
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov r15d, 0xf
lea rdx, [0x180014e26]
mov qword [rsi + 0x18], r15
xor r15d, r15d
xor r8d, r8d
mov qword [rsi + 0x10], r15
mov rcx, rsi
mov byte [rsi], r15b
call fcn.18000133c
cmp qword [rdi + 0x18], 8
jb 0x18000f021
mov rcx, qword [rdi]
call fcn.1800048d8
mov qword [rdi + 0x10], r15
mov r14d, 7
mov qword [rdi + 0x18], r14
mov word [rdi], r15w
cmp qword [rbx + 0x18], 8
jb 0x18000f042
mov rcx, qword [rbx]
call fcn.1800048d8
mov qword [rbx + 0x18], r14
mov qword [rbx + 0x10], r15
mov word [rbx], r15w
lea r11, [rsp + 0x4e80]
mov rax, rsi
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret