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

Disassembly:
push rbp
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x968
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x920], rcx
mov qword [rbp + 0x928], rdx
mov qword [rbp + 0x930], r8
mov qword [rbp + 0x938], r9
lea rax, [rbp + 0x690]
mov edx, 0x30
mov rcx, rax
call fcn.140001ba1
mov rax, qword [rbp + 0x930]
mov r8, 0xffffffffffffffff
lea rdx, [0x1400e91b6]
mov rcx, rax
call fcn.1400433f0
lea rcx, [rax + 1]
lea rax, [rbp + 0x670]
mov rdx, qword [rbp + 0x930]
mov r9, 0xffffffffffffffff
mov r8, rcx
mov rcx, rax
call fcn.140043fb0
lea rax, [rbp + 0x6b0]
mov r8d, r13d
lea rdx, str.Content_Type:_multipart_form_data__boundary
mov rcx, rax
call fcn.14002f1d0
lea rax, [rbp + 0x6b0]
mov rcx, rax
call fcn.14002f130
mov rdx, rax
lea rax, [rbp + 0x650]
lea rcx, [rbp + 0x690]
mov r8, rcx
mov rcx, rax
call fcn.1400de5f0
lea rax, [rbp + 0x6e0]
mov r8d, ebx
lea rdx, str.Content_Type:_application_octet_stream_r_nContent_Transfer_Encoding:_binary_r_n_r_n
mov rcx, rax
call fcn.140031700
lea rax, [rbp + 0x6e0]
mov rcx, rax
call fcn.140031660
mov rbx, rax
lea rax, [rbp + 0x790]
mov r8d, esi
lea rdx, str.Content_Disposition:_form_data__name_file___filename_
mov rcx, rax
call fcn.140030da0
lea rax, [rbp + 0x790]
mov rcx, rax
call fcn.140030d00
mov rsi, rax
lea rax, [rbp + 0x7f0]
lea rdx, [rbp + 0x690]
mov r8, rdx
lea rdx, [0x1400e9278]
mov rcx, rax
call fcn.1400de5f0
lea rax, [rbp + 0x7d0]
lea rdx, [rbp + 0x7f0]
lea r8, [0x1400e927b]
mov rcx, rax
call fcn.1400de410
lea rax, [rbp + 0x770]
lea rdx, [rbp + 0x7d0]
mov r8, rsi
mov rcx, rax
call fcn.1400de410
lea rax, [rbp + 0x750]
lea rcx, [rbp + 0x670]
lea rdx, [rbp + 0x770]
mov r8, rcx
mov rcx, rax
call fcn.1400de460
lea rax, [rbp + 0x730]
lea rdx, [rbp + 0x750]
lea r8, [0x1400e927e]
mov rcx, rax
call fcn.1400de410
lea rax, [rbp + 0x630]
lea rdx, [rbp + 0x730]
mov r8, rbx
mov rcx, rax
call fcn.1400de410
lea rax, [rbp + 0x730]
mov rcx, rax
call fcn.1400c0880
lea rax, [rbp + 0x750]
mov rcx, rax
call fcn.1400c0880
lea rax, [rbp + 0x770]
mov rcx, rax
call fcn.1400c0880
lea rax, [rbp + 0x7d0]
mov rcx, rax
call fcn.1400c0880
lea rax, [rbp + 0x7f0]
mov rcx, rax
call fcn.1400c0880
lea rax, [rbp + 0x810]
lea rdx, [rbp + 0x690]
mov r8, rdx
lea rdx, str._r_n__
mov rcx, rax
call fcn.1400de5f0
lea rax, [rbp + 0x610]
lea rdx, [rbp + 0x810]
lea r8, str.___r_n
mov rcx, rax
call fcn.1400de410
lea rax, [rbp + 0x810]
mov rcx, rax
call fcn.1400c0880
mov edx, 2
mov ecx, 4
call fcn.1400de3f0
mov ecx, eax
mov rdx, qword [rbp + 0x930]
lea rax, [rbp + 0x420]
mov r8d, ecx
mov rcx, rax
call fcn.1400aabd0
lea rax, [rbp + 0x420]
mov rcx, rax
call fcn.1400aa830
xor eax, 1
test al, al
je 0x140002828
mov ebx, 0xe1
jmp 0x140002d68
lea rax, [rbp + 0x830]
lea rdx, [rbp + 0x420]
mov rcx, rax
call fcn.14008be60
lea rax, [rbp + 0x830]
mov rcx, rax
call fcn.14003f7a0
mov qword [rbp + 0x8d8], rax
lea rax, [rbp + 0x420]
mov r8d, 0
mov edx, 0
mov rcx, rax
call fcn.14008bd50
lea rax, [rbp + 0x84f]
mov qword [rbp + 0x8b0], rax
nop
nop
mov rdx, qword [rbp + 0x8d8]
lea rcx, [rbp + 0x84f]
lea rax, [rbp + 0x400]
mov r8, rcx
mov rcx, rax
call fcn.1400bb8d0
lea rax, [rbp + 0x84f]
mov rcx, rax
call fcn.1400afb10
nop
lea rax, [rbp + 0x400]
mov rcx, rax
call fcn.1400bb870
mov rdx, rax
mov rcx, qword [rbp + 0x8d8]
lea rax, [rbp + 0x420]
mov r8, rcx
mov rcx, rax
call fcn.14008b990
mov rdx, qword [rax]
sub rdx, 0x18
mov rdx, qword [rdx]
add rax, rdx
mov rcx, rax
call fcn.14007ffd0
test al, al
je 0x14000290b
lea rax, [rbp + 0x420]
mov rcx, rax
call fcn.1400aa7f0
mov ebx, 0xe2
jmp 0x140002d59
lea rax, [rbp + 0x420]
mov rcx, rax
call fcn.1400aa7f0
lea rax, [rbp + 0x897]
mov qword [rbp + 0x8a8], rax
nop
nop
lea rax, [rbp + 0x400]
mov rcx, rax
call fcn.1400bb840
mov rbx, rax
lea rax, [rbp + 0x400]
mov rcx, rax
call fcn.1400bb8a0
mov rdx, rax
lea rcx, [rbp + 0x897]
lea rax, [rbp + 0x870]
mov r9, rcx
mov r8, rbx
mov rcx, rax
call fcn.1400bfed0
lea rax, [rbp + 0x850]
lea rcx, [rbp + 0x870]
lea rdx, [rbp + 0x630]
mov r8, rcx
mov rcx, rax
call fcn.1400de6a0
lea rax, [rbp + 0x3e0]
lea rcx, [rbp + 0x610]
lea rdx, [rbp + 0x850]
mov r8, rcx
mov rcx, rax
call fcn.1400de460
lea rax, [rbp + 0x850]
mov rcx, rax
call fcn.1400c0880
lea rax, [rbp + 0x870]
mov rcx, rax
call fcn.1400c0880
lea rax, [rbp + 0x897]
mov rcx, rax
call fcn.1400afb10
nop
lea rax, [rbp + 0x898]
mov r8d, r12d
lea rdx, str.HTTP_1.1
mov rcx, rax
call fcn.140032560
lea rax, [rbp + 0x898]
mov rcx, rax
call fcn.1400324c0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov edx, 1
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetOpenA]
call rax
mov qword [rbp + 0x8d0], rax
cmp qword [rbp + 0x8d0], 0
jne 0x140002a40
mov ebx, 0xe6
jmp 0x140002d4a
mov rax, qword [rbp + 0x920]
mov rcx, rax
call fcn.140043db0
mov rdx, rax
mov rax, qword [rbp + 0x8d0]
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0x1bb
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetConnectA]
call rax
mov qword [rbp + 0x8c8], rax
cmp qword [rbp + 0x8c8], 0
jne 0x140002ac1
mov rax, qword [rbp + 0x8d0]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov ebx, 0xe5
jmp 0x140002d4a
mov rax, qword [rbp + 0x928]
mov rcx, rax
call fcn.140043db0
mov rbx, rax
lea rax, [rbp + 0x8a2]
mov r8d, edi
lea rdx, str.POST
mov rcx, rax
call fcn.140030080
lea rax, [rbp + 0x8a2]
mov rcx, rax
call fcn.14002ffe0
mov rdx, rax
mov rax, qword [rbp + 0x8c8]
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8, rbx
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_HttpOpenRequestA]
call rax
mov qword [rbp + 0x8c0], rax
cmp qword [rbp + 0x8c0], 0
jne 0x140002b7e
mov rax, qword [rbp + 0x8c8]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov rax, qword [rbp + 0x8d0]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov ebx, 0xe4
jmp 0x140002d4a
mov dword [rbp + 0x3dc], 0xea60
lea rdx, [rbp + 0x3dc]
mov rax, qword [rbp + 0x8c0]
mov r9d, 4
mov r8, rdx
mov edx, 6
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetSetOptionA]
call rax
lea rax, [rbp + 0x3e0]
mov rcx, rax
call fcn.140043d90
mov dword [rbp + 0x8bc], eax
lea rax, [rbp + 0x3e0]
mov rcx, rax
call fcn.140043db0
mov rbx, rax
lea rax, [rbp + 0x650]
mov rcx, rax
call fcn.140043d90
mov esi, eax
lea rax, [rbp + 0x650]
mov rcx, rax
call fcn.140043db0
mov rcx, rax
mov rax, qword [rbp + 0x8c0]
mov edx, dword [rbp + 0x8bc]
mov dword [rsp + 0x20], edx
mov r9, rbx
mov r8d, esi
mov rdx, rcx
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_HttpSendRequestA]
call rax
test eax, eax
sete al
test al, al
je 0x140002c91
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov dword [rbp + 0x8b8], eax
mov rax, qword [rbp + 0x8c0]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov rax, qword [rbp + 0x8c8]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov rax, qword [rbp + 0x8d0]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
cmp dword [rbp + 0x8b8], 0x2ee2
jne 0x140002c87
mov ebx, 0xe7
jmp 0x140002d4a
mov ebx, 0xe3
jmp 0x140002d4a
mov rax, qword [rbp + 0x938]
mov rcx, rax
call fcn.1400bdd90
mov dword [rbp - 0x34], 0
jmp 0x140002ccd
mov eax, dword [rbp - 0x34]
mov eax, eax
mov byte [rbp + rax - 0x30], 0
lea rdx, [rbp - 0x30]
mov rax, qword [rbp + 0x938]
mov rcx, rax
call fcn.1400c0a70
mov dword [rbp - 0x34], 0
lea rcx, [rbp - 0x34]
lea rdx, [rbp - 0x30]
mov rax, qword [rbp + 0x8c0]
mov r9, rcx
mov r8d, 0x3ff
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetReadFile]
call rax
test eax, eax
je 0x140002d03
mov eax, dword [rbp - 0x34]
test eax, eax
je 0x140002d03
mov eax, 1
jmp 0x140002d08
mov eax, 0
test al, al
jne 0x140002ca9
mov rax, qword [rbp + 0x8c0]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov rax, qword [rbp + 0x8c8]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov rax, qword [rbp + 0x8d0]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov ebx, 0xe8
lea rax, [rbp + 0x3e0]
mov rcx, rax
call fcn.1400c0880
lea rax, [rbp + 0x400]
mov rcx, rax
call fcn.1400bb950
lea rax, [rbp + 0x420]
mov rcx, rax
call fcn.1400ab2f0
lea rax, [rbp + 0x610]
mov rcx, rax
call fcn.1400c0880
lea rax, [rbp + 0x630]
mov rcx, rax
call fcn.1400c0880
lea rax, [rbp + 0x650]
mov rcx, rax
call fcn.1400c0880
lea rax, [rbp + 0x670]
mov rcx, rax
call fcn.1400c0880
lea rax, [rbp + 0x690]
mov rcx, rax
call fcn.1400c0880
mov eax, ebx
jmp 0x140002f42
add rsp, 0x968
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop rbp
ret