Function at 0x418100
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
movaps xmmword [rsp + 0x5a0], xmm6
mov rsi, rcx
mov qword [rsp + 0x70], rdx
mov rax, qword [rcx]
cmp byte [rax], 0
jne 0x418139
mov rcx, qword [rsi + 8]
cmp qword [rcx], 0x64
ja 0x418740
mov byte [rsp + 0x4e], 0
mov byte [rsp + 0x4f], 0
mov rbx, qword [rsi + 0x10]
mov rdi, qword [rsi + 0x18]
mov rbp, qword [rsi + 0x20]
lea rcx, [rsp + 0x4e]
mov qword [rsp + 0x128], rcx
mov qword [rsp + 0x130], rax
mov qword [rsp + 0xe8], rbx
mov qword [rsp + 0x138], rbx
lea rax, [rsp + 0x4f]
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x148], rdi
mov qword [rsp + 0x150], rbp
lea rax, [rsp + 0x70]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x128]
mov qword [rsp + 0x118], rax
lea rax, [0x004403c0]
mov qword [rsp + 0x120], rax
mov rax, qword [rdx + 8]
xor ecx, ecx
sub rax, 1
cmovae rcx, rax
mov qword [rsp + 0xf0], rcx
lea rax, [rsp + 0x118]
mov qword [rsp + 0xf8], rax
cmp qword [0x00447160], 0
jne 0x418724
mov ecx, 0x3c0
mov edx, 8
call fcn.00408300
mov qword [rsp + 0xe0], rax
test rax, rax
je 0x4187f6
mov qword [rsp + 0xd8], rdi
mov rbx, qword [0x0043ee30]
mov qword [rsp + 0x78], rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x80], xmm0
mov ecx, 8
xor edx, edx
call sub.kernel32.dll_CreateToolhelp32Snapshot
cmp rax, 0xffffffffffffffff
je 0x418593
mov r15, rax
mov qword [rsp + 0xc8], rsi
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0xd0], rbp
lea rsi, [rsp + 0x160]
mov r8d, 0x438
mov rcx, rsi
xor edx, edx
call sub.msvcrt.dll_memset
mov dword [rsp + 0x160], 0x438
mov rcx, r15
mov rdx, rsi
call sub.kernel32.dll_Module32FirstW
cmp eax, 1
jne 0x41857b
lea r12, [rsp + 0x390]
lea rdi, [rsp + 0x598]
xor eax, eax
mov qword [rsp + 0x60], rax
lea rsi, [rsp + 0x100]
lea rbx, [rsp + 0x90]
movaps xmm6, xmmword [0x0043c0d0]
lea rbp, [rsp + 0x160]
mov qword [rsp + 0x50], r15
jmp 0x418344
mov r12, rbp
mov r15, qword [rsp + 0x50]
lea rbp, [rsp + 0x160]
imul r9, rdx, 0x38
mov rcx, qword [rsp + 0x68]
mov qword [rcx + r9], r13
mov rax, qword [rsp + 0xb0]
mov qword [rcx + r9 + 8], rax
mov qword [rcx + r9 + 0x10], r14
mov rax, qword [rsp + 0xb8]
mov qword [rcx + r9 + 0x18], rax
movups xmmword [rcx + r9 + 0x20], xmm6
mov qword [rcx + r9 + 0x30], r8
add rdx, 1
mov rax, rdx
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x88], rdx
nop dword [rax]
mov rcx, r15
mov rdx, rbp
call sub.kernel32.dll_Module32NextW
cmp eax, 1
jne 0x41857b
xor r8d, r8d
nop word [rax + rax]
cmp word [rsp + r8*2 + 0x390], 0
je 0x4183b0
lea rax, [rsp + r8*2]
add rax, 0x390
cmp word [rax + 2], 0
je 0x418397
cmp word [rax + 4], 0
je 0x41839d
cmp word [rax + 6], 0
je 0x4183a3
cmp word [rax + 8], 0
je 0x4183a9
add r8, 5
add rax, 0xa
cmp rax, rdi
jne 0x418350
mov r8d, 0x104
jmp 0x4183b0
add r8, 1
jmp 0x4183b0
add r8, 2
jmp 0x4183b0
add r8, 3
jmp 0x4183b0
add r8, 4
nop dword [rax]
mov rcx, rsi
mov rdx, r12
call fcn.004191d0
mov r13, qword [rsp + 0x100]
mov r14, qword [rsp + 0x110]
mov rcx, rbx
mov rdx, r13
mov r8, r14
call fcn.00419490
cmp dword [rsp + 0x90], 1
jne 0x418480
mov rbp, r12
mov r15, qword [rsp + 0x98]
mov r12, qword [rsp + 0xa0]
mov rax, qword [rsp + 0xa8]
cmp rax, 0x40
jb 0x418460
test r12, r12
je 0x418460
movzx ecx, word [r12]
cmp ecx, 0x5a4d
jne 0x418460
mov ecx, dword [r12 + 0x3c]
mov rdx, rax
sub rdx, rcx
jb 0x418460
cmp rdx, 0x88
jb 0x418460
cmp dword [r12 + rcx], 0x4550
jne 0x418460
movzx edx, word [r12 + rcx + 0x18]
cmp edx, 0x20b
jne 0x418460
movzx r8d, word [r12 + rcx + 0x14]
sub r8, 0x70
jae 0x4184a5
nop word cs:[rax + rax]
nop
mov rcx, r12
call sub.kernel32.dll_UnmapViewOfFile
mov rcx, r15
call sub.kernel32.dll_CloseHandle
mov r12, rbp
mov r15, qword [rsp + 0x50]
lea rbp, [rsp + 0x160]
cmp qword [rsp + 0x108], 0
je 0x418330
mov rcx, qword [0x00447110]
xor edx, edx
mov r8, r13
call sub.kernel32.dll_HeapFree
jmp 0x418330
lea rdx, [rcx + 0x88]
sub rax, rdx
jb 0x418460
cmp rax, r8
jb 0x418460
mov eax, dword [r12 + rcx + 0x84]
shl rax, 3
cmp r8, rax
jb 0x418460
mov rax, qword [r12 + rcx + 0x30]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0xc0], rax
mov ecx, 0x10
mov edx, 8
call fcn.00408300
test rax, rax
je 0x418807
mov ecx, dword [rsp + 0x180]
mov rdx, qword [rsp + 0x58]
mov qword [rax], rdx
mov qword [rsp + 0xb8], rax
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0xb0], rax
mov rcx, r12
call sub.kernel32.dll_UnmapViewOfFile
mov rcx, r15
call sub.kernel32.dll_CloseHandle
mov r8, qword [rsp + 0xc0]
sub r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
cmp rdx, qword [rsp + 0x80]
jne 0x4182d2
lea rcx, [rsp + 0x78]
mov r15, r8
call fcn.00419690
mov r8, r15
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x88]
jmp 0x4182d2
mov rcx, r15
call sub.kernel32.dll_CloseHandle
mov rbp, qword [rsp + 0xd0]
mov rsi, qword [rsp + 0xc8]
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x170], rax
movups xmm0, xmmword [rsp + 0x78]
movaps xmmword [rsp + 0x160], xmm0
mov rdi, qword [0x00447160]
test rdi, rdi
je 0x4186e1
mov rax, qword [0x00447170]
test rax, rax
je 0x418647
mov r14, rbp
imul rbx, rax, 0x38
add rbx, rdi
movabs rbp, 0xfffffffffffffff
jmp 0x4185f9
add rdi, 0x38
cmp rdi, rbx
je 0x41863d
cmp qword [rdi + 8], 0
je 0x418616
mov r8, qword [rdi]
test r8, r8
je 0x418616
mov rcx, qword [0x00447110]
xor edx, edx
call sub.kernel32.dll_HeapFree
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x4185f0
mov r8, qword [rdi + 0x18]
test r8, r8
je 0x4185f0
and rax, rbp
je 0x4185f0
mov rcx, qword [0x00447110]
xor edx, edx
call sub.kernel32.dll_HeapFree
jmp 0x4185f0
mov rdi, qword [0x00447160]
mov rbp, r14
mov rax, qword [0x00447168]
test rax, rax
je 0x418672
test rdi, rdi
je 0x418672
imul rax, rax, 0x38
test rax, rax
je 0x418672
mov rcx, qword [0x00447110]
xor edx, edx
mov r8, rdi
call sub.kernel32.dll_HeapFree
mov rcx, qword [0x00447178]
imul rdi, qword [0x00447188], 0xf0
test rdi, rdi
je 0x4186af
nop dword [rax]
lea rbx, [rcx + 0xf0]
add rcx, 8
call fcn.00419750
add rdi, 0xffffffffffffff10
mov rcx, rbx
test rdi, rdi
jne 0x418690
mov rax, qword [0x00447180]
test rax, rax
je 0x4186e1
mov r8, qword [0x00447178]
test r8, r8
je 0x4186e1
imul rax, rax, 0xf0
test rax, rax
je 0x4186e1
mov rcx, qword [0x00447110]
xor edx, edx
call sub.kernel32.dll_HeapFree
mov rax, qword [rsp + 0x170]
mov qword [0x00447170], rax
movaps xmm0, xmmword [rsp + 0x160]
movups xmmword [0x00447160], xmm0
mov rax, qword [rsp + 0xe0]
mov qword [0x00447178], rax
movaps xmm0, xmmword [0x0043c0e0]
movups xmmword [0x00447180], xmm0
mov rdi, qword [rsp + 0xd8]
lea rcx, [rsp + 0xf0]
lea rdx, [rsp + 0xf8]
call fcn.00419860
cmp byte [rsp + 0x4f], 0
je 0x418747
xor eax, eax
jmp 0x4187da
cmp byte [rsp + 0x4e], 0
jne 0x4187cc
mov rax, qword [rsp + 0xe8]
cmp byte [rax], 0
je 0x4187cc
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0x98], 0
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax + 8]
mov qword [rsp + 0x170], 4
mov qword [rsp + 0x128], 2
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x90]
lea r8, [rsp + 0x160]
lea r9, [rsp + 0x128]
call fcn.00418810
mov byte [rdi], al
mov rax, qword [rsp + 0x90]
add qword [rax + 8], 1
mov rax, qword [rsi + 8]
add qword [rax], 1
cmp byte [rdi], 0
sete al
movaps xmm6, xmmword [rsp + 0x5a0]
add rsp, 0x5b8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 0x3c0
mov edx, 8
call fcn.004086e0
ud2
mov ecx, 0x10
jmp 0x4187fb