Function at 0x140063b90
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x210
movaps xmmword [rax - 0x48], xmm6
xor r12d, r12d
mov dword [rax + 0x10], r12d
call fcn.140063760
test al, al
je 0x140063bd1
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov al, 1
jmp 0x14006475c
lea rcx, [rsp + 0x100]
call fcn.140050c30
nop
lea rsi, [rsp + 0x100]
cmp qword [rsp + 0x118], 7
cmova rsi, qword [rsp + 0x100]
mov rdi, qword [rsp + 0x110]
call fcn.1400cf034
mov r14d, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x50], 0
mov dword [rsp + 0x258], 0x20000
test rdi, rdi
je 0x140063ca8
cmp rdi, 0x7fffffff
ja 0x140064777
mov dword [rsp + 0x20], r12d
xor r9d, r9d
mov r8d, edi
mov rdx, rsi
mov ecx, r14d
call fcn.1400cf0a4
mov rbx, rax
shr rax, 0x20
test eax, eax
jne 0x14006477d
movsxd rdx, ebx
xor r8d, r8d
lea rcx, [rsp + 0x50]
call fcn.14006b560
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova r9, qword [rsp + 0x50]
mov dword [rsp + 0x20], ebx
mov r8d, edi
mov rdx, rsi
mov ecx, r14d
call fcn.1400cf0a4
mov rcx, rax
shr rax, 0x20
test eax, eax
jne 0x140064789
xorps xmm0, xmm0
movups xmmword [rsp + 0x1d0], xmm0
movdqa xmm1, xmmword [0x1400f78f0]
movdqu xmmword [rsp + 0x1e0], xmm1
mov byte [rsp + 0x1d0], 0
xor al, al
mov byte [rsp + 0x250], al
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x48], rax
call fcn.1400cf034
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0xd0], xmm0
lea r8, [rsp + 0xd0]
mov edx, eax
lea rcx, [rsp + 0x80]
call fcn.14004f0f0
mov r14d, 0x1f000
mov dword [rsp + 0x258], r14d
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x30]
call fcn.14006e4f0
test eax, eax
jne 0x140064793
mov rdx, qword [rsp + 0x98]
cmp rdx, 7
jbe 0x140063d9b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140063d96
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140063d96
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cfe7c
mov r15, qword [rsp + 0x38]
test r15, r15
je 0x140063db7
lock inc dword [r15 + 8]
mov r15, qword [rsp + 0x38]
mov r14d, dword [rsp + 0x258]
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
test r15, r15
je 0x140063dd9
lock inc dword [r15 + 8]
mov r15, qword [rsp + 0x38]
mov r14d, dword [rsp + 0x258]
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x120], xmm1
mov rsi, 0xffffffffffffffff
test r15, r15
je 0x140063e34
mov eax, esi
lock xadd dword [r15 + 8], eax
cmp eax, 1
jne 0x140063e27
mov rbx, qword [rsp + 0x38]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140063e27
mov r15, qword [rsp + 0x38]
mov rax, qword [r15]
mov rcx, r15
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x140063e2c
mov r15, qword [rsp + 0x38]
mov r14d, dword [rsp + 0x258]
movdqa xmm6, xmmword [0x1400f7b20]
nop dword [rax]
mov r13, qword [rsp + 0x40]
cmp r13, qword [rsp + 0x120]
je 0x14006463d
lea rdx, [rsp + 0xb8]
mov rcx, r13
call fcn.140050030
mov edx, dword [rsp + 0xc0]
mov rax, qword [rsp + 0xb8]
test edx, edx
je 0x140063e85
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x1400647aa
cmp eax, 2
jne 0x140063ff8
lea rcx, [r13 + 0x20]
cmp qword [r13 + 0x38], 7
jbe 0x140063e9d
mov rcx, qword [r13 + 0x20]
mov rax, qword [r13 + 0x30]
lea rdi, [rcx + rax*2]
mov rbx, rdi
mov rdx, rdi
call fcn.14004f260
cmp rax, rdi
je 0x140063eed
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x140063ec4
cmp cx, 0x2f
jne 0x140063ecd
add rax, 2
cmp rax, rdi
jne 0x140063eb5
cmp rax, rdi
je 0x140063eed
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x140063eed
cmp cx, 0x2f
je 0x140063eed
mov rbx, rdx
cmp rax, rdx
jne 0x140063ed2
mov qword [rsp + 0x130], rbx
sub rdi, rbx
sar rdi, 1
mov qword [rsp + 0x138], rdi
movaps xmm0, xmmword [rsp + 0x130]
movdqa xmmword [rsp + 0x70], xmm0
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x1b0]
call fcn.14007a0c0
or r14d, 0x300
or r14d, 1
mov dword [rsp + 0x258], r14d
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0x1b0]
call fcn.14004f5f0
mov rdi, rax
or r14d, 2
mov dword [rsp + 0x258], r14d
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, 0xa78
mov edx, eax
mov eax, dword [rax + rcx]
mov ebx, 0x8e0
add rbx, rcx
test al, 1
jne 0x140063fa3
or eax, 1
mov dword [rdx + rcx], eax
mov dword [rbx + 8], 0x1cf6d80
mov dword [rbx], 0x84827880
mov dword [rbx + 4], 0xe38b5633
lea rcx, [0x1400d6e40]
call fcn.1400d0054
nop
cmp byte [rbx + 0xb], 0
je 0x140063fc4
mov edx, listen
movabs r8, 0xb7a50f61cbcf3dcd
mov rcx, rbx
call fcn.140050d70
mov byte [rbx + 0xb], 0
mov rax, rsi
inc rax
cmp byte [rbx + rax], 0
jne 0x140063fc7
mov rdx, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x140063fde
mov rdi, qword [rdi]
mov qword [rsp + 0x20], rax
mov r9, rbx
mov rcx, rdi
call fcn.1400428c0
cmp rax, 0xffffffffffffffff
jne 0x140064341
lea rcx, [r13 + 0x20]
cmp qword [r13 + 0x38], 7
jbe 0x140064007
mov rcx, qword [r13 + 0x20]
mov rax, qword [r13 + 0x30]
lea rdi, [rcx + rax*2]
mov rbx, rdi
mov rdx, rdi
call fcn.14004f260
cmp rax, rdi
je 0x14006405b
nop
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x14006402f
cmp cx, 0x2f
jne 0x140064038
add rax, 2
cmp rax, rdi
jne 0x140064020
cmp rax, rdi
je 0x14006405b
nop dword [rax]
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x14006405b
cmp cx, 0x2f
je 0x14006405b
mov rbx, rdx
cmp rax, rdx
jne 0x140064040
mov qword [rsp + 0x140], rbx
sub rdi, rbx
sar rdi, 1
mov qword [rsp + 0x148], rdi
movaps xmm0, xmmword [rsp + 0x140]
movdqa xmmword [rsp + 0x70], xmm0
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x80]
call fcn.14007a0c0
or r14d, 0xc0
or r14d, 4
mov dword [rsp + 0x258], r14d
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x80]
call fcn.14004f5f0
mov rsi, rax
or r14d, 8
mov dword [rsp + 0x258], r14d
mov rax, qword gs:[0x58]
mov rdi, qword [rax]
mov eax, 0x498
mov ecx, eax
mov eax, dword [rax + rdi]
mov edx, 0xaa0
mov ebx, edx
test al, 1
jne 0x14006411f
or eax, 1
mov dword [rcx + rdi], eax
mov word [rdi + rdx + 0xd], 0x181
mov dword [rdi + rdx], 0x8f31598a
mov dword [rdi + rdx + 4], 0x3ce2d248
mov dword [rdi + rdx + 8], 0x90213398
mov byte [rdi + rdx + 0xc], 0x5d
lea rcx, [0x1400d6e20]
call fcn.1400d0054
nop
add rbx, rdi
cmp byte [rbx + 0xe], 0
je 0x140064143
mov edx, reloc.WS2_32.dll_ntohl
movabs r8, 0x79b1810ddd751dcb
mov rcx, rbx
call fcn.140050d70
mov byte [rbx + 0xe], 0
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x140064150
mov rdx, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0xf
jbe 0x140064167
mov rsi, qword [rsi]
mov qword [rsp + 0x20], rax
mov r9, rbx
mov rcx, rsi
call fcn.1400428c0
cmp rax, 0xffffffffffffffff
jne 0x140064341
lea rcx, [r13 + 0x20]
cmp qword [r13 + 0x38], 7
jbe 0x140064190
mov rcx, qword [r13 + 0x20]
mov rax, qword [r13 + 0x30]
lea rdi, [rcx + rax*2]
mov rbx, rdi
mov rdx, rdi
call fcn.14004f260
cmp rax, rdi
je 0x1400641eb
nop dword [rax + rax]
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x1400641bf
cmp cx, 0x2f
jne 0x1400641c8
add rax, 2
cmp rax, rdi
jne 0x1400641b0
cmp rax, rdi
je 0x1400641eb
nop dword [rax]
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x1400641eb
cmp cx, 0x2f
je 0x1400641eb
mov rbx, rdx
cmp rax, rdx
jne 0x1400641d0
mov qword [rsp + 0xd0], rbx
sub rdi, rbx
sar rdi, 1
mov qword [rsp + 0xd8], rdi
movaps xmm0, xmmword [rsp + 0xd0]
movdqa xmmword [rsp + 0x70], xmm0
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0xe0]
call fcn.14007a0c0
or r14d, 0xc00
or r14d, 0x10
mov dword [rsp + 0x258], r14d
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0xe0]
call fcn.14004f5f0
mov rsi, rax
or r14d, 0x20
mov dword [rsp + 0x258], r14d
movdqu xmmword [rsp + 0xa0], xmm6
mov word [rsp + 0xb0], 0xbf30
mov rax, qword gs:[0x58]
mov rdi, qword [rax]
mov eax, 0x678
mov ecx, eax
mov eax, dword [rax + rdi]
mov edx, 0x7b8
mov ebx, edx
test al, 1
jne 0x1400642e5
or eax, 1
mov dword [rcx + rdi], eax
lea rcx, [rdi + rdx]
mov byte [rcx + 0x12], 1
lea rax, [rcx + 0x11]
lea rdx, [rsp + 0xb1]
cmp rcx, rdx
ja 0x1400642c9
lea rdx, [rsp + 0xa0]
cmp rax, rdx
jb 0x1400642c9
movups xmmword [rcx], xmm6
movzx eax, word [rsp + 0xb0]
mov word [rcx + 0x10], ax
jmp 0x1400642d8
movups xmmword [rcx], xmm6
movzx eax, word [rsp + 0xb0]
mov word [rcx + 0x10], ax
lea rcx, [0x1400d6e00]
call fcn.1400d0054
nop
add rbx, rdi
cmp byte [rbx + 0x12], 0
je 0x140064309
mov edx, reloc.WS2_32.dll_select
movabs r8, 0x6127e50de3fdbf55
mov rcx, rbx
call fcn.140050d70
mov byte [rbx + 0x12], 0
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x140064310
mov rdx, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0xf
jbe 0x140064327
mov rsi, qword [rsi]
mov qword [rsp + 0x20], rax
mov r9, rbx
mov rcx, rsi
call fcn.1400428c0
cmp rax, 0xffffffffffffffff
jne 0x140064341
xor bl, bl
jmp 0x140064343
mov bl, 1
test r14b, 0x20
je 0x1400643b7
and r14d, 0xffffffdf
mov dword [rsp + 0x258], r14d
mov rdx, qword [rsp + 0x168]
cmp rdx, 0xf
jbe 0x14006439b
inc rdx
mov rcx, qword [rsp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140064396
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140064396
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cfe7c
mov qword [rsp + 0x160], r12
mov qword [rsp + 0x168], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x150], 0
test r14b, 0x10
je 0x140064431
and r14d, 0xffffffef
mov dword [rsp + 0x258], r14d
mov rdx, qword [rsp + 0xf8]
cmp rdx, 7
jbe 0x140064414
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006440f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006440f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cfe7c
mov qword [rsp + 0xf0], r12
mov qword [rsp + 0xf8], 7
mov word [rsp + 0xe0], r12w
test r14b, 8
je 0x1400644a5
and r14d, 0xfffffff7
mov dword [rsp + 0x258], r14d
mov rdx, qword [rsp + 0x188]
cmp rdx, 0xf
jbe 0x140064489
inc rdx
mov rcx, qword [rsp + 0x170]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140064484
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140064484
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cfe7c
mov qword [rsp + 0x180], r12
mov qword [rsp + 0x188], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x170], 0
test r14b, 4
je 0x14006451f
and r14d, 0xfffffffb
mov dword [rsp + 0x258], r14d
mov rdx, qword [rsp + 0x98]
cmp rdx, 7
jbe 0x140064502
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400644fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400644fd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cfe7c
mov qword [rsp + 0x90], r12
mov qword [rsp + 0x98], 7
mov word [rsp + 0x80], r12w
test r14b, 2
je 0x140064593
and r14d, 0xfffffffd
mov dword [rsp + 0x258], r14d
mov rdx, qword [rsp + 0x1a8]
cmp rdx, 0xf
jbe 0x140064577
inc rdx
mov rcx, qword [rsp + 0x190]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140064572
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140064572
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cfe7c
mov qword [rsp + 0x1a0], r12
mov qword [rsp + 0x1a8], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x190], 0
test r14b, 1
je 0x1400645f0
and r14d, 0xfffffffe
mov dword [rsp + 0x258], r14d
mov rdx, qword [rsp + 0x1c8]
cmp rdx, 7
jbe 0x1400645f0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x1b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400645eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400645eb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cfe7c
test bl, bl
je 0x14006461f
mov byte [rsp + 0x250], 1
lea rcx, [r13 + 0x20]
cmp qword [r13 + 0x38], 7
jbe 0x14006460b
mov rcx, qword [r13 + 0x20]
call fcn.1400cf76c
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x1400647ba
lea rcx, [rsp + 0x40]
call fcn.140050600
test eax, eax
mov rsi, 0xffffffffffffffff
jne 0x1400647ce
jmp 0x140063e40
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14006467c
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140064677
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140064677
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov r15, qword [rsp + 0x38]
test r15, r15
je 0x1400646b1
mov eax, esi
lock xadd dword [r15 + 8], eax
cmp eax, 1
jne 0x1400646b1
mov rbx, qword [rsp + 0x38]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x1400646b1
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
jmp 0x1400646b6
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400646f6
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400646f1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400646f1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cfe7c
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x50], 0
mov rdx, qword [rsp + 0x118]
cmp rdx, 7
jbe 0x140064754
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006474f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006474f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cfe7c
movzx eax, byte [rsp + 0x250]
movaps xmm6, xmmword [rsp + 0x200]
add rsp, 0x210
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
call fcn.14004ed20
nop
shr rbx, 0x20
mov ecx, ebx
call fcn.14004efe0
int3
shr rcx, 0x20
call fcn.14004efe0
nop
lea r8, [rsp + 0x80]
mov edx, eax
lea rcx, str.recursive_directory_iterator::recursive_directory_iterator
call fcn.14004ff60
nop
lea r8, [r13 + 0x20]
lea rcx, str.directory_entry::status
call fcn.14004ff60
shr rdx, 0x20
lea r8, [r13 + 0x20]
lea rcx, str.remove
call fcn.14004ff60
mov edx, eax
call fcn.14004fe70
int3