joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400de200
Capabilities:
Check mutex on windows

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x30
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, [0x1402c1460]
mov dword [rsp + 0x2c], eax
lea rcx, [rsp + 0x2c]
lea r9, [rsp + 0x30]
movzx eax, byte [rcx]
add rcx, 1
add rdx, 2
mov r8d, eax
and eax, 0xf
shr r8b, 4
add eax, 0x61
add r8d, 0x41
mov byte [rdx - 1], al
mov byte [rdx - 2], r8b
cmp rcx, r9
jne 0x1400de223
lea rax, [0x1402c1468]
mov ecx, 0x5f
lea rdx, str.__shmem3_winpthreads_tdm_
lea r8, [rax + 0x1a]
jmp 0x1400de26b
movzx ecx, byte [rdx]
add rax, 1
add rdx, 1
mov byte [rax - 1], cl
cmp rax, r8
jne 0x1400de268
lea rax, [0x1402c14a0]
mov ecx, 0x5f
lea rdx, str.__shmem3_winpthreads_tdm_
lea r8, [rax + 0x19]
jmp 0x1400de29b
movzx ecx, byte [rdx]
add rax, 1
add rdx, 1
mov byte [rax - 1], cl
cmp rax, r8
jne 0x1400de298
xor ecx, ecx
mov byte [0x1402c14b9], 0x2d
movabs rax, 0x6161616161616161
movabs rdx, 0x6161616161616161
mov qword [0x1402c14c2], rdx
lea r8, [0x1402c1460]
lea rbx, [0x1402c14ba]
mov qword [0x1402c14d2], rdx
mov qword [0x1402c14e2], rdx
mov qword [0x1402c14f2], rdx
xor edx, edx
mov qword [0x1402c14ba], rax
mov qword [0x1402c14ca], rax
mov qword [0x1402c14da], rax
mov qword [0x1402c14ea], rax
mov byte [0x1402c14fa], 0
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edx, 0xffffffff
mov r12, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1400de476
lea rcx, [0x1402c14a0]
call qword [sym.imp.KERNEL32.dll_FindAtomA]
test ax, ax
jne 0x1400de3c1
lea rsi, [0x1402c13a0]
lea r8, [0x1402c14fa]
mov rax, rbx
lea ecx, [rbx + 0x40]
nop dword [rax]
mov edx, ecx
sub edx, eax
bt rsi, rdx
jae 0x1400de36d
mov byte [rax], 0x41
add rax, 1
cmp r8, rax
jne 0x1400de360
lea rcx, [0x1402c14a0]
call qword [sym.imp.KERNEL32.dll_AddAtomA]
test ax, ax
je 0x1400de463
lea rcx, [0x1400de110]
mov qword [0x1402c13a0], rsi
call sub.msvcrt.dll__onexit
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [0x1402c13a0]
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
mov r8d, 0x5b
lea rdx, [0x1402c14a0]
movzx ecx, ax
call qword [sym.imp.KERNEL32.dll_GetAtomNameA]
lea r8, [0x1402c14fa]
xor edx, edx
lea r10d, [rbx + 0x40]
mov r11d, eax
mov r9d, 1
mov rax, rbx
test r11d, r11d
je 0x1400de496
nop dword [rax]
cmp byte [rax], 0x41
jne 0x1400de413
mov ecx, r10d
mov rbx, r9
sub ecx, eax
shl rbx, cl
or rdx, rbx
add rax, 1
cmp r8, rax
jne 0x1400de400
mov rax, rdx
mov qword [0x1402c13a0], rax
lea rsi, [0x1402c13a0]
jmp 0x1400de439
cmp rdx, rsi
je 0x1400de39f
mov rdx, rax
mov rax, qword [rax + 8]
test rax, rax
jne 0x1400de430
cmp rdx, rsi
je 0x1400de39f
mov qword [rdx + 8], rsi
lea rcx, [0x1400de110]
call sub.msvcrt.dll__onexit
jmp 0x1400de39f
lea rcx, str.failed_to_add_string_to_atom_table_n
call fcn.1400de080
xor eax, eax
jmp 0x1400de3b8
lea rcx, str.failed_to_to_lock_creation_mutex_n
call fcn.1400de080
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
lea rcx, str.failed_to_get_string_from_atom_n
call fcn.1400de080
xor eax, eax
jmp 0x1400de41f
Function at 0x1400010fc
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x530
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x140001167
and qword [rsp + 0x38], 0
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x50]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov r8, rbx
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
jmp 0x140001187
mov rax, qword [rsp + 0x538]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x538]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add rsp, 0x530
pop rbx
ret
Function at 0x14000160c
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rdi
mov qword [rsp + 0x10], r12
push r13
sub rsp, 0xb0
and dword [rsp + 0x20], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
xor r12d, r12d
xor eax, eax
lock cmpxchg qword [0x1400058f8], rdi
je 0x140001667
cmp rax, rdi
jne 0x14000165a
mov r12d, 1
jmp 0x140001667
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001640
mov eax, dword [0x1400058f0]
cmp eax, 1
jne 0x14000167c
lea ecx, [rax + 0x1e]
call sub.msvcrt.dll__amsg_exit
jmp 0x1400016e1
mov eax, dword [0x1400058f0]
test eax, eax
jne 0x1400016d7
mov dword [0x1400058f0], 1
lea r13, [0x140003230]
lea rdi, [0x140003218]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x24], eax
cmp rdi, r13
jae 0x1400016c9
test eax, eax
jne 0x1400016c9
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400016be
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x1400016a7
test eax, eax
je 0x1400016e1
mov eax, 0xff
jmp 0x14000182e
mov dword [0x14000534c], 1
mov eax, dword [0x1400058f0]
cmp eax, 1
jne 0x140001709
lea rdx, [0x140003210]
lea rcx, [0x140003200]
call sub.msvcrt.dll__initterm
mov dword [0x1400058f0], 2
test r12d, r12d
jne 0x140001717
xor eax, eax
xchg qword [0x1400058f8], rax
cmp qword [0x140005900], 0
je 0x140001740
lea rcx, [0x140005900]
call fcn.140001b48
test eax, eax
je 0x140001740
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x140005900]
mov rcx, qword [sym.imp.msvcrt.dll__wcmdln]
cmp qword [rcx], 0
jne 0x140001757
mov eax, 0xff
jmp 0x14000182e
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
ja 0x1400017e0
cmp word [rcx], 0
je 0x140001773
test edx, edx
jne 0x1400017e0
cmp word [rcx], 0
je 0x14000178a
cmp word [rcx], 0x20
ja 0x14000178a
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x140001773
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140001f50
mov dword [0x140005348], eax
cmp dword [0x14000532c], 0
jne 0x1400017c9
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14000534c], 0
jne 0x1400017de
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140005348]
jmp 0x14000182e
cmp word [rcx], 0x22
jne 0x1400017f3
xor eax, eax
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x140001763
lea r11, [rsp + 0xb0]
mov rdi, qword [r11 + 0x10]
mov r12, qword [r11 + 0x18]
mov rsp, r11
pop r13
ret
sub rsp, 0x28
call fcn.140095000
add rsp, 0x28
jmp 0x14000160c

Function at 0x140001bc0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x140001c0a
cmp rcx, 0xffffffffffffffff
je 0x140001c0a
cmp word [rcx], 0x5a4d
jne 0x140001c02
cmp dword [rcx + 0x3c], edx
jl 0x140001c02
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140001c02
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140001c0a
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140001d10
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0xdf0]
sub rsp, 0xef0
mov qword [rsp + 0x40], 0x100
lea rax, [rbp + 0x5e0]
mov qword [rsp + 0x38], rax
lea r9, [rbp - 0x40]
lea rax, [rbp + 0x7e0]
mov qword [rsp + 0x30], 0x100
movzx edi, dl
mov qword [rsp + 0x28], rax
mov r8d, 3
mov qword [rsp + 0x20], 0x100
lea rdx, [rbp + 0xe10]
call fcn.1400012d4
call fcn.140002420
mov ebx, eax
lea rcx, str.idmtdi64.sys
lea rax, str.idmwfp64.sys
cmp ebx, 0x6000000
lea r9, [rbp - 0x40]
cmovae rcx, rax
lea r8, [rbp + 0xe10]
mov qword [rsp + 0x20], rcx
lea rdx, str._s_s_s
lea rcx, [rbp + 0x3d0]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, str.idmwfp.inf
cmp ebx, 0x6000000
lea rax, str.idmtdi.inf
cmovae rax, rcx
lea r9, [rbp - 0x40]
lea rcx, [rbp + 0x1c0]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0xe10]
lea rdx, str._s_s_s
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rbp + 0x3d0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140001e12
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x140001e2f
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140001e36
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x140001e36
xor al, al
jmp 0x140001ef5
lea rax, str.DefaultInstall
test dil, dil
lea r8, str.DefaultUninstall
cmovne r8, rax
lea r9, [rbp + 0x1c0]
lea rdx, str.SETUPAPI.DLL_InstallHinfSection__s_128__s
lea rcx, [rbp + 0x9e0]
call qword [sym.imp.USER32.dll_wsprintfW]
xorps xmm0, xmm0
lea rax, str.open
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x60], rax
lea rax, str.RUNDLL32.EXE
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x68], rax
xor eax, eax
movups xmmword [rbp - 0x80], xmm0
mov dword [rbp - 0x80], eax
movups xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x78], rax
movups xmmword [rbp - 0x70], xmm0
mov dword [rsp + 0x50], 0x70
movups xmmword [rbp - 0x60], xmm0
mov dword [rsp + 0x54], 0x40
movups xmmword [rbp - 0x50], xmm0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x50]
lea rax, [rbp + 0x9e0]
mov qword [rsp + 0x70], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x140001ef3
mov rcx, qword [rbp - 0x48]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov al, 1
lea r11, [rsp + 0xef0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140002420
Capabilities:
Check os version

Disassembly:
sub rsp, 0x148
mov eax, dword [0x1400058d0]
test eax, eax
jne 0x1400024b8
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1400024b6
cmp dword [rsp + 0x30], 2
jne 0x1400024b6
mov edx, dword [rsp + 0x24]
movzx r8d, word [rsp + 0x134]
mov r9d, dword [rsp + 0x28]
mov eax, r8d
shl edx, 8
or edx, r9d
shl eax, 8
shl edx, 0x10
or edx, eax
movzx eax, word [rsp + 0x136]
or edx, eax
cmp dword [rsp + 0x24], 6
mov eax, edx
mov dword [0x1400058d0], edx
jne 0x1400024b8
test r9d, r9d
jne 0x1400024b8
test r8w, r8w
jne 0x1400024b8
cmp byte [rsp + 0x13a], 1
je 0x1400024b8
bts eax, 8
mov dword [0x1400058d0], eax
add rsp, 0x148
ret
xor eax, eax
add rsp, 0x148
ret
Function at 0x140001827
Capabilities:
Enumerate processes

Disassembly:
push rbp
sub rsp, 0x1b0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x140], rcx
mov qword [rbp + 0x120], 0
mov dword [rbp - 0x10], 0x130
mov edx, 0
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rbp + 0x128], rax
lea rdx, [rbp - 0x10]
mov rax, qword [rbp + 0x128]
mov rcx, rax
call sub.KERNEL32.dll_Process32First
cmp eax, 1
sete al
test al, al
je 0x1400019c4
jmp 0x1400019a3
mov rax, qword [rbp + 0x140]
lea rdx, [rbp - 0x10]
lea rcx, [rdx + 0x2c]
mov rdx, rax
call sub.msvcrt.dll__stricmp
test eax, eax
sete al
test al, al
je 0x1400019a3
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call rax
mov ecx, eax
lea rax, [rbp - 0x14]
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
call rax
mov eax, dword [rbp - 8]
mov ecx, eax
call fcn.140001701
mov edx, eax
mov eax, dword [rbp - 0x14]
cmp edx, eax
sete al
test al, al
je 0x1400019a3
mov qword [rbp - 0x28], 0
mov eax, dword [rbp - 8]
mov ecx, eax
call fcn.1400014a4
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x60], 0x30
mov qword [rbp - 0x58], 0
mov dword [rbp - 0x48], 0
mov qword [rbp - 0x50], 0
mov qword [rbp - 0x40], 0
mov qword [rbp - 0x38], 0
mov r10, qword [0x1400ee080]
lea rcx, [rbp - 0x30]
lea rdx, [rbp - 0x60]
lea rax, [rbp + 0x120]
mov r9, rcx
mov r8, rdx
mov edx, 0x1fffff
mov rcx, rax
call r10
mov rax, qword [rbp + 0x120]
test rax, rax
je 0x140001987
mov rax, qword [rbp + 0x120]
cmp rax, 0xffffffffffffffff
je 0x140001987
mov rdx, qword [0x1400ee078]
mov rax, qword [rbp + 0x128]
mov rcx, rax
call rdx
mov rax, qword [rbp + 0x120]
jmp 0x1400019de
mov rdx, qword [0x1400ee078]
mov rax, qword [rbp + 0x128]
mov rcx, rax
call rdx
mov rax, 0xffffffffffffffff
jmp 0x1400019de
lea rdx, [rbp - 0x10]
mov rax, qword [rbp + 0x128]
mov rcx, rax
call sub.KERNEL32.dll_Process32Next
cmp eax, 1
sete al
test al, al
jne 0x14000188c
mov rdx, qword [0x1400ee078]
mov rax, qword [rbp + 0x128]
mov rcx, rax
call rdx
mov rax, 0xffffffffffffffff
add rsp, 0x1b0
pop rbp
ret
Function at 0x1400136e0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.14001dbc0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.14001dbc0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140013750
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400ee144]
mov rbx, rcx
test esi, esi
jle 0x140013880
mov rax, qword [0x1400ee148]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14001379b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140013825
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140013780
mov rcx, rbx
call fcn.1400141a0
mov rdi, rax
test rax, rax
je 0x1400138a2
mov rax, qword [0x1400ee148]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.1400142e0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400ee148]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140013887
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14001381e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140013830
add dword [0x1400ee144], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400ee148]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14001381e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400136e0
nop dword [rax]
xor esi, esi
jmp 0x1400137a8
mov rax, qword [0x1400ee148]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1400136e0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.1400136e0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140013e10
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1400ee1a0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400ee180]
test rbx, rbx
je 0x140013e6c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140013e63
test rsi, rsi
je 0x140013e63
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140013e48
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1400141a0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400c86c0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400141c0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400141c8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400141c0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14001421d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140014214
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400141c0
add rax, 0x28
cmp rax, r9
jne 0x140014200
xor eax, eax
ret

Function at 0x140014220
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400c86c0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14001423f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140014248
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14001423f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1400142e0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400c86c0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400142ff
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140014308
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140081bb0
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [sym.imp.msvcrt.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
mov rcx, qword [rdi]
call sub.msvcrt.dll__fileno_1
mov ecx, eax
mov r8d, ebx
mov rdx, rsi
call sub.msvcrt.dll__read
movsxd rbp, eax
cmp eax, 0xffffffff
je 0x140081bf8
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call r12
cmp dword [rax], 4
je 0x140081bca
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x1400bc6b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1400c1320]
jmp 0x140014ff0

Function at 0x1400bc6c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1400c1320]
jmp 0x140014ff0
Function at 0x140003440
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 0x14000349d
lea rbx, [0x140039b90]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003484
cmp r10, 2
jb 0x140003484
cmp byte [r9], r8b
jne 0x140003484
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 0x140003460
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400034df
lea rbx, [0x140039b90]
cmp r8b, 0x23
jne 0x1400034c3
cmp byte [r9], r8b
jne 0x1400034c3
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 0x1400034b0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400035e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
xor r14d, r14d
mov rsi, r8
test r8, r8
je 0x1400035fe
mov qword [r8], r14
lea rdx, [0x1400396d0]
call fcn.1400034f0
mov rbx, rax
test rax, rax
jne 0x140003623
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x14000374d
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 0x14000374d
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14000374d
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000374d
cmp rdi, 0xffffffffffffffff
je 0x14000374d
mov rcx, rdi
call fcn.140007020
mov rbp, rax
test rax, rax
je 0x14000374d
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 0x14000373a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x140045818]
test r8, r8
je 0x14000372f
movsx rdx, word [r8 + 0x60f0]
lea rcx, [r8 + 0x60f4]
mov r9d, dword [r8 + 0x3f58]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140003724
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60f0], cx
movsx rax, cx
lea rcx, [r8 + 0x60f4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x60ec]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140003756
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x140003748
mov qword [rsi], rdi
mov rax, rbp
jmp 0x140003758
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140006b10
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x100]
lea r11, [0x140039b90]
mov rax, qword [rcx + 0x108]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x404c], ebx
jne 0x140006ba6
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.140019b40
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140013430
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140045010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140045818]
mov edi, ecx
cmp byte [rbx + 0x4d4d], 0
jne 0x140013491
cmp byte [rbx + 0x4d4e], 0
jne 0x140013491
movsx r9d, word [rbx + 0x5eb8]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140003250
test dil, 2
je 0x1400135bf
jmp 0x14001351a
movss xmm1, dword [rbx + 0x39bc]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5eb8]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14003ec4c]
mulss xmm1, dword [0x14003ec40]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe40]
addss xmm1, dword [rbx + 0xe44]
mov qword [rbx + 0x4a18], rax
mov dword [rbx + 0x4a04], 1
movss dword [rbx + 0x4a10], xmm0
movss dword [rbx + 0x4a14], xmm1
movss xmm0, dword [rbx + 0x3a18]
mulss xmm0, dword [0x14003ebc8]
or dword [rbx + 0x4a00], 0x41
movss dword [rbx + 0x4a60], xmm0
call fcn.140003250
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140013570
lea r11, [0x140039b90]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140013553
cmp byte [r8], r9b
jne 0x140013553
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 0x140013540
not ecx
call fcn.14000a1c0
test rax, rax
je 0x1400135bf
cmp byte [rax + 0xbe], 0
je 0x1400135bf
mov byte [rax + 0xc3], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xc5], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xe4], 1
mov edx, 0x10
inc word [rbx + 0x5eb8]
movsx r9d, word [rbx + 0x5eb8]
call fcn.140003250
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.14000cec0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140035ea0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret