Function at 0x140007a60
Capabilities:
Connect socket
Initialize winsock library
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket
Send http request

Disassembly:
mov r11, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x320
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x14002a520]
xor rax, rsp
mov qword [rsp + 0x310], rax
mov r13, rcx
mov qword [rsp + 0x40], rcx
xor ebx, ebx
mov r12d, ebx
mov dword [rsp + 0x30], ebx
mov r15d, ebx
mov dword [rsp + 0x24], ebx
mov qword [r11 - 0x2c0], rbx
mov qword [r11 - 0x2b8], rbx
mov qword [r11 - 0x2b8], 0xf
mov qword [r11 - 0x2c0], rbx
mov byte [rsp + 0x78], bl
mov qword [r11 - 0x260], rbx
mov qword [r11 - 0x258], rbx
mov qword [r11 - 0x258], 0xf
mov qword [r11 - 0x260], rbx
mov byte [rsp + 0xd8], bl
lea r8d, [rbx + 0x15]
lea rdx, str.secure.digidesign.com
lea rcx, [r11 - 0x270]
call fcn.14000e570
nop
mov qword [rsp + 0x108], rbx
mov qword [rsp + 0x110], rbx
mov qword [rsp + 0x110], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0x108], rbx
mov byte [rsp + 0xf8], bl
lea r8d, [rbx + 0x3d]
lea rdx, str.http:__secure.digidesign.com_services_protools_freedb_url.xml
lea rcx, [rsp + 0xf8]
call fcn.14000e570
nop
mov edx, 0x800
lea ecx, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
mov qword [rsp + 0x48], rax
mov ecx, 0x101
lea rdx, [rsp + 0x170]
call qword [sym.imp.WS2_32.dll_WSAStartup]
xor r8d, r8d
lea edx, [rbx + 1]
lea ecx, [rbx + 2]
call qword [sym.imp.WS2_32.dll_socket]
mov rsi, rax
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0xd8]
cmp qword [rsp + 0xf0], 0x10
cmovae rcx, qword [rsp + 0xd8]
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov r14, rax
test rax, rax
je 0x140008314
mov eax, 2
mov word [rsp + 0x158], ax
movzx ecx, word [r13 + 0x120]
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x15a], ax
movsx r8, word [r14 + 0x12]
mov rdx, qword [r14 + 0x18]
mov rdx, qword [rdx]
lea rcx, [rsp + 0x15c]
call sub.MSVCR120.dll_memcpy
lea r8d, [rbx + 0x10]
lea rdx, [rsp + 0x158]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_connect]
mov r14d, eax
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0xb0], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0xa8], rbx
mov byte [rsp + 0x98], bl
mov qword [rsp + 0x128], rbx
mov qword [rsp + 0x130], rbx
mov qword [rsp + 0x130], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0x128], rbx
mov byte [rsp + 0x118], bl
xor r8d, r8d
lea rdx, [0x14001eac8]
lea rcx, [rsp + 0x118]
call fcn.14000e570
nop
mov edx, 0x80
lea ecx, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
mov r8, qword [rsp + 0x128]
add r8, 2
lea rdx, [0x14001ede0]
mov rcx, rax
call qword [sym.imp.USER32.dll_wsprintfA]
lea r8, [rsp + 0xf8]
lea rdx, str.GET
lea rcx, [rsp + 0x138]
call fcn.140001c10
nop
lea r8, str._HTTP_1.0_r_nContent_Type:_application_x_www_form_urlencoded_r_nUser_Agent:_digiSPTI_r_n
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140001b10
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x98]
cmp rcx, rax
je 0x140007d3d
cmp qword [rsp + 0xb0], 0x10
jb 0x140007d10
mov rcx, qword [rsp + 0x98]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0xb0], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0xa8], rbx
mov byte [rsp + 0x98], 0
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.14000d9c0
nop
cmp qword [rsp + 0x70], 0x10
jb 0x140007d4f
mov rcx, qword [rsp + 0x58]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rsp + 0x70], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0x68], rbx
mov byte [rsp + 0x58], 0
cmp qword [rsp + 0x150], 0x10
jb 0x140007d7a
mov rcx, qword [rsp + 0x138]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rsp + 0x150], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0x148], rbx
mov byte [rsp + 0x138], 0
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x70], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0x68], rbx
mov byte [rsp + 0x58], 0
cmp byte [rsi], 0
jne 0x140007dbd
mov r8, rbx
jmp 0x140007dcb
or r8, 0xffffffffffffffff
inc r8
cmp byte [rsi + r8], 0
jne 0x140007dc1
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.14000e570
nop
lea r8, [rsp + 0x58]
lea rdx, str.Content_Length:
lea rcx, [rsp + 0xb8]
call fcn.140001b90
nop
lea r8, str._r_n_r_n
mov rdx, rax
lea rcx, [rsp + 0x138]
call fcn.140001b10
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.14000e1d0
nop
cmp qword [rsp + 0x150], 0x10
jb 0x140007e3b
mov rcx, qword [rsp + 0x138]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rsp + 0x150], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0x148], rbx
mov byte [rsp + 0x138], 0
cmp qword [rsp + 0xd0], 0x10
jb 0x140007e6f
mov rcx, qword [rsp + 0xb8]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rsp + 0xd0], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0xc8], rbx
mov byte [rsp + 0xb8], 0
cmp qword [rsp + 0x70], 0x10
jb 0x140007e9d
mov rcx, qword [rsp + 0x58]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rsp + 0x70], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0x68], rbx
mov byte [rsp + 0x58], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x118]
lea rcx, [rsp + 0x98]
call fcn.14000e1d0
mov r8d, 2
lea rdx, [0x14001f210]
lea rcx, [rsp + 0x98]
call fcn.14000e2f0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
test r14d, r14d
jne 0x140007f27
lea rdx, [rsp + 0x98]
cmp qword [rsp + 0xb0], 0x10
cmovae rdx, qword [rsp + 0x98]
xor r9d, r9d
mov r8d, dword [rsp + 0xa8]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_send]
mov r14d, eax
cmp r14d, 0xffffffff
jne 0x140007f60
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, [rsp + 0xb8]
call fcn.140008bf0
nop
lea rcx, [r13 + 0x98]
lea r8d, [r14 + 0x12]
lea rdx, str.freedb.freedb.org
call fcn.14000e570
nop
jmp 0x140008242
or esi, 0xffffffff
mov dword [rsp + 0x20], esi
mov qword [rsp + 0x28], rdi
mov r14, rdi
nop
test esi, esi
je 0x140008090
xor edx, edx
mov r8d, 0x80
mov rcx, r14
call sub.MSVCR120.dll_memset
nop
xor r9d, r9d
mov r8d, 0x80
mov rdx, r14
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_recv]
mov esi, eax
mov dword [rsp + 0x20], eax
jmp 0x140007fc7
movsxd rax, esi
add r14, rax
mov qword [rsp + 0x28], r14
add r12d, esi
mov dword [rsp + 0x30], r12d
test esi, esi
cmovs esi, ebx
mov dword [rsp + 0x20], esi
add r15d, esi
mov dword [rsp + 0x24], r15d
cmp r15d, 0x780
jb 0x140007f70
mov byte [r15 + rdi], 0
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x70], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0x68], rbx
mov byte [rsp + 0x58], 0
cmp byte [rdi], 0
jne 0x140008024
mov r8, rbx
jmp 0x14000803a
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdi + r8], 0
jne 0x140008030
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.14000e570
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x78]
call fcn.14000e1d0
nop
cmp qword [rsp + 0x70], 0x10
jb 0x140008071
mov rcx, qword [rsp + 0x58]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rsp + 0x70], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0x68], rbx
mov byte [rsp + 0x58], 0
mov r15d, ebx
mov dword [rsp + 0x24], ebx
jmp 0x140007f67
mov eax, r15d
mov byte [rax + rdi], 0
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x70], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0x68], rbx
mov byte [rsp + 0x58], 0
cmp byte [rdi], 0
jne 0x1400080be
mov r8, rbx
jmp 0x1400080cc
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdi + r8], 0
jne 0x1400080c2
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.14000e570
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x78]
call fcn.14000e1d0
nop
cmp qword [rsp + 0x70], 0x10
jb 0x140008103
mov rcx, qword [rsp + 0x58]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rsp + 0x70], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0x68], rbx
mov byte [rsp + 0x58], 0
mov eax, ebx
cmp qword [rsp + 0x88], 0
setne al
test eax, eax
je 0x140008278
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0xd0], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0xc8], rbx
mov byte [rsp + 0xb8], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0xb8]
call fcn.14000e440
nop
lea rdx, [rsp + 0xb8]
mov rcx, r13
call fcn.140008770
mov esi, 0x64
sub eax, 0xc8
je 0x140008199
sub eax, 0x66
je 0x140008291
jmp 0x140008278
lea rdx, [rsp + 0x78]
mov rcx, r13
call fcn.14000bdb0
cmp qword [rsp + 0x88], 0
jbe 0x140008291
nop word [rax + rax]
mov eax, esi
dec esi
test eax, eax
jle 0x140008291
mov r9d, 5
xor r8d, r8d
lea rdx, str._url_
lea rcx, [rsp + 0x78]
call fcn.14000ead0
lea r14d, [rax + 0xc]
mov r9d, 6
xor r8d, r8d
lea rdx, str.__url_
lea rcx, [rsp + 0x78]
call fcn.14000ead0
cmp r14d, eax
jl 0x140008216
cmp qword [rsp + 0x88], 0
ja 0x1400081c0
jmp 0x140008291
sub eax, r14d
movsxd r9, eax
movsxd r8, r14d
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0x78]
call fcn.14000f180
nop
lea rcx, [r13 + 0x98]
mov rdx, rax
call fcn.140002fa0
nop
cmp qword [rsp + 0xd0], 0x10
jb 0x14000825a
mov rcx, qword [rsp + 0xb8]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rsp + 0xd0], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0xc8], rbx
mov byte [rsp + 0xb8], 0
jmp 0x140008291
lea rdx, str.freedb.freedb.org
mov r8d, send
lea rcx, [r13 + 0x98]
call fcn.14000e570
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
nop
cmp qword [rsp + 0x130], 0x10
jb 0x1400082c4
mov rcx, qword [rsp + 0x118]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rsp + 0x130], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0x128], rbx
mov byte [rsp + 0x118], 0
cmp qword [rsp + 0xb0], 0x10
jb 0x1400082f8
mov rcx, qword [rsp + 0x98]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rsp + 0xb0], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0xa8], rbx
mov byte [rsp + 0x98], 0
cmp qword [rsp + 0x110], 0x10
jb 0x14000832c
mov rcx, qword [rsp + 0xf8]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
mov byte [rsp + 0xf8], 0
mov qword [rsp + 0x108], rbx
mov qword [rsp + 0x110], reloc.OLEAUT32.dll_SafeArrayDestroy
cmp qword [rsp + 0xf0], 0x10
jb 0x140008360
mov rcx, qword [rsp + 0xd8]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
mov byte [rsp + 0xd8], 0
mov qword [rsp + 0xe8], rbx
mov qword [rsp + reloc.OLEAUT32.dll_SafeArrayDestroy0], 0xf
cmp qword [rsp + 0x90], 0x10
jb 0x140008391
mov rcx, qword [rsp + 0x78]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
mov byte [rsp + 0x78], 0
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], reloc.OLEAUT32.dll_SafeArrayDestroy
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.140019e70
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret