Function at 0x14000d910
Capabilities:
Enumerate process modules
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x4a0
mov rax, qword [0x140034180]
xor rax, rsp
mov qword [rsp + 0x490], rax
mov r15, r8
mov qword [rsp + 0x30], rcx
mov rsi, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x54]
mov r8d, 0x434
call sub.VCRUNTIME140.dll_memset
mov rcx, rdi
mov dword [rsp + 0x50], 0x438
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov edx, eax
mov ecx, 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14000d9be
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x18
jne 0x14000db95
nop dword [rax]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov edx, eax
mov ecx, 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14000d9be
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x18
je 0x14000d990
jmp 0x14000db95
lea rdx, [rsp + 0x50]
mov rcx, rbx
call sub.KERNEL32.dll_Module32FirstW
mov edi, eax
nop dword [rax]
lea rdx, [rsp + 0x80]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14000d9f8
lea rdx, [rsp + 0x50]
mov rcx, rbx
call sub.KERNEL32.dll_Module32NextW
mov edi, eax
test eax, eax
jne 0x14000d9d0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x14000db95
mov rbp, qword [rsp + 0x78]
test rbp, rbp
je 0x14000db95
mov ecx, 0x1000
call fcn.140025c04
mov rsi, rax
test rax, rax
je 0x14000db95
mov rcx, qword [rsp + 0x30]
mov r9d, 0x1000
mov r8, rax
mov qword [rsp + 0x20], 0
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14000db8d
movsxd r14, dword [rsi + 0x3c]
add r14, 0x88
add r14, rsi
mov eax, dword [r14 + 4]
test eax, eax
je 0x14000db8d
mov ecx, eax
call fcn.140025c04
mov rdi, rax
test rax, rax
je 0x14000db8d
mov edx, dword [r14]
mov r8, rax
mov r9d, dword [r14 + 4]
add rdx, rbp
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14000db85
mov eax, dword [r14]
mov r11, rdi
sub r11, rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov rax, r15
and eax, 0xffffff
mov qword [rsp + 0x38], r11
cmp rax, 0xffff
ja 0x14000db26
sub r15w, word [rdi + 0x10]
mov ecx, dword [rdi + 0x1c]
inc r15w
add rcx, r11
movzx edx, r15w
mov ebx, dword [rcx + rdx*4]
mov rcx, rdi
call fcn.140025bfc
mov rcx, rsi
call fcn.140025bfc
mov ecx, dword [r14]
cmp ebx, ecx
jb 0x14000db20
add ecx, dword [r14 + 4]
cmp ebx, ecx
jae 0x14000db20
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.14000d590
jmp 0x14000db97
lea rax, [rbx + rbp]
jmp 0x14000db97
mov r9d, dword [rdi + 0x18]
mov r12d, dword [rdi + 0x20]
dec r9d
xor r10d, r10d
nop dword [rax]
nop dword [rax + rax]
lea r8d, [r10 + r9]
mov rdx, r15
shr r8d, 1
lea rax, [r12 + r8*4]
mov ecx, dword [rax + r11]
add rcx, r11
sub rdx, rcx
movzx eax, byte [rcx]
cmp al, byte [rcx + rdx]
jne 0x14000db6b
inc rcx
test al, al
jne 0x14000db58
xor eax, eax
jmp 0x14000db70
sbb eax, eax
or eax, 1
test eax, eax
jns 0x14000db7a
lea r10d, [r8 + 1]
jmp 0x14000db80
jle 0x14000dbb9
lea r9d, [r8 - 1]
cmp r10d, r9d
jbe 0x14000db40
mov rcx, rdi
call fcn.140025bfc
mov rcx, rsi
call fcn.140025bfc
xor eax, eax
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.140025ba0
add rsp, 0x4a0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, dword [rdi + 0x24]
add rcx, r11
movzx edx, word [rcx + r8*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r11
mov ebx, dword [rcx + rdx*4]
mov rcx, rdi
call fcn.140025bfc
mov rcx, rsi
call fcn.140025bfc
test ebx, ebx
je 0x14000db95
jmp 0x14000db03