joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001480
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1401790b0]
mov dword [rax], 1
mov rax, qword [0x1401790c0]
mov dword [rax], 1
mov rax, qword [0x1401790d0]
mov dword [rax], 1
mov rax, qword [0x1401790a0]
mov dword [rax], 1
mov rax, qword [0x140178f00]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400014de
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x14000150a
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x140001530
cmp eax, 0x20b
je 0x140001557
jmp 0x140001586
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x140001543
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000158b
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x140001572
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000158b
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x1400022dc
Capabilities:
Write file on windows

Disassembly:
push r12
sub rsp, 0x20
mov rax, qword [0x1401a7260]
test rax, rax
je 0x1400022f0
call rax
mov ecx, 2
call qword [fcn.14001dcd0]
mov r8d, 0xe
mov edx, 1
lea rcx, str.out_of_memory_n
mov r12, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, r12
call sub.msvcrt.dll_fflush
mov ecx, 1
call sub.msvcrt.dll_exit
nop

Function at 0x1400063bc
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r12
push rdi
push rsi
sub rsp, 0x20
mov r9d, 0x40
mov r8d, 0x3000
mov r12, rdx
mov rsi, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rcx, r12
mov rdi, rax
rep movsb byte [rdi], byte [rsi]
call rax
xor eax, eax
add rsp, 0x20
pop rsi
pop rdi
pop r12
ret
mov rax, qword [0x140179080]
movsxd rdx, dword [rax]
mov rax, qword [0x140179070]
mov rcx, qword [rax]
jmp 0x1400063bc
sub rsp, 0x28
call fcn.140006406
nop
add rsp, 0x28
jmp 0x14000641b

Function at 0x14000641b
Capabilities:
Execute shellcode via indirect call

Disassembly:
push r12
push rdi
push rsi
sub rsp, 0x20
mov r9d, 0x40
mov r8d, 0x3000
mov r12, rdx
mov rsi, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rcx, r12
mov rdi, rax
rep movsb byte [rdi], byte [rsi]
call rax
xor eax, eax
add rsp, 0x20
pop rsi
pop rdi
pop r12
ret
mov rax, qword [0x140179080]
movsxd rdx, dword [rax]
mov rax, qword [0x140179070]
mov rcx, qword [rax]
jmp 0x1400063bc
sub rsp, 0x28
call fcn.140006406
nop
add rsp, 0x28
jmp 0x14000641b
Function at 0x140006433
Capabilities:
Execute shellcode via indirect call

Disassembly:
push r12
push rdi
push rsi
sub rsp, 0x20
mov r9d, 0x40
mov r8d, 0x3000
mov r12, rdx
mov rsi, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rcx, r12
mov rdi, rax
rep movsb byte [rdi], byte [rsi]
call rax
xor eax, eax
add rsp, 0x20
pop rsi
pop rdi
pop r12
ret
mov rax, qword [0x140179080]
movsxd rdx, dword [rax]
mov rax, qword [0x140179070]
mov rcx, qword [rax]
jmp 0x1400063bc
sub rsp, 0x28
call fcn.140006406
nop
add rsp, 0x28
jmp 0x14000641b

Function at 0x14000ff00
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.14001dcd0
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.14001dcd0
mov r8, rbx
mov rdx, qword [rbp + 0x20]
mov rcx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x140010b32
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1401a7388]
test eax, eax
je 0x140010bca
lea rax, [0x1401a7360]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1401a7390]
mov qword [rbp - 8], rax
jmp 0x140010bae
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x140010ba2
cmp qword [rbp - 0x10], 0
je 0x140010ba2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140010b68
lea rax, [0x1401a7360]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x140010bcb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140010cd0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x140010cf8
mov eax, 0
jmp 0x140010d46
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x140010d21
mov eax, 0
jmp 0x140010d46
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x140010d41
mov eax, 0
jmp 0x140010d46
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x140010d4c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x140010dca
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140010dc1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140010dc1
mov rax, qword [rbp - 8]
jmp 0x140010ddf
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x140010d94
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140020ef4
Capabilities:
Print debug messages

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x90
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
cmp qword [rbp + 0x10], 0
je 0x14002103e
mov rcx, qword [rbp + 0x10]
call fcn.14002051d
cmp eax, 1
jne 0x140021031
movabs rax, 0x6c6320726f727245
movabs rdx, 0x7520676e696e6165
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rdx
movabs rax, 0x6b5f6e6970732070
movabs rdx, 0x20726f6620737965
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rdx
movabs rax, 0x20646165726874
mov edx, 0
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rdx
mov qword [rbp - 0x40], 0
mov qword [rbp - 0x38], 0
mov qword [rbp - 0x30], 0
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x10], 0
mov word [rbp - 8], 0
mov byte [rbp - 6], 0
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call rax
mov ecx, eax
lea rax, [rbp - 0x70]
add rax, 0x27
mov r8d, 0xa
mov rdx, rax
mov rax, qword [sym.imp.msvcrt.dll__ultoa]
call rax
mov dword [rbp - 4], 0x27
jmp 0x140020fe7
add dword [rbp - 4], 1
mov eax, dword [rbp - 4]
cdqe
movzx eax, byte [rbp + rax - 0x70]
test al, al
je 0x140020ffd
mov eax, dword [rbp - 4]
cmp eax, 0x69
jbe 0x140020fe3
mov eax, dword [rbp - 4]
cmp eax, 0x69
ja 0x14002101c
mov eax, dword [rbp - 4]
cdqe
mov byte [rbp + rax - 0x70], 0xa
mov eax, dword [rbp - 4]
add eax, 1
cdqe
mov byte [rbp + rax - 0x70], 0
lea rax, [rbp - 0x70]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rax
call sub.msvcrt.dll_abort
mov rax, qword [rbp + 0x10]
mov rdx, qword [rbp + 0x18]
mov qword [rax], rdx
jmp 0x14002103f
nop
add rsp, 0x90
pop rbp
ret
Function at 0x140022235
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xffffffffffffffff
lea rax, [0x14002205b]
mov rdx, rax
lea rax, [0x1401a7e30]
mov rcx, rax
call fcn.140021666
mov eax, dword [0x1400c2590]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
je 0x140022288
mov rax, qword [rbp - 0x10]
jmp 0x1400223e8
call fcn.140020dd0
mov qword [rbp - 0x10], rax
mov rax, qword [0x1401aa050]
test rax, rax
je 0x1400222a4
cmp qword [rbp - 0x10], 0
jne 0x1400222ae
mov eax, 0
jmp 0x1400223e8
mov rax, qword [rbp - 0x10]
mov dword [rax + 0x44], 1
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call rax
mov rdx, qword [rbp - 0x10]
mov dword [rdx + 0x70], eax
mov r9d, 0
mov r8d, 0
mov edx, 1
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateEventA]
call rax
mov rdx, qword [rbp - 0x10]
mov qword [rdx + 0x30], rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x38], 0xffffffffffffffff
mov rax, qword [rbp - 0x10]
lea rcx, [rax + 0x68]
mov rax, qword [rbp - 8]
mov rdx, rax
call fcn.140020ef4
mov rax, qword [rbp - 0x10]
mov dword [rax + 0xb8], 0
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x28], 0
mov rax, qword [rbp - 0x10]
lea rdi, [rax + 0x28]
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rsi, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rbx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, rdi
mov r8, rsi
mov rdx, rbx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_DuplicateHandle]
call rax
test eax, eax
jne 0x140022389
call sub.msvcrt.dll_abort
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x28]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetThreadPriority]
call rax
mov rdx, qword [rbp - 0x10]
mov dword [rdx + 0xc0], eax
mov rax, qword [rbp - 0x10]
mov dword [rax + 0xbc], 0
mov rax, qword [rbp - 0x10]
movzx edx, byte [rax + 0x40]
and edx, 0xffffffcf
or edx, 0x10
mov byte [rax + 0x40], dl
mov eax, dword [0x1400c2590]
mov rdx, qword [rbp - 0x10]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
test eax, eax
jne 0x1400223e4
call sub.msvcrt.dll_abort
mov rax, qword [rbp - 0x10]
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x1400224e2
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp + 0x10], rcx
mov qword [rbp - 0x10], 0
mov rax, qword [rbp + 0x10]
mov dword [rbp - 4], eax
call fcn.140022235
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
mov rdx, qword [rbp + 0x10]
mov qword [rax + 8], rdx
mov rax, qword [rbp - 0x18]
mov rax, qword [rax + 0x1d8]
mov rcx, rax
call fcn.140022089
mov rax, qword [rbp - 0x18]
movzx eax, byte [rax + 0x40]
and eax, 0x30
test al, al
jne 0x14002254f
mov rax, qword [rbp - 0x18]
add rax, 0xd0
mov edx, 1
mov rcx, rax
mov rax, qword [sym.imp.msvcrt.dll_longjmp]
call rax
mov eax, dword [0x1400c2590]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
je 0x140022693
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x1400225ec
mov rax, qword [rbp - 0x10]
mov dword [rax], 0xdeadbeef
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
test rax, rax
je 0x1400225a7
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x30], 0
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 8]
mov dword [rbp - 4], eax
mov rax, qword [rbp - 0x10]
mov rcx, rax
call fcn.140020cac
mov qword [rbp - 0x10], 0
mov eax, dword [0x1400c2590]
mov rdx, qword [rbp - 0x10]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
jmp 0x140022693
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 8]
mov dword [rbp - 4], eax
mov rax, qword [rbp - 0x10]
mov dword [rax + 0xbc], 1
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
test rax, rax
je 0x140022626
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x30], 0
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x44]
and eax, 4
test eax, eax
je 0x140022693
mov rax, qword [rbp - 0x10]
mov dword [rax], 0xdeadbeef
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x28]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x28], 0
mov rax, qword [rbp - 0x10]
mov rcx, rax
call fcn.140020cac
mov qword [rbp - 0x10], 0
mov eax, dword [0x1400c2590]
mov rdx, qword [rbp - 0x10]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
mov eax, dword [rbp - 4]
mov ecx, eax
mov rax, qword [sym.imp.msvcrt.dll__endthreadex]
call rax
nop
Function at 0x140085830
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbp, qword [sym.imp.msvcrt.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
jmp 0x140085857
call rbp
cmp dword [rax], 4
jne 0x140085874
mov rcx, rdi
call fcn.140085670
mov r8d, ebx
mov rdx, rsi
mov ecx, eax
call sub.msvcrt.dll__read
movsxd r12, eax
cmp eax, 0xffffffff
je 0x140085850
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x1400bf170
Capabilities:
Write file on windows

Disassembly:
push r14
push r13
push r12
push rsi
push rbx
sub rsp, 0x50
mov rbx, rcx
call fcn.1400be800
mov rax, qword [rbx - 0x10]
mov rcx, qword [rbx - 0x40]
mov r13, qword [rbx - 0x18]
movsxd rsi, dword [rbx - 0x24]
mov qword [rsp + 0x30], rax
mov r12, qword [rbx - 0x38]
call fcn.140029ce0
mov rcx, rax
jmp 0x1400bf090
call fcn.1400be800
call fcn.1400bea60
mov rbx, qword [rax]
test byte [rbx + 0x50], 1
je 0x1400bf117
mov rbx, qword [rbx]
lea r14, [rsp + 0x20]
mov rdx, r13
xor ecx, ecx
mov r8, r14
call fcn.140029840
mov rdx, qword [rbx - 0x90]
mov r9, rsi
mov r8, rbx
mov rcx, r14
call fcn.140029930
test al, al
jne 0x1400bf135
lea r13, [0x14017b840]
mov r9, rsi
xor r8d, r8d
mov rcx, r14
mov rdx, r13
call fcn.140029930
test al, al
je 0x1400bf13a
mov ecx, 8
call fcn.1400be790
lea r8, [0x14008bd10]
mov rdx, r13
mov rcx, rax
mov rax, qword [0x140178b50]
add rax, 0x10
mov qword [rcx], rax
call fcn.1400bed20
add rbx, 0x90
jmp 0x1400bf0a6
call fcn.1400becd0
mov rcx, r12
call fcn.140029cc0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
call sub.msvcrt.dll_abort
mov rcx, rax
call fcn.1400be800
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov rcx, rax
mov rax, rdx
sub rax, 1
jne 0x1400bf1ec
call fcn.1400be800
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x10]
mov ecx, 2
mov r12, rax
call rbx
mov r9, rax
mov r8d, 0xb
mov edx, 1
lea rcx, str.__what__:
call sub.msvcrt.dll_fwrite
mov ecx, 2
call rbx
mov rdx, rax
mov rcx, r12
call sub.msvcrt.dll_fputs
mov ecx, 2
call rbx
mov rdx, rax
mov ecx, 0xa
call sub.msvcrt.dll_fputc
call fcn.1400be930
call sub.msvcrt.dll_abort
mov rcx, r13
call fcn.14001d518
call fcn.1400becd0
call fcn.1400be800
call fcn.1400be930
jmp 0x1400bf1da
Function at 0x14006be44
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [0x1402503b8]
test rax, rax
je 0x14006be8e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14006be8e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14006be8e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14006be8e
cmp dword [rcx + 0x84], 0xe
jbe 0x14006be8e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14006be90
xor al, al
add rsp, 0x28
ret

Function at 0x140003de0
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x58], rdx
mov rbx, r8
xor edx, edx
test rcx, rcx
je 0x140003e14
cmp word [rcx], 0x5a4d
jne 0x140003e14
movsxd rax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x140003e14
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003e14
mov edx, dword [rcx + 0x28]
add rdx, qword [rsp + 0x58]
mov rcx, rbx
call fcn.140003d20
test eax, eax
jne 0x140003e30
xor eax, eax
add rsp, 0x40
pop rbx
ret
mov rcx, rbx
call fcn.140003d90
test rax, rax
je 0x140003e25
lea rdx, [rax + 0x10]
lea rax, [rsp + 0x38]
mov rcx, qword [rbx]
mov r9d, 8
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x58]
mov qword [rsp + 0x38], 0
call fcn.1400045df
not eax
shr eax, 0x1f
add rsp, 0x40
pop rbx
ret

Function at 0x1400044e0
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.140004480
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x1400050a0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400050c3
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x1400050c3
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140005171
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x1428116f0]
mov r8, rcx
mov rcx, r9
call fcn.1400050a0
test eax, eax
je 0x14000519d
mov rdx, r8
mov rcx, r9
sub rdx, r9
add rsp, 0x28
jmp fcn.1400050c4
xor eax, eax
add rsp, 0x28
ret
Function at 0x140002724
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x140055038]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x48]
call fcn.1400026bc
nop
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
movsxd rdx, eax
inc rdx
lea rcx, [rsp + 0x28]
call fcn.140001da4
nop
lea rcx, [rsp + 0x28]
call fcn.140001aec
mov r8, rax
lea rcx, [rsp + 0x28]
call fcn.140001adc
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rcx, [rsp + 0x28]
call fcn.140001adc
mov rdx, rax
mov rcx, rdi
call fcn.1400020b4
nop
lea rcx, [rsp + 0x28]
call fcn.140001af8
nop
lea rcx, [rsp + 0x48]
call fcn.140002254
mov rax, rdi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140028990
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret

Function at 0x140008b38
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp dword [0x140057354], 2
mov edi, r8d
mov esi, edx
mov rbx, rcx
jl 0x140008b5d
call fcn.1400076f0
call fcn.140009190
xor r9d, r9d
mov rcx, qword [rbx + 0xf8]
lea rax, [0x14004c320]
mov eax, dword [r9 + rax]
mov dword [r9 + rcx], eax
add r9, 4
cmp r9, 0x20
jl 0x140008b65
mov rax, qword [rbx + 0xf8]
bts edi, 0xd
shl edi, 0x10
xor dword [rax], 0x2080020
mov rax, qword [rbx + 0xf8]
xor dword [rax + 8], esi
mov rax, qword [rbx + 0xf8]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
xor dword [rax + 0xc], edi
add rsp, 0x20
pop rdi
ret
Function at 0x14000a158
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x140058274], 0
jne 0x14000a156
xor r8d, r8d
lea r9, [0x140058270]
mov r10d, r8d
mov r11d, 8
mov edx, r10d
mov ecx, r10d
shr edx, 1
mov eax, edx
mov r10d, edx
xor eax, 0xedb88320
test cl, 1
cmovne r10d, eax
sub r11, 1
jne 0x14000a124
mov dword [r9], r10d
inc r8d
add r9, 4
cmp r8d, 0x100
jb 0x14000a11b
ret
jmp 0x14000a108

