joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a6090
Capabilities:
Check if file exists
Delete file

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, r8
mov rdi, rcx
test edx, edx
je 0x1400a60f6
xor eax, eax
xor ecx, ecx
cmp edx, 2
setne al
sete cl
lea r8d, [rax + rax*2]
mov eax, 0x40000000
mov edx, 0x80000000
cmove edx, eax
mov eax, 3
sub eax, ecx
shl ecx, 7
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x30], 0
xor r9d, r9d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rcx, rax
mov qword [rsi], rcx
xor eax, eax
cmp rcx, 0xffffffffffffffff
setne al
jmp 0x1400a6136
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x1400a612d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x1400a612d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14009f6e8
lea rcx, str.Unable_to_delete__s:__s
mov rdx, rdi
mov r8, rax
call fcn.14009c3c2
mov qword [rsi], 0xffffffffffffffff
xor eax, eax
add rsp, 0x38
pop rdi
pop rsi
ret

Function at 0x1400a713c
Capabilities:
Get common file path
Set current directory

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x138
mov ebp, r9d
mov esi, r8d
mov rbx, rdx
mov rdi, rcx
mov rax, qword [0x14002e420]
mov qword [rsp + 0x130], rax
test esi, esi
je 0x1400a7184
lea rdx, [rsp + 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
dec eax
xor ecx, ecx
cmp eax, 0x102
cmova esi, ecx
jmp 0x1400a7186
xor esi, esi
mov dword [rbx], 0x88
xor eax, eax
test rdi, rdi
je 0x1400a719a
cmp byte [rdi], 0
cmovne rax, rdi
mov qword [rbx + 0x50], rax
mov rcx, rbx
test ebp, ebp
je 0x1400a71ad
call qword [sym.imp.COMDLG32.dll_GetSaveFileNameA]
jmp 0x1400a71b3
call qword [sym.imp.COMDLG32.dll_GetOpenFileNameA]
mov ebx, eax
test rdi, rdi
je 0x1400a71d4
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
dec eax
cmp eax, 0x103
jb 0x1400a71d4
mov byte [rdi], 0
test esi, esi
je 0x1400a71e3
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov rcx, qword [rsp + 0x130]
call fcn.1400a8e70
mov eax, ebx
add rsp, 0x138
pop rbx
pop rbp
pop rdi
pop rsi
ret
Function at 0x1400b4148
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 0x1400b3f1c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400b3f1c
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400b3f1c
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400b3f1c
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400b3f1c
cmp dword [rcx + 0x84], 0xe
jbe 0x1400b3f1c
cmp dword [rcx + 0xf8], esi
je 0x1400b3f1c
mov ecx, r14d
call fcn.1400b4064
mov ecx, 2
call fcn.1400bbb54
nop
cmp byte [0x14002cbc0], 0
jne 0x1400b3fe6
mov r15d, 1
mov eax, r15d
xchg dword [0x14002cbb0], eax
test ebx, ebx
jne 0x1400b3f8f
mov rdi, qword [0x14002e420]
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 [0x14002cbb8]
cmp rcx, rax
je 0x1400b3f86
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [section..00cfg]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x14002ccd8]
jmp 0x1400b3f9b
cmp ebx, r15d
jne 0x1400b3fa1
lea rcx, [0x14002ccf0]
call fcn.1400b4974
nop
test ebx, ebx
jne 0x1400b3fb8
lea rdx, [0x140002078]
lea rcx, [0x140002058]
call fcn.1400b4e34
lea rdx, [0x140002088]
lea rcx, [0x140002080]
call fcn.1400b4e34
movzx eax, byte [0x14002cbc0]
test esi, esi
cmove eax, r15d
mov byte [0x14002cbc0], al
jmp 0x1400b3fe6
mov ecx, 2
call fcn.1400bbba8
test esi, esi
jne 0x1400b3ffd
mov ecx, r14d
call fcn.1400b4018
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 0x1400b3eac

Function at 0x1400b93d0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rcx
neg rcx
test rax, 7
je 0x1400b93ed
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x1400b9448
test al, 7
jne 0x1400b93e0
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x1400b9401
mov rdx, qword [rax - 8]
test dl, dl
je 0x1400b9472
test dh, dh
je 0x1400b946c
shr rdx, 0x10
test dl, dl
je 0x1400b9466
test dh, dh
je 0x1400b9460
shr rdx, 0x10
test dl, dl
je 0x1400b945a
test dh, dh
je 0x1400b9454
shr edx, 0x10
test dl, dl
je 0x1400b944e
test dh, dh
jne 0x1400b9401
lea rax, [rcx + rax - 1]
ret
lea rax, [rcx + rax - 2]
ret
lea rax, [rcx + rax - 3]
ret
lea rax, [rcx + rax - 4]
ret
lea rax, [rcx + rax - 5]
ret
lea rax, [rcx + rax - 6]
ret
lea rax, [rcx + rax - 7]
ret
lea rax, [rcx + rax - 8]
ret
Function at 0x1400bfac8
Capabilities:
Create thread
Print debug messages

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, 0x50
mov esi, r8d
mov r14, rdx
mov rbx, rcx
call fcn.1400bba40
mov bpl, al
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor edi, edi
test eax, eax
je 0x1400bfb1b
test rbx, rbx
je 0x1400bfb0c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test bpl, bpl
je 0x1400bfb1b
mov edi, 4
jmp 0x1400bfbc4
call fcn.1400bb848
test al, al
jne 0x1400bfb38
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb edi, edi
neg edi
add edi, 3
jmp 0x1400bfbc4
test bpl, bpl
je 0x1400bfb9b
mov qword [rsp + 0x28], rdi
lea r9, [rsp + 0x30]
lea r8, [0x1400bfaa0]
mov dword [rsp + 0x20], edi
xor edx, edx
mov qword [rsp + 0x30], r14
xor ecx, ecx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x44], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400bfbc4
xor r8d, r8d
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
mov rcx, rbx
test eax, eax
je 0x1400bfb95
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400bfbc4
mov edi, dword [rsp + 0x44]
jmp 0x1400bfb8d
call fcn.1400bb96c
test al, al
jne 0x1400bfbac
bts esi, 0x15
xor ecx, ecx
jmp 0x1400bfbb4
call fcn.1400bb8a4
mov rcx, rax
mov r9d, esi
mov r8, r14
mov rdx, rbx
call fcn.1400bb7c0
mov edi, eax
mov rbx, qword [rsp + 0x60]
mov eax, edi
mov rdi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop r14
ret
Function at 0x1400c14a0
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x1400c1340
call fcn.1400bcc50
mov dword [rax], 0x16
call fcn.1400bc674
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1400c1328
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x1400c1328
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x1400c1372
lock or dword [rax + 0x14], 0x10
jmp 0x1400c1328
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x1400c138f
mov rcx, qword [rbp + 0x10]
call fcn.1400c494c
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.1400be270
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.1400c20f4
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x1400c13e6
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x1400c1328
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x1400c1452
mov rcx, qword [rbp + 0x10]
call fcn.1400be270
cmp eax, 0xffffffff
je 0x1400c1439
mov rcx, qword [rbp + 0x10]
call fcn.1400be270
cmp eax, 0xfffffffe
je 0x1400c1439
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.1400be270
movsxd rdi, eax
lea rsi, [0x14002d2d0]
mov rcx, rbx
sar rdi, 6
call fcn.1400be270
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x1400c1440
lea rax, [0x14002eac0]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1400c1452
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x1400c1488
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x1400c1484
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x1400c1484
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x1400c132b
jmp 0x1400c12f8
Function at 0x100eb4f40
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x100eb4f4d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x100eb4f5d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x100eb4f45
lea eax, [rcx + 1]
jmp 0x100eb4f6b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x100eb4f7e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x100eb4f64
sub eax, 3
jb 0x100eb4f9e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x100eb4fed
sar eax, 1
movsxd rbp, eax
jb 0x100eb4fd4
jmp 0x100eb4fac
add ebx, ebx
jne 0x100eb4faa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x100eb4fd4
inc ecx
add ebx, ebx
jne 0x100eb4fba
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x100eb4fd4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x100eb4fcd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x100eb4fbc
add ecx, 2
jmp 0x100eb4fd9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.100eb4f02
jmp 0x100eb4f4d
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xeb0000]
mov eax, dword [rdi]
or eax, eax
je 0x100eb5049
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xec70dc]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x100eb4ff9
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x100eb5043
mov qword [rbx], rax
add rbx, 8
jmp 0x100eb5019
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.100eb50cc], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.100eb50cc
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x100eb50bc
sub rsp, 0xffffffffffffff80
jmp 0x100003210

