Function at 0x140001c50
Capabilities:
Acquire debug privileges

Disassembly:
mov rax, rsp
push r14
push r15
sub rsp, 0x58
mov qword [rax + 0x20], rbx
xor r15d, r15d
mov qword [rax - 0x18], rbp
mov r14d, r15d
mov qword [rax - 0x28], rdi
mov qword [rax + 0x10], r15
mov qword [rax + 8], r15
call fcn.140001c00
movsx ebx, al
call fcn.140001bf0
movsx ecx, al
imul ebx, ecx
call fcn.140001c30
movsx edi, al
xor edx, edx
movsx eax, byte [0x1400754c1]
movsx ecx, byte [0x1400754c0]
lea ebp, [rdi + rbx]
add eax, ebp
div ecx
movsx ecx, byte [0x1400754c3]
cmp eax, ecx
je 0x140001ff3
mov qword [rsp + 0x48], rsi
call qword [0x140063070]
lea r8, [rsp + 0x78]
mov edx, 0x20
mov rcx, rax
call qword [0x140063008]
xor edx, edx
mov esi, 5
movd xmm2, eax
movsx eax, byte [0x1400754c2]
cvtdq2pd xmm2, xmm2
movd xmm1, eax
movsx eax, byte [0x1400754c4]
cvtdq2pd xmm1, xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm2
movsd qword [rsp + 0x80], xmm1
movsx eax, byte [0x1400754c1]
movsx ecx, byte [0x1400754c0]
add eax, ebp
div ecx
movsx ecx, byte [0x1400754c3]
cmp eax, ecx
je 0x140001d73
call fcn.140001c10
movsx edx, al
movsx eax, byte [0x140076b00]
imul edx, eax
lea r8d, [rdx + rdx*4]
add r8d, r8d
call fcn.140001c40
movsx ecx, al
sub r8d, ecx
call fcn.140001c20
movsx ecx, al
add r8d, ecx
movsx ecx, byte [0x1400754c4]
add ecx, r8d
je 0x140001d73
mov r9d, esi
jmp 0x140001dd1
movsx eax, byte [0x1400754c1]
xor edx, edx
imul ecx, ebx, 7
add ecx, edi
add eax, ecx
movsx ecx, byte [0x1400754c0]
div ecx
movsx ecx, byte [0x1400754c3]
cmp eax, ecx
je 0x140001dcc
movsx eax, byte [0x1400754c1]
xor edx, edx
movsx ecx, byte [0x1400754c0]
add eax, ebp
div ecx
movsx ecx, byte [0x1400754c3]
xorps xmm0, xmm0
sub eax, ecx
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x80]
cvttsd2si r9d, xmm0
jmp 0x140001dd1
mov r9d, dword [rsp + 0x70]
movsx eax, byte [0x1400754c1]
xor edx, edx
movsx ecx, byte [0x1400754c0]
add eax, edi
lea eax, [rax + rbx*2]
div ecx
movsx ecx, byte [0x1400754c3]
sub eax, ecx
imul eax, r9d
test eax, eax
je 0x140001fee
movsx eax, byte [0x1400754c1]
xor edx, edx
movsx ecx, byte [0x1400754c0]
add eax, edi
lea eax, [rax + rbx*8]
div ecx
movsx ecx, byte [0x1400754c3]
cmp eax, ecx
je 0x140001fee
lea r8, [rsp + 0x70]
xor ecx, ecx
lea rdx, str.SeDebugPrivilege
call qword [0x140063018]
xor edx, edx
movd xmm2, eax
movsx eax, byte [0x1400754c2]
cvtdq2pd xmm2, xmm2
movd xmm1, eax
movsx eax, byte [0x1400754c4]
cvtdq2pd xmm1, xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm2
movsd qword [rsp + 0x80], xmm1
movsx eax, byte [0x1400754c1]
movsx ecx, byte [0x1400754c0]
add eax, ebp
div ecx
movsx ecx, byte [0x1400754c3]
cmp eax, ecx
je 0x140001ed0
call fcn.140001c10
movsx edx, al
movsx eax, byte [0x140076b00]
imul edx, eax
lea r8d, [rdx + rdx*4]
add r8d, r8d
call fcn.140001c40
movsx ecx, al
sub r8d, ecx
call fcn.140001c20
movsx ecx, al
add r8d, ecx
movsx ecx, byte [0x1400754c4]
add ecx, r8d
jne 0x140001f69
call fcn.140001c00
movsx edx, al
call fcn.140001bf0
movsx ecx, al
imul edx, ecx
imul r9d, edx, 7
call fcn.140001c30
movsx ecx, byte [0x1400754c1]
xor edx, edx
movsx eax, al
add eax, r9d
add eax, ecx
movsx ecx, byte [0x1400754c0]
div ecx
movsx ecx, byte [0x1400754c3]
cmp eax, ecx
je 0x140001f65
call fcn.140001c00
movsx r9d, al
call fcn.140001bf0
movsx ecx, al
imul r9d, ecx
call fcn.140001c30
movsx ecx, byte [0x1400754c1]
xor edx, edx
movsx eax, al
xorps xmm0, xmm0
add eax, r9d
add eax, ecx
movsx ecx, byte [0x1400754c0]
div ecx
movsx ecx, byte [0x1400754c3]
sub eax, ecx
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x80]
cvttsd2si esi, xmm0
jmp 0x140001f69
mov esi, dword [rsp + 0x70]
call fcn.140001c00
movsx edx, al
call fcn.140001bf0
movsx ecx, al
imul edx, ecx
lea r9d, [rdx + rdx*2]
call fcn.140001c30
movsx ecx, byte [0x1400754c1]
xor edx, edx
movsx eax, al
add eax, r9d
add eax, ecx
movsx ecx, byte [0x1400754c0]
div ecx
movsx ecx, byte [0x1400754c3]
sub eax, ecx
imul eax, esi
test eax, eax
je 0x140001fee
mov rax, qword [rsp + 0x70]
lea r8, [rsp + 0x30]
mov rcx, qword [rsp + 0x78]
mov r9d, reloc.WS2_32.dll_recv
mov qword [rsp + 0x28], r15
xor edx, edx
mov qword [rsp + 0x34], rax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x3c], 2
mov qword [rsp + 0x20], r15
call qword [section..rdata]
mov r14d, eax
mov rsi, qword [rsp + 0x48]
call fcn.140001c00
movsx edx, al
call fcn.140001bf0
movsx ecx, al
imul edx, ecx
call fcn.140001c30
movsx ecx, al
xorps xmm2, xmm2
lea eax, [rcx + rdx*4]
movsx ecx, byte [0x1400754c1]
add eax, ecx
xor edx, edx
movsx ecx, byte [0x1400754c0]
div ecx
movsx ecx, byte [0x1400754c3]
sub eax, ecx
cvtsi2sd xmm2, rax
movsx eax, byte [0x1400754c2]
movd xmm1, eax
movsx eax, byte [0x1400754c4]
cvtdq2pd xmm1, xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm2
movsd qword [rsp + 0x70], xmm1
call fcn.140001c00
movsx r9d, al
call fcn.140001bf0
movsx ecx, al
imul r9d, ecx
call fcn.140001c30
movsx ecx, byte [0x1400754c1]
xor edx, edx
mov rdi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x88]
movsx eax, al
add eax, r9d
add eax, ecx
movsx ecx, byte [0x1400754c0]
div ecx
movsx ecx, byte [0x1400754c3]
cmp eax, ecx
je 0x1400020f6
call fcn.140001c10
movsx edx, al
movsx eax, byte [0x140076b00]
imul edx, eax
lea r8d, [rdx + rdx*4]
add r8d, r8d
call fcn.140001c40
movsx ecx, al
sub r8d, ecx
call fcn.140001c20
movsx ecx, al
add r8d, ecx
movsx ecx, byte [0x1400754c4]
add ecx, r8d
jne 0x140002191
call fcn.140001c00
movsx edx, al
call fcn.140001bf0
movsx ecx, al
imul edx, ecx
imul r9d, edx, 7
call fcn.140001c30
movsx ecx, byte [0x1400754c1]
xor edx, edx
movsx eax, al
add eax, r9d
add eax, ecx
movsx ecx, byte [0x1400754c0]
div ecx
movsx ecx, byte [0x1400754c3]
cmp eax, ecx
je 0x140002188
call fcn.140001c00
movsx r9d, al
call fcn.140001bf0
movsx ecx, al
imul r9d, ecx
call fcn.140001c30
movsx ecx, byte [0x1400754c1]
xor edx, edx
movsx eax, al
xorps xmm0, xmm0
add eax, r9d
add eax, ecx
movsx ecx, byte [0x1400754c0]
div ecx
movsx ecx, byte [0x1400754c3]
sub eax, ecx
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x70]
cvttsd2si eax, xmm0
jmp 0x14000218c
mov eax, dword [rsp + 0x70]
cmp r15d, eax
jge 0x140002194
mov eax, r14d
add rsp, 0x58
pop r15
pop r14
ret