joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bed00
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 0x4bed07
nop
ret

Function at 0x50ffd0
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 0x510062
mov rax, qword [rbp + 0x20]
cmp byte [rax + 0x1d], 0
jne 0x510062
mov rax, qword [rbp + 0x20]
cmp byte [rax + 0x40], 0
jne 0x510062
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 0x51008c
lea rcx, [rbp + 0x38]
mov rdx, qword [0x005faff0]
call fcn.00416670
mov rcx, qword [0x004d7000]
mov dl, 1
mov r8, qword [rbp + 0x38]
call fcn.00437790
mov rcx, rax
call fcn.0040d980
jmp 0x51008c
lea rcx, [rbp + 0x30]
mov rdx, qword [0x005faff0]
call fcn.00416670
mov rcx, qword [0x004d7000]
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 0x510c00
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.0050fe10
jmp 0x510c5b
lea rsp, [rbp + 0x40]
pop rbp
ret

Function at 0x510c80
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.0050fe10
cmp esi, 1
jne 0x510caa
mov byte [rbx + 0x1b], 0
add rsp, 0x28
pop rbx
pop rsi
ret
Function at 0x55bd30
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 0x55be24
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 0x55bdaf
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 0x55bdec
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 0x55bd91
nop
mov rcx, qword [rbp + 0x58]
call fcn.00430140
mov rax, qword [rbp + 0x70]
lea rsp, [rbp + 0x60]
pop rbp
ret

Function at 0x55bf80
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.0055b3f0
xor ecx, ecx
call sub.kernel32.dll_SetLastError
mov rcx, qword [rbp + 0x20]
call fcn.0042fd50
test al, al
jne 0x55bfe9
call sub.kernel32.dll_GetLastError_2
cmp eax, 2
je 0x55bfe9
cmp eax, 3
je 0x55bfe9
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 0x55cff0
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 0x55d067
mov rcx, qword [rsp + 0x40]
call fcn.0055d390
test al, al
je 0x55d067
mov rcx, qword [rsp + 0x40]
call fcn.0055d0e0
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 0x55d04b
mov edx, ecx
and dx, 0xffdf
mov ecx, edx
cmp cx, 0x41
jb 0x55d067
cmp cx, 0x5a
ja 0x55d067
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 0x5659a0
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 0x565add
nop
mov ecx, 0x20
mov rdx, qword [0x0055d940]
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, [0x00565300]
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 0x565aa1
mov rcx, qword [rbp + 0x50]
xor edx, edx
call sub.kernel32.dll_TerminateThread
lea rcx, [0x00607368]
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 [0x0055d940]
call fcn.004119f0
jmp 0x565adc
nop
lea rcx, [rbp + 0x90]
call fcn.0040e880
movzx rax, byte [rbp + 0x6f]
lea rsp, [rbp + 0x70]
pop rbp
ret
Function at 0x56d230
Capabilities:
Get system information on windows

Disassembly:
push rbp
sub rsp, 0x30
mov rbp, rsp
mov qword [rbp + 0x28], rbp
cmp byte [0x005f0308], 0
jne 0x56d2a1
mov byte [0x005f0308], 1
nop
call fcn.00565b90
mov byte [0x005f0930], al
call fcn.00565d30
lea rcx, [0x00607428]
call sub.kernel32.dll_GetSystemInfo_1
mov eax, dword [0x0060742c]
mov dword [0x005f1244], eax
cmp dword [0x005f1244], 0xa0
jae 0x56d28b
mov dword [0x005f1244], 0xa0
mov byte [0x005f1240], 0
call fcn.0056d1d0
jmp 0x56d2a1
lea rsp, [rbp + 0x30]
pop rbp
ret

Function at 0x56f030
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 0x56f060
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 0x56f090
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 0x56f0c0
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.0056f030
test al, al
jne 0x56f221
call fcn.0056f060
test al, al
jne 0x56f221
call fcn.0056f090
test al, al
jne 0x56f221
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 0x56f1a0
test eax, eax
jne 0x56f1fd
jmp 0x56f1ae
mov rcx, qword [rbp + 0x190]
call fcn.0040e920
jmp 0x56f209
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 0x56f209
mov rcx, qword [rbp + 0x190]
call fcn.0040e920
nop
mov rcx, qword [rbp + 0x168]
call fcn.00409080
jmp 0x56f220
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 0x5a47d0
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.005a48b0
mov dword [rsp + 0x34], 0
cmp dword [rsp + 0x34], 0x100
jae 0x5a48a9
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x2c], 0
cmp dword [rsp + 0x2c], 8
jge 0x5a4883
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 0x5a483a
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 0x5a481c
mov rsp, rbp
pop rbp
ret

Function at 0x5a7d50
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.005a7c10
mov rsp, rbp
pop rbp
ret
Function at 0x5b2780
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 0x5b27b3
mov eax, dword [rsp + 4]
mov rsp, rbp
pop rbp
ret

Function at 0x5b5dc0
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.005b5920
mov dword [rbp + 0x4c], eax
cmp dword [rbp + 0x4c], 0xffffffff
je 0x5b5f33
cmp qword [0x005f9780], 0
jne 0x5b5e1a
mov rcx, qword [0x004c9900]
mov dl, 1
call fcn.0040b3a0
mov qword [0x005f9780], rax
mov ecx, 0x28
mov rdx, qword [0x005b5868]
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, [0x005b5b00]
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 0x5b5ec0
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 0x5b5f33
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 [0x005b5868]
call fcn.004119f0
jmp 0x5b5f33
mov eax, dword [rbp + 0x6c]
lea rsp, [rbp + 0x70]
pop rbp
ret
Function at 0x5bcae0
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 [0x006078a0], 0
je 0x5bcbf9
mov rcx, qword [0x004d26d8]
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.004fc3f0
mov cl, 1
lea rdx, [rbp + 0x38]
mov r8, qword [rbp + 0x38]
mov r9, qword [rbp + 0x70]
call fcn.005c0500
test al, al
je 0x5bcbee
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 0x5bcbee
mov rcx, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x38]
call fcn.005bea60
test al, al
je 0x5bcbee
mov rcx, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x60]
lea r8, [rbp + 0x38]
mov r9d, 0x800
call fcn.005c0ce0
test eax, eax
jle 0x5bcbee
mov rcx, qword [rbp + 0x58]
call fcn.004fd8e0
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.004fc3f0
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 0x5bdd00
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 0x5bddae
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0xf0]
call fcn.0040efc0
jmp 0x5bddd7
lea rcx, [rbp + 0x60]
mov edx, 3
mov r8, qword [rbp + 0xf0]
lea r9, [0x005bded4]
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 0x5bde5b
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 0x5bde5b
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
Function at 0x5be7c0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Get socket status