Function at 0x1400029f0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002a3a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002a3a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002a3a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002a3a
cmp dword [rcx + 0x84], 0xe
jbe 0x140002a3a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002a3c
xor al, al
add rsp, 0x28
ret
Function at 0x140002fd0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x14004b040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, rcx
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140003044
nop dword [rax]
mov rdx, rdi
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov rcx, rbx
test eax, eax
je 0x140003070
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140003020
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14003c2a0
mov rbx, qword [rsp + 0x178]
add rsp, 0x160
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
mov dword [0x14004b780], eax
jmp 0x14000304f
Function at 0x14000d5d0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [0x14004b788]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x14004b950]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x14004b7c8]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x14000d697
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x14000d697
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x14000d692
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x14000d670
cmp r8d, 0x94c486dd
je 0x14000d69c
test r9d, r9d
jne 0x14000d650
mov rax, qword [rax]
jmp 0x14000d620
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov rcx, qword [0x14004b958]
add rax, r10
call rax
xor edx, edx
lea rcx, [0x14003e908]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.USER32.dll_UnregisterClassA]
Function at 0x14000e290
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x14004b040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rcx
mov qword [rsp + 0x38], rcx
mov eax, dword [0x1400434e0]
mov dword [rsp + 0x20], eax
cmp byte [0x1400434e3], 0
je 0x14000e380
cmp dword [0x14004b090], 2
jl 0x14000e344
movdqa xmm3, xmmword [0x140044760]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x140044d10]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x140044d10]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x140044780]
psubd xmm3, xmm0
andps xmm3, xmmword [0x140044790]
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmmword [0x1400447d0]
movd xmm0, eax
xorps xmm3, xmm0
movd dword [rsp + 0x20], xmm3
jmp 0x14000e380
lea r9, [rsp + 0x20]
xor r8d, r8d
nop dword [rax]
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x36
movzx eax, r8b
sub al, dl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jl 0x14000e350
lea rdx, [rsp + 0x20]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000fff0
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movzx eax, word [0x14003eaa8]
mov word [rsp + 0x20], ax
cmp byte [0x14003eaa9], 0
je 0x14000e3b7
mov byte [rsp + 0x20], 0x2a
xor byte [rsp + 0x21], 0x35
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.140010290
nop
mov rdx, rax
mov rcx, rbx
call fcn.140010430
nop
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x14000e405
nop dword [rax + rax]
mov rbx, qword [rcx]
mov edx, 0x20
call fcn.14003c2c0
mov rcx, rbx
test rbx, rbx
jne 0x14000e3f0
mov edx, 0x20
mov rcx, qword [rsp + 0x28]
call fcn.14003c2c0
movzx eax, word [0x140043494]
mov word [rsp + 0x20], ax
movzx eax, byte [0x140043496]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov byte [rsp + 0x20], 0x5d
xor byte [rsp + 0x21], 0x35
xor al, 0x36
mov byte [rsp + 0x22], al
lea rdx, [rsp + 0x20]
call fcn.14000fff0
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14000e455
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140010630
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14000e49c
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14000e497
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000e4c7
mov rcx, r8
call fcn.14003c2c0
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14003c2a0
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140012900
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 0x14001295d
lea rbx, [0x14003edc0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140012944
cmp r10, 2
jb 0x140012944
cmp byte [r9], r8b
jne 0x140012944
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 0x140012920
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14001299f
lea rbx, [0x14003edc0]
cmp r8b, 0x23
jne 0x140012983
cmp byte [r9], r8b
jne 0x140012983
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 0x140012970
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140012ae0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140012afa
mov qword [r8], 0
lea rdx, [0x14004411c]
call fcn.1400129b0
mov rbx, rax
test rax, rax
jne 0x140012b1a
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 0x140012bf3
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140012bf3
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140012bf3
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 0x140012bf3
cmp rdi, 0xffffffffffffffff
je 0x140012bf3
mov rax, qword [0x14004b898]
test rax, rax
je 0x140012b90
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140012bf3
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 0x140012be0
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14004b898]
test rax, rax
je 0x140012bd5
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140012bfc
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140012bee
mov qword [r14], rdi
mov rax, rsi
jmp 0x140012bfe
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 0x140015870
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0xf0]
lea r8, [0x14003edc0]
movsxd rcx, dword [rcx + 0xe8]
mov r11d, edx
shr r11d, 0x18
mov r9d, edx
shr r9d, 8
mov r10d, edx
shr r10d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r10b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, r11
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
mov rcx, qword [0x14004b898]
not ebx
cmp dword [rcx + 0x3ee8], ebx
jne 0x140015905
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.1400271b0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140020fe0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14004b040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14004b898]
mov edi, ecx
cmp byte [rbx + 0x4a2d], 0
jne 0x140021041
cmp byte [rbx + 0x4a2e], 0
jne 0x140021041
movsx r9d, word [rbx + 0x5b2a]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140012880
test dil, 1
je 0x140021168
jmp 0x1400210cc
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5b2a]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140044674]
mov edx, 0x10
mulss xmm1, dword [0x140044668]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x4790], rax
mov dword [rbx + 0x477c], 1
movss dword [rbx + 0x4788], xmm0
movss dword [rbx + 0x478c], xmm1
movss xmm0, dword [rbx + 0x38f4]
mulss xmm0, dword [0x140044568]
or dword [rbx + 0x4778], 0x41
movss dword [rbx + 0x47d8], xmm0
call fcn.140012880
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140021120
lea r11, [0x14003edc0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140021103
cmp byte [r8], r9b
jne 0x140021103
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 0x1400210f0
not ecx
call fcn.140018fa0
test rax, rax
je 0x140021168
cmp byte [rax + 0xae], 0
je 0x140021168
mov byte [rax + 0xb5], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b2a]
mov edx, 0x10
movsx r9d, word [rbx + 0x5b2a]
call fcn.140012880
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14001b6d0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14003c2a0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret