joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140008000
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x70
xor r14d, r14d
lea rax, [r11 - 0x18]
mov rbx, r9
mov qword [r11 - 0x18], r14
mov rbp, r8
mov qword [r11 - 0x20], r14
mov rsi, rdx
mov qword [r11 - 0x28], r14
mov rdi, rcx
mov qword [r11 - 0x58], rax
mov r9d, 0xf013f
lea rdx, str.SoftWare
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140008144
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], r14
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], r14
mov rdx, rdi
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140008139
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], r14
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], r14
mov rdx, rsi
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x1400080e9
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x50]
jmp 0x14000813e
or rax, 0xffffffffffffffff
nop dword [rax]
cmp word [rbx + rax*2 + 2], r14w
lea rax, [rax + 1]
jne 0x1400080f0
lea ecx, [rax*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], ecx
xor r8d, r8d
mov rcx, qword [rsp + 0x50]
mov rdx, rbp
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x140008160
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x70
xor r14d, r14d
lea rax, [r11 - 0x18]
mov rbx, r9
mov qword [r11 - 0x18], r14
mov rbp, r8
mov qword [r11 - 0x20], r14
mov rsi, rdx
mov qword [r11 - 0x28], r14
mov rdi, rcx
mov qword [r11 - 0x58], rax
mov r9d, 0xf013f
lea rdx, str.SoftWare
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400082a4
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], r14
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], r14
mov rdx, rdi
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140008299
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], r14
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], r14
mov rdx, rsi
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x140008249
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x50]
jmp 0x14000829e
or rax, 0xffffffffffffffff
nop dword [rax]
cmp word [rbx + rax*2 + 2], r14w
lea rax, [rax + 1]
jne 0x140008250
lea ecx, [rax*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], ecx
xor r8d, r8d
mov rcx, qword [rsp + 0x50]
mov rdx, rbp
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x14000aa50
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, [0x140027050]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbx], rax
test rax, rax
jne 0x14000aa76
xor eax, eax
add rsp, 0x20
pop rbx
ret
lea rdx, str.GetNativeSystemInfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.IsWow64Process
mov qword [rbx + 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.Wow64DisableWow64FsRedirection
mov qword [rbx + 0x18], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.Wow64RevertWow64FsRedirection
mov qword [rbx + 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.GetSystemWow64DirectoryW
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.advapi32.dll
mov qword [rbx + 0x20], rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbx + 8], rax
test rax, rax
je 0x14000aa6e
lea rdx, str.Wow64RevertWow64FsRedirection
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.Wow64RevertWow64FsRedirection
mov qword [rbx + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x38], rax
mov eax, 1
add rsp, 0x20
pop rbx
ret

Function at 0x14000ab30
Capabilities:
Check mutex on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov r8, rdx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
cmp eax, 0xb7
mov rax, rbx
setne dl
mov dword [rbx + 8], edx
add rsp, 0x20
pop rbx
ret
Function at 0x14000abb0
Capabilities:
Check if file exists
Print debug messages
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0xf88]
mov eax, 0x1088
call fcn.14000e830
sub rsp, rax
mov rax, qword [0x14003b7a0]
xor rax, rsp
mov qword [rbp + 0xf70], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rbp + 0x580]
mov r8d, 0x3e8
call fcn.140011c00
xor edx, edx
lea rcx, [rbp + 0xb80]
mov r8d, 0x3e8
call fcn.140011c00
lea rdi, [rbp + 0xfb8]
call fcn.1400060c0
mov r9d, 0x1f3
mov qword [rsp + 0x30], rdi
xor esi, esi
lea rdx, [rbp + 0x580]
mov qword [rsp + 0x28], rsi
mov rcx, qword [rax]
lea r8d, [r9 + 1]
mov qword [rsp + 0x20], rbx
call fcn.140014adc
lea r8, [rbp + 0x580]
mov word [rbp + 0x966], si
lea rdx, str._zip__s_n
lea rcx, [rbp + 0xb80]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rbp + 0xb80]
mov word [rbp + 0xf66], si
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor edx, edx
lea rcx, [rbp + 0x370]
mov r8d, 0x208
call fcn.140011c00
lea r8, str.C:log_
mov edx, 0x104
lea rcx, [rbp + 0x370]
call fcn.1400163a4
lea r9, str.WanNengZip
lea r8, [rbp + 0x370]
lea rdx, str._s_s.log
lea rcx, [rbp + 0x160]
call fcn.140006210
xor edx, edx
lea rcx, [rbp + 0x970]
mov r8d, 0x208
call fcn.140011c00
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x208
call fcn.140011c00
mov r8d, 0x104
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [rsi + 0x5c]
lea rcx, [rsp + 0x50]
call fcn.1400110d8
lea rcx, [rbp + 0x160]
mov word [rax], si
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14000ae5d
or rbx, 0xffffffffffffffff
mov qword [rsp + 0x1080], r14
mov rax, rbx
lea rcx, [rsp + 0x50]
cmp word [rcx + rax*2 + 2], si
lea rax, [rax + 1]
jne 0x14000ad44
lea r8, [rsp + 0x52]
mov edx, 0x104
lea r8, [r8 + rax*2]
lea rcx, [rbp + 0x970]
call fcn.1400163a4
lea r9, [rbp + 0x970]
lea r8, [rbp + 0x370]
lea rdx, str._s_s.txt
lea rcx, [rbp + 0x160]
call fcn.140006210
lea rcx, [rbp + 0x160]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov r14d, 1
lea rdx, [0x140027510]
test eax, eax
lea rcx, [rbp + 0x160]
cmovne esi, r14d
call fcn.1400164f0
mov rdi, rax
test rax, rax
je 0x14000ae55
test esi, esi
jne 0x14000ade4
mov eax, 0xfeff
lea r8d, [r14 + 1]
mov r9, rdi
mov word [rsp + 0x44], ax
mov edx, r14d
lea rcx, [rsp + 0x44]
call fcn.14001616c
lea rax, [rbp + 0x580]
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14000adf0
add ebx, ebx
lea rcx, [rbp + 0x580]
movsxd r8, ebx
mov r9, rdi
mov rdx, r14
call fcn.14001616c
mov eax, 0xd
lea rcx, [rsp + 0x40]
mov r9, rdi
mov word [rsp + 0x40], ax
mov rdx, r14
lea r8d, [rax - 0xb]
call fcn.14001616c
mov eax, 0xa
lea rcx, [rsp + 0x40]
mov r9, rdi
mov word [rsp + 0x40], ax
mov rdx, r14
lea r8d, [rax - 8]
call fcn.14001616c
mov rcx, rdi
call fcn.140015d0c
mov r14, qword [rsp + 0x1080]
mov rcx, qword [rbp + 0xf70]
xor rcx, rsp
call fcn.14000e8a0
add rsp, 0x1088
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14000b8c0
Capabilities:
Delete registry value

Disassembly:
push rbx
sub rsp, 0x490
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x14003b7a0]
xor rax, rsp
mov qword [rsp + 0x480], rax
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x62]
call fcn.140011c00
movups xmm0, xmmword [str.WanNengZip]
movaps xmmword [rsp + 0x60], xmm0
mov eax, dword [0x140026780]
mov dword [rsp + 0x70], eax
movzx eax, word [0x140026784]
mov word [rsp + 0x74], ax
lea rcx, [rsp + 0x60]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14000b921
movsd xmm0, qword [str.DelMT]
movsd qword [rcx], xmm0
mov eax, dword [0x1400276b0]
mov dword [rcx + 8], eax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.14000ab30
nop
lea rcx, [rsp + 0x40]
call fcn.14000aba0
test eax, eax
je 0x14000ba1a
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000ba1a
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [0x140026fa8]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000ba08
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x270]
call fcn.140011c00
lea r8, str.WnZip
lea rdx, str._sMoniter
lea rcx, [rsp + 0x270]
call fcn.1400060d0
lea rdx, [rsp + 0x270]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, 1
jmp 0x14000ba1c
xor ebx, ebx
lea rcx, [rsp + 0x40]
call fcn.14000ab70
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.14000e8a0
add rsp, 0x490
pop rbx
ret
Function at 0x14000dbb0
Capabilities:
Check if file exists

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x90], rbx
mov rax, qword [0x14003b7a0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov qword [rbp - 0x18], 7
xor ebx, ebx
mov qword [rbp - 0x20], rbx
mov word [rbp - 0x30], bx
xor r8d, r8d
lea rdx, [0x140026700]
lea rcx, [rbp - 0x30]
call fcn.140005c10
nop
mov qword [rbp - 0x38], 7
mov qword [rbp - 0x40], rbx
mov word [rbp - 0x50], bx
xor r8d, r8d
lea rdx, [0x140026700]
lea rcx, [rbp - 0x50]
call fcn.140005c10
nop
mov rax, qword [0x14003cd20]
test rax, rax
jne 0x14000dc57
mov ecx, 0x190
call fcn.14000e6e0
mov qword [rbp - 0x58], rax
test rax, rax
je 0x14000dc4d
mov rcx, rax
call fcn.14000ae80
jmp 0x14000dc50
mov rax, rbx
mov qword [0x14003cd20], rax
mov rcx, rax
call fcn.140002290
cmp word [rax], 0
jne 0x14000dc6a
mov r8, rbx
jmp 0x14000dc7b
or r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x14000dc70
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.140005c10
mov r8d, 0xd
lea rdx, str.WnZipTool.exe
lea rcx, [rbp - 0x50]
call fcn.140005960
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rcx, qword [rbp - 0x50]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14000dd27
mov r8d, 1
lea rdx, [0x140026f00]
lea rcx, [rbp - 0x30]
call fcn.140005c10
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.140005830
mov r8d, 2
lea rdx, [0x140026f04]
lea rcx, [rbp - 0x30]
call fcn.140005960
mov r8d, 5
lea rdx, str.SynST
lea rcx, [rbp - 0x30]
call fcn.140005960
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rcx, qword [rbp - 0x30]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call fcn.140006390
nop
mov r8, qword [rbp - 0x38]
cmp r8, 8
jb 0x14000dd41
inc r8
mov rdx, qword [rbp - 0x50]
lea rcx, [rbp - 0x50]
call fcn.140005d60
mov qword [rbp - 0x38], 7
mov qword [rbp - 0x40], rbx
mov word [rbp - 0x50], bx
mov r8, qword [rbp - 0x18]
cmp r8, 8
jb 0x14000dd6b
inc r8
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp - 0x30]
call fcn.140005d60
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14000e8a0
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rbp
ret
Function at 0x140019424
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x1400191f8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400191f8
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400191f8
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400191f8
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400191f8
cmp dword [rcx + 0x84], 0xe
jbe 0x1400191f8
cmp dword [rcx + 0xf8], esi
je 0x1400191f8
mov ecx, r14d
call fcn.140019340
mov ecx, 2
call fcn.140016544
nop
cmp byte [0x14003dc38], 0
jne 0x1400192c2
mov r15d, 1
mov eax, r15d
xchg dword [0x14003dc28], eax
test ebx, ebx
jne 0x14001926b
mov rdi, qword [0x14003b7a0]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x14003dc30]
cmp rcx, rax
je 0x140019262
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.14000f7e0]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x14003de70]
jmp 0x140019277
cmp ebx, r15d
jne 0x14001927d
lea rcx, [0x14003de88]
call fcn.140019d90
nop
test ebx, ebx
jne 0x140019294
lea rdx, [0x1400264e8]
lea rcx, [0x1400264c8]
call fcn.14001a0a8
lea rdx, [0x1400264f8]
lea rcx, [0x1400264f0]
call fcn.14001a0a8
movzx eax, byte [0x14003dc38]
test esi, esi
cmove eax, r15d
mov byte [0x14003dc38], al
jmp 0x1400192c2
mov ecx, 2
call fcn.140016598
test esi, esi
jne 0x1400192d9
mov ecx, r14d
call fcn.1400192f4
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x140019188
Function at 0x140002750
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x1400027ad
lea rbx, [0x1400b0660]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140002794
cmp r10, 2
jb 0x140002794
cmp byte [r9], r8b
jne 0x140002794
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140002770
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400027ef
lea rbx, [0x1400b0660]
cmp r8b, 0x23
jne 0x1400027d3
cmp byte [r9], r8b
jne 0x1400027d3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x1400027c0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140002930
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000294a
mov qword [r8], 0
lea rdx, [0x1400b0448]
call fcn.140002800
mov rbx, rax
test rax, rax
jne 0x14000296a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140002a55
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140002a55
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140002a55
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140002a55
cmp rdi, 0xffffffffffffffff
je 0x140002a55
mov rax, qword [0x140100a60]
test rax, rax
je 0x1400029e6
inc dword [rax + 0x3b4]
mov rdx, qword [0x140100a50]
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rsi, rax
test rax, rax
je 0x140002a55
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x140002a42
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140100a60]
test rax, rax
je 0x140002a31
dec dword [rax + 0x3b4]
mov rdx, qword [0x140100a50]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x140002a5e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140002a50
mov qword [r14], rdi
mov rax, rsi
jmp 0x140002a60
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140006760
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
xor eax, eax
lea r8, [0x1400b035d]
mov dword [rsp + 0x2c], eax
lea r11, [0x1400b0660]
mov qword [rsp + 0x38], rax
mov r10d, 0xffffffff
mov qword [rsp + 0x60], rax
mov rbx, rcx
lea rax, str.Window
mov edx, r10d
mov qword [rsp + 0x20], rax
mov r9b, 0x57
cmp r9b, 0x23
jne 0x1400067b6
cmp byte [r8], r9b
jne 0x1400067b6
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x1400067a3
mov ecx, dword [rbx + 0x3004]
lea rax, [0x140012b40]
mov edi, dword [rbx + 0x3000]
not edx
mov qword [rsp + 0x30], rax
lea rax, [0x140012bd0]
mov qword [rsp + 0x40], rax
lea rax, [0x140012ca0]
mov qword [rsp + 0x48], rax
lea rax, [0x140012d80]
mov qword [rsp + 0x50], rax
lea rax, [0x140012e60]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x28], edx
cmp edi, ecx
jne 0x1400068e2
inc edi
test ecx, ecx
je 0x14000683a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14000683f
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x1400068e2
mov rax, qword [0x140100a60]
mov qword [rsp + 0x80], rsi
test rax, rax
je 0x140006866
inc dword [rax + 0x3b4]
mov rdx, qword [0x140100a50]
movsxd rax, edi
lea rcx, [rax + rax*8]
shl rcx, 3
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rdx, qword [rbx + 0x3008]
mov rsi, rax
test rdx, rdx
je 0x1400068cd
movsxd rcx, dword [rbx + 0x3000]
lea r8, [rcx + rcx*8]
mov rcx, rax
shl r8, 3
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbx + 0x3008]
test rcx, rcx
je 0x1400068c1
mov rax, qword [0x140100a60]
test rax, rax
je 0x1400068c1
dec dword [rax + 0x3b4]
mov rdx, qword [0x140100a50]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rbx + 0x3008], rsi
mov rsi, qword [rsp + 0x80]
mov dword [rbx + 0x3004], edi
movsxd rax, dword [rbx + 0x3000]
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
lea rcx, [rax + rax*8]
mov rax, qword [rbx + 0x3008]
movups xmmword [rax + rcx*8], xmm0
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + rcx*8 + 0x10], xmm1
movaps xmm1, xmmword [rsp + 0x50]
movups xmmword [rax + rcx*8 + 0x20], xmm0
movsd xmm0, qword [rsp + 0x60]
movups xmmword [rax + rcx*8 + 0x30], xmm1
movsd qword [rax + rcx*8 + 0x40], xmm0
inc dword [rbx + 0x3000]
mov byte [rbx], 1
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
Function at 0x14000df10
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400ff080]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140100a60]
mov edi, edx
cmp byte [rbx + 0x1f6d], 0
jne 0x14000df70
cmp byte [rbx + 0x1f6e], 0
jne 0x14000df70
mov r9d, dword [rbx + 0x2fb0]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140002640
test dil, 1
je 0x14000e091
jmp 0x14000dff8
movss xmm1, dword [rbx + 0x160c]
lea r8, str.Tooltip__02d
mov r9d, dword [rbx + 0x2fb0]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400f0654]
mulss xmm1, dword [0x1400f0640]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x128]
addss xmm1, dword [rbx + 0x12c]
mov qword [rbx + 0x1b48], rax
mov dword [rbx + 0x1b34], 1
movss dword [rbx + 0x1b40], xmm0
movss dword [rbx + 0x1b44], xmm1
movss xmm0, dword [rbx + 0x1668]
mulss xmm0, dword [0x1400f05a0]
or dword [rbx + 0x1b30], 0x41
movss dword [rbx + 0x1b90], xmm0
call fcn.140002640
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14000e048
lea r11, [0x1400b0660]
cmp r9b, 0x23
jne 0x14000e02b
cmp byte [r8], r9b
jne 0x14000e02b
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 0x14000e018
not ecx
call fcn.140007e90
test rax, rax
je 0x14000e091
cmp byte [rax + 0x86], 0
je 0x14000e091
mov byte [rax + 0x8d], 1
lea r8, str.Tooltip__02d
mov dword [rax + 0xa4], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x2fb0]
mov edx, reloc.WS2_32.dll_recv
mov r9d, dword [rbx + 0x2fb0]
call fcn.140002640
xor r9d, r9d
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x20c0347
call fcn.14000a550
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14009d440
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140012350
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
sub rsp, 0x40
mov rbx, qword [0x140100a60]
cmp byte [rbx + 0x3030], 0
je 0x14001243c
cmp qword [rbx + 0x3038], 0
mov qword [rax - 0x18], rsi
lea rsi, [rax + 0x10]
mov qword [rax - 0x20], rdi
lea rdi, [rbx + 0x3040]
je 0x140012424
mov r9d, dword [rdi + 4]
mov qword [rax - 0x10], rbp
xor ebp, ebp
test r9d, r9d
jns 0x1400123cb
mov eax, r9d
mov rcx, rdi
cdq
sub eax, edx
mov edx, ebp
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140013bd0
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
mov dword [rdi], ebp
mov rcx, rdi
mov r8, rsi
call fcn.140002e80
mov eax, dword [rdi]
mov edx, 1
mov r9, qword [rbx + 0x3038]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x3048]
cmove ecx, ebp
test rax, rax
movsxd r8, ecx
lea rcx, [0x140100a58]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
mov rdx, rcx
mov r8, rsi
mov rcx, rdi
call fcn.140002e80
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
Function at 0x14002dd30
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r14, qword [rcx + 0x118]
xor edi, edi
mov rsi, qword [rcx + 0x120]
mov rbp, rcx
sub rsi, r14
sar rsi, 2
test rsi, rsi
je 0x14002ddc8
mov qword [rsp + 0x30], rbx
nop dword [rax]
movsxd rbx, dword [r14 + rdi*4]
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx ecx, byte [rbx + rbp]
and cl, 0xf9
movsx edx, ax
movzx r8d, cl
shr edx, 0xf
and r8b, 1
test dl, 1
je 0x14002dda3
test r8b, r8b
jne 0x14002dd9e
or cl, 2
or cl, 1
jmp 0x14002ddae
test r8b, r8b
je 0x14002ddab
or cl, 4
and cl, 0xfe
mov byte [rbx + rbp], cl
test al, 1
je 0x14002ddbb
or cl, 2
mov byte [rbx + rbp], cl
inc rdi
cmp rdi, rsi
jb 0x14002dd70
mov rbx, qword [rsp + 0x30]
mov ecx, reloc.WS2_32.dll_sendto
call qword [sym.imp.USER32.dll_GetKeyState]
movzx edx, byte [rbp + 0x14]
mov rsi, qword [rsp + 0x40]
movzx ecx, dl
mov rdi, qword [rsp + 0x48]
or dl, 8
and cl, 0xf7
movzx edx, dl
and ax, 1
movzx ecx, cl
cmove edx, ecx
mov byte [rbp + 0x14], dl
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret