Function at 0x180002de0
Capabilities:
Enumerate pe sections
Link many functions at runtime

Disassembly:
push rbp
push rbx
push rdi
push r12
push r13
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x18007d010]
xor rax, rsp
mov qword [rbp + 0x2f], rax
movdqa xmm0, xmmword [str.NtAllocateVirtuaNtFreeVirtualMem]
lea rcx, [rbp - 0x11]
movdqu xmmword [rbp - 1], xmm0
xor r13d, r13d
mov r12, rdx
movdqa xmm0, xmmword [0x180072e30]
movdqu xmmword [rbp + 0x17], xmm0
mov qword [rbp - 0x21], r13
mov dword [rbp + 0xf], 0x6d654d6c
mov dword [rbp + 0x13], 0x79726f
mov dword [rbp + 0x27], 0x79726f
mov dword [rbp - 0x11], 0x74006e
mov dword [rbp - 0xd], 0x6c0064
mov dword [rbp - 9], 0x6c
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [rbp - 1]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rbp + 0x17]
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
movsxd rcx, dword [r12 + 0x3c]
mov qword [rbp - 0x29], rax
cmp dword [rcx + r12], 0x4550
je 0x180002e92
mov ecx, r13d
jmp 0x180002e97
mov ecx, dword [rcx + r12 + 0x50]
mov eax, ecx
mov qword [rbp - 0x19], rax
test ecx, ecx
je 0x180003216
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xd0], r14
mov qword [rsp + 0xd8], r15
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
mov ecx, 0x1fffff
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [rsp + 0x28], 0x40
lea r9, [rbp - 0x19]
mov rcx, rax
mov dword [rsp + 0x20], 0x3000
xor r8d, r8d
lea rdx, [rbp - 0x21]
call rdi
movsxd r15, dword [r12 + 0x3c]
mov rdx, r12
mov r14, qword [rbp - 0x21]
mov rcx, r14
mov r8d, dword [r15 + r12 + 0x54]
movzx ebx, word [r15 + r12 + 6]
call fcn.18003c5e0
movsxd rax, dword [r12 + 0x3c]
lea rdi, [r14 + 0x18]
movzx ecx, word [rax + r14 + 0x14]
add rcx, rax
add rdi, rcx
cmp r13w, bx
jae 0x180002f79
mov esi, ebx
nop
mov eax, dword [rdi + 0x10]
test eax, eax
jne 0x180002f55
mov eax, dword [r15 + r12 + 0x38]
test eax, eax
je 0x180002f6f
mov ebx, dword [rdi + 0xc]
mov r8d, eax
add rbx, r14
xor edx, edx
mov rcx, rbx
call fcn.18003c3c0
jmp 0x180002f6c
mov ebx, dword [rdi + 0xc]
mov r8, rax
mov edx, dword [rdi + 0x14]
add rbx, r14
mov rcx, rbx
add rdx, r12
call fcn.18003c5e0
mov dword [rdi + 8], ebx
add rdi, 0x28
sub rsi, 1
jne 0x180002f30
mov rbx, qword [rbp - 0x21]
movsxd rdi, dword [rbx + 0x3c]
mov r11d, dword [rdi + rbx + 0xb0]
add r11, rbx
cmp r11, rbx
je 0x180002ffd
mov r9d, dword [r11]
test r9d, r9d
je 0x180002ffd
mov esi, 0xfff
nop
mov ecx, dword [r11 + 4]
lea rdx, [r11 + 8]
mov r8, rbx
add r9, rbx
sub r8, qword [rdi + rbx + 0x30]
lea rax, [rcx - 8]
shr rax, 1
test eax, eax
je 0x180002fec
mov r10d, eax
movzx eax, word [rdx]
movzx ecx, ax
shr eax, 0xc
and cx, si
cmp eax, 3
je 0x180002fd7
cmp eax, 0xa
jne 0x180002fde
movzx eax, cx
add qword [rax + r9], r8
add rdx, 2
sub r10, 1
jne 0x180002fc1
mov ecx, dword [r11 + 4]
mov eax, ecx
add r11, rax
mov r9d, dword [r11]
test r9d, r9d
jne 0x180002fa0
mov rbx, qword [rbp - 0x21]
movsxd rax, dword [rbx + 0x3c]
mov r15d, dword [rax + rbx + 0x90]
add r15, rbx
cmp dword [r15], r13d
je 0x1800030b6
nop word [rax + rax]
mov edi, dword [r15 + 0xc]
add rdi, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rsi, rax
test rax, rax
jne 0x180003051
xor edx, edx
mov r8d, 0x1000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov rsi, rax
test rax, rax
je 0x1800030a4
mov r12d, dword [r15 + 0x10]
mov edi, r13d
mov r13d, dword [r15]
add r12, rbx
add r13, rbx
mov rax, qword [r13]
test rax, rax
je 0x1800030a1
xor r14d, r14d
nop dword [rax]
mov rcx, rsi
test rax, rax
jns 0x18000307d
movzx edx, ax
jmp 0x180003084
lea rdx, [rax + 2]
add rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
inc edi
mov qword [r12 + r14], rax
lea r14, [rdi*8]
mov rax, qword [r14 + r13]
test rax, rax
jne 0x180003070
xor r13d, r13d
add r15, 0x14
cmp dword [r15], 0
jne 0x180003020
mov rbx, qword [rbp - 0x21]
movsxd rax, dword [rbx + 0x3c]
mov r15d, dword [rax + rbx + 0xf0]
add r15, rbx
cmp dword [r15 + 0xc], 0
je 0x18000316a
mov edi, dword [r15 + 4]
add rdi, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rsi, rax
test rax, rax
jne 0x180003101
xor edx, edx
mov r8d, 0x1000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov rsi, rax
test rax, rax
je 0x180003151
mov r12d, dword [r15 + 0xc]
mov edi, r13d
mov r13d, dword [r15 + 0x10]
add r12, rbx
add r13, rbx
mov rax, qword [r13]
test rax, rax
je 0x180003151
xor r14d, r14d
nop
mov rcx, rsi
test rax, rax
jns 0x18000312d
movzx edx, ax
jmp 0x180003134
lea rdx, [rax + 2]
add rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
inc edi
mov qword [r12 + r14], rax
lea r14, [rdi*8]
mov rax, qword [r14 + r13]
test rax, rax
jne 0x180003120
add r15, 0x20
mov r13d, 0
cmp dword [r15 + 0xc], 0
jne 0x1800030d0
mov rbx, qword [rbp - 0x21]
movsxd rax, dword [rbx + 0x3c]
mov r15, qword [rsp + 0xd8]
mov r14, qword [rsp + 0xd0]
mov rsi, qword [rsp + 0xc0]
mov ecx, ebx
mov qword [rax + rbx + 0x30], rcx
mov rdi, qword [rbp - 0x21]
movsxd rax, dword [rdi + 0x3c]
mov ecx, dword [rax + rdi + 0xd0]
test ecx, ecx
je 0x1800031cf
mov rbx, qword [rcx + rdi + 0x18]
test rbx, rbx
je 0x1800031cf
mov rax, qword [rbx]
test rax, rax
je 0x1800031cf
xor r8d, r8d
mov rcx, rdi
lea edx, [r8 + 1]
call rax
mov rax, qword [rbx + 8]
lea rbx, [rbx + 8]
test rax, rax
jne 0x1800031b2
mov rdi, qword [rbp - 0x21]
movsxd rax, dword [rdi + 0x3c]
xor r8d, r8d
mov rcx, rdi
mov r9d, dword [rax + rdi + 0x28]
lea edx, [r8 + 1]
add r9, rdi
call r9
test eax, eax
jne 0x18000321a
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
mov ecx, 0x1fffff
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r9d, 0x8000
lea r8, [rbp - 0x19]
mov rcx, rax
lea rdx, [rbp - 0x21]
call qword [rbp - 0x29]
xor eax, eax
jmp 0x18000321e
mov rax, qword [rbp - 0x21]
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1800383a0
add rsp, 0x90
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret