joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011c84
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov edi, dword [rsp + 0x90]
lea r14d, [r8 - 0x274b]
mov eax, dword [r9 + 0x100]
lea esi, [rdx - 0x264a]
mov ebp, r8d
lea r11d, [rdx + 0x101]
mov r15d, edx
lea r13d, [rcx + 0x69]
lea r12d, [rdi + 0x40]
xor r15d, 0x264a
xor edi, 0x23dd
xor ebp, 0x274b
mov rbx, r9
cmp dword [r9 + 0x20], eax
jne 0x140011cf8
add dword [0x1400d9144], 0x188ca
jmp 0x140011d03
mov eax, dword [r9 + 0xc]
add dword [r9 + 0x114], eax
mov eax, dword [0x1400d9034]
cmp dword [r9 + 0x140], eax
ja 0x140011d22
mov eax, dword [r9 + 0x15c]
xor eax, 0xffe2be19
mov dword [r9 + 0x48], eax
lea eax, [rbp + 0x274b]
cmp r14d, eax
je 0x140011d72
mov r10d, r12d
lea eax, [rdi + 0x241d]
xor r10d, 0x11
lea r8d, [rbp + 0x26c2]
mov dword [rsp + 0x30], r10d
lea edx, [r13 + 0x198]
mov r9d, r12d
mov dword [rsp + 0x28], eax
xor r9d, 0x7c0
lea ecx, [r11 - 0x198]
mov dword [rsp + 0x20], r9d
mov r9, rbx
call fcn.140002df0
mov r11d, eax
xor r11d, 0x2cc
cmp ebp, r11d
je 0x140011ec3
lea eax, [r12 - 0x11]
cmp r13d, eax
jle 0x140011e01
lea eax, [rsi + 0x25c3]
xor edi, 0x254a
xor r15d, 0x247a
mov dword [rsp + 0x28], edi
mov edx, r15d
mov dword [rsp + 0x20], eax
lea r9d, [r12 + 0x21c]
lea ecx, [rsi + 0x274b]
lea r8, [0x1400d9010]
call fcn.1400013f0
mov eax, dword [rbx + 0x124]
cmp dword [rbx + 0xcc], eax
jae 0x140011dee
mov rax, qword [section..data]
mov ecx, dword [rax + 0x4c]
xor ecx, dword [rbx + 0x134]
xor ecx, 0x618
sub dword [0x1400d907c], ecx
mov rax, qword [0x1400d9108]
mov qword [rbx + 0xf0], rax
jmp 0x140011ec3
and edi, r14d
and edi, dword [rbx + 0x178]
cmp r14d, edi
jbe 0x140011ec3
mov eax, dword [rbx + 0x110]
xor eax, dword [rbx + 0xc0]
cmp dword [rbx + 0x4c], eax
je 0x140011ec3
mov edi, esi
imul edi, esi
cmp r14d, edi
je 0x140011ec3
imul r13d, esi
mov ecx, dword [rbx + 0x20]
or rcx, 0x25b3
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
mov r10, qword [section..data]
mov r9d, dword [rbx + 0x178]
mov ecx, dword [rbx + 0xc4]
add r9d, r12d
mov edx, dword [rbx + 0xc8]
and ecx, r12d
mov eax, dword [r10 + 0xe8]
mov r8d, dword [rbx + 0x38]
xor eax, 0x25c3
imul ecx, dword [rbx + 0xbc]
or r15d, eax
mov eax, dword [r10 + 0x20]
add edx, r15d
imul eax, r12d
or r8d, 0x249d
and eax, r12d
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r9d
lea r9, [0x1400d9010]
mov dword [rsp + 0x20], r13d
call fcn.140002df0
add r14d, 3
mov r12d, eax
cmp r14d, edi
jne 0x140011e3a
lea r11, [rsp + 0x40]
xor esi, 0x2639
mov rbx, qword [r11 + 0x30]
mov eax, esi
mov rsi, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400123b8
Capabilities:
Suspend thread

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, 0x20
lea esi, [r8 + 0x2d1]
mov edi, r8d
mov eax, esi
lea ecx, [r9 - 0x247a]
xor eax, 0x172
xor edi, 0x1c0
mov rbx, rdx
cmp ecx, eax
jg 0x14001248d
lea eax, [r9 + 0x2d1]
xor eax, 0x2f1
cmp esi, eax
je 0x140012455
cmp dword [rdx + 0xd8], 0x1590e
jae 0x14001242c
mov eax, dword [rdx + 0xa4]
sub eax, dword [rdx + 0x20]
sub eax, 0x17612
add dword [rdx + 0x110], eax
jmp 0x140012442
mov rax, qword [section..data]
mov ecx, dword [rax + 0x14c]
add ecx, 0x6774d
mov dword [rdx + 0x54], ecx
mov eax, dword [rdx + 0x70]
xor eax, dword [0x1400d9120]
add eax, 0x43a9b348
xor dword [rdx + 0x54], eax
jmp 0x14001248d
cmp dword [rdx + 0x60], edi
jbe 0x14001248d
mov ecx, dword [rdx + 0xac]
mov ebp, dword [rdx + 0x178]
add ecx, esi
cmp ebp, ecx
jbe 0x14001248d
mov r14d, edi
or r14d, esi
mov ecx, r14d
sub ecx, dword [rbx + 0x34]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov ecx, dword [rbx + 0xac]
add ebp, 4
add ecx, esi
cmp ebp, ecx
ja 0x140012472
mov rbx, qword [rsp + 0x30]
lea eax, [rdi - 0x1dd]
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140014e48
Capabilities:
Create thread
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x30
mov esi, dword [rsp + 0x68]
lea edi, [rdx - 0x25b3]
mov r9d, dword [rsp + 0x60]
lea eax, [rdi + 0x26a0]
mov rbx, rcx
mov r10d, edx
xor r10d, 0x66e
lea ebp, [rsi - 0x25c3]
xor esi, 0x288
lea ecx, [r9 + 0x22d]
xor r9d, 0x146
cmp r9d, eax
je 0x140014ff3
cmp edi, r10d
jg 0x140015092
xor ecx, 0x2a4
lea r9d, [rdx - 0x7c]
mov edx, ecx
xor r10d, 0x51d
xor edi, 0x26a0
mov dword [r11 - 0x18], r10d
mov rcx, rbx
mov r8d, edi
call fcn.1400011e0
lea rax, [0x140045630]
xor r9d, r9d
mov qword [rbx + 0xe0], rax
mov rcx, qword [section..data]
mov rax, qword [rcx + 0xe0]
mov r8d, dword [r9 + rax]
add r9, 4
mov eax, dword [rcx + 0xc0]
add dword [rbx + 0xac], eax
mov rax, qword [section..data]
mov ecx, dword [rbx + 0x24]
imul r8d, dword [rax + 0x58]
mov eax, dword [rbx + 0x90]
add eax, 0xfff1793b
add ecx, eax
or dword [rbx + 8], ecx
mov rax, qword [section..data]
mov edx, r8d
shr edx, 0x10
mov ecx, dword [rax + 0x80]
add ecx, dword [rbx + 0x140]
mov eax, dword [rbx + 0xc4]
xor ecx, 0xc7366
imul eax, ecx
movsxd rcx, dword [rbx + 0x6c]
mov dword [rbx + 0xc4], eax
mov eax, dword [0x1400d905c]
add eax, 0xffffffef
xor dword [rbx + 0xc0], eax
mov eax, dword [rbx + 8]
xor eax, 0xf
add dword [rbx + 0x178], eax
mov rax, qword [rbx + 0xf0]
mov byte [rcx + rax], dl
mov edx, r8d
inc dword [rbx + 0x6c]
mov rax, qword [0x1400d9100]
movsxd rcx, dword [rbx + 0x6c]
shr edx, 8
mov byte [rcx + rax], dl
inc dword [rbx + 0x6c]
movsxd rcx, dword [rbx + 0x6c]
mov rax, qword [rbx + 0xf0]
mov byte [rcx + rax], r8b
inc dword [rbx + 0x6c]
mov rax, qword [section..data]
mov ecx, dword [rax + 0x90]
dec ecx
add dword [rbx + 0xb0], ecx
mov rax, qword [section..data]
mov ecx, dword [rax + 8]
xor ecx, dword [rbx + 0x80]
sub ecx, 0xf
or dword [rbx + 0x110], ecx
cmp r9, 0x87f50
jl 0x140014ee3
mov eax, dword [rbx + 0xb4]
mov dword [0x1400d9068], eax
jmp 0x140015092
xor ecx, 0x26c0
and ecx, dword [0x1400d9030]
cmp r10d, ecx
jbe 0x140015092
mov r9d, 0x21fb
mov qword [rsp + 0x20], 0x310c
mov r8b, 0x70
mov edx, 0x1d2e
mov ecx, 0x33ab
call fcn.1400045c0
movsxd rcx, eax
mov rax, qword [section..data]
mov qword [0x14016e998], rcx
mov ecx, dword [rbx + 0x110]
mov r10d, dword [rbx + 0x10c]
xor ecx, 0x2639
mov edx, dword [rax + 0x110]
imul r10d, dword [rbx + 0xc4]
or edx, 0x247a
mov r8d, dword [rbx + 0xec]
sub edx, edi
imul ecx, dword [0x1400d9188]
add r8d, esi
mov qword [rsp + 0x28], rdx
mov edx, 0x249d
movsxd rax, ebp
movsxd r9, edi
or r9, rax
mov dword [rsp + 0x20], r10d
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, qword [rsp + 0x40]
lea eax, [rbp + 0x274b]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140003500
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x30
cmp qword [r8 + 0x38], 0
mov rbx, r8
mov r8, rdx
mov rbp, rcx
je 0x14000353d
lea rdx, [rsp + 0x20]
add rcx, 0x18
call fcn.140012b10
mov rdx, rbx
mov rcx, qword [rax]
add rcx, 0x30
call fcn.140010f40
add rsp, 0x30
pop rsi
pop rbp
pop rbx
ret
cmp qword [rdx + 0x18], 0xf
mov r9, qword [rdx + 0x10]
mov qword [rsp + 0x68], rdi
jbe 0x140003550
mov r8, qword [rdx]
xor ecx, ecx
movabs rdi, 0xcbf29ce484222325
test r9, r9
je 0x140003584
movabs r10, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rcx + r8]
inc rcx
xor rdi, rax
imul rdi, r10
cmp rcx, r9
jb 0x140003570
mov r8, rdx
lea rcx, [rbp + 0x18]
lea rdx, [rsp + 0x20]
mov r9, rdi
call fcn.140014c50
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x14000360c
mov rdx, qword [rbp + 0x48]
and rdx, rdi
shl rdx, 4
add rdx, qword [rbp + 0x30]
mov rax, qword [rdx]
cmp qword [rdx + 8], rbx
jne 0x1400035d5
cmp rax, rbx
jne 0x1400035cb
mov rax, qword [rbp + 0x20]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x1400035e0
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x1400035e0
cmp rax, rbx
jne 0x1400035e0
mov rax, qword [rbx]
mov qword [rdx], rax
mov rdx, qword [rbx]
lea rcx, [rbx + 0x10]
dec qword [rbp + 0x28]
mov rax, qword [rbx + 8]
mov qword [rax], rdx
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
call fcn.140016ef0
mov edx, WSAStartup
mov rcx, rbx
call fcn.140017a20
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop rsi
pop rbp
pop rbx
ret

