Function at 0x180001db0
Capabilities:
Contain obfuscated stackstrings
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, 0xa0
mov rax, qword [0x180080238]
xor rax, rsp
mov qword [rbp + 0x1f], rax
movdqa xmm0, xmmword [str.NtAllocateVirtuaNtFreeVirtualMem]
lea rcx, [rbp - 0x19]
movdqu xmmword [rbp - 0x11], xmm0
xor r13d, r13d
mov qword [rbp - 0x39], r9
movdqa xmm0, xmmword [0x18005cbb0]
mov r12, rdx
movdqu xmmword [rbp + 7], xmm0
mov qword [rbp - 0x29], r13
mov dword [rbp - 1], 0x6d654d6c
mov dword [rbp + 3], 0x79726f
mov dword [rbp + 0x17], 0x79726f
mov dword [rbp - 0x19], 0x6c64746e
mov word [rbp - 0x15], 0x6c
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x11]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rbp + 7]
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
movsxd rcx, dword [r12 + 0x3c]
mov qword [rbp - 0x31], rax
cmp dword [rcx + r12], 0x4550
je 0x180001e5e
mov ecx, r13d
jmp 0x180001e63
mov ecx, dword [rcx + r12 + 0x50]
mov eax, ecx
mov qword [rbp - 0x21], rax
test ecx, ecx
je 0x1800021f8
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 - 0x21]
mov rcx, rax
mov dword [rsp + 0x20], 0x3000
xor r8d, r8d
lea rdx, [rbp - 0x29]
call rdi
test eax, eax
js 0x1800021f8
mov qword [rsp + 0xd0], rsi
mov rdx, r12
mov qword [rsp + 0x98], r14
mov r14, qword [rbp - 0x29]
mov qword [rsp + 0x90], r15
mov rcx, r14
movsxd r15, dword [r12 + 0x3c]
mov r8d, dword [r15 + r12 + 0x54]
movzx ebx, word [r15 + r12 + 6]
call fcn.18003a9c0
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 0x180001f4c
mov esi, ebx
mov eax, dword [rdi + 0x10]
test eax, eax
jne 0x180001f28
mov eax, dword [r15 + r12 + 0x38]
test eax, eax
je 0x180001f42
mov ebx, dword [rdi + 0xc]
mov r8d, eax
add rbx, r14
xor edx, edx
mov rcx, rbx
call fcn.18003add0
jmp 0x180001f3f
mov ebx, dword [rdi + 0xc]
mov r8, rax
mov edx, dword [rdi + 0x14]
add rbx, r14
mov rcx, rbx
add rdx, r12
call fcn.18003a9c0
mov dword [rdi + 8], ebx
add rdi, 0x28
sub rsi, 1
jne 0x180001f03
mov rbx, qword [rbp - 0x29]
movsxd rdi, dword [rbx + 0x3c]
mov r11d, dword [rdi + rbx + 0xb0]
add r11, rbx
cmp r11, rbx
je 0x180001fdc
mov r9d, dword [r11]
test r9d, r9d
je 0x180001fdc
mov esi, 0xfff
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 0x180001fcb
mov r10d, eax
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rdx]
movzx ecx, ax
shr eax, 0xc
and cx, si
cmp eax, 3
je 0x180001fb6
cmp eax, 0xa
jne 0x180001fbd
movzx eax, cx
add qword [rax + r9], r8
add rdx, 2
sub r10, 1
jne 0x180001fa0
mov ecx, dword [r11 + 4]
mov eax, ecx
add r11, rax
mov r9d, dword [r11]
test r9d, r9d
jne 0x180001f71
mov rbx, qword [rbp - 0x29]
movsxd rax, dword [rbx + 0x3c]
mov r15d, dword [rax + rbx + 0x90]
add r15, rbx
cmp dword [r15], r13d
je 0x180002096
nop dword [rax]
nop dword [rax + rax]
mov esi, dword [r15 + 0xc]
add rsi, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x180002031
xor edx, edx
mov r8d, 0x1000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov rdi, rax
test rax, rax
je 0x180002084
mov r12d, dword [r15 + 0x10]
mov esi, r13d
mov r13d, dword [r15]
add r12, rbx
add r13, rbx
mov rax, qword [r13]
test rax, rax
je 0x180002081
xor r14d, r14d
nop dword [rax]
mov rcx, rdi
test rax, rax
jns 0x18000205d
movzx edx, ax
jmp 0x180002064
lea rdx, [rax + 2]
add rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
inc esi
mov qword [r12 + r14], rax
lea r14, [rsi*8]
mov rax, qword [r14 + r13]
test rax, rax
jne 0x180002050
xor r13d, r13d
add r15, 0x14
cmp dword [r15], 0
jne 0x180002000
mov rbx, qword [rbp - 0x29]
movsxd rax, dword [rbx + 0x3c]
mov r15d, dword [rax + rbx + 0xf0]
add r15, rbx
cmp dword [r15 + 0xc], 0
je 0x18000214a
mov esi, dword [r15 + 4]
add rsi, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x1800020e1
xor edx, edx
mov r8d, 0x1000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov rdi, rax
test rax, rax
je 0x180002131
mov r12d, dword [r15 + 0xc]
mov esi, r13d
mov r13d, dword [r15 + 0x10]
add r12, rbx
add r13, rbx
mov rax, qword [r13]
test rax, rax
je 0x180002131
xor r14d, r14d
nop
mov rcx, rdi
test rax, rax
jns 0x18000210d
movzx edx, ax
jmp 0x180002114
lea rdx, [rax + 2]
add rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
inc esi
mov qword [r12 + r14], rax
lea r14, [rsi*8]
mov rax, qword [r14 + r13]
test rax, rax
jne 0x180002100
add r15, 0x20
mov r13d, 0
cmp dword [r15 + 0xc], 0
jne 0x1800020b0
mov rbx, qword [rbp - 0x29]
movsxd rax, dword [rbx + 0x3c]
mov r15, qword [rsp + 0x90]
mov r14, qword [rsp + 0x98]
mov rsi, qword [rsp + 0xd0]
mov ecx, ebx
mov qword [rax + rbx + 0x30], rcx
mov rdi, qword [rbp - 0x29]
movsxd rax, dword [rdi + 0x3c]
mov ecx, dword [rax + rdi + 0xd0]
test ecx, ecx
je 0x1800021af
mov rbx, qword [rcx + rdi + 0x18]
test rbx, rbx
je 0x1800021af
mov rax, qword [rbx]
test rax, rax
je 0x1800021af
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 0x180002192
mov rdi, qword [rbp - 0x29]
movsxd rax, dword [rdi + 0x3c]
mov edx, 1
mov r8, qword [rbp - 0x39]
mov rcx, rdi
mov r9d, dword [rax + rdi + 0x28]
add r9, rdi
call r9
test eax, eax
jne 0x180002215
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 - 0x21]
mov rcx, rax
lea rdx, [rbp - 0x29]
call qword [rbp - 0x31]
xor eax, eax
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.180037cc0
add rsp, 0xa0
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret
mov rax, qword [rbp - 0x29]
jmp 0x1800021fa