joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435b00
Capabilities:
Get geographical location

Disassembly:
push rbp
push rbx
sub rsp, 0x38
mov rbp, rsp
mov ebx, r8d
lea r8, [rbp + 0x2c]
mov r9d, 2
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x435b27
movzx rax, word [rbp + 0x2c]
jmp 0x435b29
mov eax, ebx
lea rsp, [rbp + 0x38]
pop rbx
pop rbp
ret

Function at 0x4375a0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x8e0
mov rbp, rsp
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x48], rdx
mov qword [rbp + 0x58], 0
nop
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x48]
lea r8, [rbp + 0x60]
mov r9d, 0x400
call fcn.00437350
mov ebx, eax
mov rax, qword [0x005fa0a8]
cmp byte [rax], 0
je 0x4376d6
mov rcx, qword [0x005f9bc8]
call fcn.0040a870
call fcn.00409370
mov ecx, 1
xor edx, edx
lea r8, [rbp + 0x60]
mov r9d, ebx
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call sub.kernel32.dll_WideCharToMultiByte_1
mov esi, eax
lea rcx, [rbp + 0x58]
mov rdx, qword [0x00437560]
mov r8d, 1
movsxd r9, esi
call fcn.00412240
mov ecx, 1
xor edx, edx
lea r8, [rbp + 0x60]
mov r9d, ebx
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call sub.kernel32.dll_WideCharToMultiByte_1
mov ecx, 0xfffffff4
call sub.kernel32.dll_GetStdHandle_1
mov rcx, rax
mov rdx, qword [rbp + 0x58]
mov r8d, esi
lea r9, [rbp + 0x54]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile_1
mov ecx, 0xfffffff4
call sub.kernel32.dll_GetStdHandle_1
mov rcx, rax
lea rdx, [0x0043776c]
mov r8d, 2
lea r9, [rbp + 0x54]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile_1
jmp 0x43771b
mov rcx, qword [0x00601270]
call fcn.004129e0
mov rcx, rax
mov rax, qword [0x005f9b28]
mov edx, dword [rax + 8]
lea r8, [rbp + 0x860]
mov r9d, 0x40
call sub.user32.dll_LoadStringW_1
xor ecx, ecx
lea rdx, [rbp + 0x60]
lea r8, [rbp + 0x860]
mov r9d, 0x2010
call sub.user32.dll_MessageBoxW
nop
lea rcx, [rbp + 0x58]
mov rdx, qword [0x00437560]
call fcn.00412410
lea rsp, [rbp + 0x8e0]
pop rbx
pop rsi
pop rbp
ret
Function at 0x4becd0
Capabilities:
Encode data using xor

Disassembly:
mov al, 0xb5
mov r8, rcx
xor edx, edx
mov ecx, edx
and ecx, 0x3f
mov r9, r8
shr r9, cl
and r9b, 0xff
xor al, r9b
add edx, 1
cmp edx, 8
jne 0x4becd7
nop
ret

Function at 0x50ffa0
Capabilities:
Resume thread

Disassembly:
push rbp
sub rsp, 0x40
mov rbp, rsp
mov qword [rbp + 0x20], rcx
mov byte [rbp + 0x2f], dl
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0
nop
mov rax, qword [rbp + 0x20]
movzx rax, byte [rax + 0x19]
movzx rcx, byte [rbp + 0x2f]
or al, cl
test al, al
je 0x510032
mov rax, qword [rbp + 0x20]
cmp byte [rax + 0x1d], 0
jne 0x510032
mov rax, qword [rbp + 0x20]
cmp byte [rax + 0x40], 0
jne 0x510032
mov rax, qword [rbp + 0x20]
mov byte [rax + 0x1b], 0
mov byte [rax + 0x19], 0
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 0x10]
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x51005c
lea rcx, [rbp + 0x38]
mov rdx, qword [0x005f9ff0]
call fcn.00416670
mov rcx, qword [0x004d6fd0]
mov dl, 1
mov r8, qword [rbp + 0x38]
call fcn.00437790
mov rcx, rax
call fcn.0040d980
jmp 0x51005c
lea rcx, [rbp + 0x30]
mov rdx, qword [0x005f9ff0]
call fcn.00416670
mov rcx, qword [0x004d6fd0]
mov dl, 1
mov r8, qword [rbp + 0x30]
call fcn.00437790
mov rcx, rax
call fcn.0040d980
nop
lea rcx, [rbp + 0x30]
mov edx, 2
call fcn.0040e960
lea rsp, [rbp + 0x40]
pop rbp
ret

Function at 0x510bd0
Capabilities:
Suspend thread

Disassembly:
push rbp
sub rsp, 0x40
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x50], rcx
mov rax, qword [rbp + 0x50]
movzx rax, byte [rax + 0x1b]
mov byte [rbp + 0x3f], al
nop
mov rax, qword [rbp + 0x50]
mov byte [rax + 0x1b], 1
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 0x10]
call sub.kernel32.dll_SuspendThread
mov rcx, qword [rbp + 0x50]
test eax, eax
setge dl
call fcn.0050fde0
jmp 0x510c2b
lea rsp, [rbp + 0x40]
pop rbp
ret

Function at 0x510c50
Capabilities:
Resume thread

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
mov rcx, qword [rbx + 0x10]
call sub.kernel32.dll_ResumeThread
mov esi, eax
mov rcx, rbx
test esi, esi
setge dl
call fcn.0050fde0
cmp esi, 1
jne 0x510c7a
mov byte [rbx + 0x1b], 0
add rsp, 0x28
pop rbx
pop rsi
ret
Function at 0x55bd00
Capabilities:
Get disk information

Disassembly:
push rbp
sub rsp, 0x60
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x70], rcx
mov rcx, qword [rbp + 0x70]
mov rdx, qword [0x00419700]
call fcn.00412410
xor ecx, ecx
call sub.kernel32.dll_SetLastError
xor ecx, ecx
xor edx, edx
call sub.kernel32.dll_GetLogicalDriveStringsW
mov dword [rbp + 0x4c], eax
mov ecx, dword [rbp + 0x4c]
call fcn.004300f0
mov qword [rbp + 0x58], rax
nop
mov ecx, dword [rbp + 0x4c]
mov rdx, qword [rbp + 0x58]
call sub.kernel32.dll_GetLogicalDriveStringsW
mov dword [rbp + 0x48], eax
cmp dword [rbp + 0x48], 0
je 0x55bdf4
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x50], rax
mov rax, qword [rbp + 0x70]
mov rax, qword [rax]
mov qword [rbp + 0x40], rax
cmp qword [rbp + 0x40], 0
je 0x55bd7f
mov rax, qword [rbp + 0x40]
mov rax, qword [rax - 8]
mov qword [rbp + 0x40], rax
mov rcx, qword [rbp + 0x70]
mov rdx, qword [0x00419700]
mov r8d, 1
mov rax, qword [rbp + 0x40]
lea r9, [rax + 1]
call fcn.00412240
mov rax, qword [rbp + 0x70]
mov rax, qword [rax]
mov qword [rbp + 0x38], rax
cmp qword [rbp + 0x38], 0
je 0x55bdbc
mov rax, qword [rbp + 0x38]
mov rax, qword [rax - 8]
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x70]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x38]
lea rcx, [rax + rcx*8 - 8]
mov rdx, qword [rbp + 0x50]
call fcn.00410260
mov rcx, qword [rbp + 0x50]
call fcn.0042fd90
lea rax, [rax + 2]
mov qword [rbp + 0x50], rax
mov rax, qword [rbp + 0x50]
cmp word [rax], 0
jne 0x55bd61
nop
mov rcx, qword [rbp + 0x58]
call fcn.00430140
mov rax, qword [rbp + 0x70]
lea rsp, [rbp + 0x60]
pop rbp
ret

Function at 0x55bf50
Capabilities:
Check if file exists

Disassembly:
push rbp
sub rsp, 0x30
mov rbp, rsp
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], 0
nop
mov rcx, qword [rbp + 0x20]
call fcn.0055b3c0
xor ecx, ecx
call sub.kernel32.dll_SetLastError
mov rcx, qword [rbp + 0x20]
call fcn.0042fd50
test al, al
jne 0x55bfb9
call sub.kernel32.dll_GetLastError_2
cmp eax, 2
je 0x55bfb9
cmp eax, 3
je 0x55bfb9
lea rcx, [rbp + 0x28]
mov edx, eax
xor r8, r8
call fcn.004359c0
mov rcx, qword [0x00424780]
mov dl, 1
mov r8, qword [rbp + 0x28]
call fcn.00437790
mov rcx, rax
call fcn.0040d980
nop
lea rcx, [rbp + 0x28]
call fcn.0040e880
lea rsp, [rbp + 0x30]
pop rbp
ret

Function at 0x55cfc0
Capabilities:
Get disk information

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov qword [rsp + 0x40], rcx
xor ebx, ebx
cmp qword [rsp + 0x40], 0
je 0x55d037
mov rcx, qword [rsp + 0x40]
call fcn.0055d360
test al, al
je 0x55d037
mov rcx, qword [rsp + 0x40]
call fcn.0055d0b0
mov esi, eax
call sub.kernel32.dll_GetLogicalDrives
mov rcx, qword [rsp + 0x40]
sub esi, 1
movsxd rsi, esi
movzx rcx, word [rcx + rsi*2]
mov edx, ecx
mov r8d, ecx
sub r8w, 0x61
cmp r8w, 0x1a
jae 0x55d01b
mov edx, ecx
and dx, 0xffdf
mov ecx, edx
cmp cx, 0x41
jb 0x55d037
cmp cx, 0x5a
ja 0x55d037
sub cl, 0x41
shr eax, cl
and eax, 1
cmp eax, 1
sete bl
mov eax, ebx
add rsp, 0x28
pop rbx
pop rsi
ret
Function at 0x560260
Capabilities:
Get common file path

Disassembly:
push rbp
push rbx
sub rsp, 0x708
mov rbp, rsp
mov qword [rbp + 0x198], 0
mov qword [rbp + 0x188], 0
mov qword [rbp + 0x180], 0
mov qword [rbp + 0x178], 0
mov qword [rbp + 0x170], 0
mov qword [rbp + 0x168], 0
mov qword [rbp + 0x158], 0
mov qword [rbp + 0x150], 0
mov qword [rbp + 0x148], 0
mov qword [rbp + 0x138], 0
mov qword [rbp + 0x130], 0
mov qword [rbp + 0x128], 0
mov qword [rbp + 0x120], 0
mov qword [rbp + 0x110], 0
mov qword [rbp + 0x108], 0
mov qword [rbp + 0x100], 0
mov qword [rbp + 0xf8], 0
mov qword [rbp + 0xf0], 0
mov qword [rbp + 0xe8], 0
mov qword [rbp + 0x118], 0
mov qword [rbp + 0x140], 0
mov qword [rbp + 0x160], 0
mov qword [rbp + 0x190], 0
mov qword [rbp + 0x240], 0
mov qword [rbp + 0x230], 0
mov qword [rbp + 0x228], 0
mov qword [rbp + 0x220], 0
mov qword [rbp + 0x218], 0
mov qword [rbp + 0x210], 0
mov qword [rbp + 0x200], 0
mov qword [rbp + 0x1f8], 0
mov qword [rbp + 0x1f0], 0
mov qword [rbp + 0x1e0], 0
mov qword [rbp + 0x1d8], 0
mov qword [rbp + 0x1d0], 0
mov qword [rbp + 0x1c8], 0
mov qword [rbp + 0x1b8], 0
mov qword [rbp + 0x1b0], 0
mov qword [rbp + 0x1a8], 0
mov qword [rbp + 0x1a0], 0
mov qword [rbp + 0x1c0], 0
mov qword [rbp + 0x1e8], 0
mov qword [rbp + 0x208], 0
mov qword [rbp + 0x238], 0
mov qword [rbp + 0x2e0], 0
mov qword [rbp + 0x2d8], 0
mov qword [rbp + 0x2d0], 0
mov qword [rbp + 0x2c8], 0
mov qword [rbp + 0x2c0], 0
mov qword [rbp + 0x2b8], 0
mov qword [rbp + 0x2b0], 0
mov qword [rbp + 0x2a8], 0
mov qword [rbp + 0x2a0], 0
mov qword [rbp + 0x298], 0
mov qword [rbp + 0x290], 0
mov qword [rbp + 0x288], 0
mov qword [rbp + 0x280], 0
mov qword [rbp + 0x278], 0
mov qword [rbp + 0x270], 0
mov qword [rbp + 0x268], 0
mov qword [rbp + 0x260], 0
mov qword [rbp + 0x258], 0
mov qword [rbp + 0x250], 0
mov qword [rbp + 0x248], 0
mov qword [rbp + 0x368], 0
mov qword [rbp + 0x358], 0
mov qword [rbp + 0x350], 0
mov qword [rbp + 0x348], 0
mov qword [rbp + 0x338], 0
mov qword [rbp + 0x330], 0
mov qword [rbp + 0x328], 0
mov qword [rbp + 0x320], 0
mov qword [rbp + 0x310], 0
mov qword [rbp + 0x308], 0
mov qword [rbp + 0x300], 0
mov qword [rbp + 0x2f8], 0
mov qword [rbp + 0x2f0], 0
mov qword [rbp + 0x2e8], 0
mov qword [rbp + 0x318], 0
mov qword [rbp + 0x340], 0
mov qword [rbp + 0x360], 0
mov qword [rbp + 0x3e0], 0
mov qword [rbp + 0x3d0], 0
mov qword [rbp + 0x3c8], 0
mov qword [rbp + 0x3c0], 0
mov qword [rbp + 0x3b0], 0
mov qword [rbp + 0x3a8], 0
mov qword [rbp + 0x3a0], 0
mov qword [rbp + 0x398], 0
mov qword [rbp + 0x388], 0
mov qword [rbp + 0x380], 0
mov qword [rbp + 0x378], 0
mov qword [rbp + 0x370], 0
Function at 0x565970
Capabilities:
Terminate thread

