joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007ec0
Capabilities:
Create service
Start service

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x78], 0
mov dword [rsp + 0x70], 0
mov r8d, 0xf003f
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
jne 0x140007f23
mov dword [rsp + 0x70], 0xffffffff
jmp 0x14000802e
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 1
mov r9d, 0xf01ff
mov r8, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x140008005
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0x3e5
je 0x140007fd0
cmp dword [rsp + 0x70], 0x431
je 0x140007fd0
mov dword [rsp + 0x70], 0xfffffffe
jmp 0x14000802e
mov r8d, 0xf01ff
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x140008005
mov dword [rsp + 0x70], 0xfffffffd
jmp 0x14000802e
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_StartServiceA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0x1f
jne 0x14000802e
mov dword [rsp + 0x70], 0
cmp qword [rsp + 0x78], 0
je 0x140008041
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp qword [rsp + 0x80], 0
je 0x14000805a
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [rsp + 0x70]
add rsp, 0x98
ret

Function at 0x140008560
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xe0
mov rax, qword [0x1400f20b8]
xor rax, rsp
mov qword [rsp + 0xd0], rax
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, pe_nt_image_headers64
rep stosb byte [rdi], al
lea rcx, [rsp + 0x30]
call fcn.140001ab0
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x20]
call fcn.1400075e0
mov r8, qword [rsp + 0xf0]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400091c0
lea rcx, [rsp + 0x30]
call fcn.1400022b0
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WinExec]
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WinExec]
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WinExec]
lea rcx, [rsp + 0x40]
call fcn.140001ab0
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call fcn.140007610
mov r8, qword [rsp + 0xf0]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400091c0
lea rcx, [rsp + 0x40]
call fcn.1400022b0
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WinExec]
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.14005ef30
add rsp, 0xe0
pop rdi
ret
Function at 0x140008e10
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x418
mov dword [rsp], 0
mov dword [rsp + 4], 0
mov dword [rsp], 0
jmp 0x140008e45
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
cmp dword [rsp], 0x100
jge 0x140008eaf
mov dword [rsp + 4], 0
movsxd rax, dword [rsp]
mov ecx, dword [rsp]
mov dword [rsp + rax*4 + 0x10], ecx
jmp 0x140008e6d
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 4], eax
cmp dword [rsp + 4], 8
jge 0x140008ead
movsxd rax, dword [rsp]
mov eax, dword [rsp + rax*4 + 0x10]
and eax, 1
test eax, eax
je 0x140008e8d
mov dword [rsp + 0xc], 0xedb88320
jmp 0x140008e95
mov dword [rsp + 0xc], 0
movsxd rax, dword [rsp]
mov eax, dword [rsp + rax*4 + 0x10]
shr eax, 1
xor eax, dword [rsp + 0xc]
movsxd rcx, dword [rsp]
mov dword [rsp + rcx*4 + 0x10], eax
jmp 0x140008e63
jmp 0x140008e3d
mov eax, dword [rsp + 0x420]
not eax
mov dword [rsp + 0x420], eax
mov dword [rsp + 8], 0
jmp 0x140008ed3
mov eax, dword [rsp + 8]
inc eax
mov dword [rsp + 8], eax
mov eax, dword [rsp + 0x430]
cmp dword [rsp + 8], eax
jge 0x140008f1b
mov eax, dword [rsp + 0x420]
shr eax, 8
movsxd rcx, dword [rsp + 8]
mov rdx, qword [rsp + 0x428]
movsx ecx, byte [rdx + rcx]
mov edx, dword [rsp + 0x420]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
mov ecx, ecx
xor eax, dword [rsp + rcx*4 + 0x10]
mov dword [rsp + 0x420], eax
jmp 0x140008ec9
mov eax, dword [rsp + 0x420]
not eax
add rsp, 0x418
ret

Function at 0x140008f70
Capabilities:
Get storage device properties

Disassembly:
push rdi
sub rsp, 0x520
mov rax, qword [0x1400f20b8]
xor rax, rsp
mov qword [rsp + 0x510], rax
lea rcx, [rsp + 0x58]
call fcn.140001ab0
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.1400074c0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 3
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x58]
call fcn.1400022b0
cmp dword [rsp + 0x48], 0xffffffff
jne 0x140008fee
xor eax, eax
jmp 0x1400090bb
mov dword [rsp + 0x40], 0x400
lea rax, [rsp + 0x78]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
lea rax, [rsp + 0x110]
mov rdi, rax
xor eax, eax
mov ecx, 0x400
rep stosb byte [rdi], al
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x110]
mov qword [rsp + 0x20], rax
mov r9d, 0xc
lea r8, [rsp + 0x78]
mov edx, 0x2d1400
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x14000907b
mov r8d, 0x400
lea rdx, [rsp + 0x110]
xor ecx, ecx
call fcn.140008e10
mov dword [rsp + 0x44], eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rsp + 0x90]
mov rdi, rax
xor eax, eax
mov ecx, pe_nt_image_headers64
rep stosb byte [rdi], al
mov r8d, dword [rsp + 0x44]
lea rdx, [0x1400c1b00]
lea rcx, [rsp + 0x90]
call fcn.1400091c0
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0x510]
xor rcx, rsp
call fcn.14005ef30
add rsp, 0x520
pop rdi
ret
Function at 0x140011e00
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x1a0
mov rax, qword [0x1400f20b8]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov dword [rsp + 0x40], 0
lea rax, [rsp + 0x80]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov r8d, 0x103
lea rdx, [rsp + 0x80]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rdx, [0x1400c1c81]
mov rcx, qword [rsp + 0x1b0]
call fcn.140006ff0
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x40]
or eax, 1
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x70], 0x34
xor edx, edx
lea rcx, [rsp + 0x80]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x140011fd8
mov qword [rsp + 0x38], 0
cmp qword [rsp + 0x38], 0
jne 0x140011ecf
movsxd rax, dword [rsp + 0x30]
mov rcx, rax
call fcn.140002380
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x38], rax
jmp 0x140011ea9
mov r9, qword [rsp + 0x38]
mov r8d, dword [rsp + 0x30]
xor edx, edx
lea rcx, [rsp + 0x80]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x140011f99
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x68]
lea rdx, [0x1400c1c84]
mov rcx, qword [rsp + 0x38]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x140011f99
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0xc]
and rax, 0xffff
movzx eax, ax
mov rcx, qword [rsp + 0x68]
mov ecx, dword [rcx + 0xc]
shr rcx, 0x10
and rcx, 0xffff
movzx ecx, cx
mov rdx, qword [rsp + 0x68]
mov edx, dword [rdx + 8]
and rdx, 0xffff
movzx edx, dx
mov rdi, qword [rsp + 0x68]
mov edi, dword [rdi + 8]
shr rdi, 0x10
and rdi, 0xffff
movzx edi, di
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov r9d, edx
mov r8d, edi
lea rdx, str._d._d._d._d
mov rcx, qword [rsp + 0x1b8]
call fcn.1400091c0
mov rdx, qword [rsp + 0x1b8]
mov rcx, qword [rsp + 0x1b0]
call fcn.14000fc80
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x48], rax
mov edx, 1
mov rcx, qword [rsp + 0x48]
call fcn.14005ec90
cmp qword [rsp + 0x48], 0
jne 0x140011fc5
mov qword [rsp + 0x58], 0
jmp 0x140011fd8
mov qword [rsp + 0x38], 0x8123
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14005ef30
add rsp, 0x1a0
pop rdi
ret

Function at 0x140012230
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x20], 0
mov ecx, 0x400
call fcn.140002380
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov r9d, 1
mov r8d, 0x1c
mov rdx, qword [rsp + 0x28]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x60]
call fcn.140006ff0
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.14005ecb0
cmp qword [rsp + 0x30], 0
jne 0x1400122b9
mov qword [rsp + 0x40], 0
jmp 0x1400122cc
mov qword [rsp + 0x28], 0x8123
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x60]
add rsp, 0x58
ret
Function at 0x1400122e0
Capabilities:
Get token membership

Disassembly:
sub rsp, 0x98
mov rax, qword [0x1400f20b8]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov byte [rsp + 0x70], 0
mov byte [rsp + 0x71], 0
mov byte [rsp + 0x72], 0
mov byte [rsp + 0x73], 0
mov byte [rsp + 0x74], 0
mov byte [rsp + 0x75], 5
lea rax, [rsp + 0x68]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x220
mov r8d, 0x20
mov dl, 2
lea rcx, [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0
je 0x140012392
lea r8, [rsp + 0x78]
mov rdx, qword [rsp + 0x68]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [rsp + 0x78], 1
jne 0x1400123a3
mov dword [rsp + 0x60], 1
jmp 0x1400123ab
mov dword [rsp + 0x60], 0
movzx eax, byte [rsp + 0x60]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14005ef30
add rsp, 0x98
ret

Function at 0x140012c50
Capabilities:
Terminate process

Disassembly:
sub rsp, 0xc8
lea rcx, [rsp + 0x38]
call fcn.140001ab0
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.14000fe30
mov r8, rax
xor edx, edx
mov ecx, 0x1f0001
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
test rax, rax
jne 0x140012c8f
mov dword [rsp + 0x24], 1
jmp 0x140012c97
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 0x20], al
lea rcx, [rsp + 0x38]
call fcn.1400022b0
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140012ce5
lea rcx, [rsp + 0x48]
call fcn.140001ab0
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.14000fe30
mov r8, rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
lea rcx, [rsp + 0x48]
call fcn.1400022b0
jmp 0x140012cec
xor ecx, ecx
call fcn.140080180
call fcn.1400122e0
movzx eax, al
test eax, eax
jne 0x140012d6f
lea rcx, [rsp + 0x28]
call fcn.140001ab0
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.14000fdd0
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x78]
call fcn.140001ab0
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.140010040
mov qword [rsp + 0x70], rax
xor r9d, r9d
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rcx, [rsp + 0x78]
call fcn.1400022b0
nop
lea rcx, [rsp + 0x28]
call fcn.1400022b0
xor ecx, ecx
call fcn.140080180
mov rdx, qword [0x1400f2d10]
lea rcx, [rsp + 0x98]
call fcn.140011e00
lea rcx, [rsp + 0x98]
call fcn.140007380
add rsp, 0xc8
ret
Function at 0x140013150
Capabilities:
Read .ini file

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xf0
call fcn.140012c50
mov ecx, 0xd0
call fcn.14005ec20
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x1400131b6
mov edx, 0xd0
mov rcx, qword [rsp + 0x40]
call fcn.140002cf0
mov rdi, qword [rsp + 0x40]
xor eax, eax
mov ecx, 0xd0
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x40]
call fcn.14000fc40
mov qword [rsp + 0x50], rax
jmp 0x1400131bf
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x50]
mov qword [0x1400f2008], rax
lea rcx, [rsp + 0xc8]
call fcn.140012230
mov rdx, rax
lea rcx, [0x1400f2d18]
call fcn.140007410
lea rcx, [rsp + 0xc8]
call fcn.140007380
lea rcx, [rsp + 0x98]
call fcn.140001ab0
mov rcx, rax
call fcn.14000ff60
mov rdx, rax
lea rcx, [0x1400f2d18]
call fcn.1400102f0
lea rcx, [rsp + 0x98]
call fcn.1400022b0
lea rcx, [0x1400f2d18]
call fcn.140008cf0
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x58]
call fcn.140001ab0
mov rcx, rax
call fcn.14000fe00
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x88]
call fcn.140001ab0
mov rcx, rax
call fcn.14000fe60
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x21
lea r9, [0x1400f2d68]
lea r8, [0x1400c1c86]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rcx, [rsp + 0x88]
call fcn.1400022b0
lea rcx, [rsp + 0x58]
call fcn.1400022b0
lea rcx, [rsp + 0xb0]
call fcn.140001ab0
mov rcx, rax
call fcn.14000fec0
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x48]
call fcn.140001ab0
mov rcx, rax
call fcn.14000fda0
mov qword [rsp + 0x80], rax
movss xmm0, dword [0x1400c1e44]
movss dword [rsp + 0x38], xmm0
movss xmm0, dword [0x1400c1e50]
movss dword [rsp + 0x30], xmm0
movss xmm0, dword [0x1400c1e48]
movss dword [rsp + 0x28], xmm0
movss xmm0, dword [0x1400c1e54]
movss dword [rsp + 0x20], xmm0
mov r9, qword [rsp + 0x78]
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x100]
mov rcx, qword [0x1400f2008]
call fcn.14005d870
lea rcx, [rsp + 0x48]
call fcn.1400022b0
lea rcx, [rsp + 0xb0]
call fcn.1400022b0
lea rdx, [0x140010af0]
mov rcx, qword [0x1400f2008]
call fcn.14005db80
add rsp, 0xf0
pop rdi
ret
Function at 0x1400205e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
movss dword [rsp + 0x20], xmm3
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
xorps xmm2, xmm2
xorps xmm1, xmm1
mov rcx, qword [rsp + 0x80]
call fcn.14000fbc0
mov eax, dword [rsp + 0x88]
and eax, 1
test eax, eax
je 0x1400206b9
mov edx, dword [rsp + 0x90]
mov ecx, 0x14
call fcn.1400208a0
movss dword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, 0x13
call fcn.1400208a0
movss xmm1, dword [rsp + 0x20]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x28], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, 0x12
call fcn.1400208a0
movss dword [rsp + 0x24], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, 0x11
call fcn.1400208a0
movss xmm1, dword [rsp + 0x24]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x2c], xmm0
movss xmm2, dword [rsp + 0x28]
movss xmm1, dword [rsp + 0x2c]
lea rcx, [rsp + 0x50]
call fcn.14000fbc0
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call fcn.140016840
mov eax, dword [rsp + 0x88]
and eax, 2
test eax, eax
je 0x140020767
mov edx, dword [rsp + 0x90]
mov ecx, 7
call fcn.1400208a0
movss dword [rsp + 0x30], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, 6
call fcn.1400208a0
movss xmm1, dword [rsp + 0x30]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x38], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, 5
call fcn.1400208a0
movss dword [rsp + 0x34], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, 4
call fcn.1400208a0
movss xmm1, dword [rsp + 0x34]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x3c], xmm0
movss xmm2, dword [rsp + 0x38]
movss xmm1, dword [rsp + 0x3c]
lea rcx, [rsp + 0x58]
call fcn.14000fbc0
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call fcn.140016840
mov eax, dword [rsp + 0x88]
and eax, 4
test eax, eax
je 0x140020815
mov edx, dword [rsp + 0x90]
mov ecx, 0xb
call fcn.1400208a0
movss dword [rsp + 0x40], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, 0xa
call fcn.1400208a0
movss xmm1, dword [rsp + 0x40]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x48], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, 9
call fcn.1400208a0
movss dword [rsp + 0x44], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, 8
call fcn.1400208a0
movss xmm1, dword [rsp + 0x44]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x4c], xmm0
movss xmm2, dword [rsp + 0x48]
movss xmm1, dword [rsp + 0x4c]
lea rcx, [rsp + 0x60]
call fcn.14000fbc0
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call fcn.140016840
movss xmm0, dword [rsp + 0x98]
ucomiss xmm0, dword [0x1400c1e04]
jp 0x140020829
je 0x140020850
mov ecx, 0xe
call fcn.140023460
movzx eax, al
test eax, eax
je 0x140020850
movss xmm1, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x80]
call fcn.1400167f0
movss xmm0, dword [rsp + 0xa0]
ucomiss xmm0, dword [0x1400c1e04]
jp 0x140020864
je 0x14002088b
mov ecx, 0xf
call fcn.140023460
movzx eax, al
test eax, eax
je 0x14002088b
movss xmm1, dword [rsp + 0xa0]
mov rcx, qword [rsp + 0x80]
call fcn.1400167f0
mov rax, qword [rsp + 0x80]
add rsp, 0x78
ret
Function at 0x1400215c0
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
sub rsp, 0x28
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.1400819a0
add rsp, 0x28
ret

Function at 0x140021860
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x1400c30d0]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x10], 0
je 0x1400218ee
mov eax, dword [rsp]
shr eax, 8
mov ecx, dword [rsp]
and ecx, 0xff
mov rdx, qword [rsp + 8]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x18]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
mov eax, dword [rsp + 4]
mov dword [rsp], eax
jmp 0x140021892
mov eax, dword [rsp]
not eax
add rsp, 0x28
ret
Function at 0x140021900
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x1400c30d0]
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x38], 0
je 0x140021a04
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x18], 0
je 0x1400219ff
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 2], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 2]
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
cmp eax, 0x23
jne 0x1400219d4
cmp qword [rsp + 0x38], 2
jb 0x1400219d4
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1400219d4
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1400219d4
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp + 1]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x140021947
jmp 0x140021a96
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 3], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 3]
mov byte [rsp], al
movzx eax, byte [rsp]
test eax, eax
je 0x140021a96
movzx eax, byte [rsp]
cmp eax, 0x23
jne 0x140021a6c
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140021a6c
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140021a6c
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x140021a04
mov eax, dword [rsp + 4]
not eax
add rsp, 0x28
ret
Function at 0x14004fcf0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x78
mov rax, qword [0x1400f20b8]
xor rax, rsp
mov qword [rsp + 0x60], rax
call fcn.1400204b0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1400f2fe8]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x54]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm0, eax
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x50]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rsp + 0x3c]
call fcn.14000fbc0
mov rax, qword [rax]
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 8], rax
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [0x1400f2ff0]
mov rcx, qword [rsp + 0x58]
sub rcx, rax
mov rax, rcx
cvtsi2ss xmm0, rax
cvtsi2ss xmm1, qword [0x1400f2ff8]
divss xmm0, xmm1
mov rax, qword [rsp + 0x20]
movss dword [rax + 0x10], xmm0
mov rax, qword [rsp + 0x58]
mov qword [0x1400f2ff0], rax
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14004fdbc
mov dword [rsp + 0x28], 1
jmp 0x14004fdc4
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x20]
movzx ecx, byte [rsp + 0x28]
mov byte [rax + 0x138], cl
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14004fdf3
mov dword [rsp + 0x2c], 1
jmp 0x14004fdfb
mov dword [rsp + 0x2c], 0
mov rax, qword [rsp + 0x20]
movzx ecx, byte [rsp + 0x2c]
mov byte [rax + 0x139], cl
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14004fe2a
mov dword [rsp + 0x30], 1
jmp 0x14004fe32
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x20]
movzx ecx, byte [rsp + 0x30]
mov byte [rax + 0x13a], cl
mov rax, qword [rsp + 0x20]
mov byte [rax + 0x13b], 0
call fcn.140050660
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0xc0]
test eax, eax
je 0x14004fe6d
mov dword [rsp + 0x34], 0xffffffff
jmp 0x14004fe76
call fcn.1400205c0
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
cmp dword [0x1400f2058], eax
je 0x14004fe99
mov eax, dword [rsp + 0x38]
mov dword [0x1400f2058], eax
call fcn.140050530
call fcn.14004fec0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14005ef30
add rsp, 0x78
ret