joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001c150
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
cmp dword [0x1400381e0], 1
je 0x14001c1c8
lea rdi, [0x1400381e0]
mov rcx, rdi
call fcn.14001ba30
lea rbp, [rax + 8]
mov rbx, rax
mov rcx, rbp
call fcn.14001b3b0
mov esi, dword [0x1400381e0]
test esi, esi
jne 0x14001c1d8
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1400214f8], eax
cmp eax, 0xffffffff
je 0x140020ba6
mov dword [0x1400381e0], 1
mov rcx, rbp
call fcn.14001b6a0
test rbx, rbx
je 0x14001c1c8
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.14001bdd0
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp esi, 1
je 0x14001c1a8
mov ecx, 2
call qword [fcn.14001ac30]
mov r9d, esi
mov r8, rdi
lea rdx, str._once__p_is__d_n
mov rcx, rax
call sub.msvcrt.dll_fprintf
jmp 0x14001c1a8
call sub.msvcrt.dll_abort
nop

Function at 0x14001c200
Capabilities:
Set thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
call fcn.14001bee0
cmp qword [0x14003a048], 0
mov rbx, rax
je 0x14001c318
test rax, rax
je 0x14001c318
mov dword [rax + 0x44], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor ecx, ecx
xor r9d, r9d
xor r8d, r8d
mov dword [rbx + 0x70], eax
mov edx, 1
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x38], 0xffffffffffffffff
lea rcx, [rbx + 0x68]
mov qword [rbx + 0x30], rax
call fcn.14001f480
cmp eax, 1
je 0x14001c326
mov rbp, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbx + 0x68], 0xffffffffffffffff
mov dword [rbx + 0xb8], 0
mov qword [rbx + 0x28], 0
call rbp
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rsi, rax
call rbp
mov dword [rsp + 0x30], 2
mov r8, rdi
mov rdx, rsi
mov dword [rsp + 0x28], 0
mov rcx, rax
lea r9, [rbx + 0x28]
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je fcn.140020bac
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov ecx, dword [0x1400214f8]
mov rdx, rbx
mov dword [rbx + 0xbc], 0
mov dword [rbx + 0xc0], eax
movzx eax, byte [rbx + 0x40]
and eax, 0xffffffcf
or eax, 0x10
mov byte [rbx + 0x40], al
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14001c32c
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
call fcn.14001bcb0
nop
jmp fcn.140020bac

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

Disassembly:
sub rsp, 0x28
call fcn.14001c150
mov ecx, dword [0x1400214f8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001c360
add rsp, 0x28
ret
add rsp, 0x28
jmp fcn.14001c200
Function at 0x14001cad0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov eax, dword [rcx]
mov rbx, rcx
mov rsi, rdx
test rdx, rdx
je 0x14001cbf8
cmp eax, 1
je 0x14001cb2b
call fcn.14001ba30
lea rbp, [rax + 8]
mov rdi, rax
mov rcx, rbp
call fcn.14001b3b0
mov r12d, dword [rbx]
test r12d, r12d
je 0x14001cb40
cmp r12d, 1
jne 0x14001cbd0
mov rcx, rbp
call fcn.14001b6a0
test rdi, rdi
je 0x14001cb2b
mov rcx, rdi
call fcn.14001bdd0
xor eax, eax
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
lea rax, [0x14001beb0]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call fcn.14001c150
mov ecx, dword [0x1400214f8]
mov r12, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call r12
test rax, rax
je 0x14001cc38
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x30], rax
lock or qword [rsp], 0
call fcn.14001c150
mov ecx, dword [0x1400214f8]
call r12
test rax, rax
je 0x14001cc20
lea rdx, [rsp + 0x20]
mov qword [rax + 0x18], rdx
lock or qword [rsp], 0
call rsi
call fcn.14001c150
mov ecx, dword [0x1400214f8]
call r12
test rax, rax
je 0x14001cc10
mov rdx, qword [rsp + 0x30]
mov qword [rax + 0x18], rdx
mov dword [rbx], 1
jmp 0x14001cb16
mov ecx, 2
call qword [fcn.14001ac30]
mov r9d, r12d
mov r8, rbx
lea rdx, str._once__p_is__d_n
mov rcx, rax
call sub.msvcrt.dll_fprintf
jmp 0x14001cb16
mov eax, 0x16
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call fcn.14001c200
test rax, rax
jne 0x14001cbb9
jmp 0x140020bc5
call fcn.14001c200
test rax, rax
jne 0x14001cb95
jmp 0x140020bde
call fcn.14001c200
test rax, rax
jne 0x14001cb6f
jmp 0x140020bd4
mov rax, qword [rsp + 0x30]
mov qword [0], rax
ud2
mov rax, qword [pe_dos_header]
ud2
lea rax, [rsp + 0x20]
mov qword [0], rax
ud2

Function at 0x14001cec0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov esi, ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.14001c150
mov ecx, dword [0x1400214f8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001cf38
lea rbp, [rbx + 0x68]
xor r12d, r12d
mov rcx, rbp
call fcn.14001f490
cmp esi, dword [rbx + 0x48]
jae 0x14001cf13
mov rax, qword [rbx + 0x58]
cmp byte [rax + rsi], 0
je 0x14001cf13
mov rax, qword [rbx + 0x50]
mov r12, qword [rax + rsi*8]
mov rcx, rbp
call fcn.14001f4d0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call fcn.14001c200
mov rbx, rax
jmp 0x14001ceed
Function at 0x14001cf50
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, 0x28
mov esi, ecx
mov r12, rdx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
call fcn.14001c150
mov ecx, dword [0x1400214f8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001d050
lea r13, [rbx + 0x68]
mov rcx, r13
call fcn.14001f490
cmp esi, dword [rbx + 0x48]
jae 0x14001cfd0
mov rdi, qword [rbx + 0x50]
mov qword [rdi + rsi*8], r12
mov rax, qword [rbx + 0x58]
mov rcx, r13
mov byte [rax + rsi], 1
call fcn.14001f4d0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea r15d, [rsi + 1]
mov rcx, qword [rbx + 0x50]
movsxd r14, r15d
lea rdx, [r14*8]
call sub.msvcrt.dll_realloc
mov rdi, rax
test rax, rax
je 0x14001d05d
mov rcx, qword [rbx + 0x58]
mov rdx, r14
call sub.msvcrt.dll_realloc
mov r14, rax
test rax, rax
je 0x14001d05d
mov eax, dword [rbx + 0x48]
mov edx, r15d
sub edx, eax
lea rcx, [rdi + rax*8]
lea r8, [rdx*8]
xor edx, edx
call fcn.14001b258
mov ecx, dword [rbx + 0x48]
mov r8d, r15d
xor edx, edx
mov rax, rcx
add rcx, r14
sub r8d, eax
call fcn.14001b258
mov qword [rbx + 0x50], rdi
mov qword [rbx + 0x58], r14
mov dword [rbx + 0x48], r15d
jmp 0x14001cf9f
call fcn.14001c200
mov rbx, rax
jmp 0x14001cf8a
mov rcx, r13
call fcn.14001f4d0
mov eax, 0xc
jmp 0x14001cfbd

Function at 0x14001d0e0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.14001c150
mov ecx, dword [0x1400214f8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001d108
mov rax, qword [rax + 0x30]
add rsp, 0x28
ret
call fcn.14001c200
test rax, rax
jne 0x14001d0fa
add rsp, 0x28
ret

Function at 0x14001d170
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.14001c150
mov ecx, dword [0x1400214f8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001d198
add rax, 0x18
add rsp, 0x28
ret
call fcn.14001c200
test rax, rax
jne 0x14001d18a
jmp 0x14001d18e

Function at 0x14001d2b0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1400381e8]
test eax, eax
jne 0x14001d2c8
xor eax, eax
add rsp, 0x28
ret
call fcn.14001c150
mov ecx, dword [0x1400214f8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001d2f8
mov edx, dword [rax + 0x20]
test edx, edx
jg 0x14001d2be
test byte [rax + 0x40], 3
je 0x14001d2be
mov eax, dword [rax + 0x44]
and eax, 1
jmp 0x14001d2c0
call fcn.14001c200
test rax, rax
jne 0x14001d2de
jmp 0x14001d2be

Function at 0x14001d310
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
call fcn.14001c150
mov ecx, dword [0x1400214f8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001d350
test ebx, ebx
jle 0x14001d340
lock add dword [rax + 0x20], 1
add rsp, 0x20
pop rbx
ret
lock sub dword [rax + 0x20], 1
add rsp, 0x20
pop rbx
ret
call fcn.14001c200
test rax, rax
jne 0x14001d32d
add rsp, 0x20
pop rbx
ret
Function at 0x14001d440
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.14001c150
mov ecx, dword [0x1400214f8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001d4b8
test byte [rbx + 0x40], 0xc
jne 0x14001d46f
mov eax, dword [0x1400381e8]
test eax, eax
jne 0x14001d480
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.14001b3b0
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x14001d4a3
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x14001d4a3
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x14001d4cc
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.14001b6a0
call fcn.14001c200
mov rbx, rax
test rax, rax
jne 0x14001d45f
add rsp, 0x28
pop rbx
pop rsi
ret
and eax, 0xfffffff3
mov rcx, qword [rbx + 0x30]
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x14001d4ea
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.14001b6a0
call fcn.14001d360
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x14001d570
call fcn.14001e620
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x14001d5a8
call fcn.14001c150
mov ecx, dword [0x1400214f8]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001d600
test esi, esi
je 0x14001d586
call fcn.14001d440
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14001d5e0
mov edx, edi
call fcn.14001e6d0
call fcn.14001d440
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14001c150
mov ecx, dword [0x1400214f8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001d5f0
call fcn.14001d440
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14001d440
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14001c150
mov ecx, dword [0x1400214f8]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x14001d545
call fcn.14001c200
mov rbx, rax
jmp 0x14001d545
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001d55e
call fcn.14001c200
jmp 0x14001d586
call fcn.14001c200
mov rbx, rax
jmp 0x14001d541
Function at 0x14001d500
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.14001c150
mov ecx, dword [0x1400214f8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001d4b8
test byte [rbx + 0x40], 0xc
jne 0x14001d46f
mov eax, dword [0x1400381e8]
test eax, eax
jne 0x14001d480
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.14001b3b0
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x14001d4a3
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x14001d4a3
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x14001d4cc
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.14001b6a0
call fcn.14001c200
mov rbx, rax
test rax, rax
jne 0x14001d45f
add rsp, 0x28
pop rbx
pop rsi
ret
and eax, 0xfffffff3
mov rcx, qword [rbx + 0x30]
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x14001d4ea
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.14001b6a0
call fcn.14001d360
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x14001d570
call fcn.14001e620
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x14001d5a8
call fcn.14001c150
mov ecx, dword [0x1400214f8]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001d600
test esi, esi
je 0x14001d586
call fcn.14001d440
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14001d5e0
mov edx, edi
call fcn.14001e6d0
call fcn.14001d440
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14001c150
mov ecx, dword [0x1400214f8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001d5f0
call fcn.14001d440
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14001d440
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14001c150
mov ecx, dword [0x1400214f8]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x14001d545
call fcn.14001c200
mov rbx, rax
jmp 0x14001d545
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001d55e
call fcn.14001c200
jmp 0x14001d586
call fcn.14001c200
mov rbx, rax
jmp 0x14001d541

Function at 0x14001d610
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
call fcn.14001c150
mov ecx, dword [0x1400214f8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001d680
test esi, esi
je 0x14001d660
call fcn.14001d440
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14001d690
mov edx, esi
call fcn.14001e6d0
call fcn.14001d440
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.14001d440
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14001d440
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.14001c200
mov rbx, rax
jmp 0x14001d631
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001d64a
Function at 0x140001010
Capabilities:
Set console window title

Disassembly:
sub rsp, 0x28
lea rcx, str.FiveM
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
lea rcx, [0x1400a4b40]
call fcn.140001510
call fcn.140030610
mov eax, dword [rax + 0x70]
add rsp, 0x28
ret
Function at 0x140004d50
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 0x140004dad
lea rbx, [0x140036ae0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140004d94
cmp r10, 2
jb 0x140004d94
cmp byte [r9], r8b
jne 0x140004d94
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 0x140004d70
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140004def
lea rbx, [0x140036ae0]
cmp r8b, 0x23
jne 0x140004dd3
cmp byte [r9], r8b
jne 0x140004dd3
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 0x140004dc0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140004f30
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140004f4a
mov qword [r8], 0
lea rdx, [0x14003667c]
call fcn.140004e00
mov rbx, rax
test rax, rax
jne 0x140004f6a
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 0x140005043
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 0x140005043
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140005043
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 0x140005043
cmp rdi, 0xffffffffffffffff
je 0x140005043
mov rax, qword [0x1400a47b8]
test rax, rax
je 0x140004fe0
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 0x140005043
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 0x140005030
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400a47b8]
test rax, rax
je 0x140005025
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000504c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000503e
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000504e
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 0x140007ee0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0xf0]
lea r8, [0x140036ae0]
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 [0x1400a47b8]
not ebx
cmp dword [rcx + 0x3ee8], ebx
jne 0x140007f75
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.140019f10
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140013d40
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400a1040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400a47b8]
mov edi, ecx
cmp byte [rbx + 0x4a2d], 0
jne 0x140013da1
cmp byte [rbx + 0x4a2e], 0
jne 0x140013da1
movsx r9d, word [rbx + 0x5b32]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140004c10
test dil, 1
je 0x140013ec8
jmp 0x140013e2c
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5b32]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14009a490]
mov edx, 0x10
mulss xmm1, dword [0x14009a480]
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 [0x14009a418]
or dword [rbx + 0x4778], 0x41
movss dword [rbx + 0x47d8], xmm0
call fcn.140004c10
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140013e80
lea r11, [0x140036ae0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140013e63
cmp byte [r8], r9b
jne 0x140013e63
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 0x140013e50
not ecx
call fcn.14000bb10
test rax, rax
je 0x140013ec8
cmp byte [rax + 0xae], 0
je 0x140013ec8
mov byte [rax + 0xb5], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b32]
mov edx, 0x10
movsx r9d, word [rbx + 0x5b32]
call fcn.140004c10
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000e250
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140032f00
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400187b0
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 + 0x5c18], 0
lea rbx, [rcx + 0x5c20]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140018857
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001880a
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.14001ab70
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140005390
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c18]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c28]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400a47b0]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001885f
mov rcx, rbx
call fcn.140005390
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140018dd0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400a47b8]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140018e33
mov qword [rsp], rbx
lea rbx, [0x140036ae0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140018e13
cmp byte [r8], r9b
jne 0x140018e13
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x140018e00
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5b90]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140018e67
mov r10, qword [r10 + 0x5b98]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x140018e6e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140018e54
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x140032d20
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xe0
mov rax, qword [0x1400a1040]
xor rax, rsp
mov qword [rsp + 0xd0], rax
xor esi, esi
lea r8, [0x140030f10]
mov rbx, rcx
mov qword [rsp + 0x28], rsi
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
lea rax, [0x140030730]
mov qword [rsp + 0x70], 0x50
mov edx, 0x7f00
mov qword [rsp + 0x78], rax
xor ecx, ecx
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], rsi
call qword [sym.imp.USER32.dll_LoadIconW]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rsp + 0x90], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
xorps xmm0, xmm0
lea rdi, str.Chrome
mov edx, 0x7f00
mov qword [rsp + 0x98], rax
xor ecx, ecx
movdqa xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], rdi
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rsp + 0xb8], rax
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
lea rdx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rax, qword [rsp + 0x88]
mov r9d, 0x80000000
mov qword [rsp + 0x58], rsi
mov r8, rdi
mov qword [rsp + 0x50], rax
mov rdx, rdi
mov eax, dword [rsp + 0x6c]
xor ecx, ecx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov edx, 0xffffffec
mov r8d, 0x80020
mov rcx, rax
mov qword [rbx + 0x50], rax
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov rcx, qword [rbx + 0x50]
mov r9d, 2
mov r8b, 0xff
xor edx, edx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
movdqa xmm0, xmmword [0x14009a540]
lea rdx, [rsp + 0xc0]
mov rcx, qword [rbx + 0x50]
movdqu xmmword [rsp + 0xc0], xmm0
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, qword [rbx + 0x50]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rdx, qword [rbx + 0x50]
mov rcx, rbx
call fcn.140030b20
mov rcx, rbx
call fcn.140032690
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140032f00
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x140033c68
Capabilities:
Parse pe header

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