Function at 0x41aed0
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 0x41af09
mov rcx, qword [rsi + 8]
cmp qword [rcx], 0x64
ja 0x41b510
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, [0x00440118]
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 [0x00446160], 0
jne 0x41b4f4
mov ecx, 0x3c0
mov edx, 8
call fcn.0040acb0
mov qword [rsp + 0xe0], rax
test rax, rax
je 0x41b5c6
mov qword [rsp + 0xd8], rdi
mov rbx, qword [0x0043eb78]
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 0x41b363
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 0x41b34b
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 [0x0043c0a0]
lea rbp, [rsp + 0x160]
mov qword [rsp + 0x50], r15
jmp 0x41b114
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 0x41b34b
xor r8d, r8d
nop word [rax + rax]
cmp word [rsp + r8*2 + 0x390], 0
je 0x41b180
lea rax, [rsp + r8*2]
add rax, 0x390
cmp word [rax + 2], 0
je 0x41b167
cmp word [rax + 4], 0
je 0x41b16d
cmp word [rax + 6], 0
je 0x41b173
cmp word [rax + 8], 0
je 0x41b179
add r8, 5
add rax, 0xa
cmp rax, rdi
jne 0x41b120
mov r8d, 0x104
jmp 0x41b180
add r8, 1
jmp 0x41b180
add r8, 2
jmp 0x41b180
add r8, 3
jmp 0x41b180
add r8, 4
nop dword [rax]
mov rcx, rsi
mov rdx, r12
call fcn.0041bfa0
mov r13, qword [rsp + 0x100]
mov r14, qword [rsp + 0x110]
mov rcx, rbx
mov rdx, r13
mov r8, r14
call fcn.0041c260
cmp dword [rsp + 0x90], 1
jne 0x41b250
mov rbp, r12
mov r15, qword [rsp + 0x98]
mov r12, qword [rsp + 0xa0]
mov rax, qword [rsp + 0xa8]
cmp rax, 0x40
jb 0x41b230
test r12, r12
je 0x41b230
movzx ecx, word [r12]
cmp ecx, 0x5a4d
jne 0x41b230
mov ecx, dword [r12 + 0x3c]
mov rdx, rax
sub rdx, rcx
jb 0x41b230
cmp rdx, 0x88
jb 0x41b230
cmp dword [r12 + rcx], 0x4550
jne 0x41b230
movzx edx, word [r12 + rcx + 0x18]
cmp edx, 0x20b
jne 0x41b230
movzx r8d, word [r12 + rcx + 0x14]
sub r8, 0x70
jae 0x41b275
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 0x41b100
mov rcx, qword [0x00446110]
xor edx, edx
mov r8, r13
call sub.kernel32.dll_HeapFree
jmp 0x41b100
lea rdx, [rcx + 0x88]
sub rax, rdx
jb 0x41b230
cmp rax, r8
jb 0x41b230
mov eax, dword [r12 + rcx + 0x84]
shl rax, 3
cmp r8, rax
jb 0x41b230
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.0040acb0
test rax, rax
je 0x41b5d7
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 0x41b0a2
lea rcx, [rsp + 0x78]
mov r15, r8
call fcn.0041c460
mov r8, r15
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x88]
jmp 0x41b0a2
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 [0x00446160]
test rdi, rdi
je 0x41b4b1
mov rax, qword [0x00446170]
test rax, rax
je 0x41b417
mov r14, rbp
imul rbx, rax, 0x38
add rbx, rdi
movabs rbp, 0xfffffffffffffff
jmp 0x41b3c9
add rdi, 0x38
cmp rdi, rbx
je 0x41b40d
cmp qword [rdi + 8], 0
je 0x41b3e6
mov r8, qword [rdi]
test r8, r8
je 0x41b3e6
mov rcx, qword [0x00446110]
xor edx, edx
call sub.kernel32.dll_HeapFree
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x41b3c0
mov r8, qword [rdi + 0x18]
test r8, r8
je 0x41b3c0
and rax, rbp
je 0x41b3c0
mov rcx, qword [0x00446110]
xor edx, edx
call sub.kernel32.dll_HeapFree
jmp 0x41b3c0
mov rdi, qword [0x00446160]
mov rbp, r14
mov rax, qword [0x00446168]
test rax, rax
je 0x41b442
test rdi, rdi
je 0x41b442
imul rax, rax, 0x38
test rax, rax
je 0x41b442
mov rcx, qword [0x00446110]
xor edx, edx
mov r8, rdi
call sub.kernel32.dll_HeapFree
mov rcx, qword [0x00446178]
imul rdi, qword [0x00446188], 0xf0
test rdi, rdi
je 0x41b47f
nop dword [rax]
lea rbx, [rcx + 0xf0]
add rcx, 8
call fcn.0041c520
add rdi, 0xffffffffffffff10
mov rcx, rbx
test rdi, rdi
jne 0x41b460
mov rax, qword [0x00446180]
test rax, rax
je 0x41b4b1
mov r8, qword [0x00446178]
test r8, r8
je 0x41b4b1
imul rax, rax, 0xf0
test rax, rax
je 0x41b4b1
mov rcx, qword [0x00446110]
xor edx, edx
call sub.kernel32.dll_HeapFree
mov rax, qword [rsp + 0x170]
mov qword [0x00446170], rax
movaps xmm0, xmmword [rsp + 0x160]
movups xmmword [0x00446160], xmm0
mov rax, qword [rsp + 0xe0]
mov qword [0x00446178], rax
movaps xmm0, xmmword [0x0043c0b0]
movups xmmword [0x00446180], xmm0
mov rdi, qword [rsp + 0xd8]
lea rcx, [rsp + 0xf0]
lea rdx, [rsp + 0xf8]
call fcn.0041c630
cmp byte [rsp + 0x4f], 0
je 0x41b517
xor eax, eax
jmp 0x41b5aa
cmp byte [rsp + 0x4e], 0
jne 0x41b59c
mov rax, qword [rsp + 0xe8]
cmp byte [rax], 0
je 0x41b59c
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.0041b5e0
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.0040b090
ud2
mov ecx, 0x10
jmp 0x41b5cb