joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c9f70
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1400ce040]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor ebp, ebp
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rbp
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x1400ca103
mov qword [rsp + 0x40], rbp
mov dword [rsp + 0x38], ebp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], ebp
xor r9d, r9d
xor r8d, r8d
mov edi, 0xffffffff
mov edx, edi
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
js 0x1400ca0fd
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [0x1400cc3a8]
xor edx, edx
lea r8d, [rbp + 1]
lea rcx, [0x1400cc3b8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400ca0fd
lea ecx, [rbp + 0x18]
call fcn.1400caa78
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400ca05b
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rbp
mov dword [rbx + 0x10], 1
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x1400ca133
jmp 0x1400ca05e
mov rbx, rbp
mov qword [rsp + 0x50], rbx
test rbx, rbx
je 0x1400ca128
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rbp
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbx]
call qword [rax + 0x18]
mov esi, eax
lock xadd dword [rbx + 0x10], edi
cmp edi, 1
jne 0x1400ca0d9
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400ca0ba
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], rbp
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400ca0cc
call fcn.1400caa70
mov qword [rbx + 8], rbp
mov edx, 0x18
mov rcx, rbx
call fcn.1400caa70
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x10]
test esi, esi
js 0x1400ca0fd
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
jmp 0x1400ca105
call qword [sym.imp.ole32.dll_CoUninitialize]
mov al, 1
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400caa50
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov ecx, 0x8007000e
call fcn.1400ca8b0
nop
mov ecx, 0x8007000e
call fcn.1400ca8b0
int3
Function at 0x1400ca150
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400ce040]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor edi, edi
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
lea ecx, [rdi + 0x20]
call fcn.1400caa78
mov rcx, rax
mov qword [rsp + 0x38], rax
movdqa xmm0, xmmword [0x1400cc580]
movdqu xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [0x1400cc510]
movups xmmword [rax], xmm1
movzx eax, word [0x1400cc520]
mov word [rcx + 0x10], ax
mov byte [rcx + 0x12], dil
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x58]
call fcn.1400012a0
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x1400ca20e
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ca209
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ca209
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400caa70
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova rdx, qword [rsp + 0x58]
lea rcx, [0x1400cc528]
call fcn.140001010
call fcn.1400c9f70
test al, al
je 0x1400ca255
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400ca4f0
mov rcx, rax
lea rdx, [0x1400ca6a0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x1400ca2f8
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [0x1400ca140]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
jne 0x1400ca2a2
lea rcx, [0x1400cc558]
call fcn.140001010
lea edi, [rbx + 1]
jmp 0x1400ca2f8
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, edi
nop dword [rax + rax]
test bl, 1
je 0x1400ca2d3
mov edx, ebx
lea rcx, [0x1400cc4e8]
call fcn.140001010
inc ebx
cmp ebx, 0x3e8
jl 0x1400ca2c0
mov ebx, edi
nop
mov edx, ebx
lea rcx, [0x1400cc568]
call fcn.140001010
inc ebx
cmp ebx, 0x1f4
jl 0x1400ca2e0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x1400ca338
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ca333
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ca333
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400caa70
mov eax, edi
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400caa50
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret
Function at 0x1400cb430
Capabilities:
Parse pe header

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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
and qword [rbp + 0x10], 0
lea rax, [0x140002e30]
mov qword [rbp - 0x18], rax
xor r9d, r9d
lea rax, [rbp + 0x10]
mov dword [rbp - 0x20], 0x220020
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov rax, qword [sym.imp.ntoskrnl.exe_IoDriverObjectType]
and qword [rsp + 0x30], 0
lea edx, [r9 + 0x40]
mov byte [rsp + 0x28], 0
mov rcx, qword [rax]
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x20]
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByName]
test eax, eax
js 0x140001c1d
mov eax, dword [0x140007060]
lea rcx, [0x140005080]
movaps xmm0, xmmword [rbp - 0x20]
mov edx, eax
inc eax
shl rdx, 5
add rdx, rcx
mov dword [0x140007060], eax
mov rax, qword [rbp + 0x10]
lea rcx, [0x1400011d0]
add rax, 0xe0
movdqa xmmword [rbp - 0x10], xmm0
mov qword [rdx + 0x10], rax
xchg qword [rax], rcx
movaps xmm0, xmmword [rbp - 0x10]
mov qword [rdx + 0x18], rcx
movdqu xmmword [rdx], xmm0
mov qword [0x140005068], rcx
lea rdx, [rbp - 0x10]
lea rcx, [0x140002bb0]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x140001c30
mov r8d, eax
lea rdx, [rbp - 0x20]
lea rcx, [0x140002bd0]
call sub.ntoskrnl.exe_DbgPrint
add rsp, 0x60
pop rbp
ret
Function at 0x1400021f8
Capabilities:
Print debug messages

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
and qword [rbp + 0x10], 0
lea rax, [0x140002cf0]
mov qword [rbp - 0x18], rax
xor r9d, r9d
lea rax, [rbp + 0x10]
mov dword [rbp - 0x20], 0x220020
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov rax, qword [sym.imp.ntoskrnl.exe_IoDriverObjectType]
and qword [rsp + 0x30], 0
lea edx, [r9 + 0x40]
mov byte [rsp + 0x28], 0
mov rcx, qword [rax]
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x20]
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByName]
test eax, eax
js 0x1400022c1
mov eax, dword [0x140007060]
lea rcx, [0x140005080]
movaps xmm0, xmmword [rbp - 0x20]
mov edx, eax
inc eax
shl rdx, 5
add rdx, rcx
mov dword [0x140007060], eax
mov rax, qword [rbp + 0x10]
lea rcx, [0x14000124c]
add rax, 0xe0
movdqa xmmword [rbp - 0x10], xmm0
mov qword [rdx + 0x10], rax
xchg qword [rax], rcx
movaps xmm0, xmmword [rbp - 0x10]
mov qword [rdx + 0x18], rcx
movdqu xmmword [rdx], xmm0
mov qword [0x140005050], rcx
lea rdx, [rbp - 0x10]
lea rcx, [0x140002bb0]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x1400022d4
mov r8d, eax
lea rdx, [rbp - 0x20]
lea rcx, [0x140002bd0]
call sub.ntoskrnl.exe_DbgPrint
add rsp, 0x60
pop rbp
ret