Disassembly:
push rbp
sub rsp, 0x480
mov rbp, rsp
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], rbp
mov dword [rbp + 0x490], ecx
mov word [rbp + 0x498], dx
nop
mov qword [rbp + 0x468], 0
nop
mov ecx, 2
mov edx, 1
xor r8, r8
call sub.ws2_32.dll_socket
mov qword [rbp + 0x468], rax
cmp qword [rbp + 0x468], 0
jbe 0x5bea0a
lea rcx, [rbp + 0x470]
mov edx, 0x10
xor r8, r8
call fcn.0040a900
mov word [rbp + 0x470], 2
movzx rcx, word [rbp + 0x498]
call sub.ws2_32.dll_htons
mov word [rbp + 0x472], ax
lea rcx, [rbp + 0x30]
mov edx, dword [rbp + 0x490]
call fcn.005be610
mov rcx, qword [rbp + 0x30]
call fcn.0040fa00
mov rcx, rax
call sub.ws2_32.dll_inet_addr
mov dword [rbp + 0x474], eax
mov rcx, qword [rbp + 0x468]
call fcn.005be750
mov rcx, qword [rbp + 0x468]
lea rdx, [rbp + 0x470]
mov r8d, 0x10
call sub.ws2_32.dll_connect
test eax, eax
je 0x5be9e9
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x5be8c9
mov rcx, qword [rbp + 0x468]
call sub.ws2_32.dll_closesocket
mov qword [rbp + 0x468], 0
jmp 0x5be9e9
mov dword [rbp + 0x464], 0
cmp dword [rbp + 0x464], 5
jge 0x5be9c8
lea rcx, [rbp + 0x250]
call fcn.0055d690
mov rcx, qword [rbp + 0x468]
lea rdx, [rbp + 0x250]
call fcn.0055d660
lea rcx, [rbp + 0x48]
call fcn.0055d690
mov rcx, qword [rbp + 0x468]
lea rdx, [rbp + 0x48]
call fcn.0055d660
mov dword [rbp + 0x45c], 0
mov dword [rbp + 0x460], 0x14
xor ecx, ecx
xor edx, edx
lea r8, [rbp + 0x250]
lea r9, [rbp + 0x48]
lea rax, [rbp + 0x45c]
mov qword [rsp + 0x20], rax
call sub.ws2_32.dll_select
sub eax, 1
cmp eax, 0xffffffff
je 0x5be95a
test eax, eax
jne 0x5be9b4
jmp 0x5be967
mov ecx, 0x64
call sub.kernel32.dll_Sleep_2
jmp 0x5be9b4
mov rcx, qword [rbp + 0x468]
lea rdx, [rbp + 0x250]
call fcn.0055d6a0
test al, al
jne 0x5be9c8
mov rcx, qword [rbp + 0x468]
lea rdx, [rbp + 0x48]
call fcn.0055d6a0
test al, al
je 0x5be9b4
mov ecx, 0x274d
call sub.ws2_32.dll_WSASetLastError
mov rcx, qword [rbp + 0x468]
call sub.ws2_32.dll_closesocket
mov qword [rbp + 0x468], 0
add dword [rbp + 0x464], 1
cmp dword [rbp + 0x464], 5
jl 0x5be8e0
nop
cmp dword [rbp + 0x464], 5
jne 0x5be9e9
mov rcx, qword [rbp + 0x468]
call sub.ws2_32.dll_closesocket
mov qword [rbp + 0x468], 0
cmp qword [rbp + 0x468], 0
je 0x5bea09
mov rcx, qword [rbp + 0x468]
call fcn.005be780
jmp 0x5bea09
nop
lea rcx, [rbp + 0x30]
call fcn.0040e8d0
mov rax, qword [rbp + 0x468]
lea rsp, [rbp + 0x480]
pop rbp
ret
Function at 0x5bea60
Capabilities:
Send data
Send data on socket

Disassembly:
push rbp
sub rsp, 0x50
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x68], rdx
mov byte [rbp + 0x4f], 0
nop
mov qword [rbp + 0x38], 0
mov rcx, qword [rbp + 0x68]
mov rax, qword [rbp + 0x68]
mov rax, qword [rax]
call qword [rax]
mov qword [rbp + 0x40], rax
jmp 0x5beb0e
mov rax, qword [rbp + 0x68]
mov rax, qword [rax + 8]
mov rcx, qword [rbp + 0x38]
lea rax, [rax + rcx]
mov qword [rbp + 0x30], rax
mov rcx, qword [rbp + 0x68]
mov rax, qword [rbp + 0x68]
mov rax, qword [rax]
call qword [rax]
mov rcx, qword [rbp + 0x38]
neg rcx
lea rax, [rax + rcx]
cmp rax, 0x20000
jle 0x5bead2
mov dword [rbp + 0x48], 0x20000
jmp 0x5beae5
mov rcx, qword [rbp + 0x68]
mov rax, qword [rbp + 0x68]
mov rax, qword [rax]
call qword [rax]
sub eax, dword [rbp + 0x38]
mov dword [rbp + 0x48], eax
mov rcx, qword [rbp + 0x60]
mov rdx, qword [rbp + 0x30]
mov r8d, dword [rbp + 0x48]
xor r9, r9
call sub.ws2_32.dll_send
cmp eax, dword [rbp + 0x48]
jne 0x5beb19
movsxd rax, dword [rbp + 0x48]
sub qword [rbp + 0x40], rax
movsxd rax, dword [rbp + 0x48]
add qword [rbp + 0x38], rax
cmp qword [rbp + 0x40], 0
jg 0x5bea94
nop
cmp qword [rbp + 0x40], 0
jne 0x5beb25
mov byte [rbp + 0x4f], 1
mov rcx, qword [rbp + 0x68]
xor edx, edx
xor r8, r8
mov rax, qword [rbp + 0x68]
mov rax, qword [rax]
call qword [rax + 0x48]
jmp 0x5beb42
movzx rax, byte [rbp + 0x4f]
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x5bf2e0
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push rbp
add rsp, 0xffffffffffffff80
mov rbp, rsp
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x38], rbp
mov qword [rbp + 0x90], rcx
mov qword [rbp + 0x98], rdx
mov rcx, qword [rbp + 0x98]
call fcn.0040ea30
nop
nop
lea rcx, [rbp + 0x70]
xor edx, edx
xor r8, r8
mov r9d, 1
mov dword [rsp + 0x20], 0xf0000000
call sub.advapi32.dll_CryptAcquireContextA
test eax, eax
je 0x5bf455
nop
mov rcx, qword [rbp + 0x70]
mov edx, 0x8003
xor r8, r8
xor r9, r9
lea rax, [rbp + 0x78]
mov qword [rsp + 0x20], rax
call sub.advapi32.dll_CryptCreateHash
test eax, eax
je 0x5bf43f
nop
mov dword [rbp + 0x54], 0
cmp qword [rbp + 0x98], 0
je 0x5bf383
mov rax, qword [rbp + 0x98]
mov eax, dword [rax - 4]
mov dword [rbp + 0x54], eax
mov rcx, qword [rbp + 0x78]
mov rdx, qword [rbp + 0x98]
mov r8d, dword [rbp + 0x54]
xor r9, r9
call sub.advapi32.dll_CryptHashData
test eax, eax
je 0x5bf435
mov rcx, qword [rbp + 0x78]
mov edx, 2
xor r8, r8
lea r9, [rbp + 0x6c]
mov dword [rsp + 0x20], 0
call sub.advapi32.dll_CryptGetHashParam
test eax, eax
je 0x5bf435
lea rcx, [rbp + 0x60]
mov rdx, qword [0x005bf290]
mov r8d, 1
mov r9d, dword [rbp + 0x6c]
call fcn.00412240
mov rcx, qword [rbp + 0x78]
mov edx, 2
mov r8, qword [rbp + 0x60]
lea r9, [rbp + 0x6c]
mov dword [rsp + 0x20], 0
call sub.advapi32.dll_CryptGetHashParam
test eax, eax
je 0x5bf435
mov rax, qword [rbp + 0x60]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
je 0x5bf41d
mov rax, qword [rbp + 0x48]
mov rax, qword [rax - 8]
mov qword [rbp + 0x48], rax
mov rcx, qword [rbp + 0x90]
mov rdx, qword [rbp + 0x60]
mov rax, qword [rbp + 0x48]
lea r8, [rax - 1]
call fcn.005beda0
nop
mov rcx, qword [rbp + 0x78]
call sub.advapi32.dll_CryptDestroyHash
nop
mov rcx, qword [rbp + 0x70]
xor edx, edx
call sub.advapi32.dll_CryptReleaseContext
jmp 0x5bf455
nop
lea rcx, [rbp + 0x58]
call fcn.0040e880
lea rcx, [rbp + 0x60]
mov rdx, qword [0x005bf290]
call fcn.00412410
lea rcx, [rbp + 0x98]
call fcn.0040e8d0
mov rax, qword [rbp + 0x90]
lea rsp, [rbp + 0x80]
pop rbp
ret