joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800f79f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rdx
test rdx, rdx
jne 0x1800f79fb
xor eax, eax
ret
lea r11, [0x18011c4e0]
not ecx
cmp r8d, 8
jb 0x1800f7ad1
mov r10d, r8d
shr r10, 3
nop word [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
add r8d, 0xfffffff8
movzx edx, byte [r9 + 1]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 2]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 3]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 4]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 5]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 6]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 7]
add r9, 8
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r10, 1
jne 0x1800f7a20
test r8d, r8d
je 0x1800f7afd
nop word [rax + rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
add r8d, 0xffffffff
jne 0x1800f7ae0
not ecx
mov eax, ecx
ret
Function at 0x1800fc910
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1800fc994
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.d2d1.dll_Ordinal_1
cmp byte [rcx + rax], 0
je 0x1800fc994
dec r8
sub rdx, 1
jne 0x1800fc97a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400113c0
Capabilities:
Terminate process

Disassembly:
jmp 0x1400189f0
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]
add rsp, 0x28
ret

Function at 0x1400114ab
Capabilities:
Enumerate files on windows

Disassembly:
jmp 0x140017090
push rbp
push rdi
sub rsp, 0x518
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xde
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140028018]
xor rax, rbp
mov qword [rbp + 0x4e8], rax
lea rcx, [0x14002f107]
call fcn.1400116a4
lea rcx, [rbp + 8]
call fcn.140011393
nop
lea rcx, [rbp + 8]
call fcn.140011596
lea rdx, [rbp + 0x50]
lea rcx, str.C:.
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rbp + 0x2b8], rax
cmp qword [rbp + 0x2b8], 0xffffffffffffffff
je 0x14001716b
mov eax, dword [rbp + 0x50]
and eax, 0x10
test eax, eax
je 0x140017149
lea rdx, [rbp + 0x7c]
lea rcx, [rbp + 0x2d8]
call fcn.14001122b
nop
lea rdx, str.UsersuserAppDataLocalDigitalEntitlements
lea rcx, [rbp + 0x2d8]
call fcn.140011366
lea rcx, [rbp + 0x2d8]
call fcn.140011596
nop
lea rcx, [rbp + 0x2d8]
call fcn.140011604
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x2b8]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140017102
mov rcx, qword [rbp + 0x2b8]
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rdx, str.https:__k1team.pl_adhesive.dll
lea rcx, [rbp + 0x318]
call fcn.14001122b
nop
lea rdx, [rbp + 8]
lea rcx, [rbp + 0x318]
call fcn.1400113e3
mov dword [rbp + 0x4d4], 0
lea rcx, [rbp + 0x318]
call fcn.140011604
nop
lea rcx, [rbp + 8]
call fcn.140011604
mov eax, dword [rbp + 0x4d4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x140021200]
call fcn.1400115c3
mov eax, edi
mov rcx, qword [rbp + 0x4e8]
xor rcx, rbp
call fcn.140011339
lea rsp, [rbp + 0x4f8]
pop rdi
pop rbp
ret

Function at 0x1400114ba
Capabilities:
Parse pe header

Disassembly:
jmp 0x140019d40
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140019d60
xor al, al
jmp 0x140019de1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140019d73
xor al, al
jmp 0x140019de1
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 0x140019d9d
xor al, al
jmp 0x140019de1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140019db1
xor al, al
jmp 0x140019de1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140019dc3
xor al, al
jmp 0x140019de1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140019ddf
xor al, al
jmp 0x140019de1
mov al, 1
add rsp, 0x38
ret
Function at 0x140011596
Capabilities:
Delete file

Disassembly:
jmp 0x140016e70
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xf8
lea rbp, [rsp + 0x20]
lea rcx, [0x14002f107]
call fcn.1400116a4
mov rcx, qword [rbp + 0xf0]
call fcn.14001123a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140016ef5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0xc0], eax
lea rdx, str.Filled_with_spoof_1__please_report_this_rrq
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400110cd
mov ecx, dword [rbp + 0xc0]
mov edx, ecx
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rdx, [0x14001104b]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140016f27
lea rdx, str.Usuni
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140011370
mov rdx, qword [rbp + 0xf0]
mov rcx, rax
call fcn.1400113cf
lea rdx, [0x140011343]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
lea rsp, [rbp + 0xd8]
pop rdi
pop rbp
ret
Function at 0x1400085a8
Capabilities:
Parse pe header

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

Function at 0x140009a94
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140009bdc

Function at 0x14000ad40
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000ad68
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14000ad68
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14000fbb4
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14000fbe4
xor eax, eax
jmp 0x14000fca7
mov rbp, rbx
cmp word [rax], si
je 0x14000fc09
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000fbf0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000fbec
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14000fad4
movsxd r14, eax
test eax, eax
jne 0x14000fc47
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000fbdd
mov rcx, r14
call fcn.14000e520
mov rdi, rax
test rax, rax
jne 0x14000fc60
xor ecx, ecx
call fcn.14000ccf8
jmp 0x14000fc3c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14000fad4
test eax, eax
jne 0x14000fc91
mov rcx, rdi
call fcn.14000ccf8
jmp 0x14000fc9b
xor ecx, ecx
call fcn.14000ccf8
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140013fb4
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000c1a4
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14001403e
cmp byte [rbp - 0x21], r15b
je 0x140014039
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140014074
call fcn.14000b1dc
test eax, eax
jne 0x140014060
cmp byte [rbp - 0x21], r15b
je 0x140014058
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140014074
cmp byte [rbp - 0x21], r15b
je 0x140014071
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000ef84
test eax, eax
jne 0x140014114
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000c1a4
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400140b3
cmp byte [rbp - 0x21], r15b
je 0x1400140e8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400140e8
call fcn.14000b1dc
test eax, eax
jne 0x1400140d4
cmp byte [rbp - 0x21], r15b
je 0x1400140cd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400140e8
cmp byte [rbp - 0x21], r15b
je 0x1400140e5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000ef84
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140014114
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140014117
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140014125
mov rcx, rdi
call fcn.14000ccf8
cmp byte [rbp + 0x3f], r15b
je 0x140014134
mov rcx, qword [rbp + 0x27]
call fcn.14000ccf8
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x19d5c
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r12
sub rsp, 0x40
movzx eax, word [r8 + 2]
mov rbp, rdx
movzx edx, word [r8]
sub eax, edx
mov rdi, r8
mov r12, rcx
cmp eax, 2
jb 0x19dc6
mov rax, qword [r8 + 8]
mov r9, rdx
xor esi, esi
shr r9, 1
mov rdx, rbp
mov word [rax + r9*2], si
movzx eax, word [r8]
lea r9d, [rsi + 1]
add eax, 2
mov dword [rsp + 0x28], eax
mov rax, qword [r8 + 8]
xor r8d, r8d
mov qword [r11 - 0x28], rax
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
mov ebx, eax
jmp 0x19e39
lea rcx, [rsp + 0x30]
call fcn.00019d14
xor esi, esi
cmp eax, esi
mov ebx, eax
jl 0x19e39
movzx r8d, word [rdi]
mov rdx, qword [rdi + 8]
mov rcx, qword [rsp + 0x38]
mov word [rsp + 0x30], r8w
call fcn.00014490
mov rax, qword [rsp + 0x38]
movzx r11d, word [rsp + 0x30]
lea r9d, [rsi + 1]
xor r8d, r8d
shr r11, 1
mov rdx, rbp
mov rcx, r12
mov word [rax + r11*2], si
movzx eax, word [rsp + 0x30]
add eax, 2
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
lea rcx, [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop r12
ret

Function at 0x19e58
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x000161d0]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rax, [r11 - 0x28]
mov rdi, r9
mov ebx, r8d
mov qword [r11 - 0x30], rax
lea r9, [r11 - 0x20]
mov r8d, 2
mov dword [rsp + 0x20], 0x10
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
test eax, eax
js 0x19eaf
cmp dword [rsp + 0x3c], 4
jne 0x19eaa
mov ebx, dword [rsp + 0x44]
jmp 0x19eaf
mov eax, 0xc0000024
mov dword [rdi], ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.000147e0
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x1a048
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rsi, rcx
lea rcx, [rsp + 0x30]
mov rbx, r9
mov edi, r8d
call fcn.00014288
test eax, eax
js 0x1a08f
mov eax, dword [rsp + 0x70]
lea rdx, [rsp + 0x30]
mov r9d, edi
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x1a1a8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x30
mov rbp, qword [rsp + 0x70]
mov esi, r8d
mov r12, rdx
and qword [rbp], 0
movzx eax, word [rdx]
mov r13, rcx
add eax, 0x1f
and eax, 0xfffffff8
lea edi, [rax + r9]
cmp edi, eax
jb 0x1a2bc
mov edx, edi
xor ecx, ecx
mov r8d, 0x62527050
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
test rax, rax
jne 0x1a20a
mov eax, 0xc000009a
jmp 0x1a2c1
lea rax, [rsp + 0x68]
mov r9, rbx
mov r8d, 1
mov qword [rsp + 0x28], rax
mov rdx, r12
mov rcx, r13
mov dword [rsp + 0x20], edi
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
mov edi, eax
test eax, eax
jns 0x1a299
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
cmp edi, 0x80000005
je 0x1a252
cmp edi, 0xc0000023
je 0x1a252
mov eax, edi
jmp 0x1a2c1
mov edx, dword [rsp + 0x68]
xor ecx, ecx
mov r8d, 0x62527050
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
test rax, rax
je 0x1a200
lea rax, [rsp + 0x68]
mov r9, rbx
mov r8d, 1
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x68]
mov rdx, r12
mov rcx, r13
mov dword [rsp + 0x20], eax
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
mov edi, eax
test eax, eax
js 0x1a2a7
test esi, esi
je 0x1a2b4
cmp dword [rbx + 4], esi
je 0x1a2b4
mov edi, 0xc0000024
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x1a24e
mov qword [rbp], rbx
xor eax, eax
jmp 0x1a2c1
mov eax, 0xc0000095
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r13
pop r12
pop rdi
ret
Function at 0x14001110e
Capabilities:
Write file on windows

Disassembly:
jmp 0x140020280
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x14003a067]
call fcn.140011a23
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x1400202d7
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x1400203e3
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x14002037c
cmp qword [rbp + 0x28], 0
jle 0x14002037c
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x14002031c
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.140011983
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rbp + 0x130], 0
jle 0x1400203d2
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x1400203d2
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x1400115a0
Capabilities:
Terminate process

Disassembly:
jmp 0x140022c60
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]
add rsp, 0x28
ret
Function at 0x14001170d
Capabilities:
Parse pe header

Disassembly:
jmp 0x140023790
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400237b0
xor al, al
jmp 0x140023831
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400237c3
xor al, al
jmp 0x140023831
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 0x1400237ed
xor al, al
jmp 0x140023831
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140023801
xor al, al
jmp 0x140023831
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140023813
xor al, al
jmp 0x140023831
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14002382f
xor al, al
jmp 0x140023831
mov al, 1
add rsp, 0x38
ret
Function at 0x140011a05
Capabilities:
Write file on windows

Disassembly:
jmp 0x14001ae50
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x3e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x208]
mov rax, qword [0x140032028]
xor rax, rbp
mov qword [rbp + 0x1a0], rax
lea rcx, [0x14003a067]
call fcn.140011a23
mov rax, qword [rbp + 0x1d0]
cmp qword [rax + 0x68], 0
je 0x14001aeb6
mov rax, qword [rbp + 0x1d0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14001aebd
mov al, 1
jmp 0x14001b017
call fcn.1400112e4
mov rcx, qword [rbp + 0x1d0]
mov rcx, qword [rcx]
mov qword [rbp + 0x198], rcx
mov edx, eax
mov rcx, qword [rbp + 0x1d0]
mov rax, qword [rbp + 0x198]
call qword [rax + 0x18]
mov dword [rbp + 0x164], eax
call fcn.1400112e4
mov dword [rbp + 0x184], eax
lea rdx, [rbp + 0x164]
lea rcx, [rbp + 0x184]
call fcn.140011861
movzx eax, al
test eax, eax
je 0x14001af18
xor al, al
jmp 0x14001b017
mov qword [rbp + 8], 0x20
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x1d0]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rax, qword [rbp + 0x1d0]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x194], eax
cmp dword [rbp + 0x194], 0
je 0x14001af7d
cmp dword [rbp + 0x194], 1
je 0x14001af88
cmp dword [rbp + 0x194], 3
je 0x14001b006
jmp 0x14001b015
mov rax, qword [rbp + 0x1d0]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x14001afd8
mov rax, qword [rbp + 0x1d0]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x14001afd8
xor al, al
jmp 0x14001b017
mov rax, qword [rbp + 0x1d0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14001aff3
mov dword [rbp + 0x194], 1
jmp 0x14001affd
mov dword [rbp + 0x194], 0
movzx eax, byte [rbp + 0x194]
jmp 0x14001b017
mov rax, qword [rbp + 0x1d0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14001b017
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14002bb90]
call fcn.140011843
mov rax, rdi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rbp
call fcn.1400114bf
lea rsp, [rbp + 0x1b8]
pop rdi
pop rbp
ret