Function at 0x14000248c
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
movsxd r9, dword [rcx + 0x3c]
lea rbx, [rcx + 0x18]
add rbx, r9
xor r10d, r10d
xor edi, edi
mov r14, r8
mov r15, rdx
mov rbp, rcx
movzx eax, word [r9 + rcx + 0x14]
movzx esi, word [r9 + rcx + 6]
add rbx, rax
test esi, esi
je 0x14000250c
cmp dword [rbx], 0x45474150
je 0x1400024e6
cmp dword [rbx], 0x7865742e
jne 0x140002502
cmp byte [rbx + 4], 0x74
jne 0x140002502
mov ecx, dword [rbx + 0xc]
mov r9, r14
mov edx, dword [rbx + 8]
add rcx, rbp
mov r8, r15
call fcn.140002418
mov r10, rax
test rax, rax
jne 0x14000250c
inc edi
add rbx, 0x28
cmp edi, esi
jb 0x1400024d0
mov rbx, qword [rsp + 0x40]
mov rax, r10
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x140002528
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x150
xor ebp, ebp
lea r9, [rax + 0x18]
and dword [rax + 0x18], ebp
mov rsi, rdx
mov r14, rcx
xor r8d, r8d
xor edx, edx
lea edi, [rbp + 0xb]
mov ecx, edi
call sub.ntoskrnl.exe_ZwQuerySystemInformation
cmp eax, 0xc0000004
jne 0x1400025a4
mov edx, dword [rsp + 0x180]
xor ecx, ecx
mov r8d, 0x6e556353
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
test rax, rax
je 0x1400025a4
mov r8d, dword [rsp + 0x180]
xor r9d, r9d
mov rdx, rax
mov ecx, edi
call sub.ntoskrnl.exe_ZwQuerySystemInformation
test eax, eax
jns 0x1400025be
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor eax, eax
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
xor edi, edi
cmp dword [rbx], edi
jbe 0x140002680
mov eax, edi
lea rcx, [rsp + 0x20]
imul rax, rax, 0x128
mov edx, 2
add rax, 8
add rax, rbx
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x1400025e2
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
mov rax, qword [rax + 0x20]
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm1
mov qword [rcx + 0x20], rax
lea rcx, [rsp + 0x48]
call fcn.1400026d0
mov rcx, rax
mov rdx, r14
call sub.ntoskrnl.exe_strstr
test rax, rax
jne 0x140002670
inc edi
cmp edi, dword [rbx]
jb 0x1400025c8
jmp 0x140002680
mov rbp, qword [rsp + 0x30]
test rsi, rsi
je 0x140002680
mov ecx, dword [rsp + 0x38]
mov dword [rsi], ecx
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rax, rbp
jmp 0x1400025a6

Function at 0x140002694
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov r8, rcx
test edx, edx
jne 0x14000269e
xor eax, eax
ret
movzx eax, byte [rcx]
xor eax, 0x4b9ace2f
imul ecx, eax, 0x1000193
cmp edx, 1
jbe 0x1400026cb
inc r8
dec edx
movzx eax, byte [r8]
inc r8
xor eax, ecx
imul ecx, eax, 0x1000193
sub rdx, 1
jne 0x1400026b6
mov eax, ecx
ret

Function at 0x140002788
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov esi, r8d
mov ebx, ecx
mov edx, r8d
mov rcx, rdi
call fcn.140002694
xor ebx, eax
test esi, esi
je 0x1400027ce
mov ecx, esi
imul ebx, ebx, 0x41c64e6d
add ebx, 0x3039
mov eax, ebx
shr eax, 0x10
xor byte [rdi], al
inc rdi
sub rcx, 1
jne 0x1400027b2
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x180003440
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xc0
mov rdi, rdx
mov rbp, rcx
mov rcx, r8
mov rax, 0xfffffffffffff000
and rcx, rax
mov rsi, r8
mov qword [rdx], rcx
mov rdx, r8
sub rdx, rcx
lea r9, [rdi + 0x10]
add rdx, 0x1004
mov r8d, 0x40
and rdx, rax
mov qword [rdi + 8], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1800034c0
mov r9, qword [rdi + 8]
lea rdx, str.__unprotect_memory__p__size_llu______p__size_llu__n
mov r8, qword [rdi]
mov rcx, rbp
mov qword [rsp + 0x28], 5
mov qword [rsp + 0x20], rsi
call fcn.180002cc0
xor eax, eax
jmp 0x18000350d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea rdx, [rsp + 0x40]
call fcn.180003160
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9, qword [rdi + 8]
lea rdx, str.Failed_to_unprotect_memory__p__size_llu______p__size_llu__error_lu__s__
mov r8, qword [rdi]
mov rcx, rbp
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], 5
mov qword [rsp + 0x20], rsi
call fcn.180002ce8
mov eax, 9
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x180007c24
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x180007c7e
mov r11b, 0x23
lea rdi, [0x1800980c0]
movzx ebx, byte [r10]
dec rdx
inc r10
cmp bl, r11b
jne 0x180007c68
cmp rdx, 2
jb 0x180007c68
cmp byte [r10], r11b
jne 0x180007c68
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rbx
shr r9d, 8
xor r9d, dword [rdi + rcx*4]
test rdx, rdx
jne 0x180007c46
jmp 0x180007cbf
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x180007cbf
mov r11b, 0x23
lea rdi, [0x1800980c0]
cmp dl, r11b
jne 0x180007ca3
cmp byte [r10], r11b
jne 0x180007ca3
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rdi + rcx*4]
test dl, dl
jne 0x180007c91
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret
Function at 0x180007db0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x180007dd1
and qword [r8], 0
lea rdx, [0x1800b87b0]
call fcn.180007cd0
mov rbx, rax
test rax, rax
je 0x180007eab
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x180007ea2
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 0x180007ea2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180007ea2
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 0x180007ea2
mov rsi, rdi
cmp rdi, 0xffffffffffffffff
je 0x180007ea2
mov rcx, rdi
call fcn.180009ec4
mov rdi, rax
test rax, rax
je 0x180007ea2
mov r9, rbx
mov r8, rsi
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, rsi
je 0x180007e8f
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1800ccc90]
test rax, rax
je 0x180007e84
dec dword [rax + 0xf0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180007eab
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x180007e9d
mov qword [r14], rsi
mov rax, rdi
jmp 0x180007ead
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret

Function at 0x18000986c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
mov r11d, 4
mov rax, qword [rcx + 0xf8]
mov r9, rcx
mov r10d, r11d
mov ebx, dword [rax + r8*4 - 4]
lea r8, [rsp + 0x38]
not ebx
movzx eax, byte [r8]
inc r8
movzx ecx, bl
xor rcx, rax
shr ebx, 8
lea rax, [0x1800980c0]
xor ebx, dword [rax + rcx*4]
sub r10, 1
jne 0x18000989b
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x3f50], ebx
jne 0x1800098d5
movsxd r8, edx
mov ecx, ebx
mov edx, r11d
call fcn.180019f30
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x180018c80
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5da8], 0
lea rbx, [rcx + 0x5db0]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x180018d19
mov r9d, dword [rbx + 4]
test r9d, r9d
jns 0x180018cd1
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.18001af18
and dword [rbx], 0
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.1800081f8
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5da8]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x1800ccc88]
movsxd r8, eax
mov rax, qword [rdi + 0x5db8]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x180018d21
mov rcx, rbx
call fcn.1800081f8
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1800193a8
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x1800ccc90]
mov rbx, rcx
and dword [rax + 0x5d04], 0
test rcx, rcx
je 0x180019411
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.18001941c
lea rdx, [0x1800b87b4]
mov rcx, rbx
mov rdi, rax
call fcn.180007cd0
mov rbx, rax
test rax, rax
je 0x180019411
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x18002c660
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x18002c69c
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
and qword [rsp + 0x28], 0
lea r8, [0x18002c43c]
and dword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x18002c69c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x38
ret

Function at 0x180031aec
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rcx, qword [0x1800ccdf8]
test rcx, rcx
jne 0x180031be7
movabs rsi, 0x311cdad160000
lea rdx, [0x1800ccdf8]
lea rcx, [0x180031c0c]
call qword [sym.imp.USER32.dll_EnumWindows]
lea rcx, [rsp + 0x48]
call fcn.1800318a4
mov rax, qword [rsp + 0x48]
movabs rcx, 0x7ffffffffa0a1efe
lea rdi, [rax + 0x5f5e100]
cmp rax, rcx
jle 0x180031b53
movabs rdi, 0x7fffffffffffffff
lea rcx, [rsp + 0x40]
call fcn.1800318a4
cmp rdi, qword [rsp + 0x40]
je 0x180031bd7
jl 0x180031bd7
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
imul rdx, rax, 0x64
xorps xmm0, xmm0
mov rax, rdi
sub rax, qword [rsp + 0x40]
cvtsi2sd xmm0, rax
comisd xmm0, xmmword [0x1800bbb40]
jbe 0x180031b93
lea rcx, [rdx + rsi]
mov rax, rsi
jmp 0x180031b97
lea rcx, [rax + rdx]
add rdx, rax
movabs rax, 0x112e0be826d694b3
imul rdx
sar rdx, 0x1a
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0x3b9aca00
mov qword [rsp + 0x20], rdx
sub ecx, eax
mov dword [rsp + 0x28], ecx
lea rcx, [rsp + 0x20]
call qword [sym.imp.MSVCP140.dll__Thrd_sleep]
jmp 0x180031b53
mov rcx, qword [0x1800ccdf8]
test rcx, rcx
je 0x180031b10
lea r8, [0x180031968]
mov edx, 0xfffffffc
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov rsi, qword [rsp + 0x50]
mov qword [0x1800ccdf0], rax
add rsp, 0x30
pop rdi
ret
Function at 0x1800326f0
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
cmp byte [rcx], 0
je 0x18003270e
movsx eax, byte [rcx]
xor eax, edx
imul edx, eax, 0x1000193
inc rcx
call fcn.1800326f0
mov edx, eax
mov eax, edx
add rsp, 0x28
ret
Function at 0x180032ed0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov esi, r9d
mov edi, edx
mov rbp, rcx
xor r14d, r14d
movabs rbx, 0xcbf29ce484222325
movabs r15, 0x100000001b3
mov eax, dword [0x1800cd074]
test al, 1
jne 0x180032fa0
or eax, 1
mov dword [0x1800cd074], eax
and dword [0x1800cd080], 0
mov qword [0x1800cd088], r14
mov qword [0x1800cd090], r14
mov ecx, 0x58
call fcn.18008e990
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [0x1800cd088], rax
mov qword [0x1800cd098], r14
xorps xmm0, xmm0
movdqa xmmword [0x1800cd0a0], xmm0
mov qword [0x1800cd0b0], 7
mov qword [0x1800cd0b8], 8
mov dword [0x1800cd080], 0x3f800000
mov r8, rax
mov edx, 0x10
lea rcx, [0x1800cd098]
call fcn.180033258
nop
lea rcx, [0x180090250]
call fcn.18008e978
nop
mov rcx, rbx
mov rdx, r14
movzx eax, byte [rsp + rdx + 0x58]
xor rcx, rax
imul rcx, r15
inc rdx
cmp rdx, 4
jb 0x180032fa6
and rcx, qword [0x1800cd0b0]
add rcx, rcx
mov rdx, qword [0x1800cd098]
mov rax, qword [rdx + rcx*8 + 8]
mov r9, qword [0x1800cd088]
cmp rax, r9
je 0x180032ff3
mov r8, qword [rdx + rcx*8]
jmp 0x180032fec
cmp rax, r8
je 0x180032ff3
mov rax, qword [rax + 8]
cmp edi, dword [rax + 0x10]
jne 0x180032fe3
jmp 0x180032ff6
mov rax, r14
mov r8, r9
test rax, rax
cmovne r8, rax
cmp r8, r9
jne 0x18003301a
mov r8d, edi
mov rdx, rbp
call fcn.180032b74
test al, al
jne 0x180032f08
jmp 0x180033076
mov rcx, rbx
mov rdx, r14
movzx eax, byte [rsp + rdx + 0x68]
xor rcx, rax
imul rcx, r15
inc rdx
cmp rdx, 4
jb 0x180033020
mov r10, qword [r8 + 0x48]
and rcx, r10
mov rdx, qword [r8 + 0x30]
add rcx, rcx
mov rax, qword [rdx + rcx*8 + 8]
mov r9, qword [r8 + 0x20]
cmp rax, r9
je 0x180033067
mov r8, qword [rdx + rcx*8]
jmp 0x180033060
cmp rax, r8
je 0x180033067
mov rax, qword [rax + 8]
cmp esi, dword [rax + 0x10]
jne 0x180033057
jmp 0x18003306a
mov rax, r14
test rax, rax
cmove rax, r9
cmp rax, r9
jne 0x18003308b
movzx eax, r14w
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rcx, r14
movzx eax, byte [rsp + rcx + 0x68]
xor rbx, rax
imul rbx, r15
inc rcx
cmp rcx, 4
jb 0x18003308e
and rbx, r10
add rbx, rbx
mov rax, qword [rdx + rbx*8 + 8]
cmp rax, r9
je 0x1800330d2
mov rcx, qword [rdx + rbx*8]
jmp 0x1800330c2
cmp rax, rcx
je 0x1800330d2
mov rax, qword [rax + 8]
cmp esi, dword [rax + 0x10]
jne 0x1800330b9
test rax, rax
je 0x1800330d2
movzx eax, word [rax + 0x14]
jmp 0x18003307a
lea rcx, str.invalid_unordered_map_K__T__key
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3