Function at 0x140147580
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
lea rdi, [rsp + 0x30]
mov ecx, reloc.WS2_32.dll_sendto
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x90]
cmp qword [rsp + 0x90], 0
je 0x1401475c4
cmp dword [rsp + 0x98], 0
jne 0x1401475da
mov rax, qword [rsp + 0xa0]
mov qword [rax], 0
xor eax, eax
jmp 0x140147895
mov rax, qword [rsp + 0xa0]
cmp qword [rax], 0
jne 0x14014767d
imul eax, dword [rsp + 0x98], 3
cdq
and edx, 3
add eax, edx
sar eax, 2
add eax, 4
cdqe
mov r9d, 0x1d30
lea r8, [0x14055dd40]
mov edx, 1
mov rcx, rax
call fcn.1403ba980
mov rcx, qword [rsp + 0xa0]
mov qword [rcx], rax
mov rax, qword [rsp + 0xa0]
cmp qword [rax], 0
jne 0x14014767d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9d, 0xfe
mov r8d, 0x1d30
lea rdx, [0x14055dd90]
xor ecx, ecx
call fcn.14014da80
mov r8d, 0x1d30
lea rdx, [0x14055dde0]
lea rcx, [0x14055de28]
call fcn.140015e70
mov ecx, 0xfe
call fcn.14038e600
nop
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov r8d, 4
xor edx, edx
lea rcx, [rsp + 0x54]
call fcn.140410c60
nop
movsxd rax, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x30], rax
ja 0x140147877
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x64], 0
jmp 0x1401476ea
mov eax, dword [rsp + 0x64]
inc eax
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 4
jge 0x140147844
movsxd rax, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x30], rax
ja 0x140147844
mov byte [rsp + 0x40], 0
movsxd rax, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x30], rax
ja 0x1401477d9
movzx eax, byte [rsp + 0x40]
test eax, eax
jne 0x1401477d9
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
mov byte [rsp + 0x40], al
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
movzx eax, byte [rsp + 0x40]
cmp eax, 0x2b
jl 0x140147791
movzx eax, byte [rsp + 0x40]
cmp eax, 0x7a
jg 0x140147791
movzx eax, byte [rsp + 0x40]
sub eax, 0x2b
cdqe
lea rcx, str.___rstuvwxyz__________ABCDEFGHIJKLMNOPQRSTUVW______XYZ____abcdefghijklmnopq
movsx eax, byte [rcx + rax]
mov dword [rsp + 0x78], eax
jmp 0x140147799
mov dword [rsp + 0x78], 0
movzx eax, byte [rsp + 0x78]
mov byte [rsp + 0x40], al
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x1401477d4
movzx eax, byte [rsp + 0x40]
cmp eax, 0x24
jne 0x1401477bf
mov dword [rsp + 0x7c], 0
jmp 0x1401477cb
movzx eax, byte [rsp + 0x40]
sub eax, 0x3d
mov dword [rsp + 0x7c], eax
movzx eax, byte [rsp + 0x7c]
mov byte [rsp + 0x40], al
jmp 0x14014771b
movsxd rax, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x30], rax
ja 0x14014781b
mov eax, dword [rsp + 0x68]
inc eax
mov dword [rsp + 0x68], eax
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x140147819
movzx eax, byte [rsp + 0x40]
dec eax
movsxd rcx, dword [rsp + 0x64]
mov byte [rsp + rcx + 0x54], al
jmp 0x14014783f
movsxd rax, dword [rsp + 0x64]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 4
jae 0x14014782f
jmp 0x140147835
call fcn.14037c0a0
nop
mov rax, qword [rsp + 0x70]
mov byte [rsp + rax + 0x54], 0
jmp 0x1401476e0
cmp dword [rsp + 0x68], 0
je 0x140147872
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x54]
call fcn.140151300
mov eax, dword [rsp + 0x68]
dec eax
cdqe
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
jmp 0x1401476ad
mov rax, qword [rsp + 0x38]
mov byte [rax], 0
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_accept
call fcn.14037c300
mov rax, rdi
add rsp, 0x80
pop rdi
ret