Function at 0x140050010
Capabilities:
Delete file
Encode data using xor
Execute command

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov rax, qword [0x14013a080]
xor rax, rsp
mov qword [rbp - 9], rax
xor ebx, ebx
mov rsi, qword [0x1401868d8]
lea r15, [0x1401868c8]
mov rdi, r15
cmp qword [0x1401868e0], 0x10
cmovae rdi, qword [0x1401868c8]
call fcn.1400d59c4
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rbp - 0x49]
call fcn.140047e00
nop
lea rcx, [rbp - 0x49]
call fcn.140048990
movzx edi, al
mov rdx, qword [rbp - 0x31]
cmp rdx, 8
jb 0x1400500e0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400500db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400500db
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d6014
mov r14, 0xffffffffffffffff
test dil, dil
jne 0x140050196
cmp qword [0x1401868e0], 0x10
cmovae r15, qword [0x1401868c8]
mov rdi, r14
inc rdi
cmp byte [r15 + rdi], 0
jne 0x140050103
call fcn.1400d59c4
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x28], rdi
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rbp - 0x49]
call fcn.140047e00
nop
mov qword [rbp - 0x59], rbx
lea rax, [0x140184e10]
mov qword [rbp - 0x51], rax
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x49]
call fcn.140048aa0
cmp dword [rbp - 0x59], 0
jne 0x140050d09
mov rdx, qword [rbp - 0x31]
cmp rdx, 8
jb 0x140050196
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050191
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050191
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d6014
mov rsi, qword [0x1401864d8]
lea r15, [0x1401864c8]
mov rdi, r15
cmp qword [0x1401864e0], 0x10
cmovae rdi, qword [0x1401864c8]
call fcn.1400d59c4
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rbp - 0x49]
call fcn.140047e00
nop
lea rcx, [rbp - 0x49]
call fcn.140048990
movzx edi, al
mov rdx, qword [rbp - 0x31]
cmp rdx, 8
jb 0x140050226
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050221
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050221
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d6014
test dil, dil
jne 0x140050276
cmp qword [0x1401864e0], 0x10
cmovae r15, qword [0x1401864c8]
mov qword [rsp + 0x20], r15
mov rax, qword [0x1401864d8]
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
mov r8d, 0xc775
lea rdx, [0x140114fa0]
lea rcx, [rsp + 0x20]
call fcn.14004fda0
test al, al
je 0x140050c89
mov rsi, qword [0x140186548]
lea r15, [0x140186538]
mov rdi, r15
cmp qword [0x140186550], 0x10
cmovae rdi, qword [0x140186538]
call fcn.1400d59c4
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rbp - 0x49]
call fcn.140047e00
nop
lea rcx, [rbp - 0x49]
call fcn.140048990
movzx edi, al
mov rdx, qword [rbp - 0x31]
cmp rdx, 8
jb 0x140050306
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050301
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050301
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d6014
test dil, dil
jne 0x140050356
cmp qword [0x140186550], 0x10
cmovae r15, qword [0x140186538]
mov qword [rsp + 0x20], r15
mov rax, qword [0x140186548]
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
mov r8d, 0x2e09
lea rdx, [0x140112190]
lea rcx, [rsp + 0x20]
call fcn.14004fda0
test al, al
je 0x140050c89
mov r12d, 5
lea r13d, [r12 + 0x1a]
mov r15d, dword [reloc.WS2_32.dll_accept]
cmp byte [0x14018b2b0], 0
jne 0x140050b51
movups xmm0, xmmword [0x140126f48]
movups xmmword [rsp + 0x20], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x140050525
cmp r15d, 2
jl 0x1400504e5
movdqa xmm5, xmmword [0x140127ea0]
mov edx, ebx
movdqa xmm4, xmmword [0x140128040]
movd xmm6, r12d
movdqa xmm7, xmmword [0x140127ed0]
movd xmm8, r13d
movdqa xmm0, xmmword [str.9999999999999999]
movdqa xmmword [rbp - 0x59], xmm0
lea rcx, [rsp + 0x24]
mov r8d, dword [rbp - 0x59]
nop word [rax + rax]
movd xmm2, edx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140127f10]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140127f10]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x10
jl 0x1400503e0
jmp 0x140050525
lea r9, [rsp + 0x20]
mov r8d, ebx
nop dword [rax]
mov eax, 0x8fb823ef
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x39
add cl, r8b
xor byte [r9], cl
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x10
jl 0x1400504f0
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], rbx
mov qword [rbp - 0x31], rbx
lea rax, [rsp + 0x20]
mov r8, r14
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140050540
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x49]
call fcn.1400714e0
nop
movups xmm0, xmmword [0x140127070]
movups xmmword [rsp + 0x20], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x140050705
cmp r15d, 2
jl 0x1400506c5
movdqa xmm5, xmmword [0x140127ea0]
mov edx, ebx
movdqa xmm4, xmmword [0x140128040]
movd xmm6, r12d
movdqa xmm7, xmmword [0x140127ed0]
movd xmm8, r13d
movdqa xmm0, xmmword [str.9999999999999999]
movdqa xmmword [rbp - 0x59], xmm0
lea rcx, [rsp + 0x24]
mov r8d, dword [rbp - 0x59]
nop word [rax + rax]
movd xmm2, edx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140127f10]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140127f10]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x10
jl 0x1400505c0
jmp 0x140050705
lea r9, [rsp + 0x20]
mov r8d, ebx
nop dword [rax]
mov eax, 0x8fb823ef
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x39
add cl, r8b
xor byte [r9], cl
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x10
jl 0x1400506d0
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], rbx
mov qword [rbp - 0x11], rbx
lea rax, [rsp + 0x20]
nop dword [rax]
inc r14
cmp byte [rax + r14], 0
jne 0x140050720
mov r8, r14
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x29]
call fcn.1400714e0
nop
mov rsi, qword [rbp - 0x39]
lea rdi, [rbp - 0x49]
cmp qword [rbp - 0x31], 0x10
cmovae rdi, qword [rbp - 0x49]
call fcn.1400d59c4
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rbp - 0x79]
call fcn.140047e00
nop
lea rcx, [rbp - 0x79]
call fcn.140048990
movzx edi, al
mov rdx, qword [rbp - 0x61]
cmp rdx, 8
jb 0x1400507bd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400507b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400507b8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d6014
test dil, dil
je 0x1400507d6
lea rcx, [rbp - 0x49]
cmp qword [rbp - 0x31], 0x10
cmovae rcx, qword [rbp - 0x49]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov rsi, qword [rbp - 0x19]
lea rdi, [rbp - 0x29]
cmp qword [rbp - 0x11], 0x10
cmovae rdi, qword [rbp - 0x29]
call fcn.1400d59c4
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rbp - 0x79]
call fcn.140047e00
nop
lea rcx, [rbp - 0x79]
call fcn.140048990
movzx edi, al
mov rdx, qword [rbp - 0x61]
cmp rdx, 8
jb 0x140050857
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050852
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050852
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d6014
test dil, dil
je 0x140050870
lea rcx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0x10
cmovae rcx, qword [rbp - 0x29]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
lea rax, [rbp - 0x29]
cmp qword [rbp - 0x11], 0x10
cmovae rax, qword [rbp - 0x29]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp - 0x19]
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
mov r8d, 0x22588
lea rdx, [0x1400efc00]
lea rcx, [rsp + 0x20]
call fcn.14004fda0
test al, al
je 0x140050bfd
lea rax, [rbp - 0x49]
cmp qword [rbp - 0x31], 0x10
cmovae rax, qword [rbp - 0x49]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp - 0x39]
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
mov r8d, 0x4050
lea rdx, [0x140121720]
lea rcx, [rsp + 0x20]
call fcn.14004fda0
test al, al
je 0x140050bfd
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
movups xmm0, xmmword [0x140126b80]
movups xmmword [rbp - 0x79], xmm0
movups xmm1, xmmword [0x140126b90]
movups xmmword [rbp - 0x69], xmm1
psrldq xmm1, 0xf
movd eax, xmm1
test al, al
je 0x140050ab5
cmp r15d, 2
jl 0x140050a76
movdqa xmm5, xmmword [0x140127ea0]
mov edx, ebx
movdqa xmm4, xmmword [0x140128040]
movd xmm6, r12d
movdqa xmm7, xmmword [0x140127ed0]
movd xmm8, r13d
movdqa xmm0, xmmword [str.9999999999999999]
movdqa xmmword [rbp - 0x59], xmm0
lea rcx, [rbp - 0x75]
mov r8d, dword [rbp - 0x59]
movd xmm2, edx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140127f10]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140127f10]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x20
jl 0x140050971
jmp 0x140050ab5
lea r9, [rbp - 0x79]
mov r8d, ebx
nop dword [rax]
mov eax, 0x8fb823ef
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x39
add cl, r8b
xor byte [r9], cl
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x20
jl 0x140050a80
lea rcx, [rbp - 0x79]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x140050b06
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050b01
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050c2f
call fcn.1400d6014
mov qword [rbp - 0x19], rbx
mov qword [rbp - 0x11], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x29], 0
mov rdx, qword [rbp - 0x31]
cmp rdx, 0x10
jb 0x140050b51
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050b4c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050c7d
call fcn.1400d6014
mov eax, dword [str.ZVH_HZKTPX_]
mov dword [rbp - 0x59], eax
cmp byte [reloc.WLDAP32.dll_Ordinal_60], 0
je 0x140050cc1
cmp r15d, 2
jl 0x140050c8d
movdqa xmm3, xmmword [0x140127ea0]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x140128040]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x140128040]
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm3
movd xmm0, r12d
psrad xmm2, xmm0
movd xmm0, r13d
movdqa xmm1, xmm2
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x140127ed0]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140127f10]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.9999999999999999]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rbp - 0x59], xmm2
jmp 0x140050cc1
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x140050c3b
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050c36
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050c36
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d6014
mov qword [rbp - 0x19], rbx
mov qword [rbp - 0x11], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x29], 0
mov rdx, qword [rbp - 0x31]
cmp rdx, 0x10
jb 0x140050c89
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050c84
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050c84
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d6014
xor al, al
jmp 0x140050ccd
lea r8, [rbp - 0x59]
mov eax, 0x8fb823ef
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x39
add cl, bl
xor byte [r8], cl
inc ebx
lea r8, [r8 + 1]
cmp ebx, 4
jl 0x140050c91
lea rcx, [rbp - 0x59]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov al, 1
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.1400d5f90
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x59]
lea rcx, str.create_directories
call fcn.140048930
int3