Function at 0x140003d60
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x140084080]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rbp + 0x40], rdx
xor r12d, r12d
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
movdqa xmm1, xmmword [0x140078e60]
movdqu xmmword [rbp - 0x48], xmm1
mov byte [rbp - 0x58], r12b
call fcn.140019e70
mov rsi, rax
movabs r13, 0xdb02b5561ddfa68b
movabs r15, 0x68907adbfcef2264
test rax, rax
je 0x140003f87
mov ecx, 0xff
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
cmp qword [rbx + 0x18], 0xf
jbe 0x140003dec
mov rbx, qword [rbx]
movabs rax, 0xe9309b652cf193bf
mov qword [rsp + 0x30], rax
movabs rax, 0x50a340edccdd0c53
mov qword [rsp + 0x38], rax
movabs rax, 0x39b9e69064e45661
mov qword [rsp + 0x40], rax
movabs r8, 0xdaea103db9d9a23e
mov qword [rsp + 0x48], r8
mov qword [rbp + 0x10], r13
mov qword [rbp + 0x18], r15
movabs rdx, 0x39b9e69064e46355
mov qword [rbp + 0x20], rdx
mov qword [rbp + 0x28], r8
movdqa xmm0, xmmword [rsp + 0x30]
xorps xmm0, xmmword [rbp + 0x10]
movdqa xmmword [rsp + 0x30], xmm0
movdqa xmm1, xmmword [rsp + 0x40]
xorps xmm1, xmmword [rbp + 0x20]
movdqa xmmword [rsp + 0x40], xmm1
movabs rax, 0xbe69d6377ff0d5ae
mov qword [rbp + 0x10], rax
movabs rax, 0x6f513b79fc0460a
mov qword [rbp + 0x18], rax
movabs rax, 0x8cfc9f914854c21
mov qword [rbp + 0x20], rax
movabs rax, 0xe58f7c48ddb6cf11
mov qword [rbp + 0x28], rax
movabs rax, 0xb7a969b400c6495b
mov qword [rbp + 0x30], rax
movabs rcx, 0xf07bb5fff0a94818
mov qword [rbp + 0x38], rcx
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], rdx
mov qword [rbp - 8], r8
movabs rax, 0xc48c54da65ad262f
mov qword [rbp], rax
mov qword [rbp + 8], rcx
movdqa xmm0, xmmword [rbp + 0x10]
xorps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp + 0x10], xmm0
movdqa xmm1, xmmword [rbp + 0x20]
xorps xmm1, xmmword [rbp - 0x10]
movdqa xmmword [rbp + 0x20], xmm1
movdqa xmm0, xmmword [rbp + 0x30]
xorps xmm0, xmmword [rbp]
movdqa xmmword [rbp + 0x30], xmm0
mov r9, rbx
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x10]
mov rcx, r14
call fcn.140001060
mov r8, r14
mov edx, 0x2712
mov rcx, rsi
call fcn.14001c670
mov edx, 0x50
mov r8d, 1
mov rcx, rsi
call fcn.14001c670
lea r8, [0x1400043d0]
mov edx, 0x4e2b
mov rcx, rsi
call fcn.14001c670
lea r8, [rbp - 0x58]
mov edx, 0x2711
mov rcx, rsi
call fcn.14001c670
xor r8d, r8d
mov edx, 0x40
mov rcx, rsi
call fcn.14001c670
mov rcx, rsi
call fcn.140019f30
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rsi
call fcn.140019e50
mov qword [rbp - 0x70], r12
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x68]
call fcn.14000c6e0
nop
movabs rax, 0xdb71c6337ebcd3f8
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], r15
movdqa xmm0, xmmword [rbp - 0x20]
xorps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
movzx eax, byte [rbp - 0x68]
test al, al
jne 0x140003feb
mov byte [rbp - 0x68], 1
mov dl, 1
lea rcx, [rbp - 0x30]
call fcn.14000de50
mov rcx, qword [rbp - 0x30]
mov qword [rbp - 0x60], rcx
movzx eax, byte [rbp - 0x68]
jmp 0x140003fef
mov rcx, qword [rbp - 0x60]
cmp al, 1
jne 0x140004092
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
movdqa xmm1, xmmword [reloc.WS2_32.dll_getsockname]
movdqu xmmword [rsp + 0x40], xmm1
mov eax, dword [str.status]
mov dword [rsp + 0x30], eax
movzx eax, word [0x140077cac]
mov word [rsp + 0x34], ax
mov byte [rsp + 0x36], 0
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x10]
call fcn.140014db0
mov rsi, qword [rax]
add rsi, 0x40
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14000407d
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004078
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004078
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140067a10
movdqa xmm0, xmmword [0x140078e60]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
jmp 0x140004096
mov rsi, qword [rbp + 0x40]
mov byte [rbp - 0x30], 3
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.140067794
mov rbx, rax
lea rdx, [rbp - 0x20]
mov rcx, rax
call fcn.14000aee0
mov qword [rbp - 0x28], rbx
lea rdx, [rbp - 0x30]
mov rcx, rsi
call fcn.14000dfa0
movzx ebx, al
movzx edx, byte [rbp - 0x30]
lea rcx, [rbp - 0x28]
call fcn.14000b790
nop
test bl, bl
je 0x1400042e6
movzx eax, byte [rbp - 0x68]
test al, al
jne 0x140004101
mov byte [rbp - 0x68], 1
mov dl, 1
lea rcx, [rbp - 0x30]
call fcn.14000de50
mov rcx, qword [rbp - 0x30]
mov qword [rbp - 0x60], rcx
movzx eax, byte [rbp - 0x68]
jmp 0x140004105
mov rcx, qword [rbp - 0x60]
cmp al, 1
jne 0x1400041a7
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
movdqa xmm1, xmmword [reloc.WS2_32.dll_getpeername]
movdqu xmmword [rsp + 0x40], xmm1
mov eax, dword [str.image]
mov dword [rsp + 0x30], eax
movzx eax, byte [0x140077cbc]
mov byte [rsp + 0x34], al
mov byte [rsp + 0x35], 0
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x10]
call fcn.140014db0
mov rbx, qword [rax]
add rbx, 0x40
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140004192
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000418d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000418d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140067a10
movdqa xmm0, xmmword [0x140078e60]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
jmp 0x1400041ab
mov rbx, qword [rbp + 0x40]
lea rdx, [rbp - 0x20]
mov rcx, rbx
call fcn.14000c9a0
mov rsi, rax
mov qword [rbp - 0x30], rax
mov qword [rdi], r12
mov qword [rdi + 8], r12
mov qword [rdi + 0x10], r12
cmp rdi, rax
je 0x14000421d
mov r15, qword [rax]
mov rdx, qword [rax + 8]
sub rdx, r15
sar rdx, 2
lea r14, [rdx*4]
test rdx, rdx
je 0x14000420c
mov rcx, rdi
call fcn.14000e370
mov rbx, qword [rdi]
mov r8, r14
mov rdx, r15
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + r14]
mov qword [rdi + 8], rax
jmp 0x14000421d
mov r8, r14
mov rdx, r15
xor ecx, ecx
call sub.VCRUNTIME140.dll_memmove
mov qword [rdi + 8], r14
mov rcx, qword [rsi]
test rcx, rcx
je 0x140004269
mov rax, qword [rsi + 0x10]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
cmp rdx, 0x1000
jb 0x140004259
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400042b0
mov rcx, r8
call fcn.140067a10
mov qword [rsi], r12
mov qword [rsi + 8], r12
mov qword [rsi + 0x10], r12
movzx edx, byte [rbp - 0x68]
lea rcx, [rbp - 0x60]
call fcn.14000b790
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x1400042bc
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400042b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400042b7
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
call fcn.140067a10
mov rax, rdi
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.140067690
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
movabs rax, 0xf52c9b04528df4ce
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], r15
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x48], r15
movdqa xmm0, xmmword [rbp - 0x20]
xorps xmm0, xmmword [rbp + 0x40]
movdqa xmmword [rbp - 0x20], xmm0
lea rdx, str.message
lea rcx, [rbp - 0x68]
call fcn.14000c800
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.14000c8c0
mov rcx, rax
call fcn.14000ab80
mov rdx, rax
xor r9d, r9d
lea r8, [rbp - 0x20]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rcx, [rsp + 0x30]
call fcn.14000ad60
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3