Function at 0x140003dd0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Enumerate process modules
Execute command
Send data
Send data on socket
Terminate process

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x26d0]
mov eax, 0x27d0
call fcn.1400b70f0
sub rsp, rax
mov rax, qword [0x14014c010]
xor rax, rsp
mov qword [rbp + 0x26c0], rax
mov r12, r8
mov r15, rdx
mov qword [rsp + 0x50], rdx
mov r13, rcx
xor r14d, r14d
mov edi, r14d
mov dword [rsp + 0x40], r14d
mov r9, qword [rdx]
mov rax, qword [rdx + 8]
sub rax, r9
sar rax, 5
test rax, rax
je 0x140005327
mov ecx, r14d
nop dword [rax]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x18], xmm1
mov qword [rbp + 0x28], r14
shl rcx, 5
lea rdx, [r9 + rcx]
lea rcx, [rbp - 8]
call fcn.140008840
lea r8, [rbp + 0x18]
mov rdx, rax
call fcn.1400056b0
mov rax, qword [rbp + 0x20]
mov rbx, qword [rbp + 0x18]
sub rax, rbx
cmp rax, 0x20
jb 0x14000527c
mov r8, qword [rbx + 0x10]
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140003e8f
mov rcx, qword [rbx]
cmp r8, 0x13
jne 0x14000409c
lea rdx, str.close_neighbour_exe
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000409c
xor edx, edx
mov r8d, 0x2000
lea rcx, [rbp + 0x5b0]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x10], r14d
lea r8, [rbp - 0x10]
mov edx, 0x2000
lea rcx, [rbp + 0x5b0]
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
mov r15d, dword [rbp - 0x10]
shr r15, 2
test r15, r15
je 0x140004093
nop dword [rax]
mov r8d, dword [rbp + r14*4 + 0x5b0]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x140004087
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x25b0]
call sub.VCRUNTIME140.dll_memset
mov r9d, 0x104
lea r8, [rbp + 0x25b0]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
test eax, eax
je 0x14000407e
mov ebx, 0xffffffff
mov edi, ebx
xor r8d, r8d
mov eax, r8d
lea rcx, [rbp + 0x25b0]
nop dword [rax]
movzx edx, byte [rcx]
cmp dl, 0x5c
jne 0x140003f6f
mov byte [rcx], 0x2f
mov ebx, eax
jmp 0x140003f73
test dl, dl
je 0x140003f81
inc eax
inc rcx
cmp eax, 0x104
jl 0x140003f60
jmp 0x140003f83
mov edi, eax
cmp ebx, 0xffffffff
je 0x14000407e
cmp edi, 0xffffffff
je 0x14000407e
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
mov qword [rbp + 8], r8
mov qword [rbp + 0x10], r8
lea eax, [rbx + 1]
movsxd r8, eax
lea rdx, [rbp + 0x25b0]
lea rcx, [rbp - 8]
call fcn.140002230
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
xor eax, eax
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rax
sub edi, ebx
dec edi
movsxd r8, edi
movsxd rax, ebx
lea rdx, [rbp + 0x25b1]
add rdx, rax
lea rcx, [rbp + 0x30]
call fcn.140002230
lea rdx, [r13 + 0x90]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140003ffe
mov rdx, qword [rdx]
lea rcx, [rbp - 8]
cmp qword [rbp + 0x10], 0x10
cmovae rcx, qword [rbp - 8]
mov r8, qword [rbp + 8]
cmp r8, rax
jne 0x140004069
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140004069
mov rdx, qword [rbp + 0x18]
add rdx, 0x20
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140004034
mov rdx, qword [rdx]
lea rcx, [rbp + 0x30]
cmp qword [rbp + 0x48], 0x10
cmovae rcx, qword [rbp + 0x30]
mov r8, qword [rbp + 0x40]
cmp r8, rax
jne 0x140004069
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140004069
lea edx, [rax + 1]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp + 0x30]
call fcn.140002da0
nop
lea rcx, [rbp - 8]
call fcn.140002da0
jmp 0x140004087
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc r14
cmp r14, r15
jl 0x140003ef0
mov r15, qword [rsp + 0x50]
mov rbx, qword [rbp + 0x18]
mov rdi, qword [rbx + 0x10]
mov rcx, rbx
mov r14, qword [rbx + 0x18]
cmp r14, 0x10
jb 0x1400040b0
mov rcx, qword [rbx]
cmp rdi, 7
jne 0x1400041c3
mov r8, rdi
lea rdx, str.run_exe
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400041c3
add rbx, 0x20
lea rcx, [r13 + 0x90]
mov rdx, qword [rcx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rdx
cmp rax, 6
jb 0x1400053be
cmp qword [rcx + 0x18], 0x10
jb 0x140004101
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], 6
lea r9, str.start
lea rcx, [rbp - 0x40]
call fcn.14000a090
nop
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140004133
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rbp - 0x40]
call fcn.140008e10
xorps xmm0, xmm0
movups xmmword [rbp + 0x1d0], xmm0
xor r14d, r14d
mov qword [rbp + 0x1e0], r14
mov qword [rbp + 0x1e8], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x1d0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1e0], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], recv
mov byte [rax], r14b
lea rcx, [rbp - 0x40]
call fcn.140002da0
lea rcx, [rbp + 0x1d0]
cmp qword [rbp + 0x1e8], 0x10
cmovae rcx, qword [rbp + 0x1d0]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [rbp + 0x1d0]
call fcn.140002da0
nop
lea rcx, [rbp + 0x18]
call fcn.140008580
mov edi, dword [rsp + 0x40]
jmp 0x140005285
mov rcx, rbx
cmp r14, 0x10
jb 0x1400041cf
mov rcx, qword [rbx]
cmp rdi, 0x11
jne 0x140004b43
mov r8, rdi
lea rdx, str.download_if_older
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140004b43
lea rcx, [rbx + 0x40]
lea r9, [r13 + 0x90]
mov rdx, qword [r9 + 0x10]
mov r8, qword [rcx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rdx
cmp rax, r8
jb 0x1400053de
cmp qword [r9 + 0x18], 0x10
jb 0x140004223
mov r9, qword [r9]
cmp qword [rcx + 0x18], 0x10
jb 0x14000422d
mov rcx, qword [rcx]
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rdx
lea rcx, [rbp + 0x1b0]
call fcn.14000a090
nop
mov rdi, qword [rbp + 0x1c0]
lea rbx, [rbp + 0x1b0]
cmp qword [rbp + 0x1c8], 0x10
cmovae rbx, qword [rbp + 0x1b0]
call fcn.1400b561c
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rdi
lea r8, [rbp - 0x80]
mov edx, eax
lea rcx, [rbp + 0x70]
call fcn.140003550
nop
lea rcx, [rbp + 0x70]
cmp qword [rbp + 0x88], 8
cmovae rcx, qword [rbp + 0x70]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp - 8]
call fcn.1400b5758
mov r8d, eax
test eax, eax
jne 0x1400042f9
mov edx, dword [rbp + 8]
test dl, 1
mov ecx, 0x1ff
mov eax, 0x16d
cmovne ecx, eax
mov dword [rbp + 0x34], ecx
bt edx, 0xa
jae 0x1400042eb
mov eax, dword [rbp + 0xc]
cmp eax, 0xa000000c
jne 0x1400042dd
lea eax, [r8 + 4]
jmp 0x14000431d
cmp eax, 0xa0000003
jne 0x1400042eb
mov eax, 0xa
jmp 0x14000431d
movzx eax, dl
and eax, 0x10
or eax, 0x20
shr eax, 4
jmp 0x14000431d
mov dword [rbp + 0x34], 0xffff
sub eax, 2
je 0x140004318
sub eax, 1
je 0x140004318
sub eax, 0x32
je 0x140004318
cmp eax, 0x46
je 0x140004318
xor eax, eax
jmp 0x14000431d
mov eax, 1
mov dword [rbp - 0x70], r8d
lea rcx, [0x14014c078]
mov qword [rbp - 0x68], rcx
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp + 0x30], xmm0
test eax, eax
je 0x14000454f
cmp eax, 1
je 0x140004558
lea rcx, [rbp + 0x70]
cmp qword [rbp + 0x88], 8
cmovae rcx, qword [rbp + 0x70]
mov r9d, 0xffffffff
mov r8d, 0x21
lea rdx, [rbp - 8]
call fcn.1400b5758
test eax, eax
jne 0x1400053c4
mov rdi, qword [rbp - 8]
movabs rcx, 0xfe624e212ac18000
add rdi, rcx
movabs rax, 0x36475ca6994000
cmp rdi, rax
jge 0x140004473
call fcn.140003490
mov rsi, rax
lea rbx, [rax + 8]
mov rcx, rbx
call sub.KERNEL32.dll_AcquireSRWLockShared
mov rsi, qword [rsi]
mov rcx, rbx
call sub.KERNEL32.dll_ReleaseSRWLockShared
movabs r14, 0xd6bf94d5e57a42bd
mov rax, r14
imul rdi
lea r8, [rdi + rdx]
sar r8, 0x17
mov rax, r8
shr rax, 0x3f
add r8, rax
imul rax, r8, 0x989680
cmp rax, rdi
je 0x1400043ea
jl 0x1400043ea
dec r8
mov r11, qword [rsi + 0x58]
mov rcx, qword [rsi + 0x60]
sub rcx, r11
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
test rdx, rdx
jle 0x140004465
mov r10, r11
nop dword [rax + rax]
mov rcx, rdx
shr rcx, 1
lea rax, [rcx + rcx*2]
lea r9, [r10 + rax*8]
cmp qword [r9], r8
je 0x14000443a
jl 0x14000443a
mov rdx, rcx
jmp 0x14000444b
lea r10, [r9 + 0x18]
mov rax, 0xffffffffffffffff
sub rax, rcx
add rdx, rax
test rdx, rdx
jg 0x140004420
cmp r10, r11
je 0x140004465
mov rax, qword [r10 - 8]
imul rbx, rax, 0x989680
add rbx, rdi
jmp 0x140004484
xor eax, eax
imul rbx, rax, 0x989680
add rbx, rdi
jmp 0x140004484
lea rbx, [rdi + 0x1017df80]
movabs r14, 0xd6bf94d5e57a42bd
mov qword [rbp - 0x10], rbx
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x20]
call fcn.14000ab80
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x30], xmm0
movd eax, xmm0
test al, al
je 0x1400044e0
mov rax, r14
imul rbx
add rdx, rbx
sar rdx, 0x17
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0x989680
cmp rax, rbx
je 0x1400044cc
jl 0x1400044cc
dec rdx
sub rdx, qword [rbp + 0x38]
imul rdi, rdx, 0x989680
add rdi, 0x98967f
jmp 0x1400044eb
imul rdi, qword [rbp + 0x38], 0xffffffffff676980
add rdi, rbx
mov rdx, qword [rbp + 0x18]
add rdx, 0x60
lea rcx, [rbp - 8]
call fcn.140008840
mov rdx, rax
call fcn.140005920
mov r8, rax
mov rax, r14
imul rdi
add rdx, rdi
sar rdx, 0x17
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
cmp rdx, r8
jle 0x140004558
lea rcx, [rbp + 0x70]
call fcn.140003690
nop
lea rcx, [rbp + 0x1b0]
call fcn.140002da0
nop
lea rcx, [rbp + 0x18]
call fcn.140008580
mov edi, dword [rsp + 0x40]
xor r14d, r14d
jmp 0x140005285
test r8d, r8d
jne 0x1400053d0
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x68], recv
mov byte [rbp + 0x50], 0
xor r8d, r8d
lea rdx, [0x1400c12f7]
lea rcx, [rbp + 0x50]
call fcn.140008cb0
mov edx, 1
lea r8d, [rdx + 5]
mov r14d, 2
mov ecx, r14d
call qword [sym.imp.WS2_32.dll_socket]
mov rbx, rax
mov qword [rbp - 0x10], rax
cmp rax, 0xffffffffffffffff
jne 0x1400045bf
lea r8d, [r14 + 0x1c]
lea rdx, str.client_socket__INVALID_SOCKET
lea rcx, [rbp + 0x50]
call fcn.140008cb0
mov esi, dword [r13 + 0x20]
mov rdx, r13
lea rcx, [rbp - 8]
call fcn.140008840
mov rdi, rax
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rdx, [0x1400c12f7]
lea rcx, [rbp + 0x50]
call fcn.140008cb0
mov qword [rbp + 0x198], 0
mov word [rbp + 0x190], r14w
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14000460a
mov rcx, qword [rdi]
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rbp + 0x194], eax
movzx ecx, si
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0x192], ax
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp + 0x190]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x140004656
lea r8d, [rax + 0x17]
lea rdx, str.connect__SOCKET_ERROR
lea rcx, [rbp + 0x50]
call fcn.140008cb0
nop
mov rcx, rdi
call fcn.140002da0
lea rcx, [rbp + 0x250]
call fcn.140017c70
nop
lea rdx, [r13 + 0x50]
lea rax, [rbp + 0x250]
cmp rax, rdx
je 0x140004695
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140004689
mov rdx, qword [rdx]
lea rcx, [rbp + 0x250]
call fcn.140008cb0
lea rdx, [r13 + 0x70]
lea rax, [rbp + 0x270]
cmp rax, rdx
je 0x1400046bf
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400046b3
mov rdx, qword [rdx]
lea rcx, [rbp + 0x270]
call fcn.140008cb0
mov r8d, recv
lea rdx, str.DOWNLOAD_FILE
lea rcx, [rbp + 0x290]
call fcn.140008cb0
mov rdx, qword [rbp + 0x18]
add rdx, 0x20
lea rax, [rbp + 0x2b0]
cmp rax, rdx
je 0x140004706
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400046fa
mov rdx, qword [rdx]
lea rcx, [rbp + 0x2b0]
call fcn.140008cb0
xorps xmm0, xmm0
movups xmmword [rbp + 0x110], xmm0
mov qword [rbp + 0x120], 0
mov qword [rbp + 0x128], recv
mov byte [rbp + 0x110], 0
movups xmmword [rbp + 0x130], xmm0
mov qword [rbp + 0x140], 0
mov qword [rbp + 0x148], recv
mov byte [rbp + 0x130], 0
xor r8d, r8d
lea rdx, [0x1400c12f7]
lea rcx, [rbp + 0x110]
call fcn.140008cb0
xor r8d, r8d
lea rdx, [0x1400c12f7]
lea rcx, [rbp + 0x130]
call fcn.140008cb0
nop
mov r8d, setsockopt
lea rdx, str.GMV0_FILE_REQUEST
lea rcx, [rbp + 0x110]
call fcn.140008cb0
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x250]
call fcn.140017d70
mov rdi, rax
lea rax, [rbp + 0x130]
cmp rax, rdi
je 0x14000481f
mov rdx, qword [rbp + 0x148]
cmp rdx, 0x10
jb 0x1400047f7
inc rdx
mov rcx, qword [rbp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400047f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400052aa
call fcn.1400b5f14
movups xmm0, xmmword [rdi]
movaps xmmword [rbp + 0x130], xmm0
movups xmm1, xmmword [rdi + 0x10]
movaps xmmword [rbp + 0x140], xmm1
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], recv
mov byte [rdi], 0
lea rcx, [rbp - 8]
call fcn.140002da0
mov edi, dword [r13 + 0x48]
lea rax, [rbp - 8]
mov qword [rsp + 0x48], rax
lea rdx, [r13 + 0x28]
lea rcx, [rbp - 8]
call fcn.140008840
mov r14, rax
mov qword [rsp + 0x58], rax
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x110]
call fcn.140016de0
mov rsi, rax
mov qword [rbp + 0x30], rax
xor r8d, r8d
lea rdx, [0x1400c12f7]
lea rcx, [rbp + 0x50]
call fcn.140008cb0
mov rdx, r14
lea rcx, [rsp + 0x60]
call fcn.140008840
mov r9, rsi
mov r8d, edi
mov rdx, rax
call fcn.140023d80
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x14000489c
mov rdx, qword [rsi]
xor r9d, r9d
mov r8d, dword [rsi + 0x10]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_send]
movsxd rcx, eax
cmp rcx, qword [rsi + 0x10]
je 0x1400048cc
mov r8d, 0x1c
lea rdx, str.sent_bytes___message.size__
lea rcx, [rbp + 0x50]
call fcn.140008cb0
nop
mov rcx, rsi
call fcn.140002da0
nop
mov rcx, r14
call fcn.140002da0
xorps xmm0, xmm0
movups xmmword [rbp + 0x210], xmm0
xor r14d, r14d
mov qword [rbp + 0x220], r14
mov qword [rbp + 0x228], recv
mov byte [rbp + 0x210], r14b
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, dword [r13 + 0x48]
lea r8, [rbp + 0x210]
mov edx, 0x5f5e100
lea rcx, [rbp - 0x10]
call fcn.140023b80
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.WS2_32.dll_closesocket]
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], r14
mov qword [rbp + 0xa8], recv
mov byte [rbp + 0x90], r14b
movups xmmword [rbp + 0xb0], xmm0
mov qword [rbp + 0xc0], r14
mov qword [rbp + 0xc8], recv
mov byte [rbp + 0xb0], r14b
xor r8d, r8d
lea rdx, [0x1400c12f7]
lea rcx, [rbp + 0x90]
call fcn.140008cb0
xor r8d, r8d
lea rdx, [0x1400c12f7]
lea rcx, [rbp + 0xb0]
call fcn.140008cb0
nop
lea rdx, [rbp + 0x210]
lea rcx, [rbp + 0x90]
call fcn.140016f20
lea rcx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 0x10
cmovae rcx, qword [rbp + 0x90]
mov r8, qword [rbp + 0xa0]
cmp r8, 0xe
jne 0x1400052b1
lea rdx, str.GMV0_OK_ANSWER
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400052b1
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x390]
call sub.VCRUNTIME140.dll_memset
lea r8d, [r14 + 0x20]
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp + 0x390]
call fcn.1400082f0
nop
lea rdx, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 0x10
cmovae rdx, qword [rbp + 0xb0]
mov r8, qword [rbp + 0xc0]
lea rcx, [rbp + 0x390]
call fcn.14000ad20
lea rcx, [rbp + 0x398]
call fcn.140008af0
test rax, rax
jne 0x140004a78
mov rax, qword [rbp + 0x390]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x390]
add rcx, rax
xor r8d, r8d
lea edx, [r14 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp + 0x390]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x390], rax
mov rax, qword [rbp + 0x390]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x38c], edx
lea rcx, [rbp + 0x398]
call fcn.140008280
lea rcx, [rbp + 0x3a0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x438]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp + 0xb0]
call fcn.140002da0
lea rcx, [rbp + 0x90]
call fcn.140002da0
nop
lea rcx, [rbp + 0x210]
call fcn.140002da0
nop
lea rcx, [rbp + 0x130]
call fcn.140002da0
lea rcx, [rbp + 0x110]
call fcn.140002da0
nop
lea rcx, [rbp + 0x250]
call fcn.1400053f0
nop
lea rcx, [rbp + 0x50]
call fcn.140002da0
nop
lea rcx, [rbp + 0x70]
call fcn.140003690
nop
lea rcx, [rbp + 0x1b0]
call fcn.140002da0
mov rbx, qword [rbp + 0x18]
jmp 0x140004b46
xor r14d, r14d
mov r8, qword [rbx + 0x10]
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140004b57
mov rcx, qword [rbx]
cmp r8, 0xd
jne 0x14000524d
lea rdx, str.download_file
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000524d
xor r8d, r8d
lea rdx, [0x1400c12f7]
mov rcx, r12
call fcn.140008cb0
mov edx, 1
lea ecx, [rdx + 1]
lea r8d, [rdx + 5]
call qword [sym.imp.WS2_32.dll_socket]
mov rbx, rax
mov qword [rbp - 0x10], rax
cmp rax, 0xffffffffffffffff
jne 0x140004bb9
lea r8d, [rax + 0x1f]
lea rdx, str.client_socket__INVALID_SOCKET
mov rcx, r12
call fcn.140008cb0
mov esi, dword [r13 + 0x20]
mov rdx, r13
lea rcx, [rsp + 0x60]
call fcn.140008840
mov rdi, rax
mov qword [rbp + 0x30], rax
xor r8d, r8d
lea rdx, [0x1400c12f7]
mov rcx, r12
call fcn.140008cb0
mov qword [rbp + 0x1a8], r14
mov eax, 2
mov word [rbp + 0x1a0], ax
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140004c03
mov rcx, qword [rdi]
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rbp + 0x1a4], eax
movzx ecx, si
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0x1a2], ax
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp + 0x1a0]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x140004c4e
lea r8d, [rax + 0x17]
lea rdx, str.connect__SOCKET_ERROR
mov rcx, r12
call fcn.140008cb0
nop
mov rcx, rdi
call fcn.140002da0
lea rcx, [rbp + 0x2f0]
call fcn.140017c70
nop
lea rdx, [r13 + 0x50]
lea rax, [rbp + 0x2f0]
cmp rax, rdx
je 0x140004c8d
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140004c81
mov rdx, qword [rdx]
lea rcx, [rbp + 0x2f0]
call fcn.140008cb0
lea rdx, [r13 + 0x70]
lea rax, [rbp + 0x310]
cmp rax, rdx
je 0x140004cb7
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140004cab
mov rdx, qword [rdx]
lea rcx, [rbp + 0x310]
call fcn.140008cb0
mov r8d, recv
lea rdx, str.DOWNLOAD_FILE
lea rcx, [rbp + 0x330]
call fcn.140008cb0
mov rdx, qword [rbp + 0x18]
add rdx, 0x20
lea rax, [rbp + 0x350]
cmp rax, rdx
je 0x140004cfe
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140004cf2
mov rdx, qword [rdx]
lea rcx, [rbp + 0x350]
call fcn.140008cb0
xorps xmm0, xmm0
movups xmmword [rbp + 0x150], xmm0
mov qword [rbp + 0x160], r14
mov qword [rbp + 0x168], recv
mov byte [rbp + 0x150], 0
movups xmmword [rbp + 0x170], xmm0
mov qword [rbp + 0x180], r14
mov qword [rbp + 0x188], recv
mov byte [rbp + 0x170], 0
xor r8d, r8d
lea rdx, [0x1400c12f7]
lea rcx, [rbp + 0x150]
call fcn.140008cb0
xor r8d, r8d
lea rdx, [0x1400c12f7]
lea rcx, [rbp + 0x170]
call fcn.140008cb0
nop
mov r8d, setsockopt
lea rdx, str.GMV0_FILE_REQUEST
lea rcx, [rbp + 0x150]
call fcn.140008cb0
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x2f0]
call fcn.140017d70
mov rdi, rax
lea rax, [rbp + 0x170]
cmp rax, rdi
je 0x140004e0c
mov rdx, qword [rbp + 0x188]
cmp rdx, 0x10
jb 0x140004de8
inc rdx
mov rcx, qword [rbp + 0x170]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004de3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005351
call fcn.1400b5f14
movups xmm0, xmmword [rdi]
movaps xmmword [rbp + 0x170], xmm0
movups xmm1, xmmword [rdi + 0x10]
movaps xmmword [rbp + 0x180], xmm1
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], recv
mov byte [rdi], 0
lea rcx, [rsp + 0x60]
call fcn.140002da0
mov edi, dword [r13 + 0x48]
lea rax, [rsp + 0x60]
mov qword [rbp + 0x30], rax
lea rdx, [r13 + 0x28]
lea rcx, [rsp + 0x60]
call fcn.140008840
mov r14, rax
mov qword [rsp + 0x58], rax
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x150]
call fcn.140016de0
mov rsi, rax
mov qword [rbp + 0x30], rax
xor r8d, r8d
lea rdx, [0x1400c12f7]
mov rcx, r12
call fcn.140008cb0
mov rdx, r14
lea rcx, [rbp - 8]
call fcn.140008840
mov r9, rsi
mov r8d, edi
mov rdx, rax
call fcn.140023d80
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140004e89
mov rdx, qword [rsi]
xor r9d, r9d
mov r8d, dword [rsi + 0x10]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_send]
movsxd rcx, eax
cmp rcx, qword [rsi + 0x10]
je 0x140004eb8
mov r8d, 0x1c
lea rdx, str.sent_bytes___message.size__
mov rcx, r12
call fcn.140008cb0
nop
mov rcx, rsi
call fcn.140002da0
nop
mov rcx, r14
call fcn.140002da0
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f0], xmm0
xor r14d, r14d
mov qword [rbp + 0x200], r14
mov qword [rbp + 0x208], recv
mov byte [rbp + 0x1f0], r14b
mov qword [rsp + 0x20], r12
mov r9d, dword [r13 + 0x48]
lea r8, [rbp + 0x1f0]
mov edx, 0x5f5e100
lea rcx, [rbp - 0x10]
call fcn.140023b80
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.WS2_32.dll_closesocket]
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
mov qword [rbp + 0xe0], r14
mov qword [rbp + 0xe8], recv
mov byte [rbp + 0xd0], r14b
movups xmmword [rbp + 0xf0], xmm0
mov qword [rbp + 0x100], r14
mov qword [rbp + 0x108], recv
mov byte [rbp + 0xf0], r14b
xor r8d, r8d
lea rdx, [0x1400c12f7]
lea rcx, [rbp + 0xd0]
call fcn.140008cb0
xor r8d, r8d
lea rdx, [0x1400c12f7]
lea rcx, [rbp + 0xf0]
call fcn.140008cb0
nop
lea rdx, [rbp + 0x1f0]
lea rcx, [rbp + 0xd0]
call fcn.140016f20
lea rcx, [rbp + 0xd0]
cmp qword [rbp + 0xe8], 0x10
cmovae rcx, qword [rbp + 0xd0]
mov r8, qword [rbp + 0xe0]
cmp r8, 0xe
jne 0x14000535f
lea rdx, str.GMV0_OK_ANSWER
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000535f
mov rcx, qword [rbp + 0x18]
add rcx, 0x20
lea rbx, [r13 + 0x90]
mov rdx, qword [rbx + 0x10]
mov r8, qword [rcx + 0x10]
movabs rsi, 0x7fffffffffffffff
mov rax, rsi
sub rax, rdx
cmp rax, r8
jb 0x1400053b8
mov r9, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140005013
mov r9, qword [rbx]
cmp qword [rcx + 0x18], 0x10
jb 0x14000501d
mov rcx, qword [rcx]
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rdx
lea rcx, [rbp + 0x230]
call fcn.14000a090
nop
mov rax, qword [rbp + 0x20]
mov rcx, qword [rbp + 0x18]
sub rax, rcx
sar rax, 5
cmp rax, 3
jne 0x14000510c
add rcx, 0x40
mov rdx, qword [rbx + 0x10]
mov r8, qword [rcx + 0x10]
mov rax, rsi
sub rax, rdx
cmp rax, r8
jb 0x1400053e4
cmp qword [rbx + 0x18], 0x10
jb 0x140005077
mov rbx, qword [rbx]
cmp qword [rcx + 0x18], 0x10
jb 0x140005081
mov rcx, qword [rcx]
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rdx
mov r9, rbx
lea rcx, [rbp - 8]
call fcn.14000a090
mov rdx, qword [rbp + 0x248]
cmp rdx, 0x10
jb 0x1400050dd
inc rdx
mov rcx, qword [rbp + 0x230]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400050d8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005358
call fcn.1400b5f14
movups xmm0, xmmword [rbp - 8]
movups xmmword [rbp + 0x230], xmm0
movups xmm1, xmmword [rbp + 8]
movups xmmword [rbp + 0x240], xmm1
mov qword [rbp + 8], r14
mov qword [rbp + 0x10], recv
mov byte [rbp - 8], 0
lea rcx, [rbp - 8]
call fcn.140002da0
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x4a0]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x20
lea rdx, [rbp + 0x230]
lea rcx, [rbp + 0x4a0]
call fcn.1400082f0
nop
lea rdx, [rbp + 0xf0]
cmp qword [rbp + 0x108], 0x10
cmovae rdx, qword [rbp + 0xf0]
mov r8, qword [rbp + 0x100]
lea rcx, [rbp + 0x4a0]
call fcn.14000ad20
lea rcx, [rbp + 0x4a8]
call fcn.140008af0
test rax, rax
jne 0x140005198
mov rax, qword [rbp + 0x4a0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x4a0]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp + 0x4a0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x4a0], rax
mov rax, qword [rbp + 0x4a0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x49c], edx
lea rcx, [rbp + 0x4a8]
call fcn.140008280
lea rcx, [rbp + 0x4b0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x548]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x230]
call fcn.140002da0
nop
lea rcx, [rbp + 0xf0]
call fcn.140002da0
lea rcx, [rbp + 0xd0]
call fcn.140002da0
nop
lea rcx, [rbp + 0x1f0]
call fcn.140002da0
nop
lea rcx, [rbp + 0x170]
call fcn.140002da0
lea rcx, [rbp + 0x150]
call fcn.140002da0
nop
lea rcx, [rbp + 0x2f0]
call fcn.1400053f0
mov rbx, qword [rbp + 0x18]
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x14000525b
mov rbx, qword [rbx]
cmp r8, 4
jne 0x140005278
lea rdx, [0x1400c13c8]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400053af
mov edi, dword [rsp + 0x40]
lea rcx, [rbp + 0x18]
call fcn.140008580
inc edi
mov dword [rsp + 0x40], edi
mov r9, qword [r15]
movsxd rcx, edi
mov rax, qword [r15 + 8]
sub rax, r9
sar rax, 5
cmp rcx, rax
jae 0x140005327
jmp 0x140003e40
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rbp + 0xb0]
call fcn.140002da0
lea rcx, [rbp + 0x90]
call fcn.140002da0
nop
lea rcx, [rbp + 0x210]
call fcn.140002da0
nop
lea rcx, [rbp + 0x130]
call fcn.140002da0
lea rcx, [rbp + 0x110]
call fcn.140002da0
nop
lea rcx, [rbp + 0x250]
call fcn.1400053f0
nop
lea rcx, [rbp + 0x50]
call fcn.140002da0
nop
lea rcx, [rbp + 0x70]
call fcn.140003690
nop
lea rcx, [rbp + 0x1b0]
call fcn.140002da0
nop
lea rcx, [rbp + 0x18]
call fcn.140008580
mov rcx, qword [rbp + 0x26c0]
xor rcx, rsp
call fcn.1400b5c60
mov rbx, qword [rsp + 0x2828]
add rsp, 0x27d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rbp + 0xf0]
call fcn.140002da0
lea rcx, [rbp + 0xd0]
call fcn.140002da0
nop
lea rcx, [rbp + 0x1f0]
call fcn.140002da0
nop
lea rcx, [rbp + 0x170]
call fcn.140002da0
lea rcx, [rbp + 0x150]
call fcn.140002da0
nop
lea rcx, [rbp + 0x2f0]
call fcn.1400053f0
jmp 0x14000531e
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
call fcn.1400021c0
nop
call fcn.1400021c0
nop
lea r8, [rbp + 0x70]
mov edx, eax
call fcn.140003d00
int3
lea r8, [rbp + 0x70]
lea rdx, [rbp + 0x30]
call fcn.140003d70
nop
call fcn.1400021c0
nop
call fcn.1400021c0
int3