joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140093be0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x190
xorps xmm0, xmm0
lea rax, str.open
xor ebx, ebx
cmp qword [rcx + 0x18], 8
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x20], WSACleanup
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x1a0], ebx
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
jb 0x140093c3d
mov rcx, qword [rcx]
mov qword [rsp + 0x38], rcx
cmp qword [rdx + 0x10], rbx
jbe 0x140093c59
cmp qword [rdx + 0x18], 8
jb 0x140093c52
mov rdx, qword [rdx]
mov qword [rsp + 0x40], rdx
jmp 0x140093c5e
mov qword [rsp + 0x40], rbx
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x50], 1
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp eax, 1
sete sil
je 0x140093cf0
call sub.libcef.dll_cef_get_min_log_level
cmp eax, 2
jg 0x140093cde
mov r9d, 2
mov qword [rsp + 0x1a8], rdi
mov r8d, 0x33f
lea rdx, str.C:uworkspace03_25_1cefwinauto_srcquery_handler_win.cc
lea rcx, [rsp + 0x90]
call fcn.1400c6a90
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rbx + 8]
mov edi, eax
lea rdx, str.Unable_to_start_process._Error:
call fcn.1400025c0
mov rcx, rax
mov edx, edi
call fcn.140050d10
mov rdi, qword [rsp + 0x1a8]
mov ebx, 1
test bl, 1
je 0x140093cf0
lea rcx, [rsp + 0x90]
call fcn.1400c6df0
mov rbx, qword [rsp + 0x1b0]
movzx eax, sil
add rsp, 0x190
pop rsi
ret
Function at 0x140098ae0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140278eb8]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140098bb7
cmp byte [rcx + 0x72], 0
je 0x140098bb7
mov rax, qword [rcx]
mov qword [rsp + 0x78], rdi
mov edi, 0xffff
mov edx, edi
call qword [rax + SafeArrayPutElement]
cmp di, ax
je 0x140098bb3
mov rcx, qword [rbx + 0x68]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
lea rdx, [rbx + 0x74]
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x40]
test eax, eax
je 0x140098b76
sub eax, 1
je 0x140098b7a
cmp eax, 2
jne 0x140098bb3
mov byte [rbx + 0x72], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140157570
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x72], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140098baa
lfence
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call fcn.1401b079c
cmp rdi, rax
jne 0x140098bb3
cmp byte [rbx + 0x72], 0
sete al
jmp 0x140098b5e
xor al, al
jmp 0x140098b5e
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140157570
add rsp, 0x60
pop rbx
ret
Function at 0x14009d710
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor edi, edi
mov rbx, rcx
mov esi, edi
test rcx, rcx
je 0x14009d7ef
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ebp, eax
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rbx + rdx*2], si
jne 0x14009d747
lea ecx, [rax + 1]
add rdx, rcx
mov ecx, 0x40
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x14009d7f2
mov edx, ebp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov r8d, eax
lea ecx, [r8 - 1]
cmp word [rsi + rcx*2], 0x5c
je 0x14009d796
mov eax, 0x5c
mov word [rsi + r8*2], ax
inc r8d
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rbx + rax*2], di
jne 0x14009d7a0
test rax, rax
je 0x14009d7ef
lfence
mov rdx, rdi
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rbx + rdx*2]
lea ecx, [rdi + r8]
inc edi
mov word [rsi + rcx*2], ax
mov edx, edi
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x14009d7e0
cmp rdx, rax
jb 0x14009d7c0
mov rax, rsi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400a27e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
sub rsp, 0x30
mov rbx, rcx
xor ebp, ebp
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rbx, rbx
je 0x1400a2a0e
xor edx, edx
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rbx + rax*2], dx
jne 0x1400a2810
test rax, rax
je 0x1400a2844
xor ecx, ecx
movzx r8d, word [rbx + rcx*2]
cmp r8w, 0x5c
je 0x1400a2a0e
cmp r8w, 0x2f
je 0x1400a2a0e
inc edx
mov ecx, edx
cmp rcx, rax
jb 0x1400a2820
mov qword [rsp + 0x40], rsi
mov rcx, rbx
mov qword [rsp + 0x48], rdi
call fcn.1400a2a30
mov rsi, rax
test rax, rax
je 0x1400a293e
mov qword [rsp + 0x50], r14
call fcn.1400a38d0
mov r14, rax
test rax, rax
je 0x1400a292b
mov rcx, rsi
call fcn.14009d570
test eax, eax
je 0x1400a2914
lea rax, str.system32_
mov qword [rsp + 0x20], rax
lea rdi, [rsp + 0x20]
lea rax, str.SystemRoot_system32_
mov qword [rsp + 0x28], rax
nop word [rax + rax]
mov rdx, qword [rdi]
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp word [rdx + rbx*2], bp
jne 0x1400a28c0
mov r8, rbx
mov rcx, rsi
call fcn.1401b4eec
test eax, eax
je 0x1400a28e8
add rdi, 8
lea rax, [rsp + 0x30]
cmp rdi, rax
jb 0x1400a28b0
jmp 0x1400a28f7
lea rdx, [rsi + rbx*2]
mov rcx, r14
call fcn.1400a0fd0
mov rbp, rax
lea rax, [rsp + 0x30]
cmp rdi, rax
jne 0x1400a2922
mov rcx, rsi
call fcn.14009d520
test eax, eax
je 0x1400a2922
mov rbp, rsi
xor esi, esi
jmp 0x1400a2922
mov rdx, rsi
mov rcx, r14
call fcn.1400a0fd0
mov rbp, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r14, qword [rsp + 0x50]
jmp 0x1400a29da
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7e
jne 0x1400a29e3
mov rcx, rbx
call fcn.14009d420
mov rdi, rax
test rax, rax
je 0x1400a29e3
mov ecx, 0x37e4
call fcn.1400a0220
test eax, eax
je 0x1400a2978
xor ecx, ecx
call fcn.1400a3570
jmp 0x1400a297d
call fcn.1400a38d0
mov rbx, rax
test rax, rax
je 0x1400a29d1
mov rdx, rdi
mov rcx, rax
call fcn.1400a0fd0
mov rbp, rax
test rax, rax
je 0x1400a29c8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400a29aa
test al, 0x50
je 0x1400a29c8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x1400a29bd
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor ebp, ebp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rbp, rbp
je 0x1400a29e3
xor ecx, ecx
jmp 0x1400a29f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400a29f6
lea ecx, [rax + 0x7e]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdi, qword [rsp + 0x48]
mov rax, rbp
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rbp
ret
mov ecx, 0xa0
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsp + 0x58]
xor eax, eax
add rsp, 0x30
pop rbp
ret
Function at 0x1400a38d0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, eax
mov ecx, 0x40
add rdx, rdx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x1400a3932
mov edx, edi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1400a3927
cmp edi, eax
jb 0x1400a3927
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400a3ef0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x40
mov rbx, rcx
mov r14d, r8d
xor ecx, ecx
mov ebp, edx
xor edi, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rbx, rbx
je 0x1400a4067
movzx eax, word [rbx]
cmp eax, 0x5c
je 0x1400a3f53
cmp eax, 0x2f
je 0x1400a3f53
mov ecx, eax
call fcn.1401b4860
test eax, eax
je 0x1400a4067
cmp word [rbx + 2], 0x3a
jne 0x1400a4067
movzx eax, word [rbx + 4]
cmp ax, 0x5c
je 0x1400a3f53
cmp ax, 0x2f
jne 0x1400a4067
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400a404b
test al, 0x50
jne 0x1400a404b
xor r9d, r9d
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov edx, 0x80000000
mov rcx, rbx
mov qword [rsp + 0x68], rsi
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400a3fc0
lea ecx, [rax + 0x21]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rsi, qword [rsp + 0x68]
mov rax, rdi
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret
test r14d, r14d
mov dword [rsp + 0x60], edi
lea rdx, [rsp + 0x60]
mov rcx, rbx
cmove rdx, rdi
call fcn.1400a4950
test eax, eax
je 0x1400a3ff2
test r14d, r14d
je 0x1400a4006
cmp dword [rsp + 0x60], edi
jne 0x1400a4006
mov ecx, 0x80092009
call qword [sym.imp.KERNEL32.dll_SetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.1400a0590
test eax, eax
je 0x1400a401d
and ebp, 0xffffe8f7
xor edx, edx
mov r8d, ebp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rsi, rsi
je 0x1400a403b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x1400a3faa
xor ecx, ecx
jmp 0x1400a3fa4
mov ecx, 0x7e
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rdi
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret
mov ecx, 0xa0
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsp + 0x70]
mov rax, rdi
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret
Function at 0x1400baf70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea r8, [0x140211d90]
mov rdx, rbx
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rsi, rax
test rax, rax
je 0x1400bb058
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400bb058
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rsi
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_SHCreateMemStream]
mov rdi, rax
test rax, rax
je 0x1400bb058
mov ecx, SafeArrayPutElement
call sub.gdiplus.dll_GdipAlloc
mov rbx, rax
test rax, rax
je 0x1400bb03b
lea rax, [0x140211d80]
mov qword [rbx + 8], 0
lea rdx, [rbx + 8]
mov qword [rbx], rax
mov rcx, rdi
call sub.gdiplus.dll_GdipLoadImageFromStream
mov dword [rbx + 0x10], eax
mov rcx, rdi
mov rdx, qword [rdi]
call qword [rdx + 0x10]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rdx, qword [rdi]
xor ebx, ebx
mov rcx, rdi
call qword [rdx + 0x10]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400c12a0
Capabilities:
Check os version
Get common file path

Disassembly:
mov qword [rsp + 0x18], rsi
push rbp
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov rax, qword [0x140278eb8]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov rax, qword [0x14027d180]
xor esi, esi
mov dword [rsp + 0x30], esi
test rax, rax
jne 0x1400c14f9
xor edx, edx
lea rcx, [rbp + 0x64]
mov r8d, pe_nt_image_headers64
call fcn.140187880
lea rcx, [rbp + 0x60]
mov dword [rbp + 0x60], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rbp + 0x64], 5
ja 0x1400c1314
jne 0x1400c14f2
cmp dword [rbp + 0x68], 1
jb 0x1400c14f2
mov edx, 0x104
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x1400c137b
call sub.libcef.dll_cef_get_min_log_level
cmp eax, 2
jg 0x1400c1364
mov r9d, 2
lea rdx, str.C:uworkspace03_25_1cefwinauto_srccbwcef_dark_aero_window.cpp
lea rcx, [rsp + 0x38]
lea r8d, [r9 + 0x49]
call fcn.1400c6a90
lea rdx, str.Couldnt_find_system_path
lea rcx, [rax + 8]
call fcn.1400025c0
mov esi, 1
test sil, 1
je 0x1400c1374
lea rcx, [rsp + 0x38]
call fcn.1400c6df0
xor eax, eax
jmp 0x1400c14f9
movdqa xmm0, xmmword [0x14020c430]
lea rax, [rbp + 0x180]
movdqu xmmword [rbp + 0x48], xmm0
mov word [rbp + 0x38], si
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], si
jne 0x1400c13a0
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0x38]
call fcn.1400258a0
mov rdx, qword [rbp + 0x50]
mov rcx, qword [rbp + 0x48]
mov rax, rdx
sub rax, rcx
cmp rax, 0xb
jb 0x1400c141f
mov qword [rsp + 0x4b0], rbx
cmp rdx, 8
lea rbx, [rbp + 0x38]
mov qword [rsp + 0x4b8], rdi
cmovae rbx, qword [rbp + 0x38]
lea rdi, [rcx + 0xb]
mov r8d, SafeArrayPutElement
mov qword [rbp + 0x48], rdi
lea rdx, [0x140212228]
lea rcx, [rbx + rcx*2]
call fcn.140187470
mov word [rbx + rdi*2], si
mov rdi, qword [rsp + 0x4b8]
mov rbx, qword [rsp + 0x4b0]
jmp 0x1400c1442
lfence
xor r8d, r8d
mov qword [rsp + 0x20], reloc.WS2_32.dll_inet_addr
lea r9, [0x140212228]
lea rcx, [rbp + 0x38]
lea edx, [r8 + 0xb]
call fcn.140037d80
cmp qword [rbp + 0x50], 8
lea rcx, [rbp + 0x38]
cmovae rcx, qword [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x14027d180], rax
test rax, rax
je 0x1400c14b6
lea rdx, str.DwmExtendFrameIntoClientArea
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14027d180]
lea rdx, str.DwmDefWindowProc
mov qword [0x14027d188], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14027d180]
lea rdx, str.DwmIsCompositionEnabled
mov qword [0x14027d190], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14027d198], rax
mov rax, qword [0x14027d180]
mov rdx, qword [rbp + 0x50]
cmp rdx, 8
jb 0x1400c14f9
mov rcx, qword [rbp + 0x38]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c14ed
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c1519
call fcn.1401574cc
mov rax, qword [0x14027d180]
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.140157570
mov rsi, qword [rsp + 0x4c0]
add rsp, 0x4a0
pop rbp
ret
call fcn.14019598c
int3
Function at 0x14015d960
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14015d973
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.14015eaa0
lea rdx, [0x140273220]
lea rcx, [rsp + 0x20]
call fcn.140187ffc
int3

Function at 0x14016c268
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x14027e220]
xor edx, edx
jmp fcn.14015d960

Function at 0x14016dcd8
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x14027e220]
jmp fcn.14015d960

Function at 0x14017f578
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x14017f658]
mov r9, qword [r9 + 8]
jmp fcn.140168ef0

Function at 0x14017f630
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x14017f668]
mov r9, qword [r9 + 8]
jmp fcn.140168ef0

Function at 0x1401b2890
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1401b28b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1401b6ab0
or eax, 0xffffffff
jmp 0x1401b28b2
xor eax, eax
add rsp, 0x28
ret
Function at 0x1401d15d4
Capabilities:
Read file on windows

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
mov rbx, rcx
test rcx, rcx
jne 0x1401d127a
call fcn.1401b6b20
mov dword [rax], SafeArrayPutElement
call fcn.14019596c
jmp 0x1401d13c5
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1401d13c5
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x1401d13c5
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x1401d12a9
lock or dword [rcx + 0x14], 0x10
jmp 0x1401d13c5
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x1401d12bd
call fcn.1401d2cc8
mov esi, dword [rbx + 0x10]
cmp esi, 1
jne 0x1401d12cd
mov rax, qword [rbx]
mov bpl, byte [rax]
jmp 0x1401d12d0
xor bpl, bpl
mov rdi, qword [rbx + 8]
mov rcx, rbx
mov qword [rbx], rdi
call fcn.1401cc08c
mov r8d, dword [rbx + 0x20]
mov ecx, eax
mov rdx, rdi
call fcn.1401d22f4
mov dword [rbx + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x1401d13b3
mov eax, dword [rbx + 0x14]
test al, 6
jne 0x1401d1361
mov rcx, rbx
call fcn.1401cc08c
cmp eax, 0xffffffff
je 0x1401d134c
mov rcx, rbx
call fcn.1401cc08c
cmp eax, 0xfffffffe
je 0x1401d134c
mov rcx, rbx
call fcn.1401cc08c
movsxd rdi, eax
lea r14, [0x14027f150]
mov rcx, rbx
sar rdi, 6
call fcn.1401cc08c
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rdi*8]
lea rdx, [rax + rcx*8]
jmp 0x1401d1353
lea rdx, [0x1402793d0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1401d1361
lock or dword [rbx + 0x14], 0x20
cmp dword [rbx + 0x20], 0x200
jne 0x1401d1385
mov eax, dword [rbx + 0x14]
shr eax, 6
test al, 1
je 0x1401d1385
mov eax, dword [rbx + 0x14]
shr eax, 8
test al, 1
jne 0x1401d1385
mov dword [rbx + 0x20], 0x1000
mov rax, qword [rbx]
cmp esi, 1
jne 0x1401d13a3
movzx ecx, byte [rax]
dec dword [rbx + 0x10]
shl cx, 8
movzx eax, bpl
or cx, ax
inc qword [rbx]
jmp 0x1401d13ae
movzx ecx, word [rax]
add dword [rbx + 0x10], 0xfffffffe
add qword [rbx], 2
movzx eax, cx
jmp 0x1401d13ca
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rbx + 0x14], eax
and dword [rbx + 0x10], 0
mov eax, 0xffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
jmp 0x1401d1244
Function at 0x180005c00
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x90
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov r15, r9
movaps xmm7, xmm2
mov rdi, rdx
mov rbx, rcx
xor r14d, r14d
mov dword [rax - 0x68], r14d
mov rbp, qword [0x180170a48]
mov rax, qword [rbp + 0x4000]
mov byte [rax + 0xc0], 1
mov rsi, qword [rbp + 0x4000]
cmp byte [rsi + 0xc3], r14b
je 0x180005c62
xor al, al
jmp 0x180005d91
movsxd r8, dword [rsi + 0x100]
mov rax, qword [rsi + 0x108]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
call fcn.18005b3d0
mov rcx, qword [rsi]
cmp dword [rcx + 0x404c], eax
jne 0x180005c9d
mov r8, rbx
mov edx, 0xb
mov ecx, eax
call fcn.1800727b0
mov rbp, qword [0x180170a48]
mov rcx, rbx
cmp rbx, 0xffffffffffffffff
jae 0x180005cc3
movzx edx, byte [rcx]
test dl, dl
je 0x180005cc3
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x180005cba
cmp byte [rax], dl
je 0x180005cc3
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x180005ca6
movss xmm6, dword [0x180111f18]
cmp rbx, rcx
je 0x180005d01
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
movss dword [rsp + 0x20], xmm6
movss xmm3, dword [0x180111f08]
movss xmm2, dword [rbp + 0x3d38]
lea rdx, [rsp + 0x48]
mov rcx, qword [rbp + 0x3d30]
call fcn.180082060
xor edx, edx
mov rcx, rbx
call fcn.180087c70
movaps xmm1, xmm6
movaps xmm0, xmm7
call fcn.18006afd0
mov edx, dword [rdi]
test edx, edx
jne 0x180005d25
lea rax, [0x1800af9ac]
jmp 0x180005d45
lea rcx, [rsp + 0x50]
call fcn.1800040b0
nop
mov r14d, 1
mov dword [rsp + 0x40], r14d
cmp qword [rax + 0x18], 0xf
jbe 0x180005d45
mov rax, qword [rax]
mov rdx, r15
mov rcx, rax
call fcn.180088bb0
nop
test r14b, 1
je 0x180005d61
lea rcx, [rsp + 0x50]
call fcn.180007c20
xor ecx, ecx
call fcn.18005e6e0
test al, al
je 0x180005d8f
mov ebx, 4
cmp ebx, 0x1b
je 0x180005d85
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x180005d85
mov dword [rdi], ebx
inc ebx
cmp ebx, 0xe7
jle 0x180005d71
mov al, 1
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [rsp + 0x70]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x18001ef30
Capabilities:
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x180129400]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r15, r8
mov rsi, rdx
mov rbp, rcx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x40], r8
xor edi, edi
mov dword [rsp + 0x20], edi
mov byte [rdx], dil
xorps xmm0, xmm0
movups xmmword [rdx + 8], xmm0
mov qword [rdx + 0x18], rdi
mov qword [rdx + 0x20], 0xf
mov byte [rdx + 8], dil
mov dword [rsp + 0x20], 1
mov dword [rsp + 0x48], r9d
mov ecx, dword [rcx + 0xc]
mov eax, dword [rbp + 0x10]
sub eax, ecx
imul eax, dword [r8 + 0x10]
cdq
idiv dword [rbp + 8]
lea r12d, [rcx + rax]
lea rcx, [rsp + 0x28]
call fcn.18000a1c0
mov r8d, dword [rsp + 0x48]
movzx edx, r8b
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movabs rcx, 0x100000001b3
imul rdx, rcx
movzx eax, byte [rsp + 0x49]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rsp + 0x4a]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rsp + 0x4b]
xor rdx, rax
imul rdx, rcx
mov rcx, qword [rbp + 0x48]
and rcx, rdx
shl rcx, 4
add rcx, qword [rbp + 0x30]
mov rax, qword [rcx + 8]
mov rdx, qword [rbp + 0x20]
cmp rax, rdx
je 0x18001f032
mov rcx, qword [rcx]
cmp r8d, dword [rax + 0x10]
je 0x18001f02f
nop word [rax + rax]
cmp rax, rcx
je 0x18001f032
mov rax, qword [rax + 8]
cmp r8d, dword [rax + 0x10]
jne 0x18001f020
mov rdi, rax
test rdi, rdi
cmove rdi, rdx
mov rbx, qword [rsp + 0x28]
cmp rdi, rdx
je 0x18001f087
lea rcx, [rbp + 0x18]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x28]
call fcn.180035720
mov rcx, qword [rax]
mov rdx, rbx
sub rdx, qword [rcx + 0x18]
movabs rax, 0x431bde82d7b634db
imul rdx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
movsxd rax, r12d
cmp rdx, rax
jge 0x18001f087
mov al, 1
jmp 0x18001f0a3
lea rcx, [rbp + 0x18]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x28]
call fcn.180035720
mov rdx, qword [rax]
mov qword [rdx + 0x18], rbx
xor al, al
mov byte [rsi], al
mov r8d, 0x18
lea rdx, str._n__RATELIMIT_EXCEEDED___n
lea rcx, [rsi + 8]
call fcn.180007c80
nop
mov rcx, r15
call fcn.180007c20
mov rax, rsi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18009fc10
add rsp, 0x60
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret