Function at 0x140048780
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x1400c1060]
xor rax, rsp
mov qword [rbp + 0x10], rax
call fcn.140049180
mov r9, rax
xor r12d, r12d
cmp byte [rax + 9], r12b
jne 0x14004884d
mov edx, r12d
nop word [rax + rax]
mov ecx, dword [r9 + 4]
mov r8d, dword [r9]
lea eax, [rcx + 1]
cmp r8d, eax
jne 0x1400487ee
inc cl
movsxd rax, edx
xor byte [rax + r9 + 0xa], cl
inc dword [r9]
jmp 0x1400487d0
lea eax, [rcx + 2]
cmp r8d, eax
jne 0x140048806
add cl, 2
movsxd rax, edx
xor byte [rax + r9 + 0xa], cl
inc dword [r9]
jmp 0x1400487d0
cmp r8d, ecx
je 0x14004883b
lea eax, [rcx + 4]
cmp r8d, eax
jne 0x140048823
add cl, 3
movsxd rax, edx
xor byte [rax + r9 + 0xa], cl
inc dword [r9]
jmp 0x1400487d0
lea eax, [rcx + 5]
cmp r8d, eax
jne 0x140048846
add cl, 4
movsxd rax, edx
xor byte [rax + r9 + 0xa], cl
inc dword [r9]
jmp 0x1400487d0
movsxd rcx, edx
lea eax, [rdx - 0x7d]
xor byte [rcx + r9 + 0xa], al
inc edx
cmp edx, 0x3a
jb 0x1400487d0
mov byte [r9 + 9], 1
lea rdx, [r9 + 0xa]
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x50], r12b
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rdx + r8], r12b
jne 0x140048874
lea rcx, [rbp - 0x50]
call fcn.14003fdd0
nop
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae rdx, qword [rbp - 0x50]
lea rcx, [rbp - 0x10]
call fcn.140046720
nop
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x68], xmm1
mov qword [rbp - 0x58], r12
movdqu xmmword [rbp - 0x80], xmm1
mov qword [rbp - 0x70], r12
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x10]
call fcn.1400470e0
mov rax, qword gs:[0x58]
mov rdi, qword [rax]
mov qword [rsp + 0x30], rdi
mov ecx, 0x67c
mov eax, dword [rcx + rdi]
mov edx, 0x290
test al, 1
jne 0x1400489ef
or eax, 1
mov dword [rcx + rdi], eax
mov ecx, edx
add rcx, rdi
movups xmm0, xmmword [0x1400b1308]
movaps xmmword [rsp + 0x40], xmm0
mov eax, dword [0x1400b1318]
mov dword [rsp + 0x50], eax
mov qword [rcx], r12
mov word [rcx + 8], 0
xor eax, eax
mov qword [rcx + 0xa], rax
mov word [rcx + 0x12], ax
mov r8d, r12d
lea rdx, [rcx + 0xb]
lea rbx, [rsp + 0x4a]
sub rbx, rcx
lea r9, [rsp + 0x40]
sub r9, rcx
lea r10, [rsp + 0x41]
sub r10, rcx
lea r11, [rsp + 0x42]
sub r11, rcx
lea rdi, [rsp + 0x43]
sub rdi, rcx
lea rsi, [rsp + 0x44]
sub rsi, rcx
lea r14, [rsp + 0x45]
sub r14, rcx
lea r15, [rsp + 0x46]
sub r15, rcx
lea r12, [rsp + 0x47]
sub r12, rcx
lea r13, [rsp + 0x48]
sub r13, rcx
nop word [rax + rax]
movzx eax, byte [rbx + rdx - 0xb]
mov byte [rdx - 1], al
movzx eax, byte [r9 + rdx]
mov byte [rdx], al
movzx eax, byte [r10 + rdx]
mov byte [rdx + 1], al
movzx eax, byte [r11 + rdx]
mov byte [rdx + 2], al
movzx eax, byte [rdi + rdx]
mov byte [rdx + 3], al
movzx eax, byte [rsi + rdx]
mov byte [rdx + 4], al
movzx eax, byte [r14 + rdx]
mov byte [rdx + 5], al
movzx eax, byte [r15 + rdx]
mov byte [rdx + 6], al
movzx eax, byte [rdx + r12]
mov byte [rdx + 7], al
movzx eax, byte [rdx + r13]
mov byte [rdx + 8], al
add r8d, 0xa
lea rdx, [rdx + 0xa]
cmp r8d, 0xa
jb 0x140048980
mov rbx, 0xffffffffffffffff
mov rdi, qword [rsp + 0x30]
mov edx, 0x290
xor r12d, r12d
mov r9d, edx
add r9, rdi
cmp byte [r9 + 9], 0
jne 0x140048a8d
mov edx, r12d
nop dword [rax]
nop word [rax + rax]
mov ecx, dword [r9 + 4]
mov r8d, dword [r9]
lea eax, [rcx + 1]
cmp r8d, eax
jne 0x140048a2e
inc cl
movsxd rax, edx
xor byte [rax + r9 + 0xa], cl
inc dword [r9]
jmp 0x140048a10
lea eax, [rcx + 2]
cmp r8d, eax
jne 0x140048a46
add cl, 2
movsxd rax, edx
xor byte [rax + r9 + 0xa], cl
inc dword [r9]
jmp 0x140048a10
cmp r8d, ecx
je 0x140048a7b
lea eax, [rcx + 4]
cmp r8d, eax
jne 0x140048a63
add cl, 3
movsxd rax, edx
xor byte [rax + r9 + 0xa], cl
inc dword [r9]
jmp 0x140048a10
lea eax, [rcx + 5]
cmp r8d, eax
jne 0x140048a86
add cl, 4
movsxd rax, edx
xor byte [rax + r9 + 0xa], cl
inc dword [r9]
jmp 0x140048a10
movsxd rcx, edx
lea eax, [rdx - 0x7c]
xor byte [rcx + r9 + 0xa], al
inc edx
cmp edx, 0xa
jb 0x140048a10
mov byte [r9 + 9], 1
lea rdx, [r9 + 0xa]
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x30], 0
nop word [rax + rax]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x140048ab0
mov r8, rbx
lea rcx, [rbp - 0x30]
call fcn.14003fdd0
nop
mov rsi, qword [rbp - 0x60]
mov r11, rsi
mov rbx, qword [rbp - 0x68]
sub r11, rbx
sar r11, 5
mov ecx, 0x2a8
mov eax, dword [rcx + rdi]
mov r9d, 0x220
test al, 1
jne 0x140048b43
or eax, 1
mov dword [rcx + rdi], eax
mov ecx, r9d
add rcx, rdi
movups xmm0, xmmword [0x1400b10d0]
movaps xmmword [rsp + 0x40], xmm0
mov eax, dword [0x1400b10e0]
mov dword [rsp + 0x50], eax
mov qword [rcx], 0
mov dword [rcx + 8], r12d
mov byte [rcx + 0xc], 0
xor eax, eax
mov dword [rcx + 0x10], eax
mov r8d, r12d
lea rdx, [rsp + 0x50]
lea rax, [rsp + 0x50]
sub rcx, rax
mov eax, dword [rdx]
mov dword [rcx + rdx + 0x10], eax
inc r8d
lea rdx, [rdx + 4]
cmp r8d, 1
jb 0x140048b30
mov r8d, r9d
add r8, rdi
cmp byte [r8 + 0xc], 0
jne 0x140048bb2
lea rcx, [r8 + 0x10]
mov r9d, r12d
nop word [rax + rax]
mov eax, dword [r8 + 4]
lea r10d, [rax + 1]
mov edx, dword [r8]
cmp edx, r10d
je 0x140048b97
lea r10d, [rax + 2]
cmp edx, r10d
je 0x140048b97
cmp edx, eax
je 0x140048b9f
lea r10d, [rax + 4]
cmp edx, r10d
jne 0x140048b90
add eax, 3
xor dword [rcx], eax
inc dword [r8]
jmp 0x140048b60
add eax, 5
cmp edx, eax
jne 0x140048ba5
xor dword [rcx], r10d
inc dword [r8]
jmp 0x140048b60
lea eax, [r9 - 0x7c]
xor dword [rcx], eax
inc r9d
add rcx, 4
cmp r9d, 1
jb 0x140048b60
mov byte [r8 + 0xc], 1
movsxd rax, dword [r8 + 0x10]
mov r13, qword [rbp - 0x18]
mov r15, qword [rbp - 0x30]
cmp r11, rax
ja 0x140048cc0
mov r11, qword [rbp - 0x78]
sub r11, qword [rbp - 0x80]
sar r11, 5
mov ecx, 0x75c
mov eax, dword [rcx + rdi]
mov r9d, 0x718
test al, 1
jne 0x140048c43
or eax, 1
mov dword [rcx + rdi], eax
mov ecx, r9d
add rcx, rdi
movups xmm0, xmmword [0x1400b0e60]
movaps xmmword [rsp + 0x40], xmm0
mov eax, dword [0x1400b0e70]
mov dword [rsp + 0x50], eax
mov qword [rcx], 0
mov dword [rcx + 8], r12d
mov byte [rcx + 0xc], 0
xor eax, eax
mov dword [rcx + 0x10], eax
mov r8d, r12d
lea rdx, [rsp + 0x50]
lea rax, [rsp + 0x50]
sub rcx, rax
mov eax, dword [rdx]
mov dword [rcx + rdx + 0x10], eax
inc r8d
lea rdx, [rdx + 4]
cmp r8d, 1
jb 0x140048c30
mov r8d, r9d
add r8, rdi
cmp byte [r8 + 0xc], 0
jne 0x140048cb2
lea rcx, [r8 + 0x10]
mov r9d, r12d
nop word [rax + rax]
mov eax, dword [r8 + 4]
lea r10d, [rax + 1]
mov edx, dword [r8]
cmp edx, r10d
je 0x140048c97
lea r10d, [rax + 2]
cmp edx, r10d
je 0x140048c97
cmp edx, eax
je 0x140048c9f
lea r10d, [rax + 4]
cmp edx, r10d
jne 0x140048c90
add eax, 3
xor dword [rcx], eax
inc dword [r8]
jmp 0x140048c60
add eax, 5
cmp edx, eax
jne 0x140048ca5
xor dword [rcx], r10d
inc dword [r8]
jmp 0x140048c60
lea eax, [r9 - 0x7b]
xor dword [rcx], eax
inc r9d
add rcx, 4
cmp r9d, 1
jb 0x140048c60
mov byte [r8 + 0xc], 1
movsxd rax, dword [r8 + 0x10]
cmp r11, rax
jbe 0x140048d06
cmp rbx, rsi
je 0x140048d06
mov rdi, qword [rbp - 0x20]
nop dword [rax]
lea r9, [rbp - 0x30]
cmp r13, 0x10
cmovae r9, r15
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140048ce9
mov rcx, qword [rbx]
mov qword [rsp + 0x20], rdi
mov rdx, qword [rbx + 0x10]
call fcn.140042a60
cmp rax, 0xffffffffffffffff
je 0x140048d52
add rbx, 0x20
cmp rbx, rsi
jne 0x140048cd0
call fcn.140047e30
test al, al
je 0x14004906f
call fcn.140049c40
mov r10, rax
cmp byte [rax + 9], 0
jne 0x140049018
mov r8d, r12d
nop dword [rax + rax]
mov edx, dword [r10 + 4]
mov r9d, dword [r10]
lea ecx, [rdx + 1]
cmp r9d, ecx
jne 0x140048fa9
inc dl
movsxd rax, r8d
xor byte [rax + r10 + 0xa], dl
inc dword [r10]
jmp 0x140048d30
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14003f6f0
nop
lea r14, [rsp + 0x40]
mov rcx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x58]
cmp r9, 0x10
cmovae r14, rcx
mov r8, qword [rsp + 0x50]
add r14, r8
lea rsi, [rsp + 0x40]
cmp r9, 0x10
cmovae rsi, rcx
add rsi, r8
lea rbx, [rsp + 0x40]
cmp r9, 0x10
cmovae rbx, rcx
cmp rbx, rsi
je 0x140048dff
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isblank]
test eax, eax
jne 0x140048db6
inc rbx
cmp rbx, rsi
jne 0x140048da1
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
cmp rbx, rsi
je 0x140048dff
lea rdi, [rbx + 1]
cmp rdi, rsi
je 0x140048dff
movsx ecx, byte [rdi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isblank]
test eax, eax
jne 0x140048de8
movzx eax, byte [rdi]
mov byte [rbx], al
inc rbx
inc rdi
cmp rdi, rsi
jne 0x140048dd3
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x40]
cmp r9, 0x10
cmovae rax, rcx
mov rdx, rbx
sub rdx, rax
sub r14, rbx
mov rax, r8
sub rax, rdx
cmp rax, r14
cmovb r14, rax
lea rax, [rsp + 0x40]
cmp r9, 0x10
cmovae rax, rcx
lea rcx, [rax + rdx]
sub r8, r14
mov qword [rsp + 0x50], r8
sub r8, rdx
inc r8
lea rdx, [rcx + r14]
call sub.VCRUNTIME140.dll_memmove
call fcn.1400498a0
mov r10, rax
cmp byte [rax + 9], 0
jne 0x140048ee0
mov r8d, r12d
nop
mov edx, dword [r10 + 4]
mov r9d, dword [r10]
lea ecx, [rdx + 1]
cmp r9d, ecx
jne 0x140048e7e
inc dl
movsxd rax, r8d
xor byte [rax + r10 + 0xa], dl
inc dword [r10]
jmp 0x140048e60
lea eax, [rdx + 2]
cmp r9d, eax
jne 0x140048e96
add dl, 2
movsxd rax, r8d
xor byte [rax + r10 + 0xa], dl
inc dword [r10]
jmp 0x140048e60
cmp r9d, edx
je 0x140048ecb
lea eax, [rdx + 4]
cmp r9d, eax
jne 0x140048eb3
add dl, 3
movsxd rax, r8d
xor byte [rax + r10 + 0xa], dl
inc dword [r10]
jmp 0x140048e60
lea eax, [rdx + 5]
cmp r9d, eax
jne 0x140048ed7
add dl, 4
movsxd rax, r8d
xor byte [rax + r10 + 0xa], dl
inc dword [r10]
jmp 0x140048e60
movsxd rcx, r8d
lea eax, [r8 - 0x7b]
xor byte [rcx + r10 + 0xa], al
inc r8d
cmp r8d, 0x1c
jb 0x140048e60
mov byte [r10 + 9], 1
lea rdx, [r10 + 0xa]
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140041f90
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x140048f4f
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140048f4a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140048f4a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400930d8
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x60], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14004906b
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049066
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140049066
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea eax, [rdx + 2]
cmp r9d, eax
jne 0x140048fc4
add dl, 2
movsxd rax, r8d
xor byte [rax + r10 + 0xa], dl
inc dword [r10]
jmp 0x140048d30
cmp r9d, edx
je 0x140048fff
lea eax, [rdx + 4]
cmp r9d, eax
jne 0x140048fe4
add dl, 3
movsxd rax, r8d
xor byte [rax + r10 + 0xa], dl
inc dword [r10]
jmp 0x140048d30
lea eax, [rdx + 5]
cmp r9d, eax
jne 0x14004900b
add dl, 4
movsxd rax, r8d
xor byte [rax + r10 + 0xa], dl
inc dword [r10]
jmp 0x140048d30
movsxd rcx, r8d
lea eax, [r8 - 0x7b]
xor byte [rcx + r10 + 0xa], al
inc r8d
cmp r8d, 0x20
jb 0x140048d30
mov byte [r10 + 9], 1
lea rdx, [r10 + 0xa]
lea rcx, [rsp + 0x60]
call fcn.140046720
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x14004906b
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049066
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140049066
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400930d8
mov bl, 1
jmp 0x140049071
xor bl, bl
cmp r13, 0x10
jb 0x1400490ac
lea rdx, [r13 + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x1400490a3
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400490a3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.1400930d8
nop
lea rcx, [rbp - 0x80]
call fcn.14004e890
nop
lea rcx, [rbp - 0x68]
call fcn.14004e890
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x1400490fe
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400490f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400490f9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400930d8
mov qword [rbp], r12
mov qword [rbp + 8], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x10], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x14004914c
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049147
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140049147
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400930d8
movzx eax, bl
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140092b30
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret