Function at 0x140013f00
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1170]
mov eax, 0x1270
call fcn.14001c270
sub rsp, rax
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x12a0], rbx
mov qword [rsp + 0x12a8], rsi
mov qword [rsp + 0x12b0], rdi
mov rax, qword [0x14008f088]
xor rax, rsp
mov qword [rbp + 0x1160], rax
mov qword [rsp + 0x40], rcx
xor edi, edi
mov r13d, edi
xor edx, edx
mov r8d, 0x1000
lea rcx, [rsp + 0x50]
call fcn.14001ead0
mov dword [rsp + 0x20], edi
lea r8, [rsp + 0x20]
mov edx, 0x410
lea rcx, [rsp + 0x50]
call sub.api_ms_win_core_psapi_l1_1_0.dll_K32EnumProcesses
test eax, eax
jne 0x140013fbc
lea rcx, str.enum_process_fail
call fcn.140010f80
lea r9, [0x140090270]
mov r8d, 0x117
lea rdx, str.FindProcess
lea rcx, str.__hs_____d_:_____s
call fcn.140011770
xor al, al
jmp 0x1400141cb
mov r12d, dword [rsp + 0x20]
shr r12d, 2
movups xmm0, xmmword [0x1400748e8]
movaps xmmword [rbp + 0xf50], xmm0
mov eax, dword [0x1400748f8]
mov dword [rbp + 0xf60], eax
xor edx, edx
mov r8d, 0x1f4
lea rcx, [rbp + 0xf64]
call fcn.14001ead0
mov r14d, edi
test r12d, r12d
je 0x1400141c5
lea r15, [rsp + 0x50]
nop dword [rax]
nop dword [rax + rax]
mov r8d, dword [r15]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_1.dll_OpenProcess]
mov rsi, rax
lea r9, [rsp + 0x38]
mov r8d, 8
lea rdx, [rsp + 0x30]
mov rcx, rax
call sub.api_ms_win_core_psapi_l1_1_0.dll_K32EnumProcessModules
test eax, eax
je 0x1400141b5
mov r9d, 0x104
lea r8, [rbp + 0xf50]
mov rdx, qword [rsp + 0x30]
mov rcx, rsi
call sub.api_ms_win_core_psapi_l1_1_0.dll_K32GetModuleBaseNameW
call fcn.140002de0
test rax, rax
je 0x140014206
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xf50]
cmp rax, 0x10000
jae 0x1400140a2
lea rax, [rbp + 0xf50]
movzx edx, ax
lea rcx, [rsp + 0x28]
call fcn.140002fb0
jmp 0x1400140cf
lea rcx, [rbp + 0xf50]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400140b0
mov r8d, eax
lea rdx, [rbp + 0xf50]
lea rcx, [rsp + 0x28]
call fcn.140005cc0
nop
mov rbx, qword [rsp + 0x28]
movsxd rdi, dword [rbx - 0x10]
test edi, edi
js 0x1400141fb
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x140014102
mov edx, edi
lea rcx, [rsp + 0x28]
call fcn.140003ce0
mov rbx, qword [rsp + 0x28]
lea eax, [rdi + 1]
movsxd rdx, eax
mov rcx, rbx
call fcn.14004311c
cmp edi, dword [rbx - 0xc]
jg 0x140014211
mov dword [rbx - 0x10], edi
mov rax, rdi
xor edi, edi
mov word [rbx + rax*2], di
mov rax, rbx
mov r8, qword [rsp + 0x40]
sub r8, rbx
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140014144
add rax, 2
test ecx, ecx
jne 0x140014130
test edx, edx
jne 0x14001417a
lea rcx, str.process_exist
call fcn.140010f80
lea r9, [0x140090270]
mov r8d, 0x130
lea rdx, str.FindProcess
lea rcx, str.__hs_____d_:_____s
call fcn.140011770
mov r13d, 1
cmp rsi, 0xffffffffffffffff
je 0x140014199
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov qword [rsp + 0x30], rdi
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400141b5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
inc r14d
add r15, 4
cmp r14d, r12d
jb 0x140014010
test r13d, r13d
setne al
mov rcx, qword [rbp + 0x1160]
xor rcx, rsp
call fcn.14001c180
lea r11, [rsp + 0x1270]
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
mov ecx, 0x80070057
call fcn.140002520
nop
mov ecx, 0x80004005
call fcn.140002520
nop
mov ecx, 0x80070057
call fcn.140002520
int3