Function at 0x47e550
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, 0x5d8
mov rsi, rcx
mov rax, qword [rcx]
cmp byte [rax], 0
jne 0x47e57c
mov rcx, qword [rsi + 8]
cmp qword [rcx], 0x64
ja 0x47ead6
mov byte [rsp + 0x45], 0
mov byte [rsp + 0x46], 0
mov r12, qword [rsi + 0x10]
mov rdi, qword [rsi + 0x18]
mov r15, qword [rsi + 0x20]
lea rcx, [rsp + 0x45]
mov qword [rsp + 0x148], rcx
mov qword [rsp + 0x150], rax
mov qword [rsp + 0x158], r12
lea rax, [rsp + 0x46]
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x168], rdi
mov qword [rsp + 0x170], r15
mov qword [rsp + 0x178], rdx
mov r14, qword [rdx + 0x10]
cmp qword [0x004b8180], 0
jne 0x47eab5
mov ecx, 0x3c0
mov edx, 8
call fcn.00424450
test rax, rax
je 0x47eb78
mov qword [rsp + 0xf0], 4
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x100], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 8
mov qword [rsp + 0x60], 0
mov ecx, 8
xor edx, edx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp rax, 0xffffffffffffffff
je 0x47ea5e
mov rbx, rax
mov qword [rsp + 0xd0], r12
mov qword [rsp + 0xd8], r15
mov qword [rsp + 0xe0], r14
mov qword [rsp + 0xe8], rdi
lea rdi, [rsp + 0x1a0]
mov r8d, 0x438
mov rcx, rdi
xor edx, edx
call sub.ntdll.dll_memset
mov dword [rsp + 0x1a0], 0x438
mov rcx, rbx
mov rdx, rdi
call sub.KERNEL32.dll_Module32FirstW
cmp eax, 1
jne 0x47ea36
lea r15, [rsp + 0x5d8]
lea r12, [rsp + 0x188]
mov eax, 8
mov qword [rsp + 0x70], rax
xor eax, eax
mov qword [rsp + 0x78], rax
lea r13, [rsp + 0x1a0]
jmp 0x47e744
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov rax, rdx
shl rax, 6
movups xmm0, xmmword [rsp + 0x108]
movups xmm1, xmmword [rsp + 0x118]
movups xmm2, xmmword [rsp + 0x128]
movups xmm3, xmmword [rsp + 0x138]
movups xmmword [rcx + rax + 0x30], xmm3
movups xmmword [rcx + rax + 0x20], xmm2
movups xmmword [rcx + rax + 0x10], xmm1
mov qword [rsp + 0x70], rcx
movups xmmword [rcx + rax], xmm0
inc rdx
mov rax, rdx
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x60], rdx
nop dword [rax]
mov rcx, rbx
mov rdx, r13
call sub.KERNEL32.dll_Module32NextW
cmp eax, 1
jne 0x47ea36
xor r8d, r8d
nop word [rax + rax]
cmp word [rsp + r8*2 + 0x3d0], 0
je 0x47e7b0
lea rax, [rsp + r8*2]
add rax, 0x3d0
cmp word [rax + 2], 0
je 0x47e797
cmp word [rax + 4], 0
je 0x47e79c
cmp word [rax + 6], 0
je 0x47e7a2
cmp word [rax + 8], 0
je 0x47e7a8
add r8, 5
add rax, 0xa
cmp rax, r15
jne 0x47e750
mov r8d, 0x104
jmp 0x47e7b0
inc r8
jmp 0x47e7b0
add r8, 2
jmp 0x47e7b0
add r8, 3
jmp 0x47e7b0
add r8, 4
nop dword [rax]
lea rcx, [rsp + 0x80]
lea rdx, [rsp + 0x3d0]
call fcn.00453480
mov rbp, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x90]
lea rcx, [rsp + 0x180]
mov rdx, rbp
mov r8, rdi
call fcn.00454e10
cmp qword [rsp + 0x180], 0
je 0x47e895
mov rax, qword [r12 + 0x10]
mov qword [rsp + 0xb0], rax
movups xmm0, xmmword [r12]
movaps xmmword [rsp + 0xa0], xmm0
mov r14, qword [rsp + 0xa8]
cmp rax, 0x40
jb 0x47e880
test r14, r14
je 0x47e880
movzx ecx, word [r14]
cmp ecx, 0x5a4d
jne 0x47e880
mov edx, dword [r14 + 0x3c]
mov rcx, rax
sub rcx, rdx
setb r8b
lea r9, [r14 + rdx]
cmp rcx, 0x88
setb cl
or cl, r8b
mov ecx, 0
cmove rcx, r9
jne 0x47e880
cmp dword [rcx], 0x4550
jne 0x47e880
movzx r8d, word [rcx + 0x18]
cmp r8d, 0x20b
jne 0x47e880
movzx r8d, word [rcx + 0x14]
cmp r8, 0x70
jae 0x47e8b6
nop dword [rax + rax]
mov rcx, r14
call sub.KERNEL32.dll_UnmapViewOfFile
mov rcx, qword [rsp + 0xa0]
call sub.KERNEL32.dll_CloseHandle
cmp qword [rsp + 0x80], 0
je 0x47e730
mov edx, 1
mov rcx, rbp
call fcn.004244e0
jmp 0x47e730
add rdx, 0x88
sub rax, rdx
jb 0x47e880
add r8, 0xffffffffffffff90
cmp rax, r8
jb 0x47e880
mov eax, dword [rcx + 0x84]
shl rax, 3
cmp rax, r8
ja 0x47e880
mov rax, qword [rcx + 0x30]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0xc8], rax
movups xmm0, xmmword [rsp + 0x80]
movups xmm1, xmmword [rsp + 0x90]
movaps xmmword [rsp + 0x190], xmm1
movaps xmmword [rsp + 0x180], xmm0
mov ecx, 0x10
mov edx, 8
call fcn.00424450
test rax, rax
je 0x47eb89
mov edx, dword [rsp + 0x1c0]
mov rcx, qword [rsp + 0x68]
mov qword [rax], rcx
mov qword [rsp + 0xc0], rax
mov qword [rax + 8], rdx
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xb8], rax
movzx eax, byte [rsp + 0x98]
mov byte [rsp + 0x47], al
lea rcx, [rsp + 0x99]
mov eax, dword [rcx]
mov ecx, dword [rcx + 3]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x4b], ecx
mov rcx, r14
call sub.KERNEL32.dll_UnmapViewOfFile
mov rcx, qword [rsp + 0xa0]
call sub.KERNEL32.dll_CloseHandle
movzx eax, byte [rsp + 0x47]
cmp al, 2
je 0x47e730
mov r8, qword [rsp + 0xc8]
sub r8, qword [rsp + 0x68]
mov rcx, qword [rsp + 0xb8]
mov qword [rsp + 0x108], rcx
mov qword [rsp + 0x110], rbp
mov qword [rsp + 0x118], rdi
mov byte [rsp + 0x120], al
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x4b]
lea rdx, [rsp + 0x121]
mov dword [rdx + 3], ecx
mov dword [rdx], eax
mov qword [rsp + 0x128], r8
mov qword [rsp + 0x130], 1
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x138], rax
mov qword [rsp + 0x140], 1
mov rdx, qword [rsp + 0x78]
cmp rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x70]
jne 0x47e6de
lea rcx, [rsp + 0x50]
call fcn.004550c0
jmp 0x47e6d4
mov rcx, rbx
call sub.KERNEL32.dll_CloseHandle
mov rdi, qword [rsp + 0xe8]
mov r14, qword [rsp + 0xe0]
mov r15, qword [rsp + 0xd8]
mov r12, qword [rsp + 0xd0]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x1b0], rax
movups xmm0, xmmword [rsp + 0x50]
movups xmm1, xmmword [rsp + 0xf0]
movups xmmword [rsp + 0x1b8], xmm1
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x1c8], rax
movups xmmword [0x004b8178], xmm0
movaps xmm0, xmmword [rsp + 0x1b0]
movups xmmword [0x004b8188], xmm0
movaps xmm0, xmmword [rsp + 0x1c0]
movups xmmword [0x004b8198], xmm0
xor ecx, ecx
mov rax, r14
sub rax, 1
cmovae rcx, rax
lea rdx, [rsp + 0x148]
call fcn.00455300
cmp byte [rsp + 0x46], 0
je 0x47eadd
xor ecx, ecx
jmp 0x47eb62
cmp byte [rsp + 0x45], 0
jne 0x47eb55
cmp byte [r12], 0
je 0x47eb55
mov qword [rsp + 0x148], 0
mov qword [rsp + 0x150], r15
mov qword [rsp + 0x1a0], 3
mov qword [rsp + 0x108], 2
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x148]
lea r8, [rsp + 0x1a0]
lea r9, [rsp + 0x108]
mov rdx, r14
call fcn.0046de00
mov byte [rdi], al
mov rax, qword [rsp + 0x150]
inc qword [rax + 0x10]
mov rax, qword [rsi + 8]
inc qword [rax]
cmp byte [rdi], 0
sete cl
mov eax, ecx
add rsp, 0x5d8
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.00426000
ud2
mov ecx, 0x10
mov edx, 8
call fcn.00426000
ud2