Function at 0x140004740
Capabilities:
Allocate thread local storage

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140025040]
xor rax, rsp
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov edi, eax
cmp eax, 0xffffffff
jne 0x14000480a
mov qword [rsp + 0x70], rsi
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, qword [0x1400250d0]
lea rsi, [0x1400250c8]
mov ebx, eax
mov dword [rsp + 0x3c], 0
movabs rax, 0x4d54ee85da812030
add rdx, rax
cmp rdx, 1
jbe 0x1400047b5
mov rcx, qword [0x1400250c8]
mov edx, ebx
mov r8, qword [rcx + 0x30]
mov rcx, rsi
call r8
jmp 0x1400047ba
test ebx, ebx
setne al
lea rcx, str.G:Down_vcpkg_2023.08.09_vcpkg_2023.08.09installedx64_windowsinclude_boost_asiodetailimplwin_tss_ptr.ipp
movzx eax, al
add rax, 2
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x40], rsi
lea rcx, str.win_tss_ptr_create
mov rsi, qword [rsp + 0x70]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], gethostbyname
mov dword [rsp + 0x34], 0x1a
test al, 1
je 0x14000480a
cmp rax, 1
jne 0x140004824
test ebx, ebx
jne 0x140004824
mov eax, edi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140017a00
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
lea r8, [rsp + 0x20]
lea rdx, [0x14001af70]
lea rcx, [rsp + 0x38]
call fcn.140004700
int3
Function at 0x1400093b0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov bl, 8
mov esi, 0xffff8001
movsx edi, bl
mov ecx, edi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cmp ax, si
jne 0x1400093f3
mov ecx, edi
call fcn.14000fd20
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
inc bl
jmp 0x1400093d1
Function at 0x140010670
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 0x140010698
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 0x1400106be
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400106c0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140010719
test ecx, ecx
jle 0x1400106f9
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 0x140010719
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140010719
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 0x140010740
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 0x140010762
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140010778
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 0x140010794
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140010796
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400107d2
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 0x14001086e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14001080d
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 0x14001084e
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 0x14001086e
cmp rbx, rax
ja 0x140010820
test rbx, rbx
je 0x14001086e
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 0x140010cd0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140025040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140010cfd
xor eax, eax
jmp 0x140010e69
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140010d37
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140010d37
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 0x140010e69
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140010e5c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140010d7a
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 0x140010da5
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 0x140010e61
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 0x140010e14
sub eax, 1
je 0x140010e14
cmp eax, 2
jne 0x140010e5c
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 0x140010e61
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140010e42
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 0x140010e5c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140010e61
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140017a00
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140011650
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140025040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140011723
cmp byte [rcx + 0x71], 0
je 0x140011723
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14001171f
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 0x1400116e4
sub eax, 1
je 0x1400116e8
cmp eax, 2
jne 0x14001171f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140017a00
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140011716
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 0x14001171f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400116cc
xor al, al
jmp 0x1400116cc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140017a00
add rsp, 0x60
pop rbx
ret
Function at 0x140015150
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rcx, qword [rdx]
mov qword [rsp + 0x20], rcx
mov rax, qword [rdx + 8]
mov qword [rsp + 0x28], rax
xor eax, eax
mov qword [rdx], rax
mov qword [rdx + 8], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x30], rax
lea rdx, [rcx + 0x118]
cmp qword [rdx + 0x18], 0xf
jbe 0x14001518f
mov rdx, qword [rdx]
add rdx, 0xc
lea rcx, [rsp + 0x38]
call fcn.1400048d0
cmp qword [rax + 0x18], 0xf
jbe 0x1400151a7
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x1400151f1
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400151eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400151eb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017a20
nop
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x140015227
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140015227
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140015227
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret

Function at 0x1400153c0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, qword [rdx]
xor ecx, ecx
mov rdi, qword [rdx + 8]
add rbx, 0x118
mov qword [rdx], rcx
mov qword [rdx + 8], rcx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400153eb
mov rbx, qword [rbx]
movzx ebx, byte [rbx + 5]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov cl, 0xa4
call qword [sym.imp.USER32.dll_keybd_event]
movzx ecx, bl
call qword [sym.imp.USER32.dll_VkKeyScanA]
xor r9d, r9d
xor r8d, r8d
movzx ecx, ax
xor edx, edx
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
movzx ecx, bl
call qword [sym.imp.USER32.dll_VkKeyScanA]
xor r9d, r9d
xor edx, edx
movzx ecx, ax
lea r8d, [r9 + 2]
call qword [sym.imp.USER32.dll_keybd_event]
xor r9d, r9d
xor edx, edx
mov cl, 0xa4
lea r8d, [r9 + 2]
call qword [sym.imp.USER32.dll_keybd_event]
test rdi, rdi
je 0x140015481
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140015481
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x140015481
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400154c0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, qword [rdx]
xor ecx, ecx
mov rdi, qword [rdx + 8]
add rbx, 0x118
mov qword [rdx], rcx
mov qword [rdx + 8], rcx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400154eb
mov rbx, qword [rbx]
movzx ebx, byte [rbx + 5]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov cl, 0x5b
call qword [sym.imp.USER32.dll_keybd_event]
movzx ecx, bl
call qword [sym.imp.USER32.dll_VkKeyScanA]
xor r9d, r9d
xor r8d, r8d
movzx ecx, ax
xor edx, edx
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
movzx ecx, bl
call qword [sym.imp.USER32.dll_VkKeyScanA]
xor r9d, r9d
xor edx, edx
movzx ecx, ax
lea r8d, [r9 + 2]
call qword [sym.imp.USER32.dll_keybd_event]
xor r9d, r9d
xor edx, edx
mov cl, 0x5b
lea r8d, [r9 + 2]
call qword [sym.imp.USER32.dll_keybd_event]
test rdi, rdi
je 0x140015581
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140015581
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x140015581
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140015670
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, qword [rdx]
xor ecx, ecx
mov rdi, qword [rdx + 8]
add rbx, 0x118
mov qword [rdx], rcx
mov qword [rdx + 8], rcx
cmp qword [rbx + 0x18], 0xf
jbe 0x14001569b
mov rbx, qword [rbx]
movzx ebx, byte [rbx + 6]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov cl, 0xa3
call qword [sym.imp.USER32.dll_keybd_event]
movzx ecx, bl
call qword [sym.imp.USER32.dll_VkKeyScanA]
xor r9d, r9d
xor r8d, r8d
movzx ecx, ax
xor edx, edx
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
movzx ecx, bl
call qword [sym.imp.USER32.dll_VkKeyScanA]
xor r9d, r9d
xor edx, edx
movzx ecx, ax
lea r8d, [r9 + 2]
call qword [sym.imp.USER32.dll_keybd_event]
xor r9d, r9d
xor edx, edx
mov cl, 0xa3
lea r8d, [r9 + 2]
call qword [sym.imp.USER32.dll_keybd_event]
test rdi, rdi
je 0x140015731
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140015731
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x140015731
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret