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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x308], rbx
mov rax, qword [0x14002a520]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov qword [rsp + 0x20], r8
mov r15, rdx
mov qword [rsp + 0x30], rdx
mov r13, rcx
mov qword [rsp + 0x40], rdx
xor eax, eax
mov r12d, eax
mov r14d, eax
mov edx, 0x800
lea ecx, [rax + 0x40]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
mov ecx, 0x101
lea rdx, [rbp]
call qword [sym.imp.WS2_32.dll_WSAStartup]
xor r8d, r8d
lea edx, [r8 + 1]
lea ecx, [rdx + 1]
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rsp + 0x28], rax
cmp qword [r13 + 0xb0], 0x10
jb 0x14000a592
mov rcx, qword [r13 + 0x98]
jmp 0x14000a599
lea rcx, [r13 + 0x98]
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov rdi, rax
test rax, rax
jne 0x14000a5ce
cmp qword [r15 + 0x18], 0x10
jb 0x14000a5b6
mov rcx, qword [r15]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [r15 + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
xor edi, edi
mov qword [r15 + 0x10], rdi
mov byte [r15], dil
xor eax, eax
jmp 0x14000ab99
mov eax, 2
mov word [rbp - 0x18], ax
movzx ecx, word [r13 + 0x120]
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp - 0x16], ax
movsx r8, word [rdi + 0x12]
mov rdx, qword [rdi + 0x18]
mov rdx, qword [rdx]
lea rcx, [rbp - 0x14]
call sub.MSVCR120.dll_memcpy
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp - 0x18]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.WS2_32.dll_connect]
xor edi, edi
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x80], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0x78], rdi
mov byte [rsp + 0x68], dil
cmp byte [r13 + 0x21c], dil
jne 0x14000a75a
lea r8, [r13 + 0x100]
lea rdx, str.GET
lea rcx, [rbp - 0x78]
call fcn.140001c10
nop
lea r8, [0x14001f230]
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.140001b10
nop
mov r8, r15
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.140001aa0
nop
lea r8, [0x14001f210]
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140001b10
mov rdi, rax
lea rax, [rsp + 0x68]
cmp rax, rdi
je 0x14000a6ce
cmp qword [rbp - 0x80], 0x10
jb 0x14000a6ab
mov rcx, qword [rsp + 0x68]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp - 0x80], reloc.OLEAUT32.dll_SafeArrayDestroy
xor esi, esi
mov qword [rsp + 0x78], rsi
mov byte [rsp + 0x68], sil
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.14000d9c0
jmp 0x14000a6d0
xor esi, esi
cmp qword [rsp + 0x60], 0x10
jb 0x14000a6e2
mov rcx, qword [rsp + 0x48]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rsp + 0x60], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0x58], rsi
mov byte [rsp + 0x48], 0
cmp qword [rbp - 0x20], 0x10
jb 0x14000a705
mov rcx, qword [rbp - 0x38]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp - 0x20], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp - 0x28], rsi
mov byte [rbp - 0x38], 0
cmp qword [rbp - 0x40], 0x10
jb 0x14000a725
mov rcx, qword [rbp - 0x58]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp - 0x40], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp - 0x48], rsi
mov byte [rbp - 0x58], 0
cmp qword [rbp - 0x60], 0x10
jb 0x14000a745
mov rcx, qword [rbp - 0x78]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp - 0x60], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp - 0x68], rsi
mov byte [rbp - 0x78], 0
jmp 0x14000a982
mov edx, 0x80
lea ecx, [rdx - 0x40]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
mov r8, qword [r15 + 0x10]
add r8, 2
lea rdx, [0x14001ede0]
mov rcx, rax
call qword [sym.imp.USER32.dll_wsprintfA]
lea r8, [r13 + 0x98]
lea rdx, str.POST_http:__
lea rcx, [rbp - 0x38]
call fcn.140001c10
nop
lea r8, [r13 + 0x100]
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.140001aa0
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, [rbp - 0x78]
call fcn.140001b10
mov rsi, rax
lea rax, [rsp + 0x68]
cmp rax, rsi
je 0x14000a804
cmp qword [rbp - 0x80], 0x10
jb 0x14000a7e0
mov rcx, qword [rsp + 0x68]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp - 0x80], reloc.OLEAUT32.dll_SafeArrayDestroy
xor r13d, r13d
mov qword [rsp + 0x78], r13
mov byte [rsp + 0x68], r13b
mov rdx, rsi
lea rcx, [rsp + 0x68]
call fcn.14000d9c0
jmp 0x14000a807
xor r13d, r13d
cmp qword [rbp - 0x60], 0x10
jb 0x14000a817
mov rcx, qword [rbp - 0x78]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp - 0x60], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp - 0x68], r13
mov byte [rbp - 0x78], 0
cmp qword [rbp - 0x40], 0x10
jb 0x14000a837
mov rcx, qword [rbp - 0x58]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp - 0x40], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp - 0x48], r13
mov byte [rbp - 0x58], 0
cmp qword [rbp - 0x20], 0x10
jb 0x14000a857
mov rcx, qword [rbp - 0x38]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp - 0x20], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp - 0x28], r13
mov byte [rbp - 0x38], 0
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x60], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0x58], r13
mov byte [rsp + 0x48], 0
cmp byte [rdi], 0
jne 0x14000a88e
mov r8, r13
jmp 0x14000a89c
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdi + r8], 0
jne 0x14000a892
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.14000e570
nop
lea r8, [rsp + 0x48]
lea rdx, str.Content_Length:
lea rcx, [rbp - 0x58]
call fcn.140001b90
nop
lea r8, str._r_n_r_n
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.140001b10
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.14000e1d0
nop
cmp qword [rbp - 0x60], 0x10
jb 0x14000a8f9
mov rcx, qword [rbp - 0x78]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp - 0x60], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp - 0x68], r13
mov byte [rbp - 0x78], 0
cmp qword [rbp - 0x40], 0x10
jb 0x14000a919
mov rcx, qword [rbp - 0x58]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp - 0x40], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp - 0x48], r13
mov byte [rbp - 0x58], 0
cmp qword [rsp + 0x60], 0x10
jb 0x14000a93b
mov rcx, qword [rsp + 0x48]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rsp + 0x60], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0x58], r13
mov byte [rsp + 0x48], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, r15
lea rcx, [rsp + 0x68]
call fcn.14000e1d0
mov r8d, 2
lea rdx, [0x14001f210]
lea rcx, [rsp + 0x68]
call fcn.14000e2f0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae rdx, qword [rsp + 0x68]
xor r9d, r9d
mov r8d, dword [rsp + 0x78]
mov r13, qword [rsp + 0x28]
mov rcx, r13
call qword [sym.imp.WS2_32.dll_send]
xor r8d, r8d
lea rdx, [0x14001eac8]
mov r15, qword [rsp + 0x20]
mov rcx, r15
call fcn.14000e570
mov rsi, rbx
nop dword [rax]
nop word [rax + rax]
xor edx, edx
mov r8d, 0x80
mov rcx, rsi
call sub.MSVCR120.dll_memset
xor r9d, r9d
mov r8d, 0x80
mov rdx, rsi
mov rcx, r13
call qword [sym.imp.WS2_32.dll_recv]
movsxd rdi, eax
add rsi, rdi
add r12d, edi
test eax, eax
mov ecx, 0
cmovs edi, ecx
add r14d, edi
cmp r14d, 0x780
jb 0x14000aa9d
mov byte [r14 + rbx], cl
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x60], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0x58], rcx
mov byte [rsp + 0x48], cl
cmp byte [rbx], cl
jne 0x14000aa41
mov r8d, ecx
jmp 0x14000aa4e
or r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], cl
jne 0x14000aa45
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.14000e570
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x48]
mov rcx, r15
call fcn.14000e1d0
nop
cmp qword [rsp + 0x60], 0x10
jb 0x14000aa83
mov rcx, qword [rsp + 0x48]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rsp + 0x60], reloc.OLEAUT32.dll_SafeArrayDestroy
xor ecx, ecx
mov qword [rsp + 0x58], rcx
mov byte [rsp + 0x48], cl
mov r14d, ecx
mov rsi, rbx
test edi, edi
jne 0x14000a9d0
mov eax, r14d
mov byte [rax + rbx], dil
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x60], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0x58], rcx
mov byte [rsp + 0x48], dil
cmp byte [rbx], dil
jne 0x14000aad3
mov r8, rcx
jmp 0x14000aaea
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rbx + r8], 0
jne 0x14000aae0
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.14000e570
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x20]
call fcn.14000e1d0
nop
cmp qword [rsp + 0x60], 0x10
mov r15, qword [rsp + 0x30]
jb 0x14000ab26
mov rcx, qword [rsp + 0x48]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rsp + 0x60], reloc.OLEAUT32.dll_SafeArrayDestroy
xor edi, edi
mov qword [rsp + 0x58], rdi
mov byte [rsp + 0x48], dil
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, r13
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
nop
cmp qword [rbp - 0x80], 0x10
jb 0x14000ab65
mov rcx, qword [rsp + 0x68]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp - 0x80], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0x78], rdi
mov byte [rsp + 0x68], 0
cmp qword [r15 + 0x18], 0x10
jb 0x14000ab86
mov rcx, qword [r15]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [r15 + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [r15 + 0x10], rdi
mov byte [r15], 0
mov eax, r12d
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140019e70
mov rbx, qword [rsp + 0x308]
add rsp, 0x2b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret