joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a5c0
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push rbp
push rbx
sub rsp, 0x38
mov rbp, rsp
mov rbx, rcx
cmp r8d, 0xffffffff
jne 0x44a5ff
mov rcx, qword [rbx + 0x28]
mov edx, 0x4004667f
lea r8, [rbp + 0x2c]
call sub.wsock32.dll_ioctlsocket_1
cmp eax, 0xffffffff
jne 0x44a63b
mov dword [rbp + 0x2c], 0xffffffff
mov rcx, rbx
mov edx, 1
call fcn.0044a370
jmp 0x44a63b
mov rcx, qword [rbx + 0x28]
xor r9, r9
call sub.wsock32.dll_recv
mov dword [rbp + 0x2c], eax
cmp dword [rbp + 0x2c], 0xffffffff
jne 0x44a63b
call sub.wsock32.dll_WSAGetLastError
mov dword [rbp + 0x2c], eax
cmp dword [rbp + 0x2c], 0x2733
jne 0x44a62e
mov dword [rbp + 0x2c], 0
jmp 0x44a63b
mov rcx, rbx
mov edx, 3
call fcn.0044a370
mov eax, dword [rbp + 0x2c]
lea rsp, [rbp + 0x38]
pop rbx
pop rbp
ret

Function at 0x44a6b0
Capabilities:
Send data
Send data on socket

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
mov rcx, qword [rbx + 0x28]
xor r9, r9
call sub.wsock32.dll_send
mov esi, eax
cmp esi, 0xffffffff
jne 0x44a6eb
call sub.wsock32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x44a6de
or esi, 0xffffffff
jmp 0x44a6eb
mov rcx, rbx
mov edx, 4
call fcn.0044a370
mov eax, esi
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x459820
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 0x459827
nop
ret

Function at 0x460880
Capabilities:
Hash data with md5

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, rbx
mov edx, 0x40
xor r8, r8
call fcn.0040afb0
mov byte [rbx], 0x80
mov dword [rbx + 0x50], 0
mov dword [rbx + 0x54], 0
mov dword [rbx + 0x40], 0x67452301
mov dword [rbx + 0x44], 0xefcdab89
mov dword [rbx + 0x48], 0x98badcfe
mov dword [rbx + 0x4c], 0x10325476
lea rcx, [rbx + 0x58]
mov edx, 0x40
xor r8, r8
call fcn.0040afb0
mov byte [rbx + 0x98], 0
add rsp, 0x20
pop rbx
ret
Function at 0x461df0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov eax, r8d
mov edx, edx
lea rdx, [rcx + rdx]
cmp rcx, rdx
jae 0x461e14
movzx r8, byte [rcx]
xor eax, r8d
imul eax, eax, 0x1000193
add rcx, 1
cmp rcx, rdx
jb 0x461dfe
nop
ret

Function at 0x478fe0
Capabilities:
Get system information on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x68
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x80], rcx
mov byte [rbp + 0x88], dl
cmp byte [rbp + 0x88], 0
je 0x47901e
mov rcx, qword [rbp + 0x80]
movzx rdx, byte [rbp + 0x88]
call fcn.0040c8a0
mov qword [rbp + 0x80], rax
nop
mov rcx, qword [0x00470f20]
mov dl, 1
call fcn.004a58a0
mov rcx, qword [rbp + 0x80]
mov qword [rcx + 8], rax
mov rcx, qword [0x00477ac8]
mov dl, 1
call fcn.004aa640
mov rcx, qword [rbp + 0x80]
mov qword [rcx + 0x10], rax
mov rcx, qword [0x00477ac8]
mov dl, 1
call fcn.004aa640
mov rcx, qword [rbp + 0x80]
mov qword [rcx + 0x18], rax
lea rcx, [rbp + 0x30]
call sub.kernel32.dll_GetSystemInfo
mov rax, qword [rbp + 0x80]
mov ecx, dword [rbp + 0x34]
mov dword [rax + 0x20], ecx
cmp byte [rbp + 0x88], 0
je 0x4790db
mov rcx, qword [rbp + 0x80]
call fcn.0040c8e0
mov qword [rbp + 0x80], rax
jmp 0x4790db
mov rax, qword [rbp + 0x80]
lea rsp, [rbp + 0x68]
pop rbx
pop rbp
ret

Function at 0x4fc960
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbp, rsp
mov rbx, rcx
mov rsi, rdx
mov qword [rbp + 0x60], r8
movzx rax, byte [rbp + 0x70]
mov byte [rbp + 0x70], al
mov rcx, rsi
mov rdx, qword [rbp + 0x60]
mov r8, r9
call sub.kernel32.dll_FindResourceW
mov qword [rbx + 0x20], rax
cmp qword [rbx + 0x20], 0
jne 0x4fc99f
mov rcx, rbp
call fcn.004fc880
mov rcx, rsi
mov rdx, qword [rbx + 0x20]
call sub.kernel32.dll_LoadResource
mov qword [rbx + 0x28], rax
cmp qword [rbx + 0x28], 0
jne 0x4fc9be
mov rcx, rbp
call fcn.004fc880
mov rcx, qword [rbx + 0x28]
call sub.kernel32.dll_LockResource
mov rdi, rax
mov rcx, rsi
mov rdx, qword [rbx + 0x20]
call sub.kernel32.dll_SizeofResource
mov rcx, rbx
mov rdx, rdi
mov r8d, eax
call fcn.004fc0b0
lea rsp, [rbp + 0x28]
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x50efe0
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x28
movzx rax, byte [rcx + 0x19]
or al, dl
test al, al
je 0x50f030
cmp byte [rcx + 0x1d], 0
jne 0x50f030
cmp byte [rcx + 0x40], 0
jne 0x50f030
mov byte [rcx + 0x1b], 0
mov byte [rcx + 0x19], 0
mov rcx, qword [rcx + 0x10]
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x50f04d
mov rcx, qword [0x004ccdc8]
mov dl, 1
mov r8, qword [0x005bc410]
call fcn.0043c4d0
mov rcx, rax
call fcn.0040e360
jmp 0x50f04d
mov rcx, qword [0x004ccdc8]
mov dl, 1
mov r8, qword [0x005bc410]
call fcn.0043c4d0
mov rcx, rax
call fcn.0040e360
add rsp, 0x28
ret
Function at 0x50fc60
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.0050ee60
jmp 0x50fcbb
lea rsp, [rbp + 0x40]
pop rbp
ret

