Function at 0x180309300
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, 0x228
movaps xmmword [rsp + 0x210], xmm6
mov r12, rcx
call sub.kernel32.dll_GetCurrentProcess
mov rdi, rax
mov dword [rsp + 0x2c], 0
lea r9, [rsp + 0x2c]
mov rcx, rax
xor edx, edx
xor r8d, r8d
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x180309d4b
mov esi, dword [rsp + 0x2c]
mov ebx, esi
shr ebx, 3
cmp esi, 8
jae 0x18030938c
lea r9, [rsp + 0x2c]
mov edx, 8
mov rcx, rdi
mov r8d, esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x180309d4b
mov eax, 8
mov qword [rsp + 0xc8], rax
xor eax, eax
mov qword [rsp + 0xf8], rax
jmp 0x1803093da
lea r14, [rbx*8]
mov edx, 8
mov rcx, r14
call fcn.1802cbf40
test rax, rax
je 0x180309d8b
mov r15, rax
mov r8d, dword [rsp + 0x2c]
lea r9, [rsp + 0x2c]
mov rcx, rdi
mov rdx, rax
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x180309d67
mov qword [rsp + 0xc8], r15
mov qword [rsp + 0xf8], rbx
mov eax, dword [rsp + 0x2c]
shr eax, 3
cmp ebx, eax
cmovb eax, ebx
test eax, eax
je 0x180309d27
mov rbp, qword [rsp + 0xc8]
lea r15, [rax*8]
add r15, rbp
lea rbx, [rsp + 0x180]
xorps xmm6, xmm6
jmp 0x180309441
mov r8d, 1
call fcn.1802cbf20
mov rcx, r14
call sub.kernel32.dll_FreeLibrary
add rbp, 8
mov edx, 0x20a
mov r8d, 2
mov rcx, r13
call fcn.1802cbf20
cmp rbp, r15
je 0x180309d27
mov r14, qword [rbp]
mov ecx, 0x20a
mov edx, 2
call fcn.1802cbf40
test rax, rax
je 0x180309d7a
mov r13, rax
mov rcx, rdi
mov rdx, r14
mov r8, rax
mov r9d, 0x105
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x180309421
mov esi, eax
movaps xmmword [rsp + 0x100], xmm6
mov qword [rsp + 0x110], 0
mov rcx, rdi
mov rdx, r14
lea r8, [rsp + 0x100]
mov r9d, 0x18
call sub.PSAPI.DLL_GetModuleInformation
test eax, eax
je 0x180309421
mov rcx, r13
xor edx, edx
mov r8d, 2
call sub.kernel32.dll_LoadLibraryExW
mov r14, rax
movaps xmmword [rsp + 0x200], xmm6
movaps xmmword [rsp + 0x1f0], xmm6
movaps xmmword [rsp + 0x1e0], xmm6
mov rcx, qword [rsp + 0x100]
mov r8d, 0x30
lea rdx, [rsp + 0x1e0]
call sub.kernel32.dll_VirtualQuery
cmp rax, 0x30
jne 0x180309419
mov r8d, esi
cmp r8d, 0x105
ja 0x180309d89
lea rcx, [rsp + 0x1a0]
mov rdx, r13
call fcn.1804378a0
cmp dword [rsp + 0x200], 0x1000
jne 0x180309636
mov rax, qword [rsp + 0x110]
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [rsp + 0x100]
movups xmmword [rbx], xmm0
movups xmm0, xmmword [rsp + 0x1a0]
movups xmm1, xmmword [rsp + 0x1b0]
movaps xmmword [rsp + 0x160], xmm0
movaps xmmword [rsp + 0x170], xmm1
lea rcx, [rsp + 0x160]
call fcn.180309e30
test rax, rax
je 0x180309d09
movups xmm0, xmmword [rax + 4]
movaps xmmword [rsp + 0xa0], xmm0
mov r9d, dword [rax + 0x14]
mov r8d, 0x10
lea rsi, [rsp + 0x40]
mov rcx, rsi
lea rdx, [rsp + 0xa0]
call fcn.1803d5bc0
cmp byte [rsp + 0x40], 0
jne 0x180309d09
mov qword [rsp + 0x140], r12
lea rax, [rsp + 0x41]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rsp + 0x1d0], xmm1
movaps xmmword [rsp + 0x1c0], xmm0
lea rcx, [rsp + 0x160]
call fcn.180432df0
mov r8, rdx
mov rcx, rsi
mov rdx, rax
call fcn.1804331c0
mov rsi, qword [rsp + 0x50]
test rsi, rsi
js 0x180309d98
mov qword [rsp + 0x138], r14
mov r12, qword [rsp + 0x48]
je 0x180309654
movzx eax, byte [0x1805297c8]
mov ebx, 1
mov edx, 1
mov rcx, rsi
call fcn.1802cbf10
test rax, rax
je 0x180309daa
mov r14, rax
jmp 0x18030965a
mov rdx, qword [rsp + 0x1a0]
test rdx, rdx
je 0x180309419
mov rcx, qword [rsp + 0x1a8]
jmp 0x18030940e
mov r14d, 1
mov rcx, r14
mov rdx, r12
mov r8, rsi
call fcn.180468b10
mov rdx, qword [rsp + 0x40]
lea rax, [rdx*2]
test rax, rax
je 0x180309688
mov r8d, 1
mov rcx, r12
call fcn.1802cbf20
mov rbx, r14
mov r12, rsi
mov qword [rsp + 0x38], rsi
test rsi, rsi
lea rsi, [rsp + 0x40]
jne 0x180309871
lea rcx, [rsp + 0xd0]
call fcn.1804291b0
movabs rax, 0x8000000000000000
cmp qword [rsp + 0xd0], rax
jne 0x18030971b
mov r12, qword [rsp + 0xd8]
movzx eax, byte [0x1805297c8]
mov ecx, 6
mov edx, 1
call fcn.1802cbf10
test rax, rax
je 0x180309dd1
mov rbx, rax
mov word [rax + 4], 0x3e6e
mov dword [rax], 0x69616d3c
mov eax, r12d
and eax, 3
lea rcx, [rax - 2]
cmp rcx, 2
jae 0x18030980c
mov eax, 6
mov qword [rsp + 0x38], rax
jmp 0x180309866
movups xmm0, xmmword [rsp + 0xd0]
movups xmm1, xmmword [rsp + 0xe0]
movaps xmmword [rsp + 0xb0], xmm1
movaps xmmword [rsp + 0xa0], xmm0
lea rcx, [rsp + 0xa0]
call fcn.180432df0
mov qword [rsp + 0x148], rax
mov qword [rsp + 0x150], rdx
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x88], 1
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x70], 0x20
mov byte [rsp + 0x78], 3
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x50], 0
lea rax, [rsp + 0x80]
mov qword [rsp + 0x60], rax
lea rax, fcn.18021ffe0
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x148]
mov rdx, rsi
call fcn.180430d10
test al, al
jne 0x180309d89
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rbx, qword [rsp + 0x88]
mov r12, qword [rsp + 0x90]
mov rdx, qword [rsp + 0xa0]
test rdx, rdx
je 0x180309871
mov rcx, qword [rsp + 0xa8]
mov r8d, 1
call fcn.1802cbf20
jmp 0x180309871
mov ecx, 6
mov qword [rsp + 0x38], rcx
test rax, rax
je 0x180309866
mov rcx, qword [r12 - 1]
mov rsi, qword [r12 + 7]
mov rax, qword [rsi]
test rax, rax
je 0x18030983e
mov qword [rsp + 0x30], rcx
mov rcx, qword [rsp + 0x30]
call rax
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsi + 8]
test rdx, rdx
je 0x180309850
mov r8, qword [rsi + 0x10]
call fcn.1802cbf20
dec r12
mov edx, 0x18
mov r8d, 8
mov rcx, r12
call fcn.1802cbf20
mov r12d, 6
lea rsi, [rsp + 0x40]
mov rdx, qword [rsp + 0x180]
movzx eax, word [rdx]
movabs rcx, 0x8000000000000000
cmp eax, 0x5a4d
mov qword [rsp + 0x30], rdx
jne 0x1803099b4
movsxd rax, dword [rdx + 0x3c]
cmp dword [rdx + rax], 0x4550
jne 0x1803099b4
mov ecx, dword [rdx + rax + 8]
mov eax, dword [rdx + rax + 0x50]
mov byte [rsp + 0xa0], 2
mov dword [rsp + 0xa4], ecx
mov dword [rsp + 0xa8], eax
mov qword [rsp + 0xd0], 0
mov qword [rsp + 0xd8], 1
mov qword [rsp + 0xe0], 0
mov qword [rsp + 0x70], 0x20
mov byte [rsp + 0x78], 3
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x50], 0
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x60], rax
lea rax, fcn.18021ffe0
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0xa0]
mov rdx, rsi
call fcn.180309ee0
test al, al
jne 0x180309d89
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x90], rax
movups xmm0, xmmword [rsp + 0xd0]
movaps xmmword [rsp + 0x80], xmm0
lea rcx, [rsp + 0x148]
lea rdx, [rsp + 0x80]
call fcn.1803d5d80
cmp byte [rsp + 0xa0], 1
jne 0x180309999
mov rdx, qword [rsp + 0xa8]
test rdx, rdx
je 0x180309999
mov rcx, qword [rsp + 0xb0]
mov r8d, 1
call fcn.1802cbf20
mov rcx, qword [rsp + 0x148]
lea rax, [rsp + 0x150]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0xd0], xmm0
mov qword [rsp + 0x128], rcx
mov qword [rsp + 0x130], rbx
lea rcx, [rsp + 0x160]
call fcn.180309e30
test rax, rax
mov qword [rsp + 0xf0], r14
je 0x180309a04
mov rbx, rax
add rbx, 0x18
mov rcx, rbx
call fcn.18045da00
lea r8, [rax + 1]
mov rcx, rsi
mov rdx, rbx
call fcn.180454280
cmp qword [rsp + 0x40], 0
je 0x180309a13
movabs rbx, 0x8000000000000000
jmp 0x180309a99
mov r14, r12
mov rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x50]
mov rcx, rsi
call fcn.1804331c0
mov rbx, qword [rsp + 0x50]
test rbx, rbx
js 0x180309dc2
mov r12, qword [rsp + 0x48]
je 0x180309a5b
movzx eax, byte [0x1805297c8]
mov edx, 1
mov rcx, rbx
call fcn.1802cbf10
test rax, rax
jne 0x180309a60
jmp 0x180309de0
mov eax, 1
mov qword [rsp + 0xc0], rax
mov rcx, rax
mov rdx, r12
mov r8, rbx
call fcn.180468b10
mov rdx, qword [rsp + 0x40]
lea rax, [rdx*2]
test rax, rax
je 0x180309a96
mov r8d, 1
mov rcx, r12
call fcn.1802cbf20
mov r12, r14
lea rax, [rsp + 0x160]
mov qword [rsp + 0x80], rax
mov r8, qword [rsp + 0x30]
movzx ecx, word [r8]
mov eax, 4
cmp ecx, 0x5a4d
jne 0x180309ae0
movsxd rdx, dword [r8 + 0x3c]
cmp dword [r8 + rdx], 0x4550
jne 0x180309ae0
add rdx, r8
movzx ecx, word [rdx + 6]
add rdx, 0x108
mov rax, rdx
jmp 0x180309ae2
xor ecx, ecx
lea rcx, [rcx + rcx*4]
lea rcx, [rax + rcx*8]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rcx
lea rax, [rsp + 0x80]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x120], r12
mov qword [rsp + 0x118], rbx
nop word cs:[rax + rax]
mov rcx, rsi
call fcn.180309e10
test rax, rax
je 0x180309b8f
test byte [rax + 0x24], 0x20
je 0x180309b20
mov rcx, qword [rsp + 0x50]
mov r12, qword [rcx]
mov ecx, dword [rax + 0xc]
add rcx, qword [r12 + 0x20]
mov ebx, dword [rax + 8]
add rbx, rcx
movaps xmm0, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0xa0], xmm0
nop word cs:[rax + rax]
lea rcx, [rsp + 0xa0]
call fcn.180309e10
test rax, rax
je 0x180309b96
test byte [rax + 0x24], 0x20
je 0x180309b60
mov ecx, dword [rax + 8]
mov eax, dword [rax + 0xc]
add rax, rcx
add rax, qword [r12 + 0x20]
cmp rbx, rax
cmovbe rbx, rax
jmp 0x180309b60
mov rbx, 0xffffffffffffffff
mov rax, qword [rsp + 0x80]
mov r12, qword [rax + 0x20]
movzx ecx, word [r12]
mov eax, 4
cmp ecx, 0x5a4d
jne 0x180309bd6
movsxd rdx, dword [r12 + 0x3c]
cmp dword [r12 + rdx], 0x4550
jne 0x180309bd6
add rdx, r12
movzx ecx, word [rdx + 6]
add rdx, 0x108
mov rax, rdx
jmp 0x180309bd8
xor ecx, ecx
lea rcx, [rcx + rcx*4]
lea rcx, [rax + rcx*8]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rcx
nop word [rax + rax]
lea rcx, [rsp + 0x40]
call fcn.180309e10
test rax, rax
je 0x180309c20
test byte [rax + 0x24], 0x20
je 0x180309bf0
mov esi, dword [rax + 0xc]
add rsi, r12
mov r12, qword [rsp + 0x140]
mov r14, qword [r12 + 0x10]
cmp r14, qword [r12]
je 0x180309c3a
jmp 0x180309c42
mov rsi, 0xffffffffffffffff
mov r12, qword [rsp + 0x140]
mov r14, qword [r12 + 0x10]
cmp r14, qword [r12]
jne 0x180309c42
mov rcx, r12
call fcn.180308ee0
sub rbx, rsi
mov rax, qword [r12 + 8]
imul rcx, r14, 0x98
mov rdx, qword [rsp + 0x38]
mov qword [rax + rcx], rdx
mov rdx, qword [rsp + 0x130]
mov qword [rax + rcx + 8], rdx
mov rdx, qword [rsp + 0x120]
mov qword [rax + rcx + 0x10], rdx
movabs rdx, 0x8000000000000000
mov qword [rax + rcx + 0x18], rdx
mov rdx, qword [rsp + 0x128]
mov qword [rax + rcx + 0x30], rdx
movaps xmm0, xmmword [rsp + 0xd0]
movups xmmword [rax + rcx + 0x38], xmm0
mov r8, qword [rsp + 0x118]
mov qword [rax + rcx + 0x48], r8
mov rdx, qword [rsp + 0xc0]
mov qword [rax + rcx + 0x50], rdx
mov qword [rax + rcx + 0x58], r8
mov rdx, qword [rsp + 0x30]
mov qword [rax + rcx + 0x60], rdx
mov qword [rax + rcx + 0x68], rbx
mov qword [rax + rcx + 0x70], 0
movaps xmm0, xmmword [rsp + 0x1c0]
movaps xmm1, xmmword [rsp + 0x1d0]
movups xmmword [rax + rcx + 0x78], xmm0
movups xmmword [rax + rcx + 0x88], xmm1
inc r14
mov qword [r12 + 0x10], r14
lea rbx, [rsp + 0x180]
mov r14, qword [rsp + 0x138]
mov rdx, qword [rsp + 0x160]
test rdx, rdx
je 0x180309419
mov rcx, qword [rsp + 0x168]
jmp 0x18030940e
mov rdx, qword [rsp + 0xf8]
test rdx, rdx
je 0x180309d4b
shl rdx, 3
mov r8d, 8
mov rcx, qword [rsp + 0xc8]
call fcn.1802cbf20
movaps xmm6, xmmword [rsp + 0x210]
add rsp, 0x228
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp esi, 8
jb 0x180309d4b
mov r8d, 8
mov rcx, r15
mov rdx, r14
jmp 0x180309d46
mov ecx, 2
mov edx, 0x20a
call fcn.180407090
ud2
mov ecx, 8
mov rdx, r14
call fcn.180407090
xor ebx, ebx
mov rcx, rbx
mov rdx, qword [rsp + 0xf0]
call fcn.180407090
mov qword [rsp + 0xf0], rsi
mov rcx, rbx
mov rdx, qword [rsp + 0xf0]
call fcn.180407090
xor ecx, ecx
mov rdx, qword [rsp + 0xc0]
call fcn.180407090
mov ecx, 1
mov edx, 6
call fcn.180407090
mov ecx, 1
mov qword [rsp + 0xc0], rbx
mov rdx, qword [rsp + 0xc0]
call fcn.180407090
int3