joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48de20
Capabilities:
Hash data using murmur3

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rbx, qword [rax + 0x10]
cmp ebx, 0x10
jb 0x48de57
mov esi, dword [rax]
mov edi, dword [rax + 4]
mov r8d, dword [rax + 8]
mov r9d, dword [rax + 0xc]
rol esi, 1
rol edi, 7
add esi, edi
rol r8d, 0xc
add esi, r8d
rol r9d, 0x12
add esi, r9d
add ebx, esi
jmp 0x48de5d
add ebx, 0x165667b1
mov rsi, qword [rax + 0x28]
movups xmm0, xmmword [rax + 0x18]
movups xmmword [rsp + 0x10], xmm0
lea rdi, [rsi - 4]
xor eax, eax
jmp 0x48de9a
lea r8, [rax - 0x10]
sar r8, 0x3f
and rax, r8
mov r8d, dword [rsp + rax + 0x10]
imul r8d, r8d, 0xc2b2ae3d
add r8d, ebx
rol r8d, 0x11
imul ebx, r8d, 0x27d4eb2f
mov rax, rcx
cmp rax, rdi
jg 0x48dec9
lea rcx, [rax + 4]
cmp rcx, 0x10
ja 0x48df0c
cmp rax, rcx
jbe 0x48de72
jmp 0x48df07
movzx edx, byte [rsp + rax + 0x10]
imul edx, edx, 0x165667b1
add edx, ebx
rol edx, 0xb
inc rax
imul ebx, edx, 0x9e3779b1
cmp rax, rsi
jge 0x48ded6
cmp rax, 0x10
jb 0x48deb0
jmp 0x48defd
mov ecx, ebx
shr ebx, 0xf
xor ecx, ebx
imul ecx, ecx, 0x85ebca77
mov edx, ecx
shr ecx, 0xd
xor edx, ecx
imul eax, edx, 0xc2b2ae3d
mov ecx, eax
shr ecx, 0x10
xor eax, ecx
add rsp, 0x20
pop rbp
ret
mov ecx, 0x10
call fcn.004628c0
call fcn.00462980
mov edx, 0x10
call fcn.00462900
nop
int3
Function at 0x48df20
Capabilities:
Hash data using murmur3

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
cmp rbx, 0x10
jge 0x48df45
lea esi, [rbx + 0x165667b1]
mov r8, rbx
nop dword [rax]
jmp 0x48e030
lea rsi, [rbx - 0x10]
xor edx, edx
mov edi, 0x24234428
mov r8d, 0x85ebca77
xor r9d, r9d
mov r10d, 0x61c8864f
nop
jmp 0x48dfcd
mov r12d, dword [rax + rcx]
imul r12d, r12d, 0x85ebca77
add r12d, edi
rol r12d, 0xd
mov r13d, dword [rax + rcx + 4]
imul r13d, r13d, 0x85ebca77
add r13d, r8d
rol r13d, 0xd
mov r15d, dword [rax + rcx + 8]
imul r15d, r15d, 0x85ebca77
add r15d, r9d
rol r15d, 0xd
mov ecx, dword [rax + rcx + 0xc]
imul ecx, ecx, 0x85ebca77
add ecx, r10d
rol ecx, 0xd
add rdx, 0x10
imul edi, r12d, 0x9e3779b1
imul r8d, r13d, 0x9e3779b1
imul r9d, r15d, 0x9e3779b1
imul r10d, ecx, 0x9e3779b1
mov rcx, r11
cmp rdx, rsi
jg 0x48dff4
mov r11, rcx
sub rcx, rdx
mov r12, rcx
neg rcx
sar rcx, 0x3f
and rcx, rdx
cmp r12, 0x10
jae 0x48df62
jmp 0x48e0f0
cmp rbx, rdx
jb 0x48e0e5
sub rcx, rdx
mov r11, rcx
neg r11
sar r11, 0x3f
and r11, rdx
rol edi, 1
rol r8d, 7
add edi, r8d
rol r9d, 0xc
add edi, r9d
rol r10d, 0x12
add edi, r10d
mov r8, rbx
sub r8, rdx
add rax, r11
lea esi, [rbx + rdi]
lea rbx, [r8 - 4]
xor edx, edx
jmp 0x48e061
mov r9, rdx
sub rdx, rcx
sar rdx, 0x3f
and rdx, r9
mov r9d, dword [rax + rdx]
imul r9d, r9d, 0xc2b2ae3d
add r9d, esi
rol r9d, 0x11
imul esi, r9d, 0x27d4eb2f
mov rdx, rdi
cmp rdx, rbx
jg 0x48e08e
lea rdi, [rdx + 4]
cmp rcx, rdi
jb 0x48e0d7
cmp rdx, rdi
jbe 0x48e038
jmp 0x48e0cc
movzx ebx, byte [rax + rdx]
imul ebx, ebx, 0x165667b1
add ebx, esi
rol ebx, 0xb
imul esi, ebx, 0x9e3779b1
inc rdx
cmp rdx, r8
jge 0x48e09a
cmp r8, rdx
ja 0x48e076
jmp 0x48e0c1
mov ecx, esi
shr esi, 0xf
xor ecx, esi
imul ecx, ecx, 0x85ebca77
mov edx, ecx
shr ecx, 0xd
xor edx, ecx
imul eax, edx, 0xc2b2ae3d
mov ecx, eax
shr ecx, 0x10
xor eax, ecx
add rsp, 0x10
pop rbp
ret
mov rax, rdx
mov rcx, r8
call fcn.004628c0
mov rax, rdx
mov rcx, rdi
call fcn.00462980
mov rdx, rcx
mov rcx, rdi
nop dword [rax]
call fcn.00462940
mov rax, rdx
mov rcx, rbx
call fcn.00462980
mov ecx, 0x10
mov rdx, r12
call fcn.00462940
nop
int3
Function at 0x14000114a
Capabilities:
Write file on windows

Disassembly:
jmp 0x140028840
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, [0x14005f066]
call fcn.140001ca8
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x140028897
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 0x1400289a3
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 0x14002893c
cmp qword [rbp + 0x28], 0
jle 0x14002893c
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x1400288dc
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.140001bdb
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 0x140028992
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x140028992
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 0x14000171c
Capabilities:
Terminate process

Disassembly:
jmp 0x14002c490
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 0x1400018a7
Capabilities:
Parse pe header

Disassembly:
jmp 0x14002b1f0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14002b210
xor al, al
jmp 0x14002b291
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14002b223
xor al, al
jmp 0x14002b291
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 0x14002b24d
xor al, al
jmp 0x14002b291
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14002b261
xor al, al
jmp 0x14002b291
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14002b273
xor al, al
jmp 0x14002b291
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14002b28f
xor al, al
jmp 0x14002b291
mov al, 1
add rsp, 0x38
ret
Function at 0x140001992
Capabilities:
Create directory

Disassembly:
jmp 0x14001c290
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x20]
lea rcx, [0x14005f0fc]
call fcn.140001ca8
mov rcx, qword [rbp + 0x1a0]
call fcn.14000113b
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x14001c2d3
mov byte [rbp + 0x174], 1
jmp 0x14001c2da
mov byte [rbp + 0x174], 0
movzx eax, byte [rbp + 0x174]
test eax, eax
jne 0x14001c2f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14001c349
lea rdx, str.Directory_created_or_already_exists
lea rcx, [rbp + 0xc8]
call fcn.1400015cd
nop
lea rcx, [rbp + 0xc8]
call fcn.140001bf4
nop
lea rcx, [rbp + 0xc8]
call fcn.140001258
mov rcx, qword [rbp + 0x1a0]
call fcn.140001bf4
mov byte [rbp + 0x104], 1
mov rcx, qword [rbp + 0x1a0]
call fcn.140001258
movzx eax, byte [rbp + 0x104]
jmp 0x14001c3ab
lea rdx, str.Unable_to_create_directory
lea rcx, [rbp + 0x128]
call fcn.1400015cd
nop
lea rcx, [rbp + 0x128]
call fcn.140001b18
nop
lea rcx, [rbp + 0x128]
call fcn.140001258
mov rcx, qword [rbp + 0x1a0]
call fcn.140001b18
mov byte [rbp + 0x164], 0
mov rcx, qword [rbp + 0x1a0]
call fcn.140001258
movzx eax, byte [rbp + 0x164]
jmp 0x14001c3ab
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x140001c85
Capabilities:
Write file on windows

Disassembly:
jmp 0x1400202a0
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 [0x140053010]
xor rax, rbp
mov qword [rbp + 0x1a0], rax
lea rcx, [0x14005f066]
call fcn.140001ca8
mov rax, qword [rbp + 0x1d0]
cmp qword [rax + 0x68], 0
je 0x140020306
mov rax, qword [rbp + 0x1d0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14002030d
mov al, 1
jmp 0x140020467
call fcn.14000137a
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.14000137a
mov dword [rbp + 0x184], eax
lea rdx, [rbp + 0x164]
lea rcx, [rbp + 0x184]
call fcn.140001a8c
movzx eax, al
test eax, eax
je 0x140020368
xor al, al
jmp 0x140020467
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 0x1400203cd
cmp dword [rbp + 0x194], 1
je 0x1400203d8
cmp dword [rbp + 0x194], 3
je 0x140020456
jmp 0x140020465
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 0x140020428
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 0x140020428
xor al, al
jmp 0x140020467
mov rax, qword [rbp + 0x1d0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140020443
mov dword [rbp + 0x194], 1
jmp 0x14002044d
mov dword [rbp + 0x194], 0
movzx eax, byte [rbp + 0x194]
jmp 0x140020467
mov rax, qword [rbp + 0x1d0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x140020467
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x1400401d0]
call fcn.140001a64
mov rax, rdi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rbp
call fcn.14000161d
lea rsp, [rbp + 0x1b8]
pop rdi
pop rbp
ret
Function at 0x140013760
Capabilities:
Create thread

Disassembly:
jmp 0x140013760
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x188]
mov rax, qword [0x140053010]
xor rax, rbp
mov qword [rbp + 0x128], rax
lea rcx, [0x14005f102]
call fcn.140001ca8
mov edx, 8
lea rcx, [rbp + 8]
call fcn.140001af0
mov rcx, qword [rbp + 0x160]
call fcn.140001839
mov qword [rbp + 0x118], rax
mov rcx, qword [rbp + 0x158]
call fcn.140001d75
mov rcx, qword [rbp + 0x118]
mov r8, rcx
mov rdx, rax
lea rcx, [rbp + 0x108]
call fcn.140001505
mov qword [rbp + 0x120], rax
mov rdx, qword [rbp + 0x120]
lea rcx, [rbp + 8]
call fcn.140001032
nop
lea rcx, [rbp + 0x108]
call fcn.1400016e0
lea rax, [0x1400013bb]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x150]
add rax, 8
mov qword [rbp + 0x118], rax
lea rcx, [rbp + 8]
call fcn.1400016f4
mov rcx, qword [rbp + 0x118]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x150]
mov qword [rcx], rax
mov rax, qword [rbp + 0x150]
cmp qword [rax], 0
je 0x14001388a
lea rcx, [rbp + 8]
call fcn.14000145b
jmp 0x1400138a3
mov rax, qword [rbp + 0x150]
mov dword [rax + 8], 0
mov ecx, 6
call sub.MSVCP140D.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
lea rcx, [rbp + 8]
call fcn.1400016e0
lea rcx, [rbp - 0x30]
lea rdx, [0x1400414c0]
call fcn.140001a64
mov rcx, qword [rbp + 0x128]
xor rcx, rbp
call fcn.14000161d
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret

Function at 0x14001b0c0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x20]
lea rcx, [0x14005f105]
call fcn.140001ca8
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax]
mov edx, 0xea60
mov rcx, qword [rax + 0x68]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x1a0]
mov rdx, qword [rcx + 8]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax + 8]
cmp dword [rax], 0x103
jne 0x14001b143
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax]
mov edx, 0x64
mov rcx, qword [rax + 0x68]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax + 8]
mov eax, dword [rax]
mov dword [rbp + 0xc4], eax
lea rdx, [rbp + 0xc4]
lea rcx, [rbp + 0xe8]
call fcn.140001ccb
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0x158]
mov qword [rbp + 0x160], rax
mov r8, qword [rbp + 0x160]
lea rdx, str._From_SendMail__Return_Code_:
lea rcx, [rbp + 0x128]
call fcn.140001d02
mov qword [rbp + 0x168], rax
mov rax, qword [rbp + 0x168]
mov qword [rbp + 0x170], rax
mov rcx, qword [rbp + 0x170]
call fcn.140001bf4
nop
lea rcx, [rbp + 0x128]
call fcn.140001258
nop
lea rcx, [rbp + 0xe8]
call fcn.140001258
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x14001c290
Capabilities:
Create directory

Disassembly:
jmp 0x14001c290
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x20]
lea rcx, [0x14005f0fc]
call fcn.140001ca8
mov rcx, qword [rbp + 0x1a0]
call fcn.14000113b
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x14001c2d3
mov byte [rbp + 0x174], 1
jmp 0x14001c2da
mov byte [rbp + 0x174], 0
movzx eax, byte [rbp + 0x174]
test eax, eax
jne 0x14001c2f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14001c349
lea rdx, str.Directory_created_or_already_exists
lea rcx, [rbp + 0xc8]
call fcn.1400015cd
nop
lea rcx, [rbp + 0xc8]
call fcn.140001bf4
nop
lea rcx, [rbp + 0xc8]
call fcn.140001258
mov rcx, qword [rbp + 0x1a0]
call fcn.140001bf4
mov byte [rbp + 0x104], 1
mov rcx, qword [rbp + 0x1a0]
call fcn.140001258
movzx eax, byte [rbp + 0x104]
jmp 0x14001c3ab
lea rdx, str.Unable_to_create_directory
lea rcx, [rbp + 0x128]
call fcn.1400015cd
nop
lea rcx, [rbp + 0x128]
call fcn.140001b18
nop
lea rcx, [rbp + 0x128]
call fcn.140001258
mov rcx, qword [rbp + 0x1a0]
call fcn.140001b18
mov byte [rbp + 0x164], 0
mov rcx, qword [rbp + 0x1a0]
call fcn.140001258
movzx eax, byte [rbp + 0x164]
jmp 0x14001c3ab
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret

Function at 0x14001dab0
Capabilities:
Log keystrokes via application hook

Disassembly:
jmp 0x14001dab0
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x14005f106]
call fcn.140001ca8
lea rdx, str.Key_Hooking_started._Timer_beginning_now.
lea rcx, [rbp + 0xc8]
call fcn.1400015cd
nop
lea rcx, [rbp + 0xc8]
call fcn.140001bf4
nop
lea rcx, [rbp + 0xc8]
call fcn.140001258
mov dl, 1
lea rcx, [0x140053a40]
call fcn.140001d52
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor r9d, r9d
mov r8, rax
lea rdx, [0x1400019bf]
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetWindowsHookExA]
mov qword [0x140053a20], rax
cmp qword [0x140053a20], 0
jne 0x14001db40
mov byte [rbp + 0xf4], 1
jmp 0x14001db47
mov byte [rbp + 0xf4], 0
movzx eax, byte [rbp + 0xf4]
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x1400202a0
Capabilities:
Write file on windows

Disassembly:
jmp 0x1400202a0
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 [0x140053010]
xor rax, rbp
mov qword [rbp + 0x1a0], rax
lea rcx, [0x14005f066]
call fcn.140001ca8
mov rax, qword [rbp + 0x1d0]
cmp qword [rax + 0x68], 0
je 0x140020306
mov rax, qword [rbp + 0x1d0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14002030d
mov al, 1
jmp 0x140020467
call fcn.14000137a
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.14000137a
mov dword [rbp + 0x184], eax
lea rdx, [rbp + 0x164]
lea rcx, [rbp + 0x184]
call fcn.140001a8c
movzx eax, al
test eax, eax
je 0x140020368
xor al, al
jmp 0x140020467
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 0x1400203cd
cmp dword [rbp + 0x194], 1
je 0x1400203d8
cmp dword [rbp + 0x194], 3
je 0x140020456
jmp 0x140020465
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 0x140020428
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 0x140020428
xor al, al
jmp 0x140020467
mov rax, qword [rbp + 0x1d0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140020443
mov dword [rbp + 0x194], 1
jmp 0x14002044d
mov dword [rbp + 0x194], 0
movzx eax, byte [rbp + 0x194]
jmp 0x140020467
mov rax, qword [rbp + 0x1d0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x140020467
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x1400401d0]
call fcn.140001a64
mov rax, rdi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rbp
call fcn.14000161d
lea rsp, [rbp + 0x1b8]
pop rdi
pop rbp
ret
Function at 0x140028840
Capabilities:
Write file on windows

Disassembly:
jmp 0x140028840
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, [0x14005f066]
call fcn.140001ca8
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x140028897
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 0x1400289a3
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 0x14002893c
cmp qword [rbp + 0x28], 0
jle 0x14002893c
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x1400288dc
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.140001bdb
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 0x140028992
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x140028992
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 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [str.d_0_]
mov dword [rax], 1
mov rax, qword [str.h_0_]
mov dword [rax], 1
mov rax, qword [str.l_0_]
mov dword [rax], 1
mov rax, qword [0x1402dcc20]
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