Function at 0x14000a178
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x14000a19e
movzx r9d, byte [rdx]
inc rdx
movzx eax, cl
xor r9, rax
shr ecx, 8
lea rax, [0x140058270]
xor ecx, dword [rax + r9*4]
sub r8, 1
jne 0x14000a17d
mov eax, ecx
ret
Function at 0x14000a810
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x140055038]
xor rax, rsp
mov qword [rbp + 0x120], rax
mov rbx, qword [rbp + 0x190]
mov rax, r8
mov rdi, qword [rbp + 0x198]
mov r12, rdx
mov rsi, qword [rbp + 0x1a0]
mov r15, rcx
mov rdx, rax
lea rcx, [rbp + 0xb0]
mov r8d, 0x10
call fcn.14002ab70
xor r14d, r14d
mov dword [rbp + 0xc0], 0x1000000
mov qword [rsp + 0x40], r14
lea rax, [rbp + 0x68]
mov qword [rsp + 0x38], r14
lea r8, [rbp + 0xb0]
mov qword [rsp + 0x30], r14
mov rdx, r12
mov qword [rsp + 0x28], r14
lea r9d, [r14 + 0x14]
mov rcx, r15
mov qword [rsp + 0x20], rax
call fcn.14000a4f4
lea r13d, [r14 + 0x20]
mov r8d, r13d
lea rdx, [rbp + 0x68]
lea rcx, [rbp + 0x88]
call fcn.14002ab70
mov eax, dword [rbp + 0x1a8]
dec eax
mov qword [rbp + 0x58], rdi
mov qword [rbp + 0x60], rsi
lea rdi, [rbp + 0x40]
mov byte [rsp + 0x51], r14b
lea rsi, [rbp + 0x50]
mov byte [rsp + 0x50], r14b
lea r14d, [r13 - 0x1d]
mov dword [rbp + 0x40], eax
mov dword [rbp + 0x44], 0x10
mov dword [rbp + 0x48], 0x10
mov qword [rbp + 0x50], rbx
cmp dword [rdi], 0
jbe 0x14000a99a
mov ebx, dword [rdi]
lea rax, [rsp + 0x50]
mov r9, r13
mov qword [rsp + 0x40], rax
lea r8, [rbp + 0x68]
lea rax, [rsp + 0x60]
mov rdx, r12
mov qword [rsp + 0x38], rax
mov rcx, r15
lea rax, [rsp + 0x51]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x100]
mov qword [rsp + 0x20], rax
call fcn.14000a4f4
mov r8, r13
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x68]
call fcn.14002ab70
xor eax, eax
lea ecx, [rax + 2]
movdqu xmm0, xmmword [rbp + rax + 0x88]
movdqu xmm1, xmmword [rbp + rax + 0x68]
lea rax, [rax + 0x10]
pxor xmm1, xmm0
movdqu xmmword [rbp + rax + 0x78], xmm1
sub rcx, 1
jne 0x14000a96d
sub rbx, 1
jne 0x14000a910
mov rcx, qword [rsi]
lea rdx, [rbp + 0x88]
mov r8, r13
call fcn.14002ab70
add rdi, 4
add rsi, 8
sub r14, 1
jne 0x14000a905
lea edx, [r14 + 0x44]
lea rcx, [rbp + 0xb0]
call fcn.140018438
lea rcx, [rbp + 0x88]
mov rdx, r13
call fcn.140018438
lea rcx, [rbp + 0x68]
call fcn.140018438
lea rcx, [rbp + 0x100]
call fcn.140018438
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.140028990
mov rbx, qword [rsp + 0x288]
add rsp, 0x230
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000acf4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x80
mov rax, qword [0x140055038]
xor rax, rsp
mov qword [rsp + 0x78], rax
cmp dword [rcx], 2
lea rbx, [rcx + 4]
mov rsi, rdx
mov rdi, rcx
mov r14d, 0x20
jne 0x14000ad97
mov ecx, dword [rbx]
lea rdx, [rsp + 0x50]
call fcn.140009188
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x58]
and qword [rsp + 0x38], 0
lea r9d, [r14 - 0x1c]
and qword [rsp + 0x30], 0
lea r8, [rsp + 0x50]
and qword [rsp + 0x28], 0
mov edx, r14d
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.14000a4f4
xor r9d, r9d
lea r10, [rsp + 0x58]
xor r8d, r8d
movzx edx, byte [r10]
mov ecx, r9d
and ecx, 3
inc r9d
shl ecx, 3
inc r10
shl edx, cl
xor edx, r8d
mov r8d, edx
cmp r9d, r14d
jb 0x14000ad75
mov dword [rbx], edx
cmp dword [rdi], 3
jne 0x14000addf
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x58]
and qword [rsp + 0x38], 0
mov r9, r14
and qword [rsp + 0x30], 0
mov r8, rbx
and qword [rsp + 0x28], 0
mov rdx, r14
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.14000a4f4
mov r8, r14
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.14002ab70
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140028990
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop r14
pop rdi
pop rsi
ret