joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005326
Capabilities:
Extract resource via kernel32 functions

Disassembly:
jmp 0x14001a8a0
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edx, 0x65
mov rcx, rax
mov rsi, rax
lea r8d, [rdx - 0x5b]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdx, rax
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdx, rbx
mov rcx, rsi
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_LockResource]
and qword [r14], 0
lea r9, [rsp + 0x50]
and qword [r14 + 8], 0
lea r8, [rsp + 0x58]
and qword [r14 + 0x10], 0
mov edx, ebx
mov qword [rsp + 0x58], rax
mov rcx, r14
add rax, rbx
mov qword [rsp + 0x50], rax
call fcn.140005399
mov rbx, qword [rsp + 0x60]
mov rax, r14
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret

Function at 0x140005588
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1400bd80c
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1400ef850]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 6
lea r8, [0x1400ef848]
call fcn.1400bcdac
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x1400bd84c
call qword [0x14011e020]
jmp 0x1400bd852
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140005b00
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x14007a5c0
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1400eb998]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x1400eb990]
call fcn.14007a038
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x14007a600
call qword [0x14011e020]
jmp 0x14007a606
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140005c04
Capabilities:
Set environment variable

Disassembly:
jmp 0x1400d2484
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140002d5b
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400d250e
cmp byte [rbp - 0x21], r15b
je 0x1400d2509
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r8d, ebx
jmp 0x1400d2544
call fcn.14000625d
test eax, eax
jne 0x1400d2530
cmp byte [rbp - 0x21], r15b
je 0x1400d2528
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r8d, 1
jmp 0x1400d2544
cmp byte [rbp - 0x21], r15b
je 0x1400d2541
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r8d, r15d
lea rdx, [rbp + 0x17]
mov rcx, rsi
call fcn.1400029fa
test eax, eax
jne 0x1400d25dc
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140002d5b
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400d257f
cmp byte [rbp - 0x21], r15b
je 0x1400d25b4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400d25b4
call fcn.14000625d
test eax, eax
jne 0x1400d25a0
cmp byte [rbp - 0x21], r15b
je 0x1400d2599
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400d25b4
cmp byte [rbp - 0x21], r15b
je 0x1400d25b1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r8d, ebx
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1400029fa
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400d25dc
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400d25df
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400d25ed
mov rcx, rdi
call fcn.140001253
cmp byte [rbp + 0x3f], r15b
je 0x1400d25fc
mov rcx, qword [rbp + 0x27]
call fcn.140001253
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140005da8
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400ae9d4
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x1400ae79f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400ae79f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400ae79f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400ae79f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400ae79f
cmp dword [rcx + 0x84], 0xe
jbe 0x1400ae79f
cmp dword [rcx + 0xf8], 0
je 0x1400ae79f
mov ecx, ebx
call fcn.1400ae930
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.1400ae4b0
cmp dword [rbp + 0x20], 0
je 0x1400ae7ec
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400ae824
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1400ae738

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

Disassembly:
jmp 0x140039214
jmp 0x140056888
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x140039246
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x140039229
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x1400041c4
Function at 0x1400126d4
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1400126d4
mov qword [rsp + 8], rbx
mov rbx, qword [rdx + 8]
mov r9, rcx
sub rbx, qword [rdx]
xor r10d, r10d
mov rcx, qword [rcx]
mov r11, rdx
cmp qword [r9 + 8], rcx
je 0x14001272c
xor byte [rcx + r10], 0xaa
xor edx, edx
mov rcx, qword [r9]
mov al, byte [rcx + r10]
ror al, 3
mov byte [rcx + r10], al
mov rax, r10
mov r8, qword [r9]
div rbx
mov rax, qword [r11]
mov cl, byte [rdx + rax]
xor byte [r8 + r10], cl
inc r10
mov rcx, qword [r9]
mov rax, qword [r9 + 8]
sub rax, rcx
cmp r10, rax
jb 0x1400126f2
mov rbx, qword [rsp + 8]
ret

Function at 0x140014cac
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x140014cac
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
movdqa xmm0, xmmword [str.RtlAdjustPrivile]
mov esi, ecx
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x30], 0x6c64746e
movdqu xmmword [rbp - 0x20], xmm0
mov ebx, r8d
mov dword [rbp - 0x2c], 0x6c642e6c
mov edi, edx
mov word [rbp - 0x28], 0x6c
mov word [rbp - 0x10], 0x6567
mov byte [rbp - 0xe], 0
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, [rbp - 0x20]
call fcn.1400050a6
lea r9, [rbp + 0x28]
mov r8b, bl
mov dl, dil
mov ecx, esi
call rax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop rbp
ret

Function at 0x1400189d8
Capabilities:
Contain obfuscated stackstrings
Enumerate processes

Disassembly:
jmp 0x1400189d8
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x60]
sub rsp, 0x160
xor ebx, ebx
mov dword [rsp + 0x20], 0x7361736c
xor edx, edx
mov dword [rsp + 0x24], 0x78652e73
mov word [rsp + 0x28], 0x65
lea ecx, [rbx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140018a65
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x130
mov rcx, rax
call sub.KERNEL32.dll_Process32First
jmp 0x140018a52
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x5c]
call fcn.1400035e4
test eax, eax
je 0x140018a58
lea rdx, [rsp + 0x30]
mov rcx, rdi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x140018a32
jmp 0x140018a5c
mov ebx, dword [rsp + 0x38]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0x160]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140018c60
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140018c60
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x150
mov r15, rdx
mov rbp, rcx
xor edx, edx
mov r14d, r8d
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140018c9e
xor eax, eax
jmp 0x140018d28
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rsi
call sub.KERNEL32.dll_Process32First
xor ebx, ebx
jmp 0x140018d0c
mov rdx, rbp
lea rcx, [rsp + 0x4c]
call fcn.1400035e4
test eax, eax
jne 0x140018cff
mov r8d, dword [rsp + 0x28]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x140018cff
mov r9d, r14d
mov r8, r15
xor edx, edx
mov rcx, rax
call sub.KERNEL32.dll_K32GetModuleFileNameExA
mov rcx, rdi
test eax, eax
jne 0x140018d12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x140018cb7
jmp 0x140018d1d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x140019788
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x140019788
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x98]
sub rsp, 0x190
mov rdi, rcx
mov dword [rsp + 0x30], 0x6e72656b
xor esi, esi
mov dword [rsp + 0x34], 0x32336c65
lea rcx, [rsp + 0x30]
mov byte [rsp + 0x3c], sil
mov dword [rsp + 0x38], 0x6c6c642e
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
jne 0x1400197e2
xor al, al
jmp 0x1400198da
movdqa xmm0, xmmword [str.GetModuleFileNam]
lea rdx, [rsp + 0x40]
mov rcx, rbx
mov word [rsp + 0x50], 0x4165
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x52], sil
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x14001981a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1400197db
mov r8d, 0x104
lea rdx, [rbp - 0x80]
xor ecx, ecx
call rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xorps xmm0, xmm0
mov qword [rsp + 0x68], rsi
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x70], rsi
lea rax, [rbp - 0x80]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], sil
jne 0x14001984b
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.14000161d
cmp qword [rdi + 0x18], 0xf
mov rax, qword [rdi + 0x10]
jbe 0x140019870
mov rdi, qword [rdi]
mov rsi, qword [rsp + 0x70]
lea rcx, [rsp + 0x58]
mov rbx, qword [rsp + 0x58]
cmp rsi, 0xf
mov rdx, qword [rsp + 0x68]
mov r9, rdi
cmova rcx, rbx
mov qword [rsp + 0x20], rax
xor r8d, r8d
call fcn.140003170
cmp rax, 0xffffffffffffffff
setne dil
cmp rsi, 0xf
jbe 0x1400198d7
lea rdx, [rsi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400198cf
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400198f3
mov rcx, rbx
call fcn.14000506f
mov al, dil
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.140002978
int3

Function at 0x14001a118
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x14001a118
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movsxd rax, dword [rcx + 0x3c]
xor ebx, ebx
mov r13, rdx
mov rdi, rcx
mov esi, dword [rax + rcx + 0x88]
add rsi, rcx
mov r12d, dword [rsi + 0x20]
mov r14d, dword [rsi + 0x1c]
add r12, rcx
mov r15d, dword [rsi + 0x24]
add r14, rcx
add r15, rcx
cmp dword [rsi + 0x18], ebx
jbe 0x14001a17e
mov ecx, dword [r12 + rbx*4]
mov rdx, r13
add rcx, rdi
call fcn.14000670d
test eax, eax
je 0x14001a19d
inc ebx
cmp ebx, dword [rsi + 0x18]
jb 0x14001a164
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
movzx eax, word [r15 + rbx*2]
mov eax, dword [r14 + rax*4]
add rax, rdi
jmp 0x14001a180
Function at 0x14001a8a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
jmp 0x14001a8a0
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edx, 0x65
mov rcx, rax
mov rsi, rax
lea r8d, [rdx - 0x5b]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdx, rax
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdx, rbx
mov rcx, rsi
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_LockResource]
and qword [r14], 0
lea r9, [rsp + 0x50]
and qword [r14 + 8], 0
lea r8, [rsp + 0x58]
and qword [r14 + 0x10], 0
mov edx, ebx
mov qword [rsp + 0x58], rax
mov rcx, r14
add rax, rbx
mov qword [rsp + 0x50], rax
call fcn.140005399
mov rbx, qword [rsp + 0x60]
mov rax, r14
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret

Function at 0x14001a988
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x14001a988
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
movdqa xmm0, xmmword [str.ShellExecuteExA]
lea rdx, [rbp - 0x29]
mov rdi, rcx
mov dword [rbp - 0x39], 0x6c656873
lea rcx, [rbp - 0x39]
mov dword [rbp - 0x35], 0x2e32336c
movdqu xmmword [rbp - 0x29], xmm0
mov dword [rbp - 0x31], 0x6c6c64
call fcn.140002ad1
xor edx, edx
mov dword [rbp + 0x67], 0x616e7572
lea rcx, [rbp - 0x15]
mov word [rbp + 0x6b], 0x73
mov rbx, rax
mov dword [rbp - 0x19], 0x70
lea r8d, [rdx + 0x6c]
call fcn.140004aa2
and qword [rbp - 0x11], 0
lea rax, [rbp + 0x67]
lea rcx, [rbp - 0x19]
mov qword [rbp - 9], rax
mov qword [rbp - 1], rdi
mov dword [rbp + 0x17], 1
call rbx
lea r11, [rsp + 0xb0]
test eax, eax
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
setne al
mov rsp, r11
pop rbp
ret
Function at 0x1400202bc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x1400202bc
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov dword [rbp - 0x11], 0x74726956
mov dword [rbp - 0xd], 0x416c6175
mov dword [rbp - 9], 0x636f6c6c
mov word [rbp - 5], 0x7845
mov byte [rbp - 3], 0
mov dword [rsp + 0x20], r9d
mov r9d, r8d
mov r8, rdx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
test rax, rax
je 0x140020316
mov rbx, qword [rsp + 0xb0]
add rsp, 0xa0
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, [rbp - 0x11]
lea rcx, [rbp + 0x17]
call fcn.1400033dc
mov r8d, ebx
mov rdx, rax
lea rcx, [rbp + 0x37]
call fcn.14000245a
nop
mov rdx, rax
lea rcx, [rbp - 1]
call fcn.140002d47
lea rdx, [0x14010b830]
lea rcx, [rbp - 1]
call fcn.140006622
int3

Function at 0x1400653a4
Capabilities:
Get geographical location

Disassembly:
jmp 0x1400653a4
sub rsp, 0x28
call fcn.140003df0
mov rcx, qword [rax + 0x28]
test rcx, rcx
je 0x1400653f6
and dword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
mov r9d, 2
lea edx, [r9 + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx ecx, word [rsp + 0x30]
sub ecx, 0x30
je 0x1400653f6
sub ecx, 1
je 0x1400653ef
cmp ecx, 1
je 0x1400653e8
xor eax, eax
jmp 0x1400653fb
mov eax, 3
jmp 0x1400653fb
mov eax, 1
jmp 0x1400653fb
mov eax, 2
add rsp, 0x28
ret

Function at 0x140067614
Capabilities:
Parse pe header

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

Function at 0x14007b2c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14007b2c0
mov rax, rcx
neg rcx
test rax, 7
je 0x14007b2dd
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x14007b338
test al, 7
jne 0x14007b2d0
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x14007b2f1
mov rdx, qword [rax - 8]
test dl, dl
je 0x14007b362
test dh, dh
je 0x14007b35c
shr rdx, 0x10
test dl, dl
je 0x14007b356
test dh, dh
je 0x14007b350
shr rdx, 0x10
test dl, dl
je 0x14007b34a
test dh, dh
je 0x14007b344
shr edx, 0x10
test dl, dl
je 0x14007b33e
test dh, dh
jne 0x14007b2f1
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret
Function at 0x1400037d0
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 0x14000382d
lea rbx, [0x14011faa0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003814
cmp r10, 2
jb 0x140003814
cmp byte [r9], r8b
jne 0x140003814
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 0x1400037f0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000386f
lea rbx, [0x14011faa0]
cmp r8b, 0x23
jne 0x140003853
cmp byte [r9], r8b
jne 0x140003853
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 0x140003840
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003a30
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbx, rcx
test rcx, rcx
jne 0x140003a5f
mov r8d, 0x7b2
lea rdx, str.C:UsersShadowDownloads_stena_stenaimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x140003a6b
mov qword [rdi], 0
lea rdx, [0x14011f2c8]
mov rcx, rbx
call fcn.140003880
mov rbx, rax
test rax, rax
jne 0x140003a8d
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x140003b66
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 0x140003b66
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140003b66
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003b66
cmp rsi, 0xffffffffffffffff
je 0x140003b66
mov rax, qword [0x14022bd90]
test rax, rax
je 0x140003b03
inc dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x140003b66
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 0x140003b53
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14022bd90]
test rax, rax
je 0x140003b48
dec dword [rax + 0xf4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140003b6f
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x140003b61
mov qword [rdi], rsi
mov rax, rbp
jmp 0x140003b71
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400076a0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xf0], 0
mov rsi, rcx
movsxd rdi, edx
jg 0x1400076dc
mov r8d, 0x710
lea rdx, str.C:UsersShadowDownloads_stena_stenaimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rsi + 0xf8]
lea rdx, [0x14011faa0]
movsxd r8, dword [rsi + 0xf0]
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dil
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x39]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdx + rcx*4]
mov rcx, qword [rsi]
not ebx
cmp dword [rcx + 0x3f38], ebx
jne 0x140007757
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.14001e9f0
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140007770
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp dword [rcx + 0xf0], 0
mov rdi, rdx
mov rbx, rcx
jg 0x1400077a3
mov r8d, 0x710
lea rdx, str.C:UsersShadowDownloads_stena_stenaimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm0, dword [rbx + 0x110]
lea r10, [0x14011faa0]
movsxd rcx, dword [rbx + 0xf0]
mov rax, qword [rbx + 0xf8]
movss xmm2, dword [rdi]
movss xmm1, dword [rbx + 0x114]
subss xmm2, xmm0
movss xmm3, dword [rdi + 4]
mov r9d, dword [rax + rcx*4 - 4]
subss xmm3, xmm1
movss xmm4, dword [rdi + 8]
not r9d
movzx ecx, r9b
subss xmm4, xmm0
movss xmm0, dword [rdi + 0xc]
shr r9d, 8
subss xmm0, xmm1
movd r8d, xmm2
movss dword [rsp + 0x20], xmm2
movzx eax, byte [rsp + 0x20]
xor rcx, rax
movss dword [rsp + 0x24], xmm3
mov eax, r8d
movss dword [rsp + 0x28], xmm4
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
movss dword [rsp + 0x2c], xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0x24]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm3
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0x28]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm4
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
shr eax, 8
movzx edx, al
movzx ecx, r9b
mov rbx, qword [rsp + 0x40]
xor rdx, rcx
shr r9d, 8
mov eax, r8d
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0x2c]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
shr r8, 0x18
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx edx, r9b
shr r9d, 8
xor r8, rdx
xor r9d, dword [r10 + r8*4]
not r9d
mov eax, r9d
add rsp, 0x30
pop rdi
ret