joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005450
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x140028040]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
mov rsi, rcx
lea ecx, [rdx + 0xf]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x14000550e
mov qword [rsp + 0x170], rbx
lea rcx, [rsp + 0x4c]
mov r8, rsi
sub r8, rcx
nop dword [rax]
movzx edx, byte [rcx]
movzx eax, byte [rcx + r8]
sub edx, eax
jne 0x1400054c3
inc rcx
test eax, eax
jne 0x1400054b0
test edx, edx
jne 0x1400054f4
mov r8d, dword [rsp + 0x28]
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x1400054f4
mov edx, 9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1400054a2
mov rbx, qword [rsp + 0x170]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14001b9c0
mov rsi, qword [rsp + 0x178]
add rsp, 0x160
pop rdi
ret

Function at 0x1400057e0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub rsp, 0x28
lea rcx, str.FortniteClient_Win64_Shipping.exe
call fcn.140005450
lea rcx, str.EpicGamesLauncher.exe
call fcn.140005450
lea rcx, str.FortniteLauncher.exe
call fcn.140005450
lea rcx, str.FortniteClient_Win64_Shipping_BE.exe
call fcn.140005450
lea rcx, str.FortniteClient_Win64_Shipping_EAC.exe
call fcn.140005450
lea rcx, str.FortniteClient_Win64_Shipping_EAC_EOS.exe
call fcn.140005450
lea rcx, str.EasyAntiCheat.exe
call fcn.140005450
lea rcx, str.BattleEyeAnticheat.exe
call fcn.140005450
lea rcx, str.BattleEye_Launcher
add rsp, 0x28
jmp fcn.140005450
Function at 0x1400058b0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x140028040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rcx
mov rsi, rdx
mov ecx, 0x68
call fcn.14001bc84
mov r14, rax
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
mov dword [r14], 0x68
lea rdi, [rsp + 0x50]
mov ecx, 0x18
xor r9d, r9d
rep stosb byte [rdi], al
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x48], rax
mov rdx, rsi
xor eax, eax
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], rax
mov rcx, rbx
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140005952
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rsp + 0x50]
jmp 0x140005970
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.__X__Failed_to_create_process._n
call fcn.1400127f0
xor eax, eax
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14001b9c0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r14
pop rdi
pop rsi
ret
Function at 0x14000bb10
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 0x14000bb38
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 0x14000bb5e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14000bb60
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14000bbb9
test ecx, ecx
jle 0x14000bb99
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 0x14000bbb9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14000bbb9
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 0x14000bbe0
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 0x14000bc02
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x14000bc18
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 0x14000bc34
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000bc36
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000bc72
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 0x14000bd0e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000bcad
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 0x14000bcee
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 0x14000bd0e
cmp rbx, rax
ja 0x14000bcc0
test rbx, rbx
je 0x14000bd0e
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 0x14000c170
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140028040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000c19d
xor eax, eax
jmp 0x14000c309
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x14000c1d7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x14000c1d7
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 0x14000c309
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000c2fc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000c21a
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 0x14000c245
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 0x14000c301
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 0x14000c2b4
sub eax, 1
je 0x14000c2b4
cmp eax, 2
jne 0x14000c2fc
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 0x14000c301
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14000c2e2
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 0x14000c2fc
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x14000c301
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14001b9c0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14000e840
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140028040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14000e913
cmp byte [rcx + 0x71], 0
je 0x14000e913
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000e90f
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 0x14000e8d4
sub eax, 1
je 0x14000e8d8
cmp eax, 2
jne 0x14000e90f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14001b9c0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14000e906
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 0x14000e90f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000e8bc
xor al, al
jmp 0x14000e8bc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14001b9c0
add rsp, 0x60
pop rbx
ret

Function at 0x14001b408
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14001b442
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14001b447
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14001b490
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14001e680]
cmp byte [rcx + rax], 0
je 0x14001b490
dec r8
sub rdx, 1
jne 0x14001b476
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14001c658
Capabilities:
Parse pe header

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

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 r13
sub rsp, 0x90
mov rax, qword [0x100004100]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rsi, qword [0x100004688]
xor r8d, r8d
test rsi, rsi
mov rdx, rsi
je 0x1000022fb
or r13, 0xffffffffffffffff
mov rdi, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x28]
xor eax, eax
mov rcx, r13
repne scasw ax, word [rdi]
test rdx, rdx
not rcx
lea r8d, [r8 + rcx*2 + 4]
jne 0x100002150
lea ebp, [r8 + r8 + 2]
mov ecx, ebp
call fcn.10000198c
test rax, rax
mov rbx, rax
jne 0x10000218b
mov eax, 0xc0000017
jmp 0x1000022fd
test rsi, rsi
mov rdx, rax
je 0x10000222d
mov rcx, qword [rsi + 0x18]
mov rdi, rdx
movzx eax, word [rcx]
add rcx, 2
mov word [rdi], ax
add rdi, 2
test ax, ax
jne 0x10000219e
mov rdi, qword [rsi + 0x18]
xor eax, eax
mov rcx, r13
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov eax, ecx
mov r8, rcx
and word [rdx + rax*2], 0
lea r9, [rdx + rax*2 + 2]
mov rdx, qword [rsi + 0x18]
mov rcx, r9
movzx eax, word [rdx]
add rdx, 2
mov word [rcx], ax
add rcx, 2
test ax, ax
jne 0x1000021da
xor eax, eax
add r8d, 4
mov rdi, r9
mov rcx, r13
lea rdx, [r9 + r8*2 + 2]
repne scasw ax, word [rdi]
mov rax, qword [0x100001410]
mov qword [rdi - 2], rax
movzx eax, word [0x100001418]
mov word [rdi + 6], ax
and word [r9 + r8*2], 0
mov rsi, qword [rsi + 0x28]
test rsi, rsi
jne 0x100002197
and word [rdx], si
lea rdx, [0x100001420]
lea rcx, [rsp + 0x68]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
and qword [rsp + 0x40], 0
and qword [rsp + 0x58], 0
and qword [rsp + 0x60], 0
lea rax, [rsp + 0x68]
lea r8, [rsp + 0x38]
lea rcx, [rsp + 0x30]
mov edx, 0xf003f
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x38], 0x30
mov dword [rsp + 0x50], 0x40
call qword [sym.imp.ntdll.dll_NtOpenKey]
test eax, eax
mov edi, eax
je 0x1000022a0
mov rcx, qword [0x100004690]
test rcx, rcx
je 0x10000229c
mov r8, rbx
xor edx, edx
call sub.ntdll.dll_RtlFreeHeap
mov eax, edi
jmp 0x1000022fd
lea rdx, [0x1000014a8]
lea rcx, [rsp + 0x78]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x78]
mov r9d, 7
xor r8d, r8d
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ntdll.dll_NtSetValueKey]
mov rcx, qword [0x100004690]
test eax, eax
mov edi, eax
jne 0x10000228d
test rcx, rcx
je 0x1000022f0
mov r8, rbx
xor edx, edx
call sub.ntdll.dll_RtlFreeHeap
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntdll.dll_NtClose]
xor eax, eax
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.100002c70
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r13
ret
Function at 0x1000028bc
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
push rdi
sub rsp, 0xb0
lea rdx, [0x1000016f0]
lea rcx, [rax - 0x48]
xor edi, edi
mov byte [rax + 8], dil
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x48], rdi
lea ecx, [rdi + 0x40]
lea rax, [rsp + 0x70]
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x98], ecx
mov qword [rsp + 0x90], rax
xor eax, eax
mov dword [rsp + 0x30], edi
lea rcx, [rsp + 0xd0]
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x80]
mov edx, 0x40000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x80], 0x30
mov qword [rsp + 0x88], rdi
mov qword [rsp + 0xa0], rdi
mov qword [rsp + 0xa8], rdi
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ntdll.dll_NtCreateFile]
cmp eax, edi
mov ebx, eax
je 0x100002985
lea rcx, [0x100001728]
call fcn.1000017d8
jmp 0x100002af6
mov rcx, qword [rsp + 0xd0]
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xc0]
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0xc8], edi
mov qword [rsp + 0x20], rax
mov dword [rsp + 0xcc], edi
mov byte [rsp + 0xc0], 0x10
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, edi
mov ebx, eax
je 0x1000029f3
cmp eax, 0x103
jne 0x100002ae8
mov rcx, qword [rsp + 0xd0]
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xc0]
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0xc8], 0xa
mov qword [rsp + 0x20], rax
mov dword [rsp + 0xcc], edi
mov byte [rsp + 0xc0], 1
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, edi
mov ebx, eax
je 0x100002a65
cmp eax, 0x103
jne 0x100002ae8
mov rcx, qword [rsp + 0xd0]
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xc0]
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0xc8], 0xb
mov qword [rsp + 0x20], rax
mov dword [rsp + 0xcc], edi
mov byte [rsp + 0xc0], 1
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, edi
mov ebx, eax
je 0x100002ad3
cmp eax, 0x103
jne 0x100002ae8
mov rcx, qword [rsp + 0xd0]
lea rdx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_NtFlushBuffersFile]
mov ebx, edi
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, ebx
mov rbx, qword [rsp + 0xd8]
add rsp, 0xb0
pop rdi
ret
Function at 0x100002b10
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 8], ecx
push rbx
sub rsp, 0xb0
lea rdx, [0x1000012f0]
lea rcx, [rsp + 0x70]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
and qword [rsp + 0x88], 0
and qword [rsp + 0xa0], 0
and qword [rsp + 0xa8], 0
mov ecx, 0x40
lea rax, [rsp + 0x70]
mov qword [rsp + 0x90], rax
xor eax, eax
mov dword [rsp + 0x98], ecx
and dword [rsp + 0x50], eax
and qword [rsp + 0x48], rax
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x38], 1
and dword [rsp + 0x30], eax
lea rcx, [rsp + 0xc8]
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x80]
mov edx, 0x40000000
mov dword [rsp + 0x28], 0x80
and qword [rsp + 0x20], rax
mov dword [rsp + 0x80], 0x30
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
call qword [sym.imp.ntdll.dll_NtCreateFile]
test eax, eax
jne 0x100002c53
and dword [rsp + 0xd4], eax
and qword [rsp + 0x40], 0
mov rcx, qword [rsp + 0xc8]
lea rax, [rsp + 0xd0]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xc0]
mov dword [rsp + 0x30], 4
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
xor edx, edx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0xd0], 8
call qword [sym.imp.ntdll.dll_NtWriteFile]
test eax, eax
mov ebx, eax
je 0x100002c2e
cmp eax, 0x103
jne 0x100002c43
mov rcx, qword [rsp + 0xc8]
lea rdx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_NtFlushBuffersFile]
xor ebx, ebx
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, ebx
add rsp, 0xb0
pop rbx
ret

Function at 0x100002c98
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x100004100]
jne 0x100002c8a
rol rcx, 0x10
test cx, 0xffff
jne 0x100002c86
repz ret
ror rcx, 0x10
jmp 0x100002c98
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rbx, rcx
lea rsi, [0x1000041b0]
mov rcx, rsi
call sub.ntdll.dll_RtlCaptureContext
mov rdi, qword [0x1000042a8]
lea rdx, [rsp + 0x60]
mov rcx, rdi
xor r8d, r8d
call sub.ntdll.dll_RtlLookupFunctionEntry
test rax, rax
je 0x100002d08
and qword [rsp + 0x38], 0
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x70]
mov r9, rax
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov r8, rdi
mov qword [rsp + 0x20], rsi
call sub.ntdll.dll_RtlVirtualUnwind
mov r11, qword [0x1000042a8]
jmp 0x100002d24
mov r11, qword [rsp + 0x58]
lea rax, [rsp + 0x58]
add rax, 8
mov qword [0x1000042a8], r11
mov qword [0x100004248], rax
mov rax, qword [0x100004100]
mov qword [0x100004230], rbx
mov qword [0x100004120], r11
mov dword [0x100004114], 1
mov ebx, 0xc0000409
lea rcx, [0x100001150]
mov dword [0x100004110], ebx
mov qword [rsp + 0x78], rax
mov rax, qword [0x100004108]
mov qword [rsp + 0x78], rax
call sub.ntdll.dll_RtlUnhandledExceptionFilter
mov edx, ebx
or rcx, 0xffffffffffffffff
call sub.ntdll.dll_NtTerminateProcess
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
Function at 0x100002d24
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x100004100]
jne 0x100002c8a
rol rcx, 0x10
test cx, 0xffff
jne 0x100002c86
repz ret
ror rcx, 0x10
jmp 0x100002c98
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rbx, rcx
lea rsi, [0x1000041b0]
mov rcx, rsi
call sub.ntdll.dll_RtlCaptureContext
mov rdi, qword [0x1000042a8]
lea rdx, [rsp + 0x60]
mov rcx, rdi
xor r8d, r8d
call sub.ntdll.dll_RtlLookupFunctionEntry
test rax, rax
je 0x100002d08
and qword [rsp + 0x38], 0
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x70]
mov r9, rax
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov r8, rdi
mov qword [rsp + 0x20], rsi
call sub.ntdll.dll_RtlVirtualUnwind
mov r11, qword [0x1000042a8]
jmp 0x100002d24
mov r11, qword [rsp + 0x58]
lea rax, [rsp + 0x58]
add rax, 8
mov qword [0x1000042a8], r11
mov qword [0x100004248], rax
mov rax, qword [0x100004100]
mov qword [0x100004230], rbx
mov qword [0x100004120], r11
mov dword [0x100004114], 1
mov ebx, 0xc0000409
lea rcx, [0x100001150]
mov dword [0x100004110], ebx
mov qword [rsp + 0x78], rax
mov rax, qword [0x100004108]
mov qword [rsp + 0x78], rax
call sub.ntdll.dll_RtlUnhandledExceptionFilter
mov edx, ebx
or rcx, 0xffffffffffffffff
call sub.ntdll.dll_NtTerminateProcess
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
Function at 0x180009380
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
mov r12, rdx
mov rsi, rcx
xor r13d, r13d
mov dword [rbp - 0x49], r13d
lea rcx, vtable.CVolCommonBaseWithMemManager.0
mov qword [rbp - 0x39], rcx
lea rdi, vtable.CVolObject.0
mov qword [rbp - 0x39], rdi
mov qword [rbp - 0x31], r13
mov qword [rbp - 0x29], r13
lea rax, vtable.CWString.0
mov qword [rbp - 0x39], rax
lea rax, [rbp - 0x19]
mov qword [rbp + 0x6f], rax
mov qword [rbp - 0x19], rcx
mov qword [rbp - 0x19], rdi
mov qword [rbp - 0x11], r13
mov qword [rbp - 9], r13
lea rbx, vtable.CVolMem.0
mov qword [rbp - 0x19], rbx
mov qword [rbp - 1], r13
mov qword [rbp + 0xf], r13
mov qword [rbp + 7], r13
mov qword [rbp + 0x17], 0x40
mov qword [rbp - 0x21], r13
mov qword [rbp + 0x17], 0xfe
mov rcx, rdx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov r14d, eax
test eax, eax
jne 0x18000948a
mov rax, qword [rbp - 0x21]
test rax, rax
jne 0x180009443
lea rax, [0x18024d0e0]
cmp qword [rbp + 0xf], r13
cmovne rax, qword [rbp - 1]
mov rdx, rax
mov rcx, rsi
call fcn.180009300
mov dword [rbp - 0x49], 1
lea rax, [rbp - 0x19]
mov qword [rbp + 0x6f], rax
mov qword [rbp - 0x19], rbx
mov rdx, qword [rbp - 1]
test rdx, rdx
je 0x180009475
lea rcx, [rbp - 0x19]
mov rax, qword [rbp - 0x19]
call qword [rax + 0x18]
mov qword [rbp - 1], r13
mov qword [rbp + 0xf], r13
mov qword [rbp + 7], r13
mov qword [rbp - 0x19], rdi
jmp 0x18000957c
inc r14d
movsxd r15, r14d
mov eax, 2
mul r15
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1800297c4
mov rbx, rax
test r14d, r14d
je 0x1800094c7
movzx eax, r13w
mov rdi, rbx
mov rcx, r15
rep stosw word [rdi], ax
lea rdi, vtable.CVolObject.0
mov r8d, r14d
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov qword [rbp - 0x21], r13
mov rdx, qword [rbp - 1]
test rdx, rdx
je 0x1800094ee
lea rcx, [rbp - 0x19]
mov rax, qword [rbp - 0x19]
call qword [rax + 0x18]
mov qword [rbp - 1], r13
mov qword [rbp + 0xf], r13
mov qword [rbp + 7], r13
test rbx, rbx
je 0x180009511
cmp word [rbx], 0
je 0x180009511
mov rdx, rbx
lea rcx, [rbp - 0x19]
call fcn.180023330
mov rcx, rbx
call fcn.1800297bc
mov rax, qword [rbp - 0x21]
test rax, rax
jne 0x180009533
lea rax, [0x18024d0e0]
cmp qword [rbp + 0xf], 0
cmovne rax, qword [rbp - 1]
mov rdx, rax
mov rcx, rsi
call fcn.180009300
mov dword [rbp - 0x49], 1
lea rax, [rbp - 0x19]
mov qword [rbp + 0x6f], rax
lea rax, vtable.CVolMem.0
mov qword [rbp - 0x19], rax
mov rdx, qword [rbp - 1]
test rdx, rdx
je 0x18000956c
lea rcx, [rbp - 0x19]
mov rax, qword [rbp - 0x19]
call qword [rax + 0x18]
mov qword [rbp - 1], r13
mov qword [rbp + 0xf], r13
mov qword [rbp + 7], r13
mov qword [rbp - 0x19], rdi
mov qword [rbp - 0x39], rdi
mov rax, rsi
mov rbx, qword [rsp + 0xe0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret