joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140044b20
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x270
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x140044b81
lea r8, [r10 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x140044b40
mov ecx, dword [r10]
jmp 0x140044c6a
cmp ecx, 0x4e0
jb 0x140044c6a
lea r11, [r10 + 0x9c4]
mov qword [rsp], rbx
mov eax, dword [r11]
mov ebx, 0xe3
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140044ba0
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140044bf0
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret

Function at 0x140045a7c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140045ac6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140045ac6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140045ac6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140045ac6
cmp dword [rcx + 0x84], 0xe
jbe 0x140045ac6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140045ac8
xor al, al
add rsp, 0x28
ret
Function at 0x14072a100
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rdx, qword [rcx + 8]
mov rcx, qword [rcx]
mov rax, rsp
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb8
stmxcsr dword [rsp + 0x110]
mov dword [rsp + 0x114], 0x5f80
ldmxcsr dword [rsp + 0x114]
mov r13, qword [rcx + 0xe0]
mov r9, rdx
mov r10, qword [rcx + 0x20]
mov r8, rcx
xor r10, qword [rcx]
mov r14d, 0x80000
mov r11, qword [rcx + 0x28]
xor r11, qword [rcx + 8]
mov rsi, qword [rdx + 0xe0]
mov rdx, qword [rcx + 0x38]
xor rdx, qword [rcx + 0x18]
mov rdi, qword [r9 + 0x20]
xor rdi, qword [r9]
mov rbp, qword [r9 + 0x28]
xor rbp, qword [r9 + 8]
movq xmm0, rdx
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
movaps xmmword [rax - 0x78], xmm8
movaps xmmword [rsp + 0x70], xmm9
movaps xmmword [rsp + 0x60], xmm10
movaps xmmword [rsp + 0x50], xmm11
movaps xmmword [rsp + 0x40], xmm12
movaps xmmword [rsp + 0x30], xmm13
movaps xmmword [rsp + 0x20], xmm14
movaps xmmword [rsp + 0x10], xmm15
mov rdx, r10
movq xmm4, qword [r8 + 0x60]
and edx, 0x1ffff0
mov rax, qword [rcx + 0x30]
xorps xmm13, xmm13
xor rax, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x58]
xor rcx, qword [r8 + 0x48]
movq xmm5, qword [r8 + 0x68]
movq xmm7, rax
mov eax, 1
Function at 0x14000202f
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbp, qword [fcn.140019ba0]
xor ebx, ebx
mov rdi, rcx
mov rsi, rdx
lea r12, [rdx - 1]
cmp rbx, rsi
jl 0x14000208f
mov ecx, 1
call rbp
mov r8d, 1
mov edx, 1
lea rcx, [0x14001c15c]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rbp
mov rcx, rax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp 0x14001a1b8
test rbx, rbx
jns 0x14000209f
mov rdx, r12
mov rcx, rbx
call fcn.1400050c3
mov r13, qword [rdi + rbx*8]
mov ecx, 1
call rbp
xor r8d, r8d
mov rcx, rax
mov rdx, r13
call fcn.140001f17
add rbx, 1
jno 0x14000204e
call fcn.140003dad
jmp 0x14000204e

Function at 0x140002484
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
sub rsp, 0x28
xor r8d, r8d
mov r13, rcx
mov r12, rdx
test rdx, rdx
je 0x1400024a5
mov rcx, rdx
call sub.msvcrt.dll_strlen
mov r8, rax
mov rcx, r12
mov r9, r13
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, r13
add rsp, 0x28
pop r12
pop r13
jmp 0x14001a1b8
jmp qword [sym.imp.msvcrt.dll_fflush]

Function at 0x140003d6a
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
sub rsp, 0x38
mov qword [rsp + 0x28], rdx
mov r13, rcx
mov ecx, 2
call qword [fcn.140019ba0]
mov r8, qword [rsp + 0x28]
mov rcx, r13
mov edx, 1
mov r12, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, r12
add rsp, 0x38
pop r12
pop r13
jmp 0x14001a1b8
Function at 0x1400118bc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x1400118e5
cmp word [rcx], 0x5a4d
jne 0x1400118e5
movsxd rdx, dword [rcx + 0x3c]
cmp edx, 0x400
jg 0x1400118e5
call fcn.140008c03
cmp dword [rax], 0x4550
je 0x1400118e7
xor eax, eax
add rsp, 0x28
ret

Function at 0x140013df0
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.140019ba0
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.140019ba0
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 0x140013e60
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x140217c94]
mov r12, rcx
test ebx, ebx
jle 0x140013f90
mov rax, qword [0x140217c98]
xor ecx, ecx
add rax, 0x18
nop word [rax + rax]
mov rdx, qword [rax]
cmp rdx, r12
ja 0x140013eac
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x140013f33
add ecx, 1
add rax, 0x28
cmp ecx, ebx
jne 0x140013e90
mov rcx, r12
call fcn.1400148c0
mov rsi, rax
test rax, rax
je 0x140013fb2
mov rax, qword [0x140217c98]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call fcn.1400149f0
mov ecx, dword [rsi + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x140217c98]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140013f97
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140013f2c
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140013f40
add dword [0x140217c94], 1
add rsp, 0x50
pop rbx
pop rsi
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rbx, qword [0x140217c98]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140013f2c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140013df0
nop dword [rax]
xor ebx, ebx
jmp 0x140013eb7
mov rax, qword [0x140217c98]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140013df0
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.140013df0
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x140014530
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x140217d00]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140217ce0]
test rbx, rbx
je 0x140014584
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 0x14001457b
test r12, r12
je 0x14001457b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140014560
lea rcx, [0x140217d00]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x1400148c0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140200000]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400148e0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400148e8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400148e0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x140014935
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x14001492c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400148e0
add rax, 0x28
cmp rax, r9
jne 0x140014918
xor eax, eax
ret

Function at 0x140014940
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140200000]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x140014960
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140014968
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x140014960
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x1400149f0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140200000]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x140014a10
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x140014a18
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x18001f784
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x18001f7b4
xor eax, eax
jmp 0x18001f877
mov rbp, rbx
cmp word [rax], si
je 0x18001f7d9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18001f7c0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18001f7bc
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.18001f6d4
movsxd r14, eax
test eax, eax
jne 0x18001f817
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18001f7ad
mov rcx, r14
call fcn.18001c5a0
mov rdi, rax
test rax, rax
jne 0x18001f830
xor ecx, ecx
call fcn.18001c564
jmp 0x18001f80c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.18001f6d4
test eax, eax
jne 0x18001f861
mov rcx, rdi
call fcn.18001c564
jmp 0x18001f86b
xor ecx, ecx
call fcn.18001c564
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x180026930
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180026958
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180026958
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x18002d020
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
test edx, edx
je 0x18002d03d
mov eax, 1
cmp edx, eax
jne 0x18002d092
mov qword [0x180078638], rcx
add rsp, 0x28
ret
cmp qword [0x180063a60], 0
je 0x18002d08d
cmp qword [0x180063a68], 8
mov qword [rsp + 0x20], rbx
lea rbx, [0x180063a50]
mov rcx, rbx
cmovae rcx, qword [0x180063a50]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp qword [0x180063a68], 8
cmovae rbx, qword [0x180063a50]
xor eax, eax
mov qword [0x180063a60], rax
mov word [rbx], ax
mov rbx, qword [rsp + 0x20]
mov eax, 1
add rsp, 0x28
ret
Function at 0x14000d613
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140025ac0]
jne 0x14000810a
rol rcx, 0x10
test cx, 0xffff
jne 0x140008106
repz ret
ror rcx, 0x10
jmp 0x14000d56c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140027480]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140027578]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14000d5f1
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140027480]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14000d613
mov rax, qword [rsp + 0x88]
mov qword [0x140027578], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140027518], rax
mov rax, qword [0x140027578]
mov qword [0x1400273f0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140027500], rax
mov dword [0x1400273e0], 0xc0000409
mov dword [0x1400273e4], 1
mov rax, qword [0x140025ac0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140025ac8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140027478], eax
mov ecx, 1
call fcn.14001470c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14001d4f0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140027478], 0
jne 0x14000d69a
mov ecx, 1
call fcn.14001470c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x14000e868
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.14000e6d8
Function at 0x1400156f4
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x140025ac0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.14000dff0
xor ebx, ebx
cmp qword [0x140028420], rbx
mov rdi, rax
jne 0x140015807
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x1400158de
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400158de
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140028420], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140028428], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x140028430], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x140028440], rax
test rax, rax
je 0x1400157fe
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x140028438], rax
jmp 0x14001580e
mov rax, qword [0x140028438]
jmp 0x140015815
mov rax, qword [0x140028438]
mov r11, qword [0x140028440]
cmp rax, rdi
je 0x14001587c
cmp r11, rdi
je 0x14001587c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x140028440]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x14001587c
test rax, rax
je 0x14001587c
call rsi
test rax, rax
je 0x140015876
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140015876
test byte [rsp + 0x40], 1
jne 0x14001587c
bts ebp, 0x15
jmp 0x1400158bc
mov rcx, qword [0x140028428]
cmp rcx, rdi
je 0x1400158bc
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400158bc
call rax
mov rbx, rax
test rax, rax
je 0x1400158bc
mov rcx, qword [0x140028430]
cmp rcx, rdi
je 0x1400158bc
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400158bc
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140028420]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400158de
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x1400158e0
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400080f0
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000ffb0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1f], 0
je 0x14000ffd3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x31]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x1e
jb 0x14000ffc0
mov byte [rcx + 0x1f], 0
mov rax, rcx
ret

Function at 0x14000ffe0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x19], 0
je 0x140010003
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x31]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x18
jb 0x14000fff0
mov byte [rcx + 0x19], 0
mov rax, rcx
ret

Function at 0x140010010
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 4], 0
je 0x140010033
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x31]
xor byte [rax + rcx], dl
inc rax
cmp rax, 3
jb 0x140010020
mov byte [rcx + 4], 0
mov rax, rcx
ret

Function at 0x140010040
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x26], 0
je 0x140010063
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x31]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x25
jb 0x140010050
mov byte [rcx + 0x26], 0
mov rax, rcx
ret

Function at 0x140010120
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x20], 0
je 0x140010143
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x31]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x1f
jb 0x140010130
mov byte [rcx + 0x20], 0
ret

Function at 0x1400102a0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 4], 0
je 0x1400102c3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x31]
xor byte [rax + rcx], dl
inc rax
cmp rax, 3
jb 0x1400102b0
mov byte [rcx + 4], 0
ret

Function at 0x1400102d0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1a], 0
je 0x1400102f3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x31]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x19
jb 0x1400102e0
mov byte [rcx + 0x1a], 0
ret

Function at 0x140010300
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x19], 0
je 0x140010323
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x31]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x18
jb 0x140010310
mov byte [rcx + 0x19], 0
ret

Function at 0x140010330
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1f], 0
je 0x140010353
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x31]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x1e
jb 0x140010340
mov byte [rcx + 0x1f], 0
ret

Function at 0x140010360
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x28], 0
je 0x140010383
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x31]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x27
jb 0x140010370
mov byte [rcx + 0x28], 0
ret

Function at 0x140010390
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 5], 0
je 0x1400103b3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x31]
xor byte [rax + rcx], dl
inc rax
cmp rax, 4
jb 0x1400103a0
mov byte [rcx + 5], 0
ret

Function at 0x1400103c0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 9], 0
je 0x1400103e3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x31]
xor byte [rax + rcx], dl
inc rax
cmp rax, 8
jb 0x1400103d0
mov byte [rcx + 9], 0
ret
Function at 0x1400103f0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 6], 0
je 0x140010413
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x31]
xor byte [rax + rcx], dl
inc rax
cmp rax, 5
jb 0x140010400
mov byte [rcx + 6], 0
ret

Function at 0x140010420
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x11], 0
je 0x140010443
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x31]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x10
jb 0x140010430
mov byte [rcx + 0x11], 0
ret

Function at 0x140010450
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xe], 0
je 0x140010473
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x31]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xd
jb 0x140010460
mov byte [rcx + 0xe], 0
ret
Function at 0x140021500
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x140021535
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.1400141b0
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140021676
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1400215f0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140021665
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14002162d
mov r10, qword [rdx]
cmp r10, rax
je 0x140021627
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x140021665
cmp r9, rdx
je 0x140021641
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x140021687
cmp r9, rdx
jne 0x140021632
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x1400215a0
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140021665
Function at 0x14002bf60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14002bfd8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x14002bfd8
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x14002bfc5
nop
cmp rbx, rcx
jae 0x14002bfd8
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x14002bfb0
cmp rbx, rcx
jae 0x14002bfd8
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
jmp 0x14002bfda
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret