joyce8/EMBER2024-capa huggingface dataset:
Function at 0x655a00
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov rbx, qword [0x00719750]
test rbx, rbx
je 0x655bd0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, esi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rbx, rbx
je 0x655bd0
mov rax, qword [rbx + 0x10]
lea rbp, [rsp + 0x20]
mov rdx, qword [rbx + 0x18]
lea rsi, [rsp + 0x30]
mov rcx, rbp
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rdx
call fcn.00655280
lea rax, [rbx + 0x38]
mov rcx, rsi
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
xchg qword [rax], rcx
test rcx, rcx
je 0x655acc
mov qword [rcx + 8], rsi
lea rdx, [rcx + 0x18]
xor eax, eax
mov rcx, 0xffffffffffffffff
lock cmpxchg qword [rdx], rcx
test rax, rax
mov rcx, rax
je 0x655ab7
call qword [sym.imp.KERNEL32.dll_SetEvent]
lea r12, [rsi + 0x10]
xor edi, edi
lock xadd qword [r12], rdi
test rdi, rdi
je 0x655be0
mov dword [rbx + 0x28], 6
mov r8, qword [rsp + 0x30]
lea rax, [rsi + 8]
xor edx, edx
lock xadd qword [rax], rdx
test rdx, rdx
mov rcx, rdx
je 0x655c20
add rcx, 0x10
xor eax, eax
mov rdx, 0xffffffffffffffff
lock cmpxchg qword [rcx], rdx
test rax, rax
mov rcx, rax
je 0x655b0f
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rax, qword [rbx + 0x178]
mov esi, 0xffffffff
mov rdi, qword [sym.imp.KERNEL32.dll_SetEvent]
test rax, rax
jne 0x655b4b
jmp 0x655b95
add r8, 8
mov eax, esi
xchg dword [r8], eax
mov rcx, qword [rdx + 0x20]
call rdi
mov rax, qword [rbx + 0x178]
test rax, rax
je 0x655b95
mov rdx, qword [rax]
mov r9, qword [rdx + 0x28]
mov r10, qword [rdx + 0x10]
mov qword [rdx + 0x10], rbx
mov rax, qword [r9 + 0x18]
test rax, rax
je 0x655b6b
mov rcx, qword [r9 + 0x10]
mov qword [rax + 0x10], rcx
mov rcx, qword [r9 + 0x10]
test rcx, rcx
je 0x655b78
mov qword [rcx + 0x18], rax
cmp r9, qword [r10 + 0x178]
mov r8, r9
jne 0x655b30
mov rax, qword [r9 + 0x18]
mov qword [r10 + 0x178], rax
mov r8, qword [rdx + 0x28]
jmp 0x655b30
cmp dword [rbx + 0x184], 1
jne 0x655bd0
mov rax, qword [rbx + 0x10]
mov rcx, rbp
mov rdx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rdx
call fcn.00654f80
mov rax, qword [0x00719750]
xor edx, edx
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop dword [rax]
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov r13, rax
mov rax, rdi
lock cmpxchg qword [r12], r13
test rax, rax
je 0x655c0f
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x655acc
mov edx, 0xffffffff
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x655c01
mov rax, rsi
lock cmpxchg qword [r8], rdx
cmp rsi, rax
je 0x655b0f
lea rcx, [rsi + 0x18]
lock xadd qword [rcx], rdx
test rdx, rdx
je 0x655c4f
add rsi, 8
xor ecx, ecx
lock xadd qword [rsi], rcx
jmp 0x655aef
call fcn.00654c80
jmp 0x655c3f
Function at 0x6590d0
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, qword [0x00719748]
test rbx, rbx
je 0x659132
mov esi, ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, edi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rbx, rbx
je 0x659132
test esi, esi
je 0x659117
mov rax, qword [rbx]
test rax, rax
je 0x659117
mov rcx, qword [rbx + 8]
call rax
mov rdx, qword [rbx + 0x10]
mov rcx, qword [0x00719748]
call fcn.00658c10
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

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

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rsi, qword [0x00719748]
test rsi, rsi
mov rbx, rcx
mov qword [rcx], rdx
mov qword [rcx + 8], r8
je 0x6591a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rsi]
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, ebp
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rsi, qword [0x00719748]
mov rdx, rbx
mov rcx, rsi
mov qword [rbx + 0x10], rdi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.00658c10
xor edi, edi
jmp 0x659180

Function at 0x6591b0
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov rsi, qword [0x00719750]
test rsi, rsi
mov rbx, rcx
je 0x659212
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rsi]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, edi
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rsi, rsi
je 0x659212
mov rdi, qword [rsi + 0x18]
mov rsi, qword [rsi + 0x10]
mov qword [rbx], rsi
mov qword [rbx + 8], rdi
mov rax, rbx
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea r12, [rsp + 0x40]
mov rcx, r12
call fcn.00656630
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
test rbp, rbp
mov rsi, rbp
je 0x6591f7
or byte [rbp + 0x194], 1
mov dword [rbp + 0x184], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r13, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rbp + 0x198], eax
call r13
mov r15, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov r14, rax
call r13
lea r9, [rbp + 8]
mov r8, r15
mov rdx, r14
mov rcx, rax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x6592c0
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov rcx, qword [0x00719750]
mov rdx, rbp
mov dword [rbp + 0x188], eax
call fcn.00658c10
jmp 0x6591f7
mov rcx, r12
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rdi
call fcn.00656490
mov qword [rbx], 0
mov dword [rbx + 8], 0
jmp 0x6591fe
Function at 0x6592f0
Capabilities:
Create thread
Resume thread

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
test rdx, rdx
mov r12, rcx
mov r14, r8
mov dword [rcx + 8], 0
mov r13, r9
je 0x659430
mov rbp, qword [rdx]
lea rdi, [rsp + 0x30]
mov rcx, rdi
call fcn.00656630
mov rbx, qword [rsp + 0x30]
mov r15, qword [rsp + 0x38]
test rbx, rbx
je 0x659400
mov ecx, 0x20
call sub.msvcrt.dll_malloc
test rax, rax
mov rsi, rax
je 0x659400
test rbp, rbp
mov qword [rax], rbx
mov qword [rax + 8], r15
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], r13
je 0x659460
mov eax, dword [rbp + 0x18]
mov r14, qword [rbp + 0x10]
mov r13d, dword [rbp + 0x1c]
mov dword [rbx + 0x184], eax
mov eax, dword [rbp + 0x20]
test eax, eax
je 0x659440
mov dword [rbx + 0x28], 0
xor ecx, ecx
mov r9, rsi
mov edx, r14d
lea rax, [rbx + 0x198]
mov qword [rbx + 0x58], 0
lea r8, [0x00659010]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
call qword [sym.imp.msvcrt.dll__beginthreadex]
test rax, rax
mov rbp, rax
mov qword [rbx + 8], rax
je 0x6594b0
mov r8d, r13d
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], r15
call fcn.006572a0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov qword [r12], rbx
xor eax, eax
mov qword [r12 + 8], r15
jmp 0x659417
mov rcx, rdi
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], r15
call fcn.00654f80
mov eax, 0xb
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
xor ebp, ebp
jmp 0x65931c
mov rcx, rdi
call fcn.006591b0
mov rax, qword [rsp + 0x30]
mov r13d, dword [rax + 0x188]
jmp 0x659386
mov dword [rbx + 0x28], 0
xor edx, edx
xor ecx, ecx
mov r9, rsi
lea rax, [rbx + 0x198]
mov qword [rbx + 0x58], 0
lea r8, [0x00659010]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
call qword [sym.imp.msvcrt.dll__beginthreadex]
test rax, rax
mov rbp, rax
mov qword [rbx + 8], rax
jne 0x6593e5
nop word [rax + rax]
mov rcx, rdi
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], r15
call fcn.00654f80
mov rcx, rsi
call sub.msvcrt.dll_free
mov eax, 0xb
jmp 0x659417

Function at 0x65fef0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
test rcx, rcx
je 0x65ff23
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, esi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rbx
add rsp, 0x28
pop rbx
pop rsi
ret
xor ebx, ebx
jmp 0x65ff19
Function at 0x65ff30
Capabilities:
Get thread local storage value

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
mov edi, ecx
mov rcx, qword [0x00719750]
call fcn.0065fef0
mov rsi, rax
mov dword [rax + 0x28], 5
lea eax, [rdi - 1]
cmp eax, 1
jbe 0x65ff68
mov ecx, 1
call sub.msvcrt.dll_exit
test byte [rsi + 0x194], 1
jne 0x65ffe2
mov rbx, qword [0x00719748]
test rbx, rbx
je 0x65ffd7
mov r13, qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbp, qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x65ffbf
mov r8, qword [rbx]
test r8, r8
je 0x65ffa3
mov rcx, qword [rbx + 8]
call r8
mov rdx, qword [rbx + 0x10]
mov rcx, qword [0x00719748]
call fcn.00658c10
mov rbx, qword [0x00719748]
test rbx, rbx
je 0x65ffd7
call r13
mov ecx, dword [rbx]
mov r14d, eax
call r12
mov ecx, r14d
mov rbx, rax
call rbp
test rbx, rbx
jne 0x65ff94
lea rcx, [rsi + 0x70]
mov edx, edi
call sub.msvcrt.dll_longjmp
or ecx, 0xffffffff
cmp edi, 2
jne 0x65fff9
cmp dword [0x00719758], 0
jne 0x65fffe
call qword [sym.imp.msvcrt.dll__endthreadex]
mov ecx, dword [rsi + 0x48]
jmp 0x65ffea
mov dword [rsp + 0x2c], ecx
call fcn.00655a00
mov ecx, dword [rsp + 0x2c]
jmp 0x65fff3
Function at 0x666550
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov esi, 1
test edx, edx
mov rbx, rcx
cmovg esi, edx
cmp edx, 0x3ffffff
jg 0x6665c8
movsxd rdx, dword [rcx]
movsxd r8, esi
shl r8, 3
test edx, edx
je 0x6665a8
mov rax, qword [0x006f1a40]
shl rdx, 3
mov rcx, qword [rcx + 8]
call qword [rax]
mov edx, dword [rbx + 4]
mov ecx, dword [rbx + 4]
sar edx, 0x1f
xor ecx, edx
sub ecx, edx
cmp ecx, esi
jg 0x6665f8
mov qword [rbx + 8], rax
mov dword [rbx], esi
add rsp, 0x28
pop rbx
pop rsi
ret
mov rax, qword [0x006f1a00]
mov rcx, r8
call qword [rax]
mov qword [rbx + 8], rax
mov dword [rbx], esi
add rsp, 0x28
pop rbx
pop rsi
ret
mov ecx, 2
call qword [fcn.006899e0]
lea rcx, str.gmp:_overflow_in_mpz_type_n
mov r9, rax
mov r8d, 0x1a
mov edx, 1
call sub.msvcrt.dll_fwrite
call sub.msvcrt.dll_abort
nop word [rax + rax]
mov dword [rbx + 4], 0
jmp 0x66659b

Function at 0x681c20
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, 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.006899e0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.006899e0
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]
Function at 0x681c90
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x00719d74]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x681e38
mov rax, qword [0x00719d78]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x681cdc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x681d67
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x681cc0
mov rcx, r12
call fcn.006829f0
mov rbp, rax
test rax, rax
je 0x681e72
mov rax, qword [0x00719d78]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call fcn.00682b20
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x00719d78]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x681e81
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x681d60
sub eax, 4
and eax, 0xfffffffb
jne 0x681df0
add dword [0x00719d74], 1
cmp ebx, 8
jae 0x681d98
test bl, 4
jne 0x681e40
test ebx, ebx
je 0x681d89
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x681e60
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x681d89
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x681dca
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
add rdi, qword [0x00719d78]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x681d60
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.00681c20
nop dword [rax]
xor edi, edi
jmp 0x681ce7
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x681d89
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x681d89
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.00681c20
mov rax, qword [0x00719d78]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call fcn.00681c20
nop
nop dword [rax]
Function at 0x682660
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x0071a060]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x0071a040]
test rbx, rbx
je 0x6826b4
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x6826ab
test r12, r12
je 0x6826ab
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x682690
lea rcx, [0x0071a060]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x6829f0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x006f1a70]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x682a69
mov rcx, r10
call fcn.006828c0
test eax, eax
je 0x682a69
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x682a66
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x682a5d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x682a69
add r8, 0x28
cmp r8, r9
jne 0x682a48
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret
Function at 0x1400074e0
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 0x14000753d
lea rbx, [0x14003a040]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140007524
cmp r10, 2
jb 0x140007524
cmp byte [r9], r8b
jne 0x140007524
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 0x140007500
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000757f
lea rbx, [0x14003a040]
cmp r8b, 0x23
jne 0x140007563
cmp byte [r9], r8b
jne 0x140007563
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 0x140007550
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400076c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1400076da
mov qword [r8], 0
lea rdx, [0x140039d9c]
call fcn.140007590
mov rbx, rax
test rax, rax
jne 0x1400076fa
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 0x1400077d1
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 0x1400077d1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400077d1
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 0x1400077d1
cmp rdi, 0xffffffffffffffff
je 0x1400077d1
mov rax, qword [0x140045b48]
test rax, rax
je 0x14000776e
inc dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1400077d1
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 0x1400077be
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140045b48]
test rax, rax
je 0x1400077b3
dec dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400077da
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x1400077cc
mov qword [r14], rdi
mov rax, rsi
jmp 0x1400077dc
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 0x1400095f0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xc8]
mov rax, qword [rcx + 0xd0]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x14003a040]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov rax, qword [0x140045b48]
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rax + 0x3e74], ebx
jne 0x14000967d
mov dword [rax + 0x3e78], ebx
cmp dword [rax + 0x3ec0], ebx
jne 0x14000968c
mov byte [rax + 0x3ec4], 1
cmp dword [rax + 0x3e5c], ebx
jne 0x1400096a3
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.14001a970
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140014850
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140045040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140045b48]
mov edi, ecx
cmp byte [rbx + 0x41cd], 0
jne 0x1400148b1
cmp byte [rbx + 0x41ce], 0
jne 0x1400148b1
movsx r9d, word [rbx + 0x52ae]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140007460
test dil, 1
je 0x1400149d8
jmp 0x14001493a
movss xmm1, dword [rbx + 0x3830]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x52ae]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14003e98c]
mulss xmm1, dword [0x14003e980]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xd0c]
addss xmm1, dword [rbx + 0xd10]
mov qword [rbx + 0x3f48], rax
mov dword [rbx + 0x3f34], 1
movss dword [rbx + 0x3f40], xmm0
movss dword [rbx + 0x3f44], xmm1
movss xmm0, dword [rbx + 0x388c]
mulss xmm0, dword [0x14003e908]
or dword [rbx + 0x3f30], 0x41
movss dword [rbx + 0x3f90], xmm0
call fcn.140007460
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140014990
lea r11, [0x14003a040]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140014973
cmp byte [r8], r9b
jne 0x140014973
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 0x140014960
not ecx
call fcn.14000e130
test rax, rax
je 0x1400149d8
cmp byte [rax + 0x8e], 0
je 0x1400149d8
mov byte [rax + 0x95], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x52ae]
mov edx, 0x10
movsx r9d, word [rbx + 0x52ae]
call fcn.140007460
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.1400107f0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140036820
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x1400196c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5360], 0
lea rbx, [rcx + 0x5368]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140019767
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001971a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001b740
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140007be0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5360]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5370]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140045b40]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001976f
mov rcx, rbx
call fcn.140007be0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400362ac
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400362e6
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400362eb
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140036334
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140039640]
cmp byte [rcx + rax], 0
je 0x140036334
dec r8
sub rdx, 1
jne 0x14003631a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14003743c
Capabilities:
Parse pe header

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