Function at 0x10047fb0
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 r13, rdx
mov rsi, rcx
mov rax, qword [rcx]
cmp byte [rax], 0
jne 0x10047fe2
mov rcx, qword [rsi + 8]
cmp qword [rcx], 0x64
jbe 0x10047fe2
xor ecx, ecx
jmp 0x100486c1
mov byte [rsp + 0x4e], 0
mov rbx, qword [rsi + 0x10]
mov r15, qword [rsi + 0x18]
mov rdi, qword [rsi + 0x20]
lea rcx, [rsp + 0x4e]
mov qword [rsp + 0x118], rcx
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x128], rbx
mov qword [rsp + 0x130], r15
mov qword [rsp + 0x138], rdi
mov qword [rsp + 0x140], r13
mov r12, qword [r13 + 8]
cmp qword [0x100cf0f0], 0
jne 0x1004862a
movzx eax, byte [0x100cf160]
mov rcx, qword [0x100cf0d0]
test rcx, rcx
jne 0x10048065
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x100486d7
mov rcx, rax
mov qword [0x100cf0d0], rax
mov r8d, 0x3c0
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x100486d7
mov qword [rsp + 0x108], rbx
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 0x100484bb
mov rbx, rax
mov qword [rsp + 0xf8], r13
mov qword [rsp + 0x100], r15
lea rdi, [rsp + 0x180]
mov r8d, 0x438
mov rcx, rdi
xor edx, edx
call sub.ntdll.dll_memset
mov dword [rsp + 0x180], 0x438
mov rcx, rbx
mov rdx, rdi
call sub.kernel32.dll_Module32FirstW
cmp eax, 1
jne 0x100484a3
lea r13, [rsp + 0x5b8]
mov eax, 8
mov qword [rsp + 0xb8], rax
xor eax, eax
mov qword [rsp + 0xc0], rax
jmp 0x100481c9
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
lea rdx, [rsp + 0x180]
call sub.kernel32.dll_Module32NextW
cmp eax, 1
jne 0x100484a3
xor r8d, r8d
nop dword [rax]
cmp word [rsp + r8*2 + 0x3b0], 0
je 0x10048230
lea rax, [rsp + r8*2]
add rax, 0x3b0
cmp word [rax + 2], 0
je 0x10048217
cmp word [rax + 4], 0
je 0x1004821c
cmp word [rax + 6], 0
je 0x10048222
cmp word [rax + 8], 0
je 0x10048228
add r8, 5
add rax, 0xa
cmp rax, r13
jne 0x100481d0
mov r8d, 0x104
jmp 0x10048230
inc r8
jmp 0x10048230
add r8, 2
jmp 0x10048230
add r8, 3
jmp 0x10048230
add r8, 4
nop dword [rax]
lea rcx, [rsp + 0x160]
lea rdx, [rsp + 0x3b0]
call fcn.100296c0
mov rbp, qword [rsp + 0x160]
mov rdi, qword [rsp + 0x170]
lea rcx, [rsp + 0xc8]
mov rdx, rbp
mov r8, rdi
call fcn.1002a870
cmp qword [rsp + 0xc8], 0
je 0x10048330
mov r14, qword [rsp + 0xd0]
mov r15, qword [rsp + 0xd8]
mov rax, qword [rsp + 0xe0]
cmp rax, 0x40
jb 0x10048320
test r15, r15
je 0x10048320
movzx ecx, word [r15]
cmp ecx, 0x5a4d
jne 0x10048320
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 0x10048320
cmp dword [rcx], 0x4550
jne 0x10048320
movzx r8d, word [rcx + 0x18]
cmp r8d, 0x20b
jne 0x10048320
movzx r8d, word [rcx + 0x14]
cmp r8, 0x70
jb 0x10048320
add rdx, 0x88
sub rax, rdx
jb 0x10048320
add r8, 0xffffffffffffff90
cmp rax, r8
jb 0x10048320
mov eax, dword [rcx + 0x84]
shl rax, 3
cmp rax, r8
jbe 0x10048355
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 0x100481b0
mov rcx, qword [0x100cf0d0]
xor edx, edx
mov r8, rbp
call sub.kernel32.dll_HeapFree
jmp 0x100481b0
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 [0x100cf160]
mov ecx, 0x10
mov edx, 8
call fcn.1000ca60
test rax, rax
je 0x100486e8
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 0x100481b0
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 0x10048156
lea rcx, [rsp + 0x90]
call fcn.1002b0f0
jmp 0x10048146
mov rcx, rbx
call sub.kernel32.dll_CloseHandle
mov r15, 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 [0x100cf0f0]
test rdi, rdi
je 0x100485f6
mov rbx, qword [0x100cf100]
test rbx, rbx
je 0x1004858c
lea r14, [rdi + 0x28]
jmp 0x10048559
add r14, 0x40
dec rbx
je 0x1004858c
cmp qword [r14], 0
je 0x10048571
mov r8, qword [r14 - 8]
mov rcx, qword [0x100cf0d0]
xor edx, edx
call sub.kernel32.dll_HeapFree
cmp qword [r14 - 0x18], 0
je 0x10048550
mov r8, qword [r14 - 0x20]
mov rcx, qword [0x100cf0d0]
xor edx, edx
call sub.kernel32.dll_HeapFree
jmp 0x10048550
cmp qword [0x100cf0f8], 0
je 0x100485a7
mov rcx, qword [0x100cf0d0]
xor edx, edx
mov r8, rdi
call sub.kernel32.dll_HeapFree
mov rdi, qword [0x100cf108]
mov r14, qword [0x100cf118]
inc r14
mov rbx, rdi
nop dword [rax + rax]
cmp r14, 1
je 0x100485db
lea rcx, [rbx + 8]
add rbx, 0xf0
dec r14
call fcn.1002b350
jmp 0x100485c0
cmp qword [0x100cf110], 0
je 0x100485f6
mov rcx, qword [0x100cf0d0]
xor edx, edx
mov r8, rdi
call sub.kernel32.dll_HeapFree
movaps xmm0, xmmword [rsp + 0x50]
movaps xmm1, xmmword [rsp + 0x60]
movaps xmm2, xmmword [rsp + 0x70]
movups xmmword [0x100cf110], xmm2
movups xmmword [0x100cf100], xmm1
movups xmmword [0x100cf0f0], xmm0
mov rdi, qword [rsp + 0x110]
mov rbx, qword [rsp + 0x108]
xor ecx, ecx
sub r12, 1
cmovae rcx, r12
lea rdx, [rsp + 0x118]
call fcn.1002b4a0
cmp byte [rsp + 0x4e], 0
jne 0x100486b3
cmp byte [rbx], 0
je 0x100486b3
mov qword [rsp + 0x118], rdi
mov qword [rsp + 0x120], 0
mov rdx, qword [r13 + 8]
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]
call fcn.10045940
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 cl
mov eax, ecx
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.1000cd70
ud2
mov ecx, 8
mov edx, 0x10
call fcn.1000cd70
ud2