Function at 0x1401594e0
Capabilities:
Enumerate process modules
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x568
lea rbp, [rsp + 0x80]
mov r15, qword [rcx + 8]
mov qword [rbp + 0x420], rdx
mov qword [rbp + 0x428], r8
xor eax, eax
cmp rax, qword [0x1401a2110]
jno 0x140159a03
movzx eax, byte [0x1402a6198]
mov edx, 0x8c0
xor ecx, ecx
call fcn.140188040
test rax, rax
je 0x140159a2f
movabs rbx, 0x8000000000000000
mov qword [rbp + 0x478], 4
mov qword [rbp + 0x480], rax
mov qword [rbp + 0x488], 0
mov qword [rbp + 0x4c0], 0
mov qword [rbp + 0x4c8], 8
mov qword [rbp + 0x4d0], 0
mov ecx, 8
xor edx, edx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp rax, 0xffffffffffffffff
je 0x140159930
mov rsi, rax
mov qword [rbp + 0x490], r15
lea rdi, [rbp - 0x60]
mov r8d, 0x438
mov rcx, rdi
xor edx, edx
call sub.msvcrt.dll_memset
mov dword [rbp - 0x60], 0x438
mov rcx, rsi
mov rdx, rdi
call sub.KERNEL32.dll_Module32FirstW
cmp eax, 1
jne 0x140159917
lea rdi, [rbp + 0x1d0]
mov eax, 8
mov qword [rbp + 0x4a8], rax
mov qword [rbp + 0x4e0], 0
lea rbx, [rbp + 0x430]
lea r12, [rbp + 0x450]
lea r15, [rbp - 0x60]
jmp 0x140159624
mov rdi, rbx
mov rbx, r14
nop word [rax + rax]
mov rcx, rsi
mov rdx, r15
call sub.KERNEL32.dll_Module32NextW
cmp eax, 1
jne 0x140159917
mov eax, 0x208
xor r8d, r8d
nop dword [rax]
cmp word [rbp + r8*2 + 0x1d0], 0
je 0x1401596a0
cmp word [rbp + r8*2 + 0x1d2], 0
je 0x14015967e
cmp word [rbp + r8*2 + 0x1d4], 0
je 0x140159683
cmp word [rbp + r8*2 + 0x1d6], 0
je 0x140159689
cmp word [rbp + r8*2 + 0x1d8], 0
je 0x14015968f
add r8, 5
add rax, 0xfffffffffffffff6
jne 0x140159630
mov r8d, 0x104
jmp 0x1401596a0
inc r8
jmp 0x1401596a0
add r8, 2
jmp 0x1401596a0
add r8, 3
jmp 0x1401596a0
add r8, 4
nop word cs:[rax + rax]
mov rcx, rbx
mov rdx, rdi
call fcn.140157b80
mov r13, qword [rbp + 0x438]
mov r8, qword [rbp + 0x440]
mov rcx, r12
mov rdx, r13
call fcn.140159c20
test byte [rbp + 0x450], 1
je 0x14015977a
mov r14, rbx
mov rbx, rdi
mov rax, qword [rbp + 0x458]
mov qword [rbp + 0x4d8], rax
mov rdi, qword [rbp + 0x460]
mov rcx, qword [rbp + 0x468]
cmp rcx, 0x40
jb 0x140159760
cmp word [rdi], 0x5a4d
jne 0x140159760
mov eax, dword [rdi + 0x3c]
mov rdx, rcx
sub rdx, rax
setb r8b
cmp rdx, 0x88
setb dl
or dl, r8b
jne 0x140159760
cmp dword [rdi + rax], 0x4550
jne 0x140159760
cmp word [rdi + rax + 0x18], 0x20b
jne 0x140159760
movzx edx, word [rdi + rax + 0x14]
cmp rdx, 0x70
jb 0x140159760
lea r8, [rax + 0x88]
add rdx, 0xffffffffffffff90
sub rcx, r8
cmp rcx, rdx
jb 0x140159760
mov ecx, dword [rdi + rax + 0x84]
shl rcx, 3
cmp rcx, rdx
jbe 0x14015979a
nop dword [rax]
mov rcx, rdi
call sub.KERNEL32.dll_UnmapViewOfFile
mov rcx, qword [rbp + 0x4d8]
call sub.KERNEL32.dll_CloseHandle
mov rdi, rbx
mov rbx, r14
cmp qword [rbp + 0x430], 0
je 0x140159610
mov edx, 1
mov rcx, r13
call fcn.14003fe40
jmp 0x140159610
mov rax, qword [rdi + rax + 0x30]
mov qword [rbp + 0x4b0], rax
mov rax, qword [rbp - 0x48]
mov qword [rbp + 0x498], rax
mov rax, qword [rbp + 0x430]
mov qword [rbp + 0x4b8], rax
movzx eax, byte [0x1402a6198]
mov edx, 0x10
xor ecx, ecx
call fcn.140188040
test rax, rax
je 0x140159a3e
mov edx, dword [rbp - 0x40]
mov rcx, qword [rbp + 0x4b0]
mov qword [rax], rcx
mov qword [rbp + 0x4a0], rax
mov qword [rax + 8], rdx
lea rax, [rbp + 0x440]
movups xmm0, xmmword [rax]
movaps xmmword [rbp + 0x450], xmm0
mov rcx, rdi
call sub.KERNEL32.dll_UnmapViewOfFile
mov rcx, qword [rbp + 0x4d8]
call sub.KERNEL32.dll_CloseHandle
movabs rax, 0x8000000000000000
mov rcx, qword [rbp + 0x4b8]
cmp rcx, rax
je 0x140159601
mov rax, rcx
mov rcx, qword [rbp + 0x498]
sub rcx, qword [rbp + 0x4b0]
mov qword [rbp + 0x3e0], rax
mov qword [rbp + 0x3e8], r13
movaps xmm0, xmmword [rbp + 0x450]
lea rax, [rbp + 0x3f0]
movups xmmword [rax], xmm0
mov qword [rbp + 0x400], 1
mov rax, qword [rbp + 0x4a0]
mov qword [rbp + 0x408], rax
mov qword [rbp + 0x410], 1
mov qword [rbp + 0x418], rcx
mov rax, qword [rbp + 0x4e0]
cmp rax, qword [rbp + 0x4c0]
mov rdi, rbx
mov rbx, r14
jne 0x1401598bd
lea rcx, [rbp + 0x4c0]
call fcn.140159ef0
mov rax, qword [rbp + 0x4c8]
mov qword [rbp + 0x4a8], rax
mov rcx, qword [rbp + 0x4e0]
mov rax, rcx
shl rax, 6
movups xmm0, xmmword [rbp + 0x3e0]
movups xmm1, xmmword [rbp + 0x3f0]
movups xmm2, xmmword [rbp + 0x400]
movups xmm3, xmmword [rbp + 0x410]
mov rdx, qword [rbp + 0x4a8]
movups xmmword [rdx + rax + 0x30], xmm3
movups xmmword [rdx + rax + 0x20], xmm2
movups xmmword [rdx + rax + 0x10], xmm1
movups xmmword [rdx + rax], xmm0
inc rcx
mov qword [rbp + 0x4e0], rcx
mov qword [rbp + 0x4d0], rcx
jmp 0x140159610
mov rcx, rsi
call sub.KERNEL32.dll_CloseHandle
mov r15, qword [rbp + 0x490]
movabs rbx, 0x8000000000000000
movups xmm0, xmmword [rbp + 0x4c0]
movaps xmmword [rbp - 0x60], xmm0
mov rax, qword [rbp + 0x4d0]
mov qword [rbp - 0x50], rax
movups xmm0, xmmword [rbp + 0x478]
movups xmmword [rbp - 0x48], xmm0
mov rax, qword [rbp + 0x488]
mov qword [rbp - 0x38], rax
mov rdi, qword [0x1401a2110]
cmp rdi, rbx
je 0x1401599e2
mov rsi, qword [0x1401a2118]
mov rbx, qword [0x1401a2120]
test rbx, rbx
je 0x1401599c4
lea r14, [rsi + 0x28]
jmp 0x140159999
add r14, 0x40
dec rbx
je 0x1401599c4
cmp qword [r14 - 0x28], 0
je 0x1401599ae
mov rcx, qword [r14 - 0x20]
mov edx, 1
call fcn.14003fe40
cmp qword [r14 - 8], 0
je 0x140159990
mov rcx, qword [r14]
mov edx, 8
call fcn.14003fe40
jmp 0x140159990
test rdi, rdi
je 0x1401599d6
mov edx, 8
mov rcx, rsi
call fcn.14003fe40
lea rcx, [0x1401a2128]
call fcn.14015a090
movaps xmm0, xmmword [rbp - 0x60]
movaps xmm1, xmmword [rbp - 0x50]
movaps xmm2, xmmword [rbp - 0x40]
movups xmmword [0x1401a2130], xmm2
movups xmmword [0x1401a2120], xmm1
movups xmmword [0x1401a2110], xmm0
lea rcx, [r15 - 1]
test r15, r15
cmove rcx, r15
lea rdx, [rbp + 0x420]
call fcn.14015a150
nop
add rsp, 0x568
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov ecx, 8
mov edx, 0x8c0
call fcn.14003a3fc
mov rsi, qword [rbp + 0x4b8]
mov ecx, 8
mov edx, 0x10
call fcn.14003a45d
ud2