joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140110280
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x1401102c2
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x140110309
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x140110362
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x140110320
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1401103a3
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x14013e602]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14013e603]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140110370
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x140111534
Capabilities:
Parse pe header

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

Disassembly:
push rsi
sub rsp, 0xa0
mov word [rsp + 0x2c], dx
mov word [rsp + 0x2e], r8w
test dx, dx
js 0x1400043b4
test r8w, r8w
js 0x140004402
mov rcx, qword [rcx + 0x10]
shl r8d, 0x10
movzx edx, dx
or edx, r8d
call sub.KERNEL32.dll_SetConsoleCursorPosition
test eax, eax
je 0x140004472
xor eax, eax
add rsp, 0xa0
pop rsi
ret
lea rax, [rsp + 0x2c]
mov qword [rsp + 0x30], rax
lea rax, [0x140020750]
mov qword [rsp + 0x38], rax
lea rax, str.Argument_Out_of_Range_Exception_when_setting_cursor_position_to_X:
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 1
mov qword [rsp + 0x60], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 1
lea rsi, [rsp + 0x70]
jmp 0x140004451
lea rax, [rsp + 0x2e]
mov qword [rsp + 0x30], rax
lea rax, [0x140020750]
mov qword [rsp + 0x38], rax
lea rax, str.Argument_Out_of_Range_Exception_when_setting_cursor_position_to_Y:
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 1
mov qword [rsp + 0x60], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 1
lea rsi, [rsp + 0x88]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14001bda0
mov cl, 0x27
mov rdx, rsi
call fcn.140004090
nop
add rsp, 0xa0
pop rsi
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
lea rcx, [rax + 2]
call fcn.1400013f0
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0xa0
pop rsi
ret
Function at 0x140008e10
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3e0], rcx
mov qword [rbp + 0x3c8], 0
mov qword [rbp + 0x3d0], 2
mov qword [rbp + 0x3d8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor ebx, ebx
xor edi, edi
xor r12d, r12d
cmp r8, 0x201
jae 0x140008eb0
jmp 0x140008e9f
jae 0x140008f70
cmp r8, 0x201
jae 0x140008eb0
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x140008f08
sub r8, r12
sub rdi, r12
cmp rdi, r8
jae 0x140008edf
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.140022b60
mov rbx, qword [rbp + 0x3c8]
mov rax, qword [rbp + 0x3d0]
mov qword [rbp + 0x3e8], rax
mov eax, 0xffffffff
cmp rbx, rax
mov r12d, 0xffffffff
cmovb r12, rbx
mov qword [rbp + 0x3d8], r12
mov rdi, rbx
mov rsi, r12
mov r13, qword [rbp + 0x3e8]
mov r15, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, r15d
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r14d, eax
test eax, eax
jne 0x140008f31
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140008fd8
mov r8d, r14d
cmp r15, r8
jne 0x140008e90
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140009005
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x140008e9f
jmp 0x140008eb0
cmp rsi, r8
jb 0x14000901f
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.14000b940
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test rbx, rbx
je 0x140008fc1
add rbx, rbx
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rbx
call fcn.140002c30
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3e0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
test rbx, rbx
jne 0x140008fa9
jmp 0x140008fc1
lea rcx, str.internal_error:_entered_unreachable_code_rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrary_alloc_src_vecmod.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.140023630
jmp 0x140009034
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.140023a80
ud2
Function at 0x140010f70
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x140060768]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x140010fb4
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x14001101a
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x140011051
test eax, eax
js 0x14001102b
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x140011044
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.14000b600
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.140006ff0
mov ecx, 7
int 0x29
ud2
Function at 0x14001fb30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x14001fbaa
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x14001fba0
cmp r11, r10
ja 0x14001fc41
cmp r10, rdx
ja 0x14001fc53
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x14001fba2
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x14001fb80
jmp 0x14001fc17
ja 0x14001fbaa
mov r11, r10
cmp rax, r8
jne 0x14001fb52
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14001fc1b
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x14001fbf0
mov r8, r10
sub ecx, r9d
jns 0x14001fc0e
jmp 0x14001fc1d
cmp r10, rdx
je 0x14001fc29
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14001fc1d
xor al, 1
cmp r8, rdx
jne 0x14001fbd0
jmp 0x14001fc1d
xor eax, eax
jmp 0x14001fc1d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x1400632ab]
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.140023630
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140023b00
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140023a80
int3

Function at 0x1400216f4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002173e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002173e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002173e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002173e
cmp dword [rcx + 0x84], 0xe
jbe 0x14002173e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140021740
xor al, al
add rsp, 0x28
ret
Function at 0x1400227e0
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov qword [rbp], 0xfffffffffffffffe
lea rcx, str.api_ms_win_core_synch_l1_2_0.dll
call sub.KERNEL32.dll_GetModuleHandleA
test rax, rax
je 0x14002283e
mov rdi, rax
lea rdx, [0x14005e6b6]
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x14002283e
mov rsi, rax
lea rdx, [0x14005e6c4]
mov rcx, rdi
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x14002283e
mov rdi, rax
xor ebx, ebx
jmp 0x1400228c0
lea rcx, [0x14005e650]
call sub.KERNEL32.dll_GetModuleHandleA
test rax, rax
je 0x140022933
mov rsi, rax
lea rdx, [0x14005e65a]
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x140022933
mov rdi, rax
lea rdx, [0x14005e66d]
mov rcx, rsi
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x140022933
mov rbx, rax
lea rdx, [0x14005e681]
mov rcx, rsi
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x140022933
mov rsi, rax
lea rcx, [rbp - 0x18]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rdi
test eax, eax
jne 0x140022933
mov rdi, qword [rbp - 0x18]
movzx eax, byte [0x14006a181]
mov ecx, 0x18
mov edx, 8
call fcn.140002c20
test rax, rax
je 0x140022938
mov rcx, rax
mov qword [rax], rbx
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rdi
xor eax, eax
lock cmpxchg qword [0x14006a198], rcx
je 0x140022927
mov rsi, rax
cmp qword [rcx], 0
mov qword [rbp - 8], rcx
je 0x140022910
mov rax, qword [rbp - 8]
mov rcx, qword [rax + 0x10]
call sub.KERNEL32.dll_CloseHandle
mov edx, 0x18
mov r8d, 8
mov rcx, qword [rbp - 8]
call fcn.140002c30
mov rcx, rsi
mov rax, rcx
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop rbp
ret
call fcn.1400227b0
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], rbx
mov ecx, 8
mov edx, 0x18
call fcn.140023470
ud2
Function at 0x1400b897e
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x14020fcc0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1403398fc]
call fcn.1400bb791
nop
mov qword [rbp + 8], 0
jmp 0x14020fcff
mov rax, qword [rbp + 8]
inc rax
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x110]
cmp qword [rbp + 8], rax
jae 0x14020fd55
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x108]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rbp + 0x100]
xor rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
movabs rax, 0x100000001b3
mov rcx, qword [rbp + 0x100]
imul rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
jmp 0x14020fcf4
mov rax, qword [rbp + 0x100]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x1400b9eeb
Capabilities:
Terminate process

Disassembly:
jmp 0x1402298b0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x1400ba346
Capabilities:
Write file on windows

Disassembly:
jmp 0x1400f9370
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x14033927b]
call fcn.1400bb791
nop
mov r9, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.ucrtbased.dll_fwrite]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x1400ba512
Capabilities:
Read file on windows

Disassembly:
jmp 0x1400f92f0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x14033927b]
call fcn.1400bb791
nop
mov r9, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.ucrtbased.dll_fread]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x1400ba535
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x1400fb120
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x20]
lea rcx, [0x14033927b]
call fcn.1400bb791
nop
mov eax, dword [rbp + 0x1a0]
not eax
mov dword [rbp + 0x1a0], eax
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x28], rax
lea rax, [0x140239480]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x198], 0
je 0x1400fb266
mov rax, qword [rbp + 0x198]
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0x198]
dec rax
mov qword [rbp + 0x198], rax
cmp qword [rbp + 0x158], 0
je 0x1400fb1ba
mov dword [rbp + 0x160], 1
jmp 0x1400fb1c4
mov dword [rbp + 0x160], 0
cmp dword [rbp + 0x160], 0
je 0x1400fb261
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x154], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x64], al
movzx eax, byte [rbp + 0x64]
cmp eax, 0x23
jne 0x1400fb23b
cmp qword [rbp + 0x198], 2
jb 0x1400fb23b
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1400fb23b
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1400fb23b
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x64]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x1400fb185
jmp 0x1400fb300
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x154], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x84], al
movzx eax, byte [rbp + 0x84]
test eax, eax
je 0x1400fb300
movzx eax, byte [rbp + 0x84]
cmp eax, 0x23
jne 0x1400fb2d7
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1400fb2d7
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1400fb2d7
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x84]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x1400fb266
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret

Function at 0x1400ba698
Capabilities:
Get file attributes
Set file attributes

Disassembly:
jmp 0x14021eb40
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x140339aaa]
call fcn.1400bb791
nop
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffff9
mov edx, eax
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
nop
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x1400ba6a2
Capabilities:
Parse pe header

Disassembly:
jmp 0x14022bcf0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14022bd10
xor al, al
jmp 0x14022bd91
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14022bd23
xor al, al
jmp 0x14022bd91
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14022bd4d
xor al, al
jmp 0x14022bd91
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14022bd61
xor al, al
jmp 0x14022bd91
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14022bd73
xor al, al
jmp 0x14022bd91
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14022bd8f
xor al, al
jmp 0x14022bd91
mov al, 1
add rsp, 0x38
ret
Function at 0x1400bb278
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140224ed0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x448
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xaa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x468]
mov rax, qword [0x14031e940]
xor rax, rbp
mov qword [rbp + 0x418], rax
lea rcx, [0x140339aaa]
call fcn.1400bb791
nop
mov byte [rbp + 4], 0
xor edx, edx
mov ecx, 2
call fcn.1400b9a45
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0xffffffffffffffff
jne 0x140224f39
xor al, al
jmp 0x140224f8e
mov dword [rbp + 0x50], 0x238
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call fcn.1400ba184
test eax, eax
je 0x140224f7f
lea rdx, [rbp + 0x7c]
mov rcx, qword [rbp + 0x440]
call fcn.1400b92d4
movzx eax, al
test eax, eax
je 0x140224f6e
mov byte [rbp + 4], 1
jmp 0x140224f7f
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call fcn.1400baf76
test eax, eax
jne 0x140224f51
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
movzx eax, byte [rbp + 4]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1402867f0]
call fcn.1400bae18
mov rax, rdi
mov rcx, qword [rbp + 0x418]
xor rcx, rbp
call fcn.1400b9adb
lea rsp, [rbp + 0x428]
pop rdi
pop rbp
ret

Function at 0x1400bb336
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x1400fb000
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x20]
lea rcx, [0x14033927b]
call fcn.1400bb791
nop
mov eax, dword [rbp + 0x160]
not eax
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x150]
mov qword [rbp + 0x28], rax
lea rax, [0x140239480]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x158]
mov qword [rbp + 0x118], rax
mov rax, qword [rbp + 0x158]
dec rax
mov qword [rbp + 0x158], rax
cmp qword [rbp + 0x118], 0
je 0x1400fb080
mov dword [rbp + 0x120], 1
jmp 0x1400fb08a
mov dword [rbp + 0x120], 0
cmp dword [rbp + 0x120], 0
je 0x1400fb0d3
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
mov rdx, qword [rbp + 0x28]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 0x114], eax
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
mov eax, dword [rbp + 0x114]
mov dword [rbp + 4], eax
jmp 0x1400fb04b
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret
Function at 0x14022a050
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400bb98a
movzx eax, al
test eax, eax
jne 0x14022a070
mov ecx, 7
call fcn.1400bae4a
nop
mov byte [rsp + 0x20], 0
call fcn.1400baf3f
mov byte [rsp + 0x21], al
cmp dword [0x140327418], 1
jne 0x14022a094
mov ecx, 7
call fcn.1400bae4a
nop
jmp 0x14022a0ec
cmp dword [0x140327418], 0
jne 0x14022a0e7
mov dword [0x140327418], 1
lea rdx, [0x140237798]
lea rcx, [0x140237468]
call fcn.1400b9a22
test eax, eax
je 0x14022a0c8
mov eax, 0xff
jmp 0x14022a1f1
lea rdx, [0x140237358]
lea rcx, [section..rdata]
call fcn.1400baf1c
mov dword [0x140327418], 2
jmp 0x14022a0ec
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.1400badc8
call fcn.1400ba7fb
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x14022a149
mov rcx, qword [rsp + 0x30]
call fcn.1400b9522
movzx eax, al
test eax, eax
je 0x14022a149
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x14033b020]
nop
call fcn.1400baa71
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14022a17d
mov rcx, qword [rsp + 0x38]
call fcn.1400b9522
movzx eax, al
test eax, eax
je 0x14022a17d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400bb606
nop
call fcn.14022a260
mov dword [rsp + 0x28], eax
call fcn.1400ba6a2
movzx eax, al
test eax, eax
jne 0x14022a19c
mov ecx, dword [rsp + 0x28]
call fcn.1400b841f
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14022a1ab
call fcn.1400bb69c
nop
xor edx, edx
mov cl, 1
call fcn.1400b93d3
mov eax, dword [rsp + 0x28]
jmp 0x14022a1f1
add rsp, 0x68
ret
Function at 0x1807590b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.180759237
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1807590e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1807590c7
add dl, dl
jne 0x1807590ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18075914e
xor eax, eax
add dl, dl
jne 0x1807590fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180759205
add dl, dl
jne 0x18075910e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18075911b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180759128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180759135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x180759142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1807590d6
mov eax, 1
add dl, dl
jne 0x18075915e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18075916b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180759153
sub eax, ebx
mov ebx, 1
jne 0x1807591a4
mov ecx, 1
add dl, dl
jne 0x180759186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180759193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18075917b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1807590d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1807591c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1807591cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1807591b5
cmp eax, 0x7d00
jae 0x1807591f3
cmp eax, 0x500
jb 0x1807591ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1807590d6
cmp eax, 0x7f
ja 0x1807591f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1807590d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x18075922a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1807590d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20