Function at 0x14003a740
Capabilities:
Enumerate process modules
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x5b8
mov rsi, rcx
mov rax, qword [rcx]
cmp byte [rax], 0
jne 0x14003a76f
mov rcx, qword [rsi + 8]
cmp qword [rcx], 0x64
jbe 0x14003a76f
xor eax, eax
jmp 0x14003ae27
mov byte [rsp + 0x4e], 0
mov rdi, qword [rsi + 0x10]
mov r15, qword [rsi + 0x18]
mov r13, qword [rsi + 0x20]
lea rcx, [rsp + 0x4e]
mov qword [rsp + 0x118], rcx
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x128], rdi
mov qword [rsp + 0x130], r15
mov qword [rsp + 0x138], r13
mov qword [rsp + 0x140], rdx
mov r12, qword [rdx + 8]
cmp qword [0x14004e168], 0
jne 0x14003ad8e
movzx eax, byte [0x14004e1d0]
mov ecx, 0x3c0
mov edx, 8
call fcn.140005c50
test rax, rax
je 0x14003ae3b
mov qword [rsp + 0x110], rdi
mov qword [rsp + 0x148], rax
mov qword [rsp + 0x150], 4
mov qword [rsp + 0x158], 0
mov qword [rsp + 0x90], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x98], xmm0
mov ecx, 8
xor edx, edx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp rax, 0xffffffffffffffff
je 0x14003ac2f
mov rbx, rax
mov qword [rsp + 0xf8], r13
mov qword [rsp + 0x100], r12
mov qword [rsp + 0x108], r15
lea rdi, [rsp + 0x180]
mov r8d, 0x438
mov rcx, rdi
xor edx, edx
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov dword [rsp + 0x180], 0x438
mov rcx, rbx
mov rdx, rdi
call sub.KERNEL32.dll_Module32FirstW
cmp eax, 1
jne 0x14003ac0f
lea r12, [rsp + 0x5b8]
mov eax, 8
mov qword [rsp + 0xb8], rax
xor eax, eax
mov qword [rsp + 0xc0], rax
lea r13, [rsp + 0x180]
jmp 0x14003a934
mov rcx, qword [rsp + 0x90]
mov rdx, qword [rsp + 0xa0]
mov rax, rdx
shl rax, 6
movups xmm0, xmmword [rsp + 0x50]
movups xmm1, xmmword [rsp + 0x60]
movups xmm2, xmmword [rsp + 0x70]
movups xmm3, xmmword [rsp + 0x80]
movups xmmword [rcx + rax + 0x30], xmm3
movups xmmword [rcx + rax + 0x20], xmm2
movups xmmword [rcx + rax + 0x10], xmm1
mov qword [rsp + 0xb8], rcx
movups xmmword [rcx + rax], xmm0
inc rdx
mov rax, rdx
mov qword [rsp + 0xc0], rdx
mov qword [rsp + 0xa0], rdx
nop word cs:[rax + rax]
mov rcx, rbx
mov rdx, r13
call sub.KERNEL32.dll_Module32NextW
cmp eax, 1
jne 0x14003ac0f
xor r8d, r8d
nop word [rax + rax]
cmp word [rsp + r8*2 + 0x3b0], 0
je 0x14003a9a0
lea rax, [rsp + r8*2]
add rax, 0x3b0
cmp word [rax + 2], 0
je 0x14003a987
cmp word [rax + 4], 0
je 0x14003a98c
cmp word [rax + 6], 0
je 0x14003a992
cmp word [rax + 8], 0
je 0x14003a998
add r8, 5
add rax, 0xa
cmp rax, r12
jne 0x14003a940
mov r8d, 0x104
jmp 0x14003a9a0
inc r8
jmp 0x14003a9a0
add r8, 2
jmp 0x14003a9a0
add r8, 3
jmp 0x14003a9a0
add r8, 4
nop dword [rax]
lea rcx, [rsp + 0x160]
lea rdx, [rsp + 0x3b0]
call fcn.14001e0b0
mov rbp, qword [rsp + 0x160]
mov rdi, qword [rsp + 0x170]
lea rcx, [rsp + 0xc8]
mov rdx, rbp
mov r8, rdi
call fcn.14001f240
cmp qword [rsp + 0xc8], 0
je 0x14003aaa0
mov r14, qword [rsp + 0xd0]
mov r15, qword [rsp + 0xd8]
mov rax, qword [rsp + 0xe0]
cmp rax, 0x40
jb 0x14003aa90
test r15, r15
je 0x14003aa90
movzx ecx, word [r15]
cmp ecx, 0x5a4d
jne 0x14003aa90
mov edx, dword [r15 + 0x3c]
mov rcx, rax
sub rcx, rdx
setb r8b
lea r9, [r15 + rdx]
cmp rcx, 0x88
setb cl
or cl, r8b
mov ecx, 0
cmove rcx, r9
jne 0x14003aa90
cmp dword [rcx], 0x4550
jne 0x14003aa90
movzx r8d, word [rcx + 0x18]
cmp r8d, 0x20b
jne 0x14003aa90
movzx r8d, word [rcx + 0x14]
cmp r8, 0x70
jb 0x14003aa90
add rdx, 0x88
sub rax, rdx
jb 0x14003aa90
add r8, 0xffffffffffffff90
cmp rax, r8
jb 0x14003aa90
mov eax, dword [rcx + 0x84]
shl rax, 3
cmp rax, r8
jbe 0x14003aac1
nop dword [rax]
mov rcx, r15
call sub.KERNEL32.dll_UnmapViewOfFile
mov rcx, r14
call sub.KERNEL32.dll_CloseHandle
cmp qword [rsp + 0x168], 0
je 0x14003a920
mov edx, 1
mov rcx, rbp
call fcn.140005ce0
jmp 0x14003a920
mov rax, qword [rcx + 0x30]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0xa8], rax
movzx eax, byte [0x14004e1d0]
mov ecx, 0x10
mov edx, 8
call fcn.140005c50
test rax, rax
je 0x14003ae4c
mov edx, dword [rsp + 0x1a0]
mov rcx, qword [rsp + 0xb0]
mov qword [rax], rcx
mov qword [rsp + 0xe8], rax
mov qword [rax + 8], rdx
movzx eax, byte [rsp + 0x178]
mov byte [rsp + 0x4f], al
lea rcx, [rsp + 0x179]
mov eax, dword [rcx]
mov ecx, dword [rcx + 3]
mov dword [rsp + 0xc8], eax
mov dword [rsp + 0xcb], ecx
mov rcx, r15
call sub.KERNEL32.dll_UnmapViewOfFile
mov rcx, r14
call sub.KERNEL32.dll_CloseHandle
movzx ecx, byte [rsp + 0x4f]
cmp cl, 2
je 0x14003a920
mov rax, qword [rsp + 0xf0]
sub rax, qword [rsp + 0xb0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 1
mov qword [rsp + 0x68], 1
mov qword [rsp + 0x70], rbp
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rdi
mov byte [rsp + 0x88], cl
mov eax, dword [rsp + 0xc8]
mov ecx, dword [rsp + 0xcb]
lea rdx, [rsp + 0x89]
mov dword [rdx + 3], ecx
mov dword [rdx], eax
mov rdx, qword [rsp + 0xc0]
cmp rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xb8]
jne 0x14003a8c6
lea rcx, [rsp + 0x90]
call fcn.14001f4d0
jmp 0x14003a8b6
mov rcx, rbx
call sub.KERNEL32.dll_CloseHandle
mov r15, qword [rsp + 0x108]
mov r12, qword [rsp + 0x100]
mov r13, qword [rsp + 0xf8]
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x190], rax
movups xmm0, xmmword [rsp + 0x90]
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x1a8], rax
movups xmm1, xmmword [rsp + 0x148]
movups xmmword [rsp + 0x198], xmm1
movaps xmmword [rsp + 0x50], xmm0
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0x78], rax
mov rdi, qword [0x14004e168]
test rdi, rdi
je 0x14003ad62
mov rbx, qword [0x14004e178]
test rbx, rbx
je 0x14003ad04
lea r14, [rdi + 0x28]
jmp 0x14003acd9
add r14, 0x40
dec rbx
je 0x14003ad04
cmp qword [r14], 0
je 0x14003aced
mov rcx, qword [r14 - 8]
mov edx, 1
call fcn.140005ce0
cmp qword [r14 - 0x18], 0
je 0x14003acd0
mov rcx, qword [r14 - 0x20]
mov edx, 8
call fcn.140005ce0
jmp 0x14003acd0
cmp qword [0x14004e170], 0
je 0x14003ad1b
mov edx, 8
mov rcx, rdi
call fcn.140005ce0
mov rdi, qword [0x14004e180]
mov r14, qword [0x14004e190]
inc r14
mov rbx, rdi
nop
cmp r14, 1
je 0x14003ad4b
lea rcx, [rbx + 8]
add rbx, 0xf0
dec r14
call fcn.14001f700
jmp 0x14003ad30
cmp qword [0x14004e188], 0
je 0x14003ad62
mov edx, 8
mov rcx, rdi
call fcn.140005ce0
movaps xmm0, xmmword [rsp + 0x50]
movaps xmm1, xmmword [rsp + 0x60]
movaps xmm2, xmmword [rsp + 0x70]
movups xmmword [0x14004e188], xmm2
movups xmmword [0x14004e178], xmm1
movups xmmword [0x14004e168], xmm0
mov rdi, qword [rsp + 0x110]
xor ecx, ecx
mov rax, r12
sub rax, 1
cmovae rcx, rax
lea rdx, [rsp + 0x118]
call fcn.14001f830
cmp byte [rsp + 0x4e], 0
jne 0x14003ae19
cmp byte [rdi], 0
je 0x14003ae19
mov qword [rsp + 0x118], r13
mov qword [rsp + 0x120], 0
mov qword [rsp + 0x180], 3
mov qword [rsp + 0x50], 2
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x118]
lea r8, [rsp + 0x180]
lea r9, [rsp + 0x50]
mov rdx, r12
call fcn.1400375f0
mov byte [r15], al
mov rax, qword [rsp + 0x118]
inc qword [rax + 0x18]
mov rax, qword [rsi + 8]
inc qword [rax]
cmp byte [r15], 0
sete al
add rsp, 0x5b8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 8
mov edx, 0x3c0
call fcn.140006280
ud2
mov ecx, 8
mov edx, 0x10
call fcn.140006280
ud2