Function at 0x180001000
Capabilities:
Allocate or change rwx memory
Create process on windows
Link many functions at runtime
Resume thread
Terminate process

Disassembly:
push rbp
lea rbp, [rsp - 0x730]
sub rsp, 0x830
mov rax, qword [0x180005008]
xor rax, rsp
mov qword [rbp + 0x720], rax
cmp edx, 1
jne 0x1800017f7
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
lea rdx, str.version
lea rcx, [rbp + 0x510]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rcx, [rbp + 0x510]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x180005640], rax
test rax, rax
je 0x1800017f7
lea rdx, [0x180003378]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x1800010ae
lea rax, [0x180003378]
shr rax, 0x10
test ax, ax
jne 0x1800010a2
lea r8, [0x180003378]
lea rdx, [0x180003200]
lea rcx, [rbp + 0x4b0]
call qword [sym.imp.USER32.dll_wsprintfW]
mov ecx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rcx, qword [0x180005640]
lea rdx, [0x180003390]
mov qword [0x1800056c8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x180001103
lea rax, [0x180003390]
shr rax, 0x10
test ax, ax
jne 0x1800010f7
lea r8, [0x180003390]
lea rdx, [0x180003200]
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_wsprintfW]
mov ecx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rcx, qword [0x180005640]
lea rdx, [0x1800033b0]
mov qword [0x1800056c0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x18000115a
lea rax, [0x1800033b0]
shr rax, 0x10
test ax, ax
jne 0x18000114e
lea r8, [0x1800033b0]
lea rdx, [0x180003200]
lea rcx, [rbp + 0x4b0]
call qword [sym.imp.USER32.dll_wsprintfW]
mov ecx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rcx, qword [0x180005640]
lea rdx, [0x1800033c8]
mov qword [0x1800056b8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x1800011af
lea rax, [0x1800033c8]
shr rax, 0x10
test ax, ax
jne 0x1800011a3
lea r8, [0x1800033c8]
lea rdx, [0x180003200]
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_wsprintfW]
mov ecx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rcx, qword [0x180005640]
lea rdx, [0x1800033e0]
mov qword [0x1800056b0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x180001206
lea rax, [0x1800033e0]
shr rax, 0x10
test ax, ax
jne 0x1800011fa
lea r8, [0x1800033e0]
lea rdx, [0x180003200]
lea rcx, [rbp + 0x4b0]
call qword [sym.imp.USER32.dll_wsprintfW]
mov ecx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rcx, qword [0x180005640]
lea rdx, [0x1800033f8]
mov qword [0x1800056a8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x18000125b
lea rax, [0x1800033f8]
shr rax, 0x10
test ax, ax
jne 0x18000124f
lea r8, [0x1800033f8]
lea rdx, [0x180003200]
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_wsprintfW]
mov ecx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rcx, qword [0x180005640]
lea rdx, [0x180003418]
mov qword [0x1800056a0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x1800012b2
lea rax, [0x180003418]
shr rax, 0x10
test ax, ax
jne 0x1800012a6
lea r8, [0x180003418]
lea rdx, [0x180003200]
lea rcx, [rbp + 0x4b0]
call qword [sym.imp.USER32.dll_wsprintfW]
mov ecx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rcx, qword [0x180005640]
lea rdx, [0x180003438]
mov qword [0x180005698], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x180001307
lea rax, [0x180003438]
shr rax, 0x10
test ax, ax
jne 0x1800012fb
lea r8, [0x180003438]
lea rdx, [0x180003200]
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_wsprintfW]
mov ecx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rcx, qword [0x180005640]
lea rdx, [0x180003450]
mov qword [0x180005690], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x18000135e
lea rax, [0x180003450]
shr rax, 0x10
test ax, ax
jne 0x180001352
lea r8, [0x180003450]
lea rdx, [0x180003200]
lea rcx, [rbp + 0x4b0]
call qword [sym.imp.USER32.dll_wsprintfW]
mov ecx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rcx, qword [0x180005640]
lea rdx, [0x180003468]
mov qword [0x180005688], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x1800013b3
lea rax, [0x180003468]
shr rax, 0x10
test ax, ax
jne 0x1800013a7
lea r8, [0x180003468]
lea rdx, [0x180003200]
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_wsprintfW]
mov ecx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rcx, qword [0x180005640]
lea rdx, [0x180003478]
mov qword [0x180005680], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x18000140a
lea rax, [0x180003478]
shr rax, 0x10
test ax, ax
jne 0x1800013fe
lea r8, [0x180003478]
lea rdx, [0x180003200]
lea rcx, [rbp + 0x4b0]
call qword [sym.imp.USER32.dll_wsprintfW]
mov ecx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rcx, qword [0x180005640]
lea rdx, [0x180003488]
mov qword [0x180005678], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x18000145f
lea rax, [0x180003488]
shr rax, 0x10
test ax, ax
jne 0x180001453
lea r8, [0x180003488]
lea rdx, [0x180003200]
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_wsprintfW]
mov ecx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rcx, qword [0x180005640]
lea rdx, [0x180003498]
mov qword [0x180005670], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x1800014b6
lea rax, [0x180003498]
shr rax, 0x10
test ax, ax
jne 0x1800014aa
lea r8, [0x180003498]
lea rdx, [0x180003200]
lea rcx, [rbp + 0x4b0]
call qword [sym.imp.USER32.dll_wsprintfW]
mov ecx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rcx, qword [0x180005640]
lea rdx, [0x1800034a8]
mov qword [0x180005668], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x18000150b
lea rax, [0x1800034a8]
shr rax, 0x10
test ax, ax
jne 0x1800014ff
lea r8, [0x1800034a8]
lea rdx, [0x180003200]
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_wsprintfW]
mov ecx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rcx, qword [0x180005640]
lea rdx, [0x1800034c0]
mov qword [0x180005660], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x180001562
lea rax, [0x1800034c0]
shr rax, 0x10
test ax, ax
jne 0x180001556
lea r8, [0x1800034c0]
lea rdx, [0x180003200]
lea rcx, [rbp + 0x4b0]
call qword [sym.imp.USER32.dll_wsprintfW]
mov ecx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rcx, qword [0x180005640]
lea rdx, [0x1800034d8]
mov qword [0x180005658], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x1800015b7
lea rax, [0x1800034d8]
shr rax, 0x10
test ax, ax
jne 0x1800015ab
lea r8, [0x1800034d8]
lea rdx, [0x180003200]
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_wsprintfW]
mov ecx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rcx, qword [0x180005640]
lea rdx, [0x1800034e8]
mov qword [0x180005650], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x18000160e
lea rax, [0x1800034e8]
shr rax, 0x10
test ax, ax
jne 0x180001602
lea r8, [0x1800034e8]
lea rdx, [0x180003200]
lea rcx, [rbp + 0x4b0]
call qword [sym.imp.USER32.dll_wsprintfW]
mov ecx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov qword [0x180005648], rax
lea rcx, [rbp + 0x510]
mov eax, 2
mov qword [rsp + 0x850], rdi
lea rdx, [0x180003210]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
lea rdx, [rdx + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rdx - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rdx - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rdx - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rdx - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rdx - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rdx - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rax, 1
jne 0x180001630
mov eax, dword [rdx + 0x10]
xor edi, edi
movups xmm0, xmmword [rdx]
xor r9d, r9d
xor r8d, r8d
movaps xmm1, xmmword [0x180003340]
movups xmmword [rcx], xmm0
mov dword [rcx + 0x10], eax
movzx eax, byte [rdx + 0x14]
lea rdx, [rbp + 0x4c0]
movaps xmm0, xmmword [str.c:windows_system32_rundll32.exe]
mov byte [rcx + 0x14], al
xor ecx, ecx
movzx eax, word [0x180003370]
mov word [rbp + 0x500], ax
xor eax, eax
mov dword [rbp - 0x2c], eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
movaps xmmword [rbp + 0x4c0], xmm0
movaps xmm0, xmmword [0x180003350]
mov qword [rsp + 0x38], rdi
movaps xmmword [rbp + 0x4d0], xmm1
movaps xmm1, xmmword [0x180003360]
movaps xmmword [rbp + 0x4e0], xmm0
xorps xmm0, xmm0
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x44
mov dword [rsp + 0x20], edi
movaps xmmword [rbp + 0x4f0], xmm1
movups xmmword [rsp + 0x74], xmm0
mov dword [rsp + 0x70], 0x68
movups xmmword [rbp - 0x7c], xmm0
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1800017ef
mov rcx, qword [rsp + 0x58]
lea rdx, [rbp - 0x20]
mov qword [rsp + 0x848], rbx
mov dword [rbp + 0x10], 0x100003
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
mov rcx, qword [rsp + 0x50]
xor edx, edx
mov r9d, 0x1000
mov dword [rsp + 0x20], 0x40
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rcx, qword [rsp + 0x50]
lea r8, [rbp + 0x510]
mov rdx, rax
mov qword [rsp + 0x20], rdi
mov r9d, 0x800
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [rsp + 0x58]
lea rdx, [rbp - 0x20]
mov qword [rbp + 0xd8], rbx
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x848]
mov rdi, qword [rsp + 0x850]
mov eax, 1
mov rcx, qword [rbp + 0x720]
xor rcx, rsp
call fcn.1800018a0
add rsp, 0x830
pop rbp
ret