Function at 0x50fce0
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.0050ee60
cmp esi, 1
jne 0x50fd0a
mov byte [rbx + 0x1b], 0
add rsp, 0x28
pop rbx
pop rsi
ret
Function at 0x53b0a0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push rbp
push rbx
sub rsp, 0xa8
mov rbp, rsp
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x48], rbp
mov qword [rbp + 0xc0], rcx
mov qword [rbp + 0xc8], rdx
nop
lea rcx, [rbp + 0x78]
mov rdx, qword [rbp + 0xc8]
call fcn.0040f780
mov rcx, qword [rbp + 0x78]
call fcn.0053a5a0
mov byte [rbp + 0x83], al
cmp byte [rbp + 0x83], 0
jne 0x53b113
lea rcx, [rbp + 0x78]
mov edx, 1
mov r8d, 1
call fcn.00411080
mov rax, qword [rbp + 0xc0]
mov rax, qword [rax + 8]
mov qword [rbp + 0x98], rax
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0xc8]
call fcn.0053c280
mov qword [rbp + 0x90], rax
cmp qword [rbp + 0x90], 0
je 0x53b266
nop
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0x90]
call fcn.0053aab0
mov rcx, qword [rbp + 0xc0]
lea rdx, [rbp + 0x54]
call fcn.0053b3d0
test al, al
je 0x53b246
lea rcx, [rbp + 0x70]
xor edx, edx
mov r8d, dword [rbp + 0x58]
add r8d, 1
call fcn.0040f390
mov eax, dword [rbp + 0x54]
sub eax, 1
mov dword [rbp + 0x84], eax
cmp dword [rbp + 0x84], 0
jl 0x53b245
mov eax, dword [rbp + 0x58]
add eax, 1
mov dword [rbp + 0x88], eax
mov rcx, qword [rbp + 0x70]
call fcn.004109e0
mov rcx, qword [rbp + 0x90]
mov edx, dword [rbp + 0x84]
mov r8, rax
lea r9, [rbp + 0x88]
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call sub.advapi32.dll_RegEnumKeyExW
mov rcx, qword [rbp + 0xc0]
mov edx, eax
call fcn.0053a9d0
test al, al
je 0x53b231
mov rcx, qword [rbp + 0x70]
call fcn.004109e0
lea rcx, [rbp + 0x40]
mov rdx, rax
call fcn.00410a70
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0x40]
call fcn.0053b0a0
sub dword [rbp + 0x84], 1
cmp dword [rbp + 0x84], 0xffffffff
jne 0x53b1a5
nop
nop
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0x98]
call fcn.0053aab0
mov rcx, qword [rbp + 0x90]
call sub.advapi32.dll_RegCloseKey
cmp byte [0x005c9918], 0
je 0x53b2c5
mov rcx, qword [rbp + 0xc0]
movzx rdx, byte [rbp + 0x83]
call fcn.0053aa90
mov rbx, rax
mov rcx, qword [rbp + 0x78]
call fcn.004109e0
mov rcx, rbx
mov rdx, rax
mov rax, qword [rbp + 0xc0]
mov r8d, dword [rax + 0x2c]
and r8d, 0x300
xor r9, r9
call sub.advapi32.dll_RegDeleteKeyExW
mov rcx, qword [rbp + 0xc0]
mov edx, eax
call fcn.0053a9d0
mov byte [rbp + 0x8f], al
jmp 0x53b304
mov rcx, qword [rbp + 0xc0]
movzx rdx, byte [rbp + 0x83]
call fcn.0053aa90
mov rbx, rax
mov rcx, qword [rbp + 0x78]
call fcn.004109e0
mov rcx, rbx
mov rdx, rax
call sub.advapi32.dll_RegDeleteKeyW
mov rcx, qword [rbp + 0xc0]
mov edx, eax
call fcn.0053a9d0
mov byte [rbp + 0x8f], al
nop
lea rcx, [rbp + 0x40]
call fcn.0040f090
lea rcx, [rbp + 0x70]
mov edx, 2
call fcn.0040f170
movzx rax, byte [rbp + 0x8f]
lea rsp, [rbp + 0xa8]
pop rbx
pop rbp
ret

Function at 0x53b3a0
Capabilities:
Delete registry value

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, rdx
call fcn.004109e0
mov rcx, qword [rbx + 8]
mov rdx, rax
call sub.advapi32.dll_RegDeleteValueW
mov rcx, rbx
mov edx, eax
call fcn.0053a9d0
add rsp, 0x20
pop rbx
ret
Function at 0x53ca10
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
sub rsp, 0x98
mov rbp, rsp
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x48], rbp
mov qword [rbp + 0xb0], rcx
mov qword [rbp + 0xb8], rdx
mov qword [rbp + 0xc0], r8
nop
mov rax, qword [rbp + 0xb0]
mov rax, qword [rax + 0x50]
mov rax, qword [rax + 8]
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0xb0]
mov rcx, qword [rax + 0x50]
mov rdx, qword [rbp + 0xb8]
call fcn.0053aab0
nop
mov rax, qword [rbp + 0xb0]
mov rcx, qword [rax + 0x50]
lea rdx, [rbp + 0x64]
call fcn.0053b3d0
test al, al
je 0x53cb90
mov rcx, qword [rbp + 0xb0]
mov rdx, qword [rbp + 0xb8]
mov r8, qword [rbp + 0xc0]
xor r9, r9
call fcn.0053c890
lea rcx, [rbp + 0x58]
xor edx, edx
mov r8d, dword [rbp + 0x70]
add r8d, 1
call fcn.0040f390
xor eax, eax
mov ebx, dword [rbp + 0x6c]
sub ebx, 1
mov dword [rbp + 0x80], eax
cmp dword [rbp + 0x80], ebx
jg 0x53cb8f
sub ebx, eax
add ebx, 1
mov eax, dword [rbp + 0x70]
add eax, 1
mov dword [rbp + 0x84], eax
mov rcx, qword [rbp + 0x58]
call fcn.004109e0
mov rcx, qword [rbp + 0xb8]
mov edx, dword [rbp + 0x80]
mov r8, rax
lea r9, [rbp + 0x84]
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call sub.advapi32.dll_RegEnumValueW
mov rcx, qword [rbp + 0xb0]
mov rcx, qword [rcx + 0x50]
mov edx, eax
call fcn.0053a9d0
test al, al
je 0x53cb7d
mov rcx, qword [rbp + 0x58]
call fcn.004109e0
lea rcx, [rbp + 0x40]
mov rdx, rax
call fcn.00410a70
mov rcx, qword [rbp + 0xb0]
mov rdx, qword [rbp + 0xb8]
mov r8, qword [rbp + 0xc0]
mov r9, qword [rbp + 0x40]
call fcn.0053c890
add dword [rbp + 0x80], 1
sub ebx, 1
test ebx, ebx
jne 0x53cadf
nop
nop
mov rax, qword [rbp + 0xb0]
mov rcx, qword [rax + 0x50]
mov rdx, qword [rbp + 0x88]
call fcn.0053aab0
nop
lea rcx, [rbp + 0x40]
call fcn.0040f090
lea rcx, [rbp + 0x58]
call fcn.0040f090
lea rsp, [rbp + 0x98]
pop rbx
pop rbp
ret
Function at 0x5489b0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov r8, rcx
xor eax, eax
xor r9, r9
sub edx, 1
mov ecx, r9d
cmp ecx, edx
jg 0x5489f0
sub edx, r9d
add edx, 1
mov ecx, eax
and cx, 0xf800
movzx ecx, cx
shr ecx, 0xb
shl eax, 5
or cx, ax
mov eax, ecx
movzx cx, byte [r8]
xor ax, cx
add r8, 1
sub edx, 1
test edx, edx
jne 0x5489c8
nop
ret
Function at 0x55d440
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, rbx
mov edx, 0x104
call fcn.00410c50
mov rcx, rbx
call fcn.0040f9d0
mov rcx, rax
mov edx, 0x104
call sub.kernel32.dll_GetWindowsDirectoryW
mov rcx, rbx
mov edx, eax
call fcn.00410c50
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x55d8d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x30
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov qword [rbp + 0x58], rdx
mov qword [rbp + 0x60], r8
mov rcx, qword [rbp + 0x58]
call fcn.0040f260
mov rcx, qword [rbp + 0x60]
call fcn.0040f260
nop
mov rcx, qword [rbp + 0x28]
call fcn.0040f0e0
mov rcx, qword [rbp + 0x58]
call fcn.004109e0
mov rbx, rax
mov rcx, qword [rbp + 0x60]
call fcn.004109e0
mov rcx, qword [0x005c3278]
mov rdx, rbx
mov r8, rax
call sub.kernel32.dll_FindResourceW
mov rbx, rax
test rbx, rbx
je 0x55d98f
mov rcx, qword [0x005c3278]
mov rdx, rbx
call sub.kernel32.dll_SizeofResource
mov esi, eax
test esi, esi
je 0x55d98f
mov rcx, qword [0x005c3278]
mov rdx, rbx
call sub.kernel32.dll_LoadResource
mov rbx, rax
test rbx, rbx
je 0x55d98f
mov rcx, rbx
call sub.kernel32.dll_LockResource
test rax, rax
je 0x55d98f
mov rcx, qword [rbp + 0x28]
mov rdx, rax
xor r8, r8
call fcn.0040fc60
mov rcx, qword [rbp + 0x28]
mov edx, esi
xor r8, r8
call fcn.00410340
mov rcx, rbx
call sub.kernel32.dll_FreeResource
nop
lea rcx, [rbp + 0x58]
mov edx, 2
call fcn.0040f170
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x30]
pop rbx
pop rsi
pop rbp
ret
Function at 0x55db90
Capabilities:
Get graphical window text

Disassembly:
push rbp
push r14
push r13
push rdi
push rsi
push rbx
sub rsp, 0x68
mov rbp, rsp
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x48], 0
nop
mov rcx, qword [rbp + 0x20]
mov rdx, qword [0x0055cfc8]
call fcn.00413da0
xor ebx, ebx
call sub.user32.dll_GetForegroundWindow
mov r13, rax
mov rcx, r13
xor edx, edx
call sub.user32.dll_GetWindow
mov rdi, rax
jmp 0x55dd8f
mov rcx, rdi
call sub.user32.dll_GetWindowTextLengthW
mov esi, eax
add esi, 1
lea rcx, [rbp + 0x58]
mov edx, esi
call fcn.00410c50
mov rcx, qword [rbp + 0x58]
call fcn.004109e0
mov rcx, rdi
mov rdx, rax
mov r8d, esi
call sub.user32.dll_GetWindowTextW
mov esi, eax
test esi, esi
jle 0x55dd7f
lea rcx, [rbp + 0x50]
mov rdx, qword [rbp + 0x58]
call fcn.00432110
mov rcx, rdi
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x55dd7f
mov rax, qword [rbp + 0x20]
mov rax, qword [rax]
test rax, rax
je 0x55dc66
mov rax, qword [rax - 8]
mov rcx, qword [rbp + 0x20]
mov rdx, qword [0x0055cfc8]
mov r8d, 1
lea r9, [rax + 1]
call fcn.00413bd0
movsxd rsi, ebx
lea rcx, [rbp + 0x38]
mov rdx, qword [rbp + 0x50]
call fcn.0055dad0
mov rax, qword [rbp + 0x20]
mov rax, qword [rax]
mov rcx, rsi
imul rcx, rcx, 0x15
lea rcx, [rax + rcx]
mov rdx, qword [rbp + 0x38]
call fcn.0040f700
mov rax, qword [rbp + 0x20]
mov rax, qword [rax]
mov rcx, rsi
imul rcx, rcx, 0x15
mov dword [rax + rcx + 0x10], edi
lea rcx, [rbp + 0x48]
mov edx, 0x80
xor r8, r8
call fcn.00410340
xor r14, r14
mov rax, qword [rbp + 0x48]
test rax, rax
je 0x55dcde
mov r14d, dword [rax - 4]
mov rcx, qword [rbp + 0x48]
call fcn.004102a0
mov rcx, rdi
mov rdx, rax
mov r8d, r14d
call sub.user32.dll_GetClassNameA
test eax, eax
jle 0x55dd34
lea rcx, [rbp + 0x28]
mov rdx, qword [rbp + 0x48]
call fcn.00410ae0
lea rcx, [rbp + 0x30]
mov rdx, qword [rbp + 0x28]
call fcn.0055dad0
mov rax, qword [rbp + 0x20]
mov rax, qword [rax]
mov rcx, rsi
imul rcx, rcx, 0x15
lea rcx, [rax + rcx + 8]
mov rdx, qword [rbp + 0x30]
xor r8, r8
call fcn.00410400
jmp 0x55dd4c
mov rax, qword [rbp + 0x20]
mov rax, qword [rax]
mov rcx, rsi
imul rcx, rcx, 0x15
lea rcx, [rax + rcx + 8]
call fcn.0040f0e0
lea rcx, [rbp + 0x48]
call fcn.0040f0e0
cmp rdi, r13
jne 0x55dd6c
mov rax, qword [rbp + 0x20]
mov rax, qword [rax]
imul rsi, rsi, 0x15
mov byte [rax + rsi + 0x14], 1
jmp 0x55dd7c
mov rax, qword [rbp + 0x20]
mov rax, qword [rax]
imul rsi, rsi, 0x15
mov byte [rax + rsi + 0x14], 0
add ebx, 1
mov rcx, rdi
mov edx, 2
call sub.user32.dll_GetWindow
mov rdi, rax
test rdi, rdi
ja 0x55dc00
nop
lea rcx, [rbp + 0x28]
mov edx, 3
call fcn.0040f170
lea rcx, [rbp + 0x48]
call fcn.0040f0e0
lea rcx, [rbp + 0x50]
mov edx, 2
call fcn.0040f170
mov rax, qword [rbp + 0x20]
lea rsp, [rbp + 0x68]
pop rbx
pop rsi
pop rdi
pop r13
pop r14
pop rbp
ret
Function at 0x55de10
Capabilities:
Delete file

Disassembly:
push rbp
sub rsp, 0x270
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x280], rcx
mov rcx, qword [rbp + 0x280]
call fcn.0040f260
nop
nop
lea rcx, [rbp + 0x230]
mov edx, 0x38
xor r8, r8
call fcn.0040afb0
lea rcx, [rbp + 0x30]
mov edx, 0x200
xor r8, r8
call fcn.0040afb0
lea rcx, [rbp + 0x30]
mov rdx, qword [rbp + 0x280]
call fcn.00433ab0
mov qword [rbp + 0x230], 0
lea rax, [rbp + 0x30]
mov qword [rbp + 0x240], rax
mov dword [rbp + 0x238], 3
lea rax, [rbp + 0x250]
or word [rax], 0x10
lea rax, [rbp + 0x250]
or word [rax], 4
lea rcx, [rbp + 0x230]
call sub.shell32.dll_SHFileOperationW
test eax, eax
sete al
mov byte [rbp + 0x26f], al
jmp 0x55dec7
nop
lea rcx, [rbp + 0x280]
call fcn.0040f090
movzx rax, byte [rbp + 0x26f]
lea rsp, [rbp + 0x270]
pop rbp
ret

Function at 0x55e3c0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x68
mov rbp, rsp
mov qword [rbp + 0x80], rcx
mov qword [rbp + 0x88], rdx
mov rcx, qword [rbp + 0x80]
call fcn.0040f260
mov rcx, qword [rbp + 0x88]
call fcn.00413e70
nop
mov rcx, qword [rbp + 0x80]
call fcn.004109e0
mov rcx, rax
mov edx, 0x40000000
mov r8d, 2
xor r9, r9
mov dword [rsp + 0x20], 2
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x30], 0
call sub.kernel32.dll_CreateFileW
mov rbx, rax
cmp rbx, 0xffffffffffffffff
je 0x55e46b
mov rax, qword [rbp + 0x88]
test rax, rax
je 0x55e444
mov rax, qword [rax - 8]
mov rcx, rbx
mov rdx, qword [rbp + 0x88]
mov r8d, eax
lea r9, [rbp + 0x5c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
mov rcx, rbx
call sub.kernel32.dll_CloseHandle
nop
lea rcx, [rbp + 0x80]
call fcn.0040f090
lea rcx, [rbp + 0x88]
mov rdx, qword [0x00406508]
call fcn.00413da0
movzx rax, byte [rbp + 0x4f]
lea rsp, [rbp + 0x68]
pop rbx
pop rbp
ret

Function at 0x55e4e0
Capabilities:
Get file size
Read file on windows

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x60
mov rbp, rsp
mov qword [rbp + 0x40], rdx
mov qword [rbp + 0x80], rcx
mov rcx, qword [rbp + 0x80]
call fcn.0040f260
nop
xor eax, eax
mov byte [rbp + 0x4f], al
mov rcx, qword [rbp + 0x80]
call fcn.004109e0
mov rcx, rax
mov edx, 0x80000000
mov r8d, 1
xor r9, r9
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x28], 0x8000000
mov qword [rsp + 0x30], 0
call sub.kernel32.dll_CreateFileW
mov rbx, rax
test rbx, rbx
je 0x55e5b3
mov rcx, rbx
xor edx, edx
call sub.kernel32.dll_GetFileSize
mov esi, eax
test esi, esi
je 0x55e5b3
mov rcx, rbx
xor edx, edx
xor r8, r8
xor r9, r9
call sub.kernel32.dll_SetFilePointer
mov rcx, qword [rbp + 0x40]
mov rdx, qword [0x00406508]
mov r8d, 1
mov r9d, esi
call fcn.00413bd0
mov rcx, rbx
mov rax, qword [rbp + 0x40]
mov rdx, qword [rax]
mov r8d, esi
lea r9, [rbp + 0x5c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_ReadFile
test eax, eax
je 0x55e5ab
mov al, 1
mov byte [rbp + 0x4f], al
mov rcx, rbx
call sub.kernel32.dll_CloseHandle
nop
lea rcx, [rbp + 0x80]
call fcn.0040f090
movzx rax, byte [rbp + 0x4f]
lea rsp, [rbp + 0x60]
pop rbx
pop rsi
pop rbp
ret
Function at 0x55e5f0
Capabilities:
Get file size
Read file on windows

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x70
mov rbp, rsp
mov qword [rbp + 0x48], rdx
mov qword [rbp + 0x50], r8
mov qword [rbp + 0x90], rcx
mov rcx, qword [rbp + 0x90]
call fcn.0040f260
nop
xor eax, eax
mov byte [rbp + 0x5f], al
mov rcx, qword [rbp + 0x90]
call fcn.004109e0
mov rcx, rax
mov edx, 0x80000000
mov r8d, 1
xor r9, r9
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x28], 0x8000000
mov qword [rsp + 0x30], 0
call sub.kernel32.dll_CreateFileW
mov rbx, rax
test rbx, rbx
je 0x55e6d6
mov rcx, rbx
xor edx, edx
call sub.kernel32.dll_GetFileSize
mov esi, eax
test esi, esi
je 0x55e6d6
mov eax, esi
mov rcx, qword [rbp + 0x48]
cmp rax, rcx
jle 0x55e67d
mov rsi, qword [rbp + 0x48]
mov rcx, rbx
xor edx, edx
xor r8, r8
xor r9, r9
call sub.kernel32.dll_SetFilePointer
mov rcx, qword [rbp + 0x50]
mov rdx, qword [0x00406508]
mov r8d, 1
mov r9d, esi
call fcn.00413bd0
mov rcx, rbx
mov rax, qword [rbp + 0x50]
mov rdx, qword [rax]
mov r8d, esi
lea r9, [rbp + 0x6c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_ReadFile
test eax, eax
je 0x55e6ce
mov al, 1
mov byte [rbp + 0x5f], al
mov rcx, rbx
call sub.kernel32.dll_CloseHandle
nop
lea rcx, [rbp + 0x90]
call fcn.0040f090
movzx rax, byte [rbp + 0x5f]
lea rsp, [rbp + 0x70]
pop rbx
pop rsi
pop rbp
ret

Function at 0x55e9f0
Capabilities:
Compare security identifiers

Disassembly:
push r13
push rdi
push rsi
push rbx
sub rsp, 0x88
xor ebx, ebx
call sub.kernel32.dll_GetCurrentThread
mov rcx, rax
mov edx, 8
or r8d, 0xffffffff
lea r9, [rsp + 0x78]
call sub.advapi32.dll_OpenThreadToken
mov edi, eax
test edi, edi
jne 0x55ea45
call sub.kernel32.dll_GetLastError
cmp eax, 0x3f0
jne 0x55ea45
call sub.kernel32.dll_GetCurrentProcess
mov rcx, rax
mov edx, 8
lea r8, [rsp + 0x78]
call sub.advapi32.dll_OpenProcessToken
mov edi, eax
test edi, edi
je 0x55eb41
mov ecx, 0x400
call fcn.004091d0
mov rsi, rax
mov rcx, qword [rsp + 0x78]
mov edx, 2
mov r8, rsi
mov r9d, 0x400
lea rax, [rsp + 0x74]
mov qword [rsp + 0x20], rax
call sub.advapi32.dll_GetTokenInformation
mov edi, eax
mov rcx, qword [rsp + 0x78]
call sub.kernel32.dll_CloseHandle
test edi, edi
je 0x55eb39
lea rax, [0x005b855c]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
mov dl, 2
mov r8d, 0x20
mov r9d, 0x220
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x48], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x50], rax
call sub.advapi32.dll_AllocateAndInitializeSid
xor eax, eax
mov r13d, dword [rsi]
sub r13d, 1
mov edi, eax
cmp edi, r13d
jg 0x55eb2e
sub r13d, eax
add r13d, 1
mov rcx, qword [rsp + 0x68]
movsxd rax, edi
add rax, rax
mov rdx, qword [rsi + rax*8 + 8]
call sub.advapi32.dll_EqualSid
test eax, eax
je 0x55eb22
mov bl, 1
jmp 0x55eb2e
add edi, 1
sub r13d, 1
test r13d, r13d
jne 0x55eb05
nop
mov rcx, qword [rsp + 0x68]
call sub.advapi32.dll_FreeSid
mov rcx, rsi
call fcn.00409200
mov eax, ebx
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop r13
ret
Function at 0x55f0e0
Capabilities:
Get memory capacity

Disassembly:
push rbx
sub rsp, 0x60
xor ebx, ebx
lea rcx, [rsp + 0x20]
mov edx, 0x40
xor r8, r8
call fcn.0040afb0
mov dword [rsp + 0x20], 0x40
lea rcx, [rsp + 0x20]
call sub.kernel32_GlobalMemoryStatusEx
test eax, eax
je 0x55f136
mov rax, qword [rsp + 0x28]
cvtsi2sd xmm0, rax
test rax, rax
jge 0x55f126
addsd xmm0, qword [0x0055f140]
divsd xmm0, qword [0x0055f148]
call fcn.0040ace0
mov rbx, rax
mov eax, ebx
add rsp, 0x60
pop rbx
ret

Function at 0x564a30
Capabilities:
Check for software breakpoints

Disassembly:
push rbp
push rsi
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov rsi, rcx
mov eax, dword [rsi + 0x24]
cmp eax, 0xcc
je 0x564b06
cmp eax, 0xcb
je 0x564a97
cmp eax, 0xca
jne 0x564a79
mov rcx, rsi
call fcn.005651f0
cmp dword [rsi + 0x58], 0
je 0x564a90
mov dword [rsi + 0x24], 0xcf
mov eax, 1
jmp 0x564b13
mov rcx, qword [rsi]
mov dword [rcx + 0x28], 0x14
mov dword [rcx + 0x2c], eax
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
jmp 0x564b06
mov dword [rsi + 0x24], 0xcb
mov rax, qword [rsi + 0x240]
cmp dword [rax + 0x20], 0
je 0x564afa
mov rdx, qword [rsi + 0x10]
jmp 0x564ab9
add eax, dword [rsi + 0x1a4]
mov dword [rdx + 0xc], eax
test rdx, rdx
je 0x564ac3
mov rcx, rsi
call qword [rdx]
mov rax, qword [rsi + 0x240]
mov rcx, rsi
call qword [rax]
test eax, eax
je 0x564b11
cmp eax, 2
je 0x564afa
mov rdx, qword [rsi + 0x10]
or eax, 2
cmp eax, 3
jne 0x564ab9
test rdx, rdx
je 0x564ab9
mov ecx, dword [rdx + 8]
mov eax, dword [rdx + 0xc]
inc ecx
mov dword [rdx + 8], ecx
cmp ecx, eax
jl 0x564ab9
jmp 0x564ab0
mov eax, dword [rsi + 0xac]
mov dword [rsi + 0xb4], eax
mov rcx, rsi
add rsp, 0x28
pop rsi
pop rbp
jmp 0x564b20
xor eax, eax
add rsp, 0x28
pop rsi
pop rbp
ret