Disassembly:
push rbp
sub rsp, 0x70
mov rbp, rsp
mov qword [rbp + 0x38], rbp
mov qword [rbp + 0x80], rcx
mov dword [rbp + 0x88], edx
mov qword [rbp + 0x90], r8
mov rcx, qword [rbp + 0x90]
call fcn.0040ea10
nop
mov byte [rbp + 0x6f], 0
cmp dword [rbp + 0x88], 0
je 0x565aad
nop
mov ecx, 0x20
mov rdx, qword [0x0055d910]
call fcn.004119c0
mov qword [rbp + 0x60], rax
mov ecx, dword [rbp + 0x88]
call fcn.00409050
mov rcx, qword [rbp + 0x60]
mov qword [rcx], rax
mov rcx, qword [rbp + 0x80]
mov rax, qword [rbp + 0x60]
mov rdx, qword [rax]
mov r8d, dword [rbp + 0x88]
call fcn.00409490
mov rax, qword [rbp + 0x60]
mov ecx, dword [rbp + 0x88]
mov dword [rax + 8], ecx
mov rax, qword [rbp + 0x60]
lea rcx, [rax + 0x10]
mov rdx, qword [rbp + 0x90]
call fcn.0040eeb0
mov rax, qword [rbp + 0x60]
mov byte [rax + 0x18], 0
xor ecx, ecx
xor edx, edx
lea r8, [0x005652d0]
mov r9, qword [rbp + 0x60]
mov dword [rsp + 0x20], 0
lea rax, [rbp + 0x4c]
mov qword [rsp + 0x28], rax
call fcn.0040e680
mov qword [rbp + 0x50], rax
mov rcx, qword [rbp + 0x50]
mov edx, 0x7530
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
jne 0x565a71
mov rcx, qword [rbp + 0x50]
xor edx, edx
call sub.kernel32.dll_TerminateThread
lea rcx, [0x00606368]
call sub.kernel32.dll_LeaveCriticalSection_1
mov rcx, qword [rbp + 0x50]
call sub.kernel32.dll_CloseHandle_1
mov rax, qword [rbp + 0x60]
movzx rax, byte [rax + 0x18]
mov byte [rbp + 0x6f], al
mov rax, qword [rbp + 0x60]
mov rcx, qword [rax]
call fcn.00409080
mov rcx, qword [rbp + 0x60]
mov rdx, qword [0x0055d910]
call fcn.004119f0
jmp 0x565aac
nop
lea rcx, [rbp + 0x90]
call fcn.0040e880
movzx rax, byte [rbp + 0x6f]
lea rsp, [rbp + 0x70]
pop rbp
ret
Function at 0x56d260
Capabilities:
Get system information on windows

Disassembly:
push rbp
sub rsp, 0x30
mov rbp, rsp
mov qword [rbp + 0x28], rbp
cmp byte [0x005ef308], 0
jne 0x56d2d1
mov byte [0x005ef308], 1
nop
call fcn.00565b60
mov byte [0x005ef930], al
call fcn.00565d00
lea rcx, [0x00606428]
call sub.kernel32.dll_GetSystemInfo_1
mov eax, dword [0x0060642c]
mov dword [0x005f0244], eax
cmp dword [0x005f0244], 0xa0
jae 0x56d2bb
mov dword [0x005f0244], 0xa0
mov byte [0x005f0240], 0
call fcn.0056d200
jmp 0x56d2d1
lea rsp, [rbp + 0x30]
pop rbp
ret

Function at 0x56f050
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
sub rsp, 0x30
mov rbp, rsp
mov ecx, 0xa2
call sub.user32.dll_GetKeyState
and ax, 0x80
cmp ax, 0x80
sete al
mov byte [rbp + 0x2f], al
movzx rax, byte [rbp + 0x2f]
lea rsp, [rbp + 0x30]
pop rbp
ret

Function at 0x56f080
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
sub rsp, 0x30
mov rbp, rsp
mov ecx, 0xa3
call sub.user32.dll_GetKeyState
and ax, 0x80
cmp ax, 0x80
sete al
mov byte [rbp + 0x2f], al
movzx rax, byte [rbp + 0x2f]
lea rsp, [rbp + 0x30]
pop rbp
ret

Function at 0x56f0b0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
sub rsp, 0x30
mov rbp, rsp
mov ecx, 0x11
call sub.user32.dll_GetKeyState
and ax, 0x80
cmp ax, 0x80
sete al
mov byte [rbp + 0x2f], al
movzx rax, byte [rbp + 0x2f]
lea rsp, [rbp + 0x30]
pop rbp
ret

Function at 0x56f0e0
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
push rbp
push rbx
sub rsp, 0x178
mov rbp, rsp
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x58], rbp
mov qword [rbp + 0x190], rcx
mov dword [rbp + 0x198], edx
mov dword [rbp + 0x1a0], r8d
nop
mov rcx, qword [rbp + 0x190]
call fcn.0040e920
call fcn.0056f050
test al, al
jne 0x56f241
call fcn.0056f080
test al, al
jne 0x56f241
call fcn.0056f0b0
test al, al
jne 0x56f241
nop
mov ecx, 2
call fcn.00409050
mov qword [rbp + 0x168], rax
nop
lea rcx, [rbp + 0x68]
call sub.user32.dll_GetKeyboardState
mov ecx, dword [rbp + 0x1a0]
xor edx, edx
call sub.user32.dll_MapVirtualKeyW
mov ebx, eax
mov ecx, dword [rbp + 0x198]
call sub.user32.dll_GetKeyboardLayout
mov ecx, dword [rbp + 0x1a0]
mov edx, ebx
lea r8, [rbp + 0x68]
mov r9, qword [rbp + 0x168]
mov dword [rsp + 0x20], 2
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x30], rax
call sub.user32.dll_ToUnicodeEx
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x64]
sub eax, 1
cmp eax, 0xffffffff
je 0x56f1c0
test eax, eax
jne 0x56f21d
jmp 0x56f1ce
mov rcx, qword [rbp + 0x190]
call fcn.0040e920
jmp 0x56f229
mov rcx, qword [rbp + 0x190]
mov edx, 1
call fcn.004100e0
lea rcx, [rbp + 0x48]
mov rdx, qword [rbp + 0x168]
call fcn.00410260
lea rcx, [rbp + 0x50]
mov rdx, qword [rbp + 0x48]
mov r8d, 1
mov r9d, 1
call fcn.00410820
mov rcx, qword [rbp + 0x190]
mov rdx, qword [rbp + 0x50]
call fcn.00410370
jmp 0x56f229
mov rcx, qword [rbp + 0x190]
call fcn.0040e920
nop
mov rcx, qword [rbp + 0x168]
call fcn.00409080
jmp 0x56f240
nop
lea rcx, [rbp + 0x48]
mov edx, 2
call fcn.0040e960
mov rax, qword [rbp + 0x190]
lea rsp, [rbp + 0x178]
pop rbx
pop rbp
ret
Function at 0x5a3dc0
Capabilities:
Hash data with crc32

Disassembly:
push rbp
mov rbp, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x40
mov qword [rsp + 0x38], rcx
mov rcx, qword [rsp + 0x38]
mov qword [rcx + 0x40], 0
mov rcx, qword [rsp + 0x38]
mov dword [rcx + 0x64], 0
mov rcx, qword [rsp + 0x38]
mov qword [rcx + 0x28], 0
mov rcx, qword [rsp + 0x38]
call fcn.005a3ea0
mov dword [rsp + 0x34], 0
cmp dword [rsp + 0x34], 0x100
jae 0x5a3e99
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x2c], 0
cmp dword [rsp + 0x2c], 8
jge 0x5a3e73
mov eax, dword [rsp + 0x30]
shr eax, 1
mov ecx, dword [rsp + 0x30]
and ecx, 1
sub ecx, 1
xor ecx, 0xffffffff
and ecx, 0xedb88320
xor eax, ecx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x2c]
add eax, 1
mov dword [rsp + 0x2c], eax
jmp 0x5a3e2a
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x38]
mov dword [rdx + rcx*4 + 0x8c], eax
mov eax, dword [rsp + 0x34]
add eax, 1
mov dword [rsp + 0x34], eax
jmp 0x5a3e0c
mov rsp, rbp
pop rbp
ret

Function at 0x5a7340
Capabilities:
Create thread

Disassembly:
push rbp
mov rbp, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x60
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], r8
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x44]
mov rax, rsp
mov qword [rax + 0x28], rdx
mov dword [rax + 0x20], 0
xor r9d, r9d
mov qword [rsp + 0x38], rcx
mov ecx, r9d
mov edx, r9d
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x30], r8
mov r8, rax
mov r9, qword [rsp + 0x30]
call sub.msvcrt.dll__beginthreadex
movsxd r8, eax
mov r9, qword [rsp + 0x58]
mov qword [r9], r8
mov r8, qword [rsp + 0x58]
mov rcx, qword [r8]
call fcn.005a7200
mov rsp, rbp
pop rbp
ret
Function at 0x5b1d70
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
and rsp, 0xfffffffffffffff8
sub rsp, 0x20
mov qword [rsp + 0x18], rcx
mov dword [rsp + 0x14], edx
mov qword [rsp + 8], r8
mov dword [rsp + 4], 0
mov edx, dword [rsp + 0x14]
or edx, 0x100
mov dword [rsp + 0x14], edx
mov eax, dword [rsp + 0x14]
shr eax, 8
mov ecx, eax
mov rdx, qword [rsp + 0x18]
mov eax, dword [rdx + rcx*4]
mov r8d, dword [rsp + 0x14]
shr r8d, 7
and r8d, 1
mov r9d, 0
sub r9d, r8d
and r9d, 0x7ff
xor eax, r9d
shr eax, 4
mov ecx, eax
mov rdx, qword [rsp + 8]
mov eax, dword [rdx + rcx*4]
mov r8d, dword [rsp + 4]
add r8d, eax
mov dword [rsp + 4], r8d
mov eax, dword [rsp + 0x14]
shl eax, 1
mov dword [rsp + 0x14], eax
cmp dword [rsp + 0x14], 0x10000
jb 0x5b1da3
mov eax, dword [rsp + 4]
mov rsp, rbp
pop rbp
ret

Function at 0x5b5410
Capabilities:
Terminate thread

Disassembly:
push rbp
sub rsp, 0x70
mov rbp, rsp
mov qword [rbp + 0x38], rbp
mov qword [rbp + 0x80], rcx
mov qword [rbp + 0x88], rdx
mov dword [rbp + 0x6c], 0xffffffff
nop
mov rcx, qword [rbp + 0x88]
call fcn.005b4f70
mov dword [rbp + 0x4c], eax
cmp dword [rbp + 0x4c], 0xffffffff
je 0x5b5583
cmp qword [0x005f8780], 0
jne 0x5b546a
mov rcx, qword [0x004c98d0]
mov dl, 1
call fcn.0040b3a0
mov qword [0x005f8780], rax
mov ecx, 0x28
mov rdx, qword [0x005b4eb0]
call fcn.004119c0
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
lea rcx, [rax + 8]
mov rdx, qword [rbp + 0x80]
call fcn.0040eeb0
mov rcx, qword [rbp + 0x60]
mov rdx, qword [rbp + 0x88]
call fcn.0040eeb0
mov rax, qword [rbp + 0x60]
mov ecx, dword [rbp + 0x4c]
mov dword [rax + 0x10], ecx
mov rax, qword [rbp + 0x60]
mov qword [rax + 0x18], 0
mov rax, qword [rbp + 0x60]
mov dword [rax + 0x20], 0xffffffff
xor ecx, ecx
xor edx, edx
lea r8, [0x005b5150]
mov r9, qword [rbp + 0x60]
mov dword [rsp + 0x20], 0
lea rax, [rbp + 0x5c]
mov qword [rsp + 0x28], rax
call fcn.0040e680
mov qword [rbp + 0x50], rax
mov rcx, qword [rbp + 0x50]
mov edx, 0x7530
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
jne 0x5b5510
mov rcx, qword [rbp + 0x50]
xor edx, edx
call sub.kernel32.dll_TerminateThread
mov rcx, qword [rbp + 0x50]
call sub.kernel32.dll_CloseHandle_1
mov qword [rbp + 0x50], 0
mov rax, qword [rbp + 0x60]
mov eax, dword [rax + 0x20]
mov dword [rbp + 0x6c], eax
cmp dword [rbp + 0x6c], 0xffffffff
jne 0x5b5583
mov rcx, qword [rbp + 0x60]
call fcn.0040e880
mov rax, qword [rbp + 0x60]
lea rcx, [rax + 8]
call fcn.0040e880
mov rax, qword [rbp + 0x60]
mov dword [rax + 0x10], 0
mov rax, qword [rbp + 0x60]
mov qword [rax + 0x18], 0
mov rax, qword [rbp + 0x60]
mov dword [rax + 0x20], 0xffffffff
mov rcx, qword [rbp + 0x60]
mov rdx, qword [0x005b4eb0]
call fcn.004119f0
jmp 0x5b5583
mov eax, dword [rbp + 0x6c]
lea rsp, [rbp + 0x70]
pop rbp
ret
Function at 0x5bc130
Capabilities:
Send data
Send data on socket

Disassembly:
push rbp
sub rsp, 0x40
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x50], rcx
mov qword [rbp + 0x58], rdx
mov qword [rbp + 0x60], r8
mov qword [rbp + 0x68], r9
mov rcx, qword [rbp + 0x70]
call fcn.0040ea30
nop
mov byte [rbp + 0x37], 0
cmp qword [0x006068a0], 0
je 0x5bc249
mov rcx, qword [0x004d26a8]
mov dl, 1
call fcn.0040b3a0
mov qword [rbp + 0x38], rax
nop
mov rcx, qword [rbp + 0x68]
mov rax, qword [rbp + 0x68]
mov rax, qword [rax]
call qword [rax]
mov rcx, qword [rbp + 0x38]
mov rdx, qword [rbp + 0x68]
mov rdx, qword [rdx + 8]
mov r8, rax
call fcn.004fc3c0
mov cl, 1
lea rdx, [rbp + 0x38]
mov r8, qword [rbp + 0x38]
mov r9, qword [rbp + 0x70]
call fcn.005bfb40
test al, al
je 0x5bc23e
mov rcx, qword [rbp + 0x38]
mov rax, qword [rbp + 0x38]
mov rax, qword [rax]
call qword [rax]
mov dword [rbp + 0x30], eax
mov rcx, qword [rbp + 0x50]
lea rdx, [rbp + 0x30]
mov r8d, 4
xor r9, r9
call sub.ws2_32.dll_send
cmp eax, 4
jne 0x5bc23e
mov rcx, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x38]
call fcn.005be0b0
test al, al
je 0x5bc23e
mov rcx, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x60]
lea r8, [rbp + 0x38]
mov r9d, 0x800
call fcn.005c0320
test eax, eax
jle 0x5bc23e
mov rcx, qword [rbp + 0x58]
call fcn.004fd8b0
mov rcx, qword [rbp + 0x38]
mov rax, qword [rbp + 0x38]
mov rax, qword [rax]
call qword [rax]
mov rcx, qword [rbp + 0x58]
mov rdx, qword [rbp + 0x38]
mov rdx, qword [rdx + 8]
mov r8, rax
call fcn.004fc3c0
mov byte [rbp + 0x37], 1
nop
mov rcx, qword [rbp + 0x38]
call fcn.0040b460
nop
lea rcx, [rbp + 0x70]
call fcn.0040e8d0
movzx rax, byte [rbp + 0x37]
lea rsp, [rbp + 0x40]
pop rbp
ret
Function at 0x5bd350
Capabilities:
Create process on windows

Disassembly:
push rbp
sub rsp, 0xd0
mov rbp, rsp
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x58], rbp
mov qword [rbp + 0xe0], rcx
mov qword [rbp + 0xe8], rdx
mov qword [rbp + 0xf0], r8
mov qword [rbp + 0xf8], r9
lea rcx, [rbp + 0xf0]
call fcn.0040ea50
lea rcx, [rbp + 0xf8]
call fcn.0040ea50
nop
nop
lea rcx, [rbp + 0x68]
mov edx, 0x68
xor r8, r8
call fcn.0040a900
mov dword [rbp + 0x68], 0x68
mov rax, qword [rbp + 0xe8]
mov qword [rbp + 0x78], rax
mov dword [rbp + 0xa4], 1
movzx rax, word [rbp + 0x108]
mov word [rbp + 0xa8], ax
mov rcx, qword [rbp + 0xf8]
xor edx, edx
call fcn.00410070
test eax, eax
jne 0x5bd3fe
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0xf0]
call fcn.0040efc0
jmp 0x5bd427
lea rcx, [rbp + 0x60]
mov edx, 3
mov r8, qword [rbp + 0xf0]
lea r9, [0x005bd524]
mov rax, qword [rbp + 0xf8]
mov qword [rsp + 0x20], rax
call fcn.0040ff50
mov rcx, qword [rbp + 0x60]
call fcn.0040fc40
xor ecx, ecx
mov rdx, rax
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 0
mov eax, dword [rbp + 0x100]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
lea rax, [rbp + 0x68]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0xe0]
mov qword [rsp + 0x48], rax
call sub.kernel32.dll_CreateProcessW
test eax, eax
setne al
test al, al
jne 0x5bd4ab
call sub.kernel32.dll_GetLastError_2
mov rcx, qword [rbp + 0xe0]
mov eax, eax
mov qword [rcx], rax
mov rax, qword [rbp + 0xe0]
mov dword [rax + 0x10], 0
jmp 0x5bd4ab
nop
lea rcx, [rbp + 0x60]
call fcn.0040e920
lea rcx, [rbp + 0xf0]
mov edx, 2
call fcn.0040e9c0
mov rax, qword [rbp + 0xe0]
lea rsp, [rbp + 0xd0]
pop rbp
ret