joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180001000
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 0x18
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x18000103e
jmp 0x1800010eb
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x800c
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x180001067
jmp 0x1800010eb
xor r9d, r9d
mov r8d, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, qword [rsp + 0x38]
mov edx, 0x6610
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
add rsp, 0x58
ret

Function at 0x1800bf130
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 1
je 0x1800bf153
jmp 0x1800bf188
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x180001100]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x48
ret
Function at 0x1800c6bfc
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 0x1800c6c2c
xor eax, eax
jmp 0x1800c6cef
mov rbp, rbx
cmp word [rax], si
je 0x1800c6c51
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1800c6c38
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1800c6c34
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.1800c6b1c
movsxd r14, eax
test eax, eax
jne 0x1800c6c8f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1800c6c25
mov rcx, r14
call fcn.1800c7e8c
mov rdi, rax
test rax, rax
jne 0x1800c6ca8
xor ecx, ecx
call fcn.1800c5154
jmp 0x1800c6c84
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.1800c6b1c
test eax, eax
jne 0x1800c6cd9
mov rcx, rdi
call fcn.1800c5154
jmp 0x1800c6ce3
xor ecx, ecx
call fcn.1800c5154
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 0x100405f20
Capabilities:
Encode data using xor

Disassembly:
movabs eax, dword [0x709ea4879795a4a7]
invalid
Function at 0x14000b850
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1d8]
mov rax, qword [0x140244a00]
xor rax, rbp
mov qword [rbp + 0x170], rax
lea rcx, [0x14025b10f]
call fcn.14013a5c0
mov rax, qword [rbp + 0x1a0]
cmp qword [rax + 0x68], 0
je 0x14000b8b6
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14000b8bd
mov al, 1
jmp 0x14000ba2d
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x158], rax
call fcn.14000ea90
mov dword [rbp + 0x160], eax
mov edx, dword [rbp + 0x160]
mov rcx, qword [rbp + 0x1a0]
call qword [rbp + 0x158]
mov dword [rbp + 0x164], eax
call fcn.14000ea90
mov dword [rbp + 0x168], eax
mov edx, dword [rbp + 0x164]
mov ecx, dword [rbp + 0x168]
call fcn.14000eac0
movzx eax, al
test eax, eax
je 0x14000b920
xor al, al
jmp 0x14000ba2d
mov qword [rbp + 8], 0x20
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax + 0x68]
mov qword [rbp + 0x158], rax
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x1a0]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rcx, qword [rbp + 0x158]
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 + 0x160], eax
cmp dword [rbp + 0x160], 0
je 0x14000b993
cmp dword [rbp + 0x160], 1
je 0x14000b99e
cmp dword [rbp + 0x160], 3
je 0x14000ba1c
jmp 0x14000ba2b
mov rax, qword [rbp + 0x1a0]
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 0x14000b9ee
mov rax, qword [rbp + 0x1a0]
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 0x14000b9ee
xor al, al
jmp 0x14000ba2d
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14000ba09
mov dword [rbp + 0x154], 1
jmp 0x14000ba13
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x14000ba2d
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14000ba2d
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140145b70]
call fcn.14013a390
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rbp
call fcn.14013a800
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x140011e50
Capabilities:
Write file on windows

Disassembly:
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, [0x14025b10f]
call fcn.14013a5c0
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x140011ea7
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 0x140011fb3
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 0x140011f4c
cmp qword [rbp + 0x28], 0
jle 0x140011f4c
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x140011eec
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.14000e130
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 0x140011fa2
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x140011fa2
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 0x140014720
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x16
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
mov rax, qword [0x140244a00]
xor rax, rbp
mov qword [rbp + 0x100], rax
lea rcx, [0x14025b342]
call fcn.14013a5c0
mov edx, 8
lea rcx, [rbp + 8]
call fcn.14001b6b0
mov rdx, qword [rbp + 0x138]
lea rcx, [rbp + 8]
call fcn.140015280
nop
lea rax, [0x140014120]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x130]
add rax, 8
mov qword [rbp + 0xf8], rax
lea rcx, [rbp + 8]
call fcn.14001ffc0
mov rcx, qword [rbp + 0xf8]
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 + 0x130]
mov qword [rcx], rax
mov rax, qword [rbp + 0x130]
cmp qword [rax], 0
je 0x1400147fa
lea rcx, [rbp + 8]
call fcn.140021940
jmp 0x140014813
mov rax, qword [rbp + 0x130]
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.140016a50
lea rcx, [rbp - 0x30]
lea rdx, [0x14014a8b0]
call fcn.14013a390
mov rcx, qword [rbp + 0x100]
xor rcx, rbp
call fcn.14013a800
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret

Function at 0x1400199a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x14025b375]
call fcn.14013a5c0
mov r9d, 0x40
mov r8d, 0x1000
mov edx, 0x1000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x1400199ee
xor al, al
jmp 0x140019a87
mov edx, 0x1e
lea rcx, [0x1402452f0]
call fcn.140017380
mov r8d, 0x1e
lea rdx, [0x1402452f0]
mov rcx, qword [rbp + 8]
call sub.VCRUNTIME140D.dll_memcpy
mov edx, 0x1e
lea rcx, [0x1402452f0]
call fcn.140018740
mov rax, qword [rbp + 8]
mov qword [rbp + 0xf8], rax
mov edx, dword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [rbp + pe_nt_image_headers64]
mov dword [rbp + 0x24], eax
mov r8d, 0x1000
xor edx, edx
mov rcx, qword [rbp + 8]
call sub.VCRUNTIME140D.dll_memset
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
cmp dword [rbp + 0x24], 0
jle 0x140019a79
mov byte [rbp + 0xf4], 1
jmp 0x140019a80
mov byte [rbp + 0xf4], 0
movzx eax, byte [rbp + 0xf4]
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x1400458c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x14025b520]
call fcn.14013a5c0
mov r9, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.ucrtbased.dll_fread]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x140045920
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x14025b520]
call fcn.14013a5c0
mov r9, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.ucrtbased.dll_fwrite]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x140046410
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x20]
lea rcx, [0x14025b520]
call fcn.14013a5c0
mov eax, dword [rbp + 0x160]
not eax
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x150]
mov qword [rbp + 0x28], rax
lea rax, [0x14014b770]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x158]
mov qword [rbp + 0x118], rax
mov rax, qword [rbp + 0x158]
dec rax
mov qword [rbp + 0x158], rax
cmp qword [rbp + 0x118], 0
je 0x14004648f
mov dword [rbp + 0x120], 1
jmp 0x140046499
mov dword [rbp + 0x120], 0
cmp dword [rbp + 0x120], 0
je 0x1400464e2
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
mov rdx, qword [rbp + 0x28]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 0x114], eax
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
mov eax, dword [rbp + 0x114]
mov dword [rbp + 4], eax
jmp 0x14004645a
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret
Function at 0x140046500
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x20]
lea rcx, [0x14025b520]
call fcn.14013a5c0
mov eax, dword [rbp + 0x1a0]
not eax
mov dword [rbp + 0x1a0], eax
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x28], rax
lea rax, [0x14014b770]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x198], 0
je 0x140046645
mov rax, qword [rbp + 0x198]
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0x198]
dec rax
mov qword [rbp + 0x198], rax
cmp qword [rbp + 0x158], 0
je 0x140046599
mov dword [rbp + 0x160], 1
jmp 0x1400465a3
mov dword [rbp + 0x160], 0
cmp dword [rbp + 0x160], 0
je 0x140046640
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x154], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x64], al
movzx eax, byte [rbp + 0x64]
cmp eax, 0x23
jne 0x14004661a
cmp qword [rbp + 0x198], 2
jb 0x14004661a
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14004661a
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14004661a
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x64]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x140046564
jmp 0x1400466df
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x154], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x84], al
movzx eax, byte [rbp + 0x84]
test eax, eax
je 0x1400466df
movzx eax, byte [rbp + 0x84]
cmp eax, 0x23
jne 0x1400466b6
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1400466b6
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1400466b6
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x84]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x140046645
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x14012a270
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x14025b7ca]
call fcn.14013a5c0
mov qword [rbp + 8], 0
jmp 0x14012a2ae
mov rax, qword [rbp + 8]
inc rax
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x110]
cmp qword [rbp + 8], rax
jae 0x14012a304
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x108]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rbp + 0x100]
xor rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
movabs rax, 0x100000001b3
mov rcx, qword [rbp + 0x100]
imul rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
jmp 0x14012a2a3
mov rax, qword [rbp + 0x100]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x140133490
Capabilities:
Hide graphical window

Disassembly:
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x60]
lea rcx, [0x14025b974]
call fcn.14013a5c0
mov dword [0x14024c040], 0x50
lea rax, [0x140138080]
mov qword [0x14024c048], rax
mov rax, qword [0x14024c0d0]
mov qword [0x14024c058], rax
lea rax, str.CiceroUIWndFrame
mov qword [0x14024c080], rax
lea rcx, [0x14024c040]
call qword [sym.imp.USER32.dll_RegisterClassExA]
movzx eax, ax
test eax, eax
jne 0x1401334fa
xor eax, eax
jmp 0x14013362b
mov qword [rsp + 0x58], 0
mov rax, qword [0x14024c0d0]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov eax, dword [0x14024c0f4]
mov dword [rsp + 0x38], eax
mov eax, dword [0x14024c0f0]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x90000000
lea r8, str.CiceroUIWndFrame
lea rdx, str.CiceroUIWndFrame
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x14024c0e8], rax
cmp qword [0x14024c0e8], 0
jne 0x140133579
xor eax, eax
jmp 0x14013362b
mov r8d, 0x80088
mov edx, 0xffffffec
mov rcx, qword [0x14024c0e8]
call qword [sym.imp.USER32.dll_SetWindowLongA]
lea rdx, [0x14021bad0]
mov rcx, qword [0x14024c0e8]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov edx, 5
mov rcx, qword [0x14024c0e8]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x14024c0e8]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, 0xffffffffffffffff
mov rcx, qword [0x14024c0e8]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov r8d, 0x800a8
mov edx, 0xffffffec
mov rcx, qword [0x14024c0e8]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov r8d, 0x800a8
mov edx, 0xffffffec
mov rcx, qword [0x14024c0e8]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, 1
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x1401353b0
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x26
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x1a8]
mov rax, qword [0x140244a00]
xor rax, rbp
mov qword [rbp + 0x148], rax
lea rcx, [0x14025b96d]
call fcn.14013a5c0
mov qword [rbp + 8], 0
cmp dword [rbp + 0x170], 0
jl 0x140135431
cmp dword [rbp + 0x170], 0x7c
jge 0x140135431
lea r8, [rbp + 8]
mov edx, dword [rbp + 0x170]
lea rcx, str.Keybind
call fcn.140136670
lea rcx, [rbp + 0x28]
call fcn.140007a10
nop
cmp qword [rbp + 8], 0
jne 0x140135454
lea rdx, str.Select_Key
lea rcx, [rbp + 0x28]
call fcn.140132e30
jmp 0x140135461
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x28]
call fcn.140132e30
cmp dword [rbp + 0x180], 1
jne 0x14013547a
lea rdx, str.Press_the_Key
lea rcx, [rbp + 0x28]
call fcn.140132e30
movss xmm2, dword [0x14014b760]
movss xmm1, dword [0x14018b5a8]
lea rcx, [rbp + 0x124]
call fcn.140016050
mov qword [rbp + 0x138], rax
lea rcx, [rbp + 0x28]
call fcn.14000dbf0
mov qword [rbp + 0x140], rax
mov rdx, qword [rbp + 0x138]
mov rcx, qword [rbp + 0x140]
call fcn.1400ef0f0
movzx eax, al
test eax, eax
je 0x1401354f6
cmp dword [rbp + 0x180], 0
jne 0x1401354f6
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rbp + 0x178]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
lea rcx, [rbp + 0x28]
call fcn.140008fc0
lea rcx, [rbp - 0x30]
lea rdx, [0x14018a8d0]
call fcn.14013a390
mov rcx, qword [rbp + 0x148]
xor rcx, rbp
call fcn.14013a800
lea rsp, [rbp + 0x158]
pop rdi
pop rbp
ret
Function at 0x140001820
Capabilities:
Access peb ldr_data
Encode data using xor
Get ntdll base address
Resolve function by parsing pe exports

Disassembly:
push r15
sub rsp, 0x10
cmp dword [0x140005680], 0
jne 0x140001a23
mov rax, qword gs:[0x60]
xor r15d, r15d
mov edx, r15d
mov rcx, qword [rax + 0x18]
mov r8, qword [rcx + 0x10]
mov rax, qword [r8 + 0x30]
test rax, rax
je 0x140001a2f
nop word [rax + rax]
mov r10, rax
movsxd rax, dword [rax + 0x3c]
mov ecx, dword [rax + r10 + 0x88]
test ecx, ecx
je 0x14000189d
lea rdx, [r10 + rcx]
mov ecx, dword [r10 + rcx + 0xc]
mov eax, dword [rcx + r10]
or eax, 0x20202020
cmp eax, 0x6c64746e
jne 0x14000189d
mov eax, dword [rcx + r10 + 4]
or eax, 0x20202020
cmp eax, 0x6c642e6c
je 0x1400018a9
mov r8, qword [r8]
mov rax, qword [r8 + 0x30]
test rax, rax
jne 0x140001860
test rdx, rdx
je 0x140001a2f
mov qword [rsp + 0x20], rbx
mov r11d, r15d
mov ebx, dword [rdx + 0x18]
mov qword [rsp + 0x28], rbp
mov ebp, dword [rdx + 0x24]
mov qword [rsp + 0x30], rsi
mov esi, dword [rdx + 0x1c]
mov qword [rsp + 0x38], rdi
add rsi, r10
mov edi, dword [rdx + 0x20]
mov qword [rsp + 8], r12
add rdi, r10
mov qword [rsp], r14
add rbp, r10
mov r12d, 0x775a
lea r14, [0x140005680]
nop dword [rax]
nop dword [rax + rax]
lea eax, [rbx - 1]
mov r9d, dword [rdi + rax*4]
add r9, r10
cmp word [r9], r12w
jne 0x140001966
mov edx, r15d
mov r8d, 0xfde80419
mov rax, r9
nop dword [rax]
movzx eax, word [rax]
mov ecx, r8d
ror ecx, 8
inc edx
add ecx, eax
mov eax, edx
add rax, r9
xor r8d, ecx
cmp byte [rax], r15b
jne 0x140001920
mov edx, r11d
lea eax, [rbx - 1]
add rdx, rdx
inc r11d
mov dword [r14 + rdx*8 + 8], r8d
movzx eax, word [rbp + rax*2]
mov eax, dword [rsi + rax*4]
mov dword [r14 + rdx*8 + 0xc], eax
mov qword [r14 + rdx*8 + 0x10], r15
cmp r11d, 0x1f4
je 0x14000196b
add ebx, 0xffffffff
jne 0x140001900
mov r12, qword [rsp + 8]
lea eax, [r11 - 1]
mov rbp, qword [rsp + 0x28]
mov r8d, r15d
mov dword [0x140005680], r11d
test eax, eax
je 0x140001a10
nop dword [rax + rax]
mov ecx, r11d
mov eax, r15d
sub ecx, r8d
cmp ecx, 1
je 0x140001a04
nop
lea ebx, [rax + 1]
mov r10d, eax
add r10, r10
mov r9d, ebx
add r9, r9
mov esi, dword [r14 + r10*8 + 0xc]
mov edi, dword [r14 + r9*8 + 0xc]
cmp esi, edi
jbe 0x1400019f6
mov eax, dword [r14 + r9*8 + 8]
mov edx, dword [r14 + r10*8 + 8]
mov rcx, qword [r14 + r10*8 + 0x10]
mov dword [r14 + r10*8 + 8], eax
mov rax, qword [r14 + r9*8 + 0x10]
mov qword [r14 + r10*8 + 0x10], rax
mov dword [r14 + r10*8 + 0xc], edi
mov dword [r14 + r9*8 + 8], edx
mov dword [r14 + r9*8 + 0xc], esi
mov qword [r14 + r9*8 + 0x10], rcx
mov r11d, dword [0x140005680]
mov ecx, r11d
mov eax, ebx
sub ecx, r8d
dec ecx
cmp ebx, ecx
jb 0x1400019a0
inc r8d
lea eax, [r11 - 1]
cmp r8d, eax
jb 0x140001990
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x20]
mov r14, qword [rsp]
mov eax, 1
add rsp, 0x10
pop r15
ret
xor eax, eax
add rsp, 0x10
pop r15
ret