joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002c6d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x140038010]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rbx, rcx
call fcn.14002c628
xor r14d, r14d
test al, al
je 0x14002c717
mov eax, 0x1126
jmp 0x14002c899
lea rcx, [rsp + 0x28]
call fcn.14000c528
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.14002c598
lea rcx, [rsp + 0x28]
mov sil, al
call fcn.14002cd90
lea rdx, [rsp + 0x28]
mov bl, al
lea rcx, [rsp + 0x28]
call fcn.14002c508
mov dil, al
test bl, bl
jne 0x14002c782
test al, al
jne 0x14002c766
test sil, sil
jne 0x14002c766
mov ebx, 0x7b
jmp 0x14002c88d
lea r8, str.._
mov rcx, r8
call fcn.14000d204
mov r9, rax
lea rcx, [rsp + 0x28]
call fcn.140017224
cmp qword [rsp + 0x40], 8
lea rcx, [rsp + 0x28]
mov r8d, 0x104
lea rdx, [rsp + 0x50]
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
test eax, eax
jne 0x14002c7be
neg dil
mov ebx, 0x7b
sbb eax, eax
and eax, 0x10ab
add ebx, eax
jmp 0x14002c88d
lea rax, [rsp + 0x50]
or rdi, 0xffffffffffffffff
inc rdi
cmp word [rax + rdi*2], r14w
jne 0x14002c7c7
dec rdi
lea rdx, [rsp + 0x50]
mov r8, rdi
lea rcx, [rsp + 0x28]
call fcn.14002c290
mov ebx, 0x7b
test al, al
je 0x14002c88d
cmp qword [rsp + 0x40], 8
lea rcx, [rsp + 0x28]
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14002c825
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rax - 1]
cmp ecx, 2
jbe 0x14002c82b
cmp eax, ebx
je 0x14002c82b
mov ebx, eax
jmp 0x14002c88d
bt eax, 0xa
jb 0x14002c88a
mov eax, 0x5c
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
mov word [rsp + 0x20], ax
call fcn.14000f6e0
lea rcx, [rsp + 0x28]
cmp rax, qword [rsp + 0x38]
ja 0x14002c868
cmp qword [rsp + 0x40], 8
mov qword [rsp + 0x38], rax
cmovae rcx, qword [rsp + 0x28]
mov word [rcx + rax*2], r14w
jmp 0x14002c878
sub rax, qword [rsp + 0x38]
xor r8d, r8d
mov rdx, rax
call fcn.14001073c
cmp qword [rsp + 0x38], rdi
ja 0x14002c7f3
mov ebx, 0x1126
jmp 0x14002c88d
mov ebx, r14d
lea rcx, [rsp + 0x28]
call fcn.1400032e0
mov eax, ebx
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140006f20
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14002cdf0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x20], r9
push rsi
push rdi
push r14
sub rsp, 0x40
mov r9d, 8
lea rax, [r11 + 0x20]
mov rbp, r8
mov qword [r11 - 0x38], rax
mov rdi, rdx
mov rsi, rcx
lea r14d, [r9 + 8]
mov r8d, r14d
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
xor ebx, ebx
test eax, eax
je 0x14002ce7e
lea rax, [rsp + 0x30]
mov r9, r14
mov r8, rbp
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14002ce5a
cmp qword [rsp + 0x30], r14
jne 0x14002ce5a
mov bl, 1
mov r9d, dword [rsp + 0x78]
lea rax, [rsp + 0x78]
mov r8, r14
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
neg eax
sbb al, al
and al, bl
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x140001154
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x10], 0
mov dword [rbp - 0x1c], 0x30
mov eax, dword [rbp - 0x1c]
mov rax, qword gs:[rax]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 8]
mov qword [rbp - 0x18], rax
mov dword [rbp - 4], 0
jmp 0x1400011ac
mov rax, qword [rbp - 0x10]
cmp rax, qword [rbp - 0x18]
jne 0x14000119e
mov dword [rbp - 4], 1
jmp 0x1400011e3
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [0x1400c9490]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 0
mov rcx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
lock cmpxchg qword [rdx], rcx
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x14000118b
mov rax, qword [0x1400c94a0]
mov eax, dword [rax]
cmp eax, 1
jne 0x1400011fd
mov ecx, 0x1f
call fcn.1400aaef0
jmp 0x14000123c
mov rax, qword [0x1400c94a0]
mov eax, dword [rax]
test eax, eax
jne 0x140001232
mov rax, qword [0x1400c94a0]
mov dword [rax], 1
mov rax, qword [0x1400c94e0]
mov rdx, rax
mov rax, qword [0x1400c94d0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
jmp 0x14000123c
mov dword [0x1400cd024], 1
mov rax, qword [0x1400c94a0]
mov eax, dword [rax]
cmp eax, 1
jne 0x140001270
mov rax, qword [0x1400c94c0]
mov rdx, rax
mov rax, qword [0x1400c94b0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov rax, qword [0x1400c94a0]
mov dword [rax], 2
cmp dword [rbp - 4], 0
jne 0x140001294
mov rax, qword [0x1400c9490]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0
mov rdx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x48]
xchg qword [rax], rdx
mov rax, qword [0x1400c93e0]
mov rax, qword [rax]
test rax, rax
je 0x1400012bf
mov rax, qword [0x1400c93e0]
mov rax, qword [rax]
mov r8d, 0
mov edx, 2
mov ecx, 0
call rax
call fcn.1400aa178
mov rax, qword [0x1400c9520]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call rax
mov rdx, qword [0x1400c9480]
mov qword [rdx], rax
lea rax, section..text
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler
call fcn.1400a9970
mov eax, dword [0x1400cd004]
lea rdx, [0x1400cd008]
mov ecx, eax
call fcn.14000147c
call fcn.1400a9707
mov rax, qword [0x1400c9410]
mov rax, qword [rax]
mov rdx, qword [0x1400cd010]
mov qword [rax], rdx
mov rcx, qword [0x1400cd010]
mov rdx, qword [0x1400cd008]
mov eax, dword [0x1400cd004]
mov r8, rcx
mov ecx, eax
call fcn.1400016d0
mov dword [0x1400cd01c], eax
mov eax, dword [0x1400cd020]
test eax, eax
jne 0x14000135d
mov eax, dword [0x1400cd01c]
mov ecx, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
mov eax, dword [0x1400cd024]
test eax, eax
jne 0x14000136c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
mov eax, dword [0x1400cd01c]
add rsp, 0x70
pop rbp
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1400c9440]
mov dword [rax], 1
mov rax, qword [0x1400c9450]
mov dword [rax], 1
mov rax, qword [0x1400c9460]
mov dword [rax], 1
mov rax, qword [0x1400c9400]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
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 0x1400013f5
mov eax, 0
jmp 0x140001476
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 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1400a9980
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 sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.1400aace0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x1400aa652
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1400cd168]
test eax, eax
je 0x1400aa6ea
lea rax, [0x1400cd140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1400cd170]
mov qword [rbp - 8], rax
jmp 0x1400aa6ce
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 0x1400aa6c2
cmp qword [rbp - 0x10], 0
je 0x1400aa6c2
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 0x1400aa688
lea rax, [0x1400cd140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x1400aa6eb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x1400aa7f0
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 0x1400aa818
mov eax, 0
jmp 0x1400aa866
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 0x1400aa841
mov eax, 0
jmp 0x1400aa866
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 0x1400aa861
mov eax, 0
jmp 0x1400aa866
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x1400aa86c
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 0x1400aa8ea
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x1400aa8e1
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 0x1400aa8e1
mov rax, qword [rbp - 8]
jmp 0x1400aa8ff
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 0x1400aa8b4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140001cd0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x570
mov rax, qword [0x14000f040]
xor rax, rsp
mov qword [rsp + 0x560], rax
xor edx, edx
mov qword [rsp + 0x28], rcx
mov rdi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140001d9a
xor edx, edx
lea rcx, [rsp + 0x34]
mov r8d, 0x12c
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x130
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140001d95
nop dword [rax + rax]
lea rdx, [rsp + 0x5c]
lea rcx, str.steam.exe
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140001d6a
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140001d40
jmp 0x140001d95
mov r8d, dword [rsp + 0x38]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r9d, 0x104
lea r8, [rsp + 0x160]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
test rbx, rbx
je 0x140001da3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
lea rax, [rsp + 0x160]
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
mov r8, 0xffffffffffffffff
mov qword [rdi + 0x18], 0
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140001dd0
lea rdx, [rsp + 0x160]
mov rcx, rdi
call fcn.140006750
mov rax, rdi
mov rcx, qword [rsp + 0x560]
xor rcx, rsp
call fcn.140008c50
mov rbx, qword [rsp + 0x588]
add rsp, 0x570
pop rdi
ret
Function at 0x140003580
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x1400035a8
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x1400035ce
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400035d0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140003629
test ecx, ecx
jle 0x140003609
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140003629
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140003629
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x140003650
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140003672
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140003688
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1400036a4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400036a6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400036e2
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14000377e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000371d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14000375e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14000377e
cmp rbx, rax
ja 0x140003730
test rbx, rbx
je 0x14000377e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x140003be0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14000f040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140003c0d
xor eax, eax
jmp 0x140003d79
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140003c47
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140003c47
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140003d79
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140003d6c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140003c8a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140003cb5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140003d71
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140003d24
sub eax, 1
je 0x140003d24
cmp eax, 2
jne 0x140003d6c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140003d71
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140003d52
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x140003d6c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140003d71
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140008c50
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140005190
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14000f040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140005263
cmp byte [rcx + 0x71], 0
je 0x140005263
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000525f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140005224
sub eax, 1
je 0x140005228
cmp eax, 2
jne 0x14000525f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140008c50
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140005256
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000525f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000520c
xor al, al
jmp 0x14000520c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140008c50
add rsp, 0x60
pop rbx
ret

Function at 0x1400095c4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000960e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000960e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000960e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000960e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000960e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140009610
xor al, al
add rsp, 0x28
ret
Function at 0x7ff698f03da0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x7ff698f03dfd
lea rbx, [0x7ff698ffecc0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x7ff698f03de4
cmp r10, 2
jb 0x7ff698f03de4
cmp byte [r9], r8b
jne 0x7ff698f03de4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x7ff698f03dc0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x7ff698f03e3f
lea rbx, [0x7ff698ffecc0]
cmp r8b, 0x23
jne 0x7ff698f03e23
cmp byte [r9], r8b
jne 0x7ff698f03e23
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x7ff698f03e10
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x7ff698f19fc0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x7ff699056200]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x7ff698f1a023
mov qword [rsp], rbx
lea rbx, [0x7ff698ffecc0]
nop dword [rax]
cmp r9b, 0x23
jne 0x7ff698f1a003
cmp byte [r8], r9b
jne 0x7ff698f1a003
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x7ff698f19ff0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c20]
not eax
mov r8, qword [r10 + 0x5c28]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x7ff698f1a04f
cmp dword [r8 + 8], eax
je 0x7ff698f1a056
add r8, 0x48
cmp r8, rcx
jne 0x7ff698f1a040
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x7ff698f43ae0
Capabilities:
Enumerate pe sections

Disassembly:
push rbx
push rbp
push r13
push r14
mov eax, 0x1078
call fcn.7ff698fea360
sub rsp, rax
mov rax, qword [0x7ff69902b080]
xor rax, rsp
mov qword [rsp + 0x1050], rax
mov rbp, rdx
mov qword [rsp + 0x38], r9
mov rdx, qword [rsp + 0x10c0]
xor r14d, r14d
mov qword [rsp + 0x30], rdx
mov r13, r8
mov qword [rsp + 0x40], rcx
test r8, r8
je 0x7ff698f43b62
mov r9d, 0x1000
lea rdx, [rsp + 0x50]
call fcn.7ff698f42330
test al, al
jne 0x7ff698f43b6a
mov rcx, qword [0x7ff698fef748]
lea rdx, [0x7ff69900dd90]
call fcn.7ff698f45910
lea rdx, [0x7ff698f45af0]
mov rcx, rax
call qword [0x7ff698fef538]
mov rdx, r14
jmp 0x7ff698f43c52
mov qword [rsp + 0x10a8], rsi
mov qword [rsp + 0x1070], rdi
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x1068], r12
mov qword [rsp + 0x1060], r15
inc rdi
cmp byte [rdi + rbp], r14b
jne 0x7ff698f43b91
movsxd rax, dword [rsp + 0x8c]
lea rcx, [rsp + 0x50]
add rcx, rax
mov esi, r14d
movzx eax, word [rcx + 0x14]
lea r12, [rcx + 0x18]
movzx r15d, word [rcx + 6]
add r12, rax
test r15d, r15d
je 0x7ff698f43c0c
nop dword [rax]
nop word [rax + rax]
mov eax, esi
mov r8, rdi
mov rdx, rbp
lea rcx, [rax + rax*4]
lea rbx, [r12 + rcx*8]
mov rcx, rbx
call fcn.7ff698feaa8e
test eax, eax
jne 0x7ff698f43c05
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], r14b
jne 0x7ff698f43bf3
cmp rdi, rax
je 0x7ff698f43c8c
inc esi
cmp esi, r15d
jb 0x7ff698f43bd0
mov rcx, qword [0x7ff698fef748]
lea rdx, [0x7ff69900ddd0]
call fcn.7ff698f45910
lea rdx, [0x7ff698f45af0]
mov rcx, rax
call qword [0x7ff698fef538]
mov rdx, r14
mov r12, qword [rsp + 0x1068]
mov rdi, qword [rsp + 0x1070]
mov rsi, qword [rsp + 0x10a8]
mov r15, qword [rsp + 0x1060]
mov rax, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
mov r8d, r14d
mov qword [rsp + 0x20], rax
call fcn.7ff698f43960
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.7ff698fe98c0
add rsp, 0x1078
pop r14
pop r13
pop rbp
pop rbx
ret
mov eax, dword [rbx + 0xc]
test eax, eax
je 0x7ff698f43c0c
mov ecx, dword [rbx + 8]
lea rdx, [rsp + 0x50]
add rdx, rax
je 0x7ff698f43c0c
test ecx, ecx
je 0x7ff698f43c0c
lea rax, [rsp + 0x50]
mov r14d, ecx
sub rdx, rax
add rdx, r13
jmp 0x7ff698f43c32