Function at 0x14010fc80
Capabilities:
Create thread
Enumerate process modules

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3f8]
sub rsp, 0x4f8
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [rsp + 0x58], xmm0
xor r12d, r12d
mov qword [rsp + 0x68], r12
xor edx, edx
mov r8d, 0x434
lea rcx, [rbp - 0x4c]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x50], 0x238
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
lea ecx, [rdx + 8]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
lea rdx, [rbp - 0x50]
mov rcx, rax
call sub.KERNEL32.dll_Module32FirstW
mov rsi, qword [rsp + 0x60]
test eax, eax
je 0x14010fd32
nop
cmp rsi, r12
je 0x14010fd07
mov rax, qword [rbp - 0x38]
mov qword [rsi], rax
add rsi, 8
mov qword [rsp + 0x60], rsi
jmp 0x14010fd22
lea r8, [rbp - 0x38]
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.1400c0870
mov r12, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
lea rdx, [rbp - 0x50]
mov rcx, rbx
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x14010fcf0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [rsp + 0x40], xmm0
xor r13d, r13d
mov qword [rsp + 0x50], r13
mov rbx, rsi
mov r15, qword [rsp + 0x58]
sub rbx, r15
sar rbx, 3
mov qword [rbp + 0x440], rbx
test rbx, rbx
je 0x14010fd91
movabs rax, 0xfffffffffffffff
cmp rbx, rax
ja 0x140110145
lea rdx, [rbp + 0x440]
lea rcx, [rsp + 0x40]
call fcn.1400c14f0
mov r13, qword [rsp + 0x50]
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [rsp + 0x70], xmm0
xor ecx, ecx
mov qword [rbp + 0x448], rcx
mov qword [rbp - 0x80], rcx
mov qword [rbp + 0x440], rbx
test rbx, rbx
je 0x14010fde3
movabs rax, 0xaaaaaaaaaaaaaaa
cmp rbx, rax
ja 0x14011014b
lea rdx, [rbp + 0x440]
lea rcx, [rsp + 0x70]
call fcn.1400c1460
mov rax, qword [rbp - 0x80]
mov qword [rbp + 0x448], rax
mov rax, r15
mov qword [rbp + 0x458], rax
mov r14, qword [rsp + 0x48]
cmp r15, rsi
je 0x14010ffc0
mov ebx, dword [rsp + 0x3c]
mov r15, qword [rsp + 0x78]
mov rdi, qword [rax]
mov rcx, rdi
call qword [sym.imp.imagehlp.dll_ImageNtHeader]
lea rdx, [rax + 0x108]
xor r8d, r8d
movzx r9d, word [rax + 6]
test r9d, r9d
je 0x14010fe6d
lea r10, [0x1401bbb78]
nop dword [rax + rax]
xor eax, eax
movzx ecx, byte [rdx + rax]
inc rax
cmp cl, byte [r10 + rax - 1]
jne 0x14010fe61
cmp rax, 6
jne 0x14010fe32
mov r9d, dword [rdx + 0xc]
add r9, rdi
mov qword [rbp + 0x450], r9
mov r10d, dword [rdx + 0x10]
mov dword [rbp + 0x440], r10d
jmp 0x14010fe7b
add rdx, 0x28
inc r8d
cmp r8d, r9d
jl 0x14010fe30
mov r10d, dword [rbp + 0x440]
mov r9, qword [rbp + 0x450]
xor edx, edx
mov rcx, r9
test r10d, r10d
je 0x14010fea2
mov r8d, r10d
movzx eax, byte [rcx]
test al, al
je 0x14010fe99
imul rdx, rdx, 0x1003f
add rdx, rax
inc rcx
sub r8, 1
jne 0x14010fe88
mov qword [rbp - 0x78], rdx
mov qword [rbp - 0x70], r9
mov dword [rbp - 0x68], r10d
mov dword [rbp - 0x64], ebx
cmp r15, qword [rbp + 0x448]
je 0x14010feda
vmovups xmm0, xmmword [rbp - 0x78]
vmovups xmmword [r15], xmm0
vmovsd xmm1, qword [rbp - 0x68]
vmovsd qword [r15 + 0x10], xmm1
add r15, 0x18
mov qword [rsp + 0x78], r15
jmp 0x14010fefb
lea r8, [rbp - 0x78]
mov rdx, r15
lea rcx, [rsp + 0x70]
call fcn.1400c0e30
mov rax, qword [rbp - 0x80]
mov qword [rbp + 0x448], rax
mov r15, qword [rsp + 0x78]
lea rdi, [r15 - 0x18]
mov ecx, reloc.WS2_32.dll_recv
call fcn.14019eb90
test rax, rax
je 0x14010ff1c
mov qword [rax], rdi
lea rcx, [0x1400d6ec0]
mov qword [rax + 8], rcx
mov qword [rbp - 0x60], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400c1400]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140110151
cmp r14, r13
je 0x14010ff79
vpxor xmm0, xmm0, xmm0
vmovups xmm1, xmmword [rsp + 0x30]
vmovdqa xmmword [rsp + 0x30], xmm0
vmovups xmmword [r14], xmm1
add r14, 0x10
mov qword [rsp + 0x48], r14
jmp 0x14010ff95
lea r8, [rsp + 0x30]
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.1400c0fe0
mov r13, qword [rsp + 0x50]
mov r14, qword [rsp + 0x48]
cmp dword [rsp + 0x38], 0
jne 0x14011007a
mov rax, qword [rbp + 0x458]
add rax, 8
mov qword [rbp + 0x458], rax
cmp rax, rsi
jne 0x14010fe04
mov r15, qword [rsp + 0x58]
mov byte [0x1402ef9e1], 1
mov rdi, qword [rsp + 0x40]
mov rbx, rdi
cmp rdi, r14
je 0x14011001b
cmp dword [rbx + 8], 0
je 0x14011013a
call sub.MSVCP140.dll__Thrd_id
cmp dword [rbx + 8], eax
je 0x14011016f
vmovups xmm0, xmmword [rbx]
vmovups xmmword [rsp + 0x30], xmm0
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.MSVCP140.dll__Thrd_join
test eax, eax
jne 0x140110164
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbx], xmm0
add rbx, 0x10
cmp rbx, r14
jne 0x14010ffd4
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140110087
mov rdx, qword [rbp + 0x448]
sub rdx, rcx
movabs rax, 0x2aaaaaaaaaaaaaab
imul rdx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 3
mov rax, rcx
cmp rdx, 0x1000
jb 0x140110081
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140110081
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
call fcn.14019ebcc
nop
test rdi, rdi
je 0x1401100e5
mov rax, rdi
cmp rdi, r14
je 0x1401100a3
cmp dword [rax + 8], 0
jne 0x1401100d2
add rax, 0x10
cmp rax, r14
jne 0x140110094
sub r13, rdi
and r13, 0xfffffffffffffff0
mov rax, rdi
cmp r13, 0x1000
jb 0x1401100d9
add r13, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401100d9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov rdx, r13
mov rcx, rdi
call fcn.14019ebcc
nop
test r15, r15
je 0x140110124
sub r12, r15
and r12, 0xfffffffffffffff8
mov rax, r15
cmp r12, 0x1000
jb 0x140110119
add r12, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140110119
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, r12
mov rcx, r15
call fcn.14019ebcc
xor eax, eax
add rsp, 0x4f8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
call fcn.14010cb50
nop
call fcn.14010cb50
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov ecx, 2
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
mov ecx, 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3