joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400abb60
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140130040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14016bc98]
mov edi, ecx
cmp byte [rbx + 0x4d2d], 0
jne 0x1400abbc1
cmp byte [rbx + 0x4d2e], 0
jne 0x1400abbc1
movsx r9d, word [rbx + 0x5e98]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1400998f0
test dil, 2
je 0x1400abcef
jmp 0x1400abc4c
movss xmm1, dword [rbx + 0x39c4]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5e98]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140121e64]
mov edx, 0x10
mulss xmm1, dword [0x140121e44]
addss xmm0, dword [rbx + 0xf8]
addss xmm1, dword [rbx + 0xfc]
mov qword [rbx + 0x4a20], rax
mov dword [rbx + 0x4a0c], 1
movss dword [rbx + 0x4a18], xmm0
movss dword [rbx + 0x4a1c], xmm1
movss xmm0, dword [rbx + 0x3a20]
mulss xmm0, dword [0x140121d9c]
or dword [rbx + 0x4a08], 0x41
movss dword [rbx + 0x4a68], xmm0
call fcn.1400998f0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400abca0
lea r11, [0x14011a0b0]
nop dword [rax]
cmp r9b, 0x23
jne 0x1400abc83
cmp byte [r8], r9b
jne 0x1400abc83
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400abc70
not ecx
call fcn.1400a19f0
test rax, rax
je 0x1400abcef
cmp byte [rax + 0xbe], 0
je 0x1400abcef
mov byte [rax + 0xc3], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xc6], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xe4], 1
mov edx, 0x10
inc word [rbx + 0x5e98]
movsx r9d, word [rbx + 0x5e98]
call fcn.1400998f0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.1400a4630
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1401134e0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400b16c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5ff0], 0
lea rbx, [rcx + 0x5ff8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1400b1767
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x1400b171a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.1400b3fa0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.14009a630
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5ff0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x6000]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14016bc7c]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x1400b176f
mov rcx, rbx
call fcn.14009a630
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1400b1a90
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [0x14016bc98]
xor ebp, ebp
cmp byte [rbx + 0x5f48], bpl
jne 0x1400b1b6f
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400b1b68
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.140099d70
mov rsi, rax
test rax, rax
je 0x1400b1b68
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x1400b1af4
mov rcx, rax
call fcn.1400b1cc0
mov r8, qword [0x14016bc98]
test r8, r8
je 0x1400b1b5f
movsx rdx, word [r8 + 0x60d0]
lea rcx, [r8 + 0x60d4]
mov r9d, dword [r8 + 0x3f60]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x1400b1b54
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60d0], cx
movsx rax, cx
lea rcx, [r8 + 0x60d4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x60cc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x5f48], 1
movss xmm0, dword [rbx + 0x5f4c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1400b1bfe
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5f4c], xmm0
jb 0x1400b1bfe
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x1400b1bf1
mov rax, qword [0x14016bc98]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x5f4c], ebp
call fcn.1400b1f20
lea rdx, [0x140119bbc]
mov rcx, rdi
mov rsi, rax
call fcn.140099bc0
mov rdi, rax
test rax, rax
je 0x1400b1bf8
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x1400b1bf8
mov byte [rbx + 0xce], 1
mov dword [rbx + 0x5f4c], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400b1c20
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14016bc98]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x1400b1c83
mov qword [rsp], rbx
lea rbx, [0x14011a0b0]
nop dword [rax]
cmp r9b, 0x23
jne 0x1400b1c63
cmp byte [r8], r9b
jne 0x1400b1c63
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x1400b1c50
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f60]
not eax
mov r8, qword [r10 + 0x5f68]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x1400b1caf
cmp dword [r8 + 8], eax
je 0x1400b1cb6
add r8, 0x48
cmp r8, rcx
jne 0x1400b1ca0
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x1400c66d0
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x140130040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x14016bc98]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1400c688e
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1400c688e
mov qword [rsp + 0x80], rbx
mov ecx, 0x50
mov qword [rsp + 0x88], rdi
call fcn.14009e380
xor ebx, ebx
mov qword [rsp + 0x28], rax
mov rdi, rax
test rax, rax
je 0x1400c675a
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
jmp 0x1400c675d
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, [0x14011edc8]
mov qword [rsi + 0x80], rax
mov qword [rsi + 0x90], rdi
mov qword [rdi], rbp
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x18], rax
mov rax, qword [0x14016bc98]
mov dword [rdi + 0x28], 9
test rax, rax
je 0x1400c67a7
mov rsi, qword [rax + 0x90]
jmp 0x1400c67aa
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rsi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x1400c67d5
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x14016bc98]
mov rcx, qword [rax + 0x4b18]
mov rax, qword [rcx]
mov qword [rax + 0x28], rbp
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x30], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x48], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x50], rax
mov byte [rdi + 0x31], 1
nop word [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x1400c684e
inc rbx
cmp rbx, 5
jl 0x1400c6830
jmp 0x1400c687a
lea rdx, str.XInputGetCapabilities
mov qword [rdi + 0x38], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rsi
mov qword [rdi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x48], rax
mov rdi, qword [rsp + 0x88]
mov al, 1
mov rbx, qword [rsp + 0x80]
jmp 0x1400c6890
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1401134e0
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x1400db870
Capabilities:
Hash data with crc32

Disassembly:
push rdi
sub rsp, 0x20
test dword [rcx + 0x10], 0x100000
mov rdi, rdx
je 0x1400db8fc
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x1400db8d0
lea r11, [0x14011a0b0]
nop
cmp r9b, 0x23
jne 0x1400db8b3
cmp byte [r8], r9b
jne 0x1400db8b3
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400db8a0
mov rcx, qword [0x14016bc98]
not eax
cmp dword [rcx + 0x406c], eax
jne 0x1400db8e7
mov dword [rcx + 0x4070], eax
cmp dword [rcx + 0x409c], eax
jne 0x1400db959
mov byte [rcx + 0x40a0], 1
add rsp, 0x20
pop rdi
ret
mov rax, qword [0x14016bc98]
xor edx, edx
mov qword [rsp + 0x30], rbx
mov rcx, rdi
mov qword [rsp + 0x38], rsi
mov rbx, qword [rax + 0x4008]
movsxd rax, dword [rbx + 0x100]
mov r8, qword [rbx + 0x108]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140099b10
mov rcx, qword [rbx]
mov esi, eax
mov rbx, qword [rsp + 0x30]
cmp dword [rcx + 0x4054], eax
jne 0x1400db952
mov r8, rdi
mov edx, 0xb
mov ecx, eax
call fcn.1400b2dc0
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400ef310
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
mov eax, 0x13c0
call sub.ntdll.dll___chkstk
sub rsp, rax
mov rax, qword [0x140130040]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
mov ebx, edx
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x13a4], 0xffffffff
mov r8d, 1
mov dword [rsp + 0x24], eax
nop
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, r8d
mov dword [rsp + r8*4 + 0x24], eax
inc r8
cmp r8, 0x270
jb 0x1400ef350
btc ebx, 0x1f
mov dword [rsp + 0x20], 0x270
lea rcx, [rsp + 0x20]
cmp ebx, 0x7fffffff
jne 0x1400ef393
call fcn.14010cf30
mov ecx, eax
jmp 0x1400ef3e0
mov qword [rsp + 0x13d0], rdi
add ebx, 0x80000001
call fcn.14010cf30
mov ecx, eax
mov edi, ebx
imul rcx, rdi
cmp ecx, ebx
jae 0x1400ef3d4
mov eax, ebx
xor edx, edx
neg eax
div ebx
mov ebx, edx
cmp ecx, edx
jae 0x1400ef3d4
lea rcx, [rsp + 0x20]
call fcn.14010cf30
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jb 0x1400ef3c0
mov rdi, qword [rsp + 0x13d0]
shr rcx, 0x20
lea eax, [rcx - 0x80000000]
xor eax, 0x80000000
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.1401134e0
add rsp, 0x13c0
pop rbx
ret
Function at 0x1400fb040
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 0x1400fb068
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 0x1400fb08e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400fb090
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400fb0e9
test ecx, ecx
jle 0x1400fb0c9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.ntdll.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 0x1400fb0e9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400fb0e9
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 0x1400fb110
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 0x1400fb132
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x1400fb148
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 0x1400fb164
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400fb166
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400fb1a2
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.ntdll.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 0x1400fb23e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1400fb1dd
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 0x1400fb21e
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 0x1400fb23e
cmp rbx, rax
ja 0x1400fb1f0
test rbx, rbx
je 0x1400fb23e
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 0x1400fb660
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140130040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400fb68d
xor eax, eax
jmp 0x1400fb7f9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400fb6c7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x1400fb6c7
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 0x1400fb7f9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400fb7ec
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400fb70a
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 0x1400fb735
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 0x1400fb7f1
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 0x1400fb7a4
sub eax, 1
je 0x1400fb7a4
cmp eax, 2
jne 0x1400fb7ec
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 0x1400fb7f1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400fb7d2
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 0x1400fb7ec
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1400fb7f1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1401134e0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400fd510
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140130040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400fd5e3
cmp byte [rcx + 0x71], 0
je 0x1400fd5e3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400fd5df
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 0x1400fd5a4
sub eax, 1
je 0x1400fd5a8
cmp eax, 2
jne 0x1400fd5df
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401134e0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400fd5d6
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 0x1400fd5df
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400fd58c
xor al, al
jmp 0x1400fd58c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401134e0
add rsp, 0x60
pop rbx
ret
Function at 0x14010cf30
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x14010cf91
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x14010cf50
mov ecx, dword [r9]
jmp 0x14010d07b
cmp ecx, 0x4e0
jb 0x14010d07b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x14010cfb0
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x14010d000
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x1401116b0
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
push rdi
sub rsp, 0xb0
mov rax, qword [0x140130040]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rbx, rcx
mov qword [rsp + 0x30], rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rdx, [rsp + 0xb8]
movabs rcx, 0xff00ff00ff00ff00
mov qword [r11 - 0x68], rcx
mov qword [r11 - 0x60], rdx
mov rax, qword [rdx]
xor rax, rcx
mov qword [r11 - 0x70], rax
mov qword [rdx], 0
cmp qword [rbx], 0
je 0x14011185c
movups xmmword [r11 - 0x28], xmm0
call fcn.140110f00
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140111795
cmp dword [rsp + 0x68], 0x12
jne 0x14011177a
mov rcx, qword [rsp + 0x48]
xor rcx, qword [rsp + 0x50]
mov qword [rsp + 0x48], rcx
mov rax, qword [rsp + 0x58]
mov qword [rax], rcx
xor al, al
jmp 0x140111870
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x14011184d
mov rax, qword [0x14016bc98]
test rax, rax
je 0x1401117aa
mov rcx, qword [rax + 0x98]
jmp 0x1401117ac
xor ecx, ecx
cmp qword [rcx + 0x48], 0
jne 0x1401117b8
call fcn.1400c61b0
call fcn.1400c7080
call fcn.14009ef00
call fcn.1400f69b0
call fcn.1400a0e60
mov rcx, qword [rbx + 0x10]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [rbx + 0x20]
mov edx, 1
call qword [rax + 0x108]
mov rcx, qword [rbx + 0x10]
mov rax, qword [rcx]
lea r8, [rsp + 0x90]
mov rdx, qword [rbx + 0x20]
call qword [rax + 0x190]
mov rax, qword [0x14016bc98]
mov rax, qword [rax + 0x4b18]
mov rcx, qword [rax]
add rcx, 0x48
xor eax, eax
cmp byte [rcx], al
cmovne rax, rcx
mov rcx, rax
call fcn.1400c5550
mov rcx, qword [rbx + 0x18]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 1
call qword [rax + 0x40]
mov ecx, 0x2e
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14011184d
call fcn.1400a6bc0
nop
jmp 0x14011185c
jmp 0x140111721
mov rcx, qword [rsp + 0x50]
xor rcx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x58]
mov qword [rax], rcx
xor al, al
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1401134e0
mov rbx, qword [rsp + 0xc8]
add rsp, 0xb0
pop rdi
ret

Function at 0x1401124f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
sub rsp, 0x448
mov r8, rcx
lea r9, [rax + 0x10]
lea rcx, [rsp + 0x40]
mov edx, 0x200
call qword [sym.imp.ntdll.dll__vsnwprintf]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0x40]
mov rax, qword gs:[0x30]
mov r8d, dword [rsp + 0x30]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x20]
mov rcx, qword [rcx + 0x28]
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
add rsp, 0x448
ret