joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180003e60
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x58
movaps xmmword [rsp + 0x30], xmm7
mov ecx, reloc.WS2_32.dll_select
movaps xmmword [rsp + 0x20], xmm8
movaps xmm7, xmm1
movaps xmm8, xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x180003e98
xor al, al
movaps xmm7, xmmword [rsp + 0x30]
movaps xmm8, xmmword [rsp + 0x20]
add rsp, 0x58
ret
movaps xmmword [rsp + 0x40], xmm6
mov ecx, reloc.WS2_32.dll_recv
movss xmm6, dword [0x1800fc168]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x180003ebd
movss xmm6, dword [0x1800fc1f0]
mov rax, qword [0x180110508]
mov rcx, qword [rax]
test rcx, rcx
je 0x180003f0f
cmp byte [rcx + 0x60c], 0
addss xmm6, dword [rcx + 0xb4]
je 0x180003ef6
mov rax, qword [0x180110528]
movss dword [rax + 0x14], xmm6
movss dword [rax + 0x10], xmm8
movss dword [rax + 0x18], xmm7
jmp 0x180003f0f
movss dword [rcx + 0xb4], xmm6
movss dword [rcx + 0xb0], xmm8
movss dword [rcx + 0xb8], xmm7
movaps xmm6, xmmword [rsp + 0x40]
mov al, 1
movaps xmm7, xmmword [rsp + 0x30]
movaps xmm8, xmmword [rsp + 0x20]
add rsp, 0x58
ret
Function at 0x180006090
Capabilities:
Create thread

Disassembly:
mov r11, rsp
push rbp
lea rbp, [r11 - 0x5f]
sub rsp, 0xf0
test rcx, rcx
je 0x1800062b9
test rdx, rdx
je 0x1800062b9
test r8, r8
je 0x1800062b9
lea rax, [0x180042dc0]
mov qword [r11 + 0x10], rdi
mov qword [rbp - 9], rax
xor edi, edi
cmp qword [0x180119800], rdi
lea rax, [0x180042f30]
mov qword [rbp + 7], rax
xorps xmm0, xmm0
lea rax, [0x180042f40]
movaps xmmword [r11 - 0x18], xmm6
mov qword [rbp + 0xf], rax
xorps xmm6, xmm6
lea rax, [0x180042f50]
mov qword [0x180119898], rcx
mov qword [rbp + 0x27], rax
lea rax, [0x180042f30]
mov qword [rbp + 0x37], rax
lea rax, [0x180042f40]
mov qword [rbp + 0x3f], rax
lea rax, [0x1800430e0]
mov qword [rbp - 0x69], rax
lea rax, [0x180043330]
mov qword [rbp - 0x49], rax
lea rax, [0x180043340]
mov qword [rbp - 0x41], rax
lea rax, [0x180043350]
mov qword [rbp - 0x39], rax
lea rax, [0x180043460]
mov qword [rbp - 0x19], rax
lea rax, [0x180043490]
mov qword [rbp - 0x11], rax
mov qword [0x1801198a0], rdx
mov qword [0x1801198a8], r8
mov qword [rbp - 1], rdi
mov qword [rbp + 0x2f], rdi
movdqu xmmword [rbp - 0x61], xmm0
mov qword [rbp - 0x51], rdi
movdqu xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], rdi
jne 0x180006292
mov ecx, 0x120
mov qword [r11 + 8], rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x1800061bb
mov rbx, qword [rsp + 0x100]
mov ecx, 0xe0000001
mov qword [0x180119800], rdi
jmp 0x180006297
xor edx, edx
mov r8d, 0x120
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
movaps xmm0, xmmword [rbp - 9]
lea rax, [0x180043630]
movaps xmm1, xmmword [rbp + 7]
xor r9d, r9d
movups xmmword [rbx + 0x10], xmm0
xor r8d, r8d
xor edx, edx
movaps xmm0, xmmword [rbp + 0x27]
xor ecx, ecx
movups xmmword [rbx + 0x20], xmm1
mov qword [0x180119800], rbx
movaps xmm1, xmmword [rbp + 0x37]
movups xmmword [rbx + 0x30], xmm6
mov qword [rbx + 8], rax
movups xmmword [rbx + 0x40], xmm0
movups xmm0, xmmword [rbp - 0x69]
movups xmmword [rbx + 0x50], xmm1
movups xmm1, xmmword [rbp - 0x59]
movups xmmword [rbx + 0x60], xmm0
movups xmm0, xmmword [rbp - 0x49]
movups xmmword [rbx + 0x70], xmm1
movups xmm1, xmmword [rbp - 0x29]
movups xmmword [rbx + 0x80], xmm0
movups xmm0, xmmword [rbp - 0x39]
movups xmmword [rbx + 0x90], xmm0
movups xmm0, xmmword [rbp - 0x19]
movups xmmword [rbx + 0xa0], xmm1
movups xmmword [rbx + 0xb0], xmm0
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov r9, rbx
mov qword [rsp + 0x28], rdi
lea r8, [0x18003f000]
mov qword [rbx + 0xf8], rax
xor edx, edx
mov dword [rsp + 0x20], edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, 0x20000000
mov edx, 0xe0000002
test rax, rax
mov qword [rbx + 0xf0], rax
mov rbx, qword [rsp + 0x100]
cmove ecx, edx
jmp 0x180006297
mov ecx, 0x20000000
movaps xmm6, xmmword [rsp + 0xe0]
cmp ecx, 0x20000000
mov rdi, qword [rsp + 0x108]
sete al
add rsp, 0xf0
pop rbp
ret
xor al, al
add rsp, 0xf0
pop rbp
ret
Function at 0x1800092f0
Capabilities:
Create process on windows
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xe0
mov rdx, rcx
lea rcx, str.Hook64_ErrorMessage
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov ecx, 0x208
call fcn.1800d25b4
xor edx, edx
mov r8d, 0x208
mov rcx, rax
mov rbx, rax
call sub.VCRUNTIME140.dll_memset
call fcn.18004b340
mov r9, rax
lea r8, str._s_s
lea rax, str.Hook64.exe
mov edx, 0x208
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.180004d80
xorps xmm0, xmm0
mov dword [rsp + 0x70], WSAGetLastError
xor eax, eax
xor r9d, r9d
mov dword [rsp + 0xd4], eax
xor r8d, r8d
mov qword [rsp + 0x60], rax
xor edx, edx
lea rax, [rsp + 0x50]
mov rcx, rbx
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
movups xmmword [rsp + 0x74], xmm0
movups xmmword [rsp + 0x84], xmm0
movups xmmword [rsp + 0x94], xmm0
movups xmmword [rsp + 0xa4], xmm0
movups xmmword [rsp + 0xb4], xmm0
movups xmmword [rsp + 0xc4], xmm0
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov edi, Ordinal_79
mov ebx, 0x8000
cmp rbx, 0x8000
jb 0x1800093ee
call fcn.1800986a0
add rdi, 0x13f
add rbx, rdi
lea rdi, [rbx + 0x17b]
jmp 0x1800093e0
Function at 0x18000a570
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rdx
mov r8d, Ordinal_50
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
nop
mov eax, 0x5a4d
mov rcx, qword [rsp + 0x28]
cmp word [rcx], ax
je 0x18000a59e
xor al, al
jmp 0x18000a5e0
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rdx + rcx], 0x4550
je 0x18000a5af
xor al, al
jmp 0x18000a5e0
mov r8d, dword [rdx + rcx + 0xe8]
lea rax, [r8 + rcx]
cmp rbx, rax
jb 0x18000a5d6
mov eax, dword [rdx + rcx + 0xec]
add rax, r8
add rax, rcx
cmp rbx, rax
jae 0x18000a5d6
mov al, 1
jmp 0x18000a5e0
xor al, al
add rsp, 0x50
pop rbx
ret
add rsp, 0x50
pop rbx
ret

Function at 0x18000a7e0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
movzx eax, cx
mov rdi, rdx
mov rbx, rcx
test rax, rax
je 0x18000a802
sub rbx, rax
add rbx, 0x10000
cmp rbx, rdi
jae 0x18000a8ba
nop dword [rax + rax]
lea rax, [rbx - 0x70000000]
cmp rax, 0x10000000
ja 0x18000a82b
add rbx, 0x8000000
jmp 0x18000a8b1
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
mov r8d, Ordinal_50
mov rcx, rbx
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18000a8ba
cmp dword [rsp + 0x40], 0x10000
mov rcx, qword [rsp + 0x38]
jne 0x18000a896
cmp rcx, 0x10000
jb 0x18000a896
mov edx, 0x10000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x18000a8bc
add rbx, 0x10000
jmp 0x18000a8b1
mov rbx, qword [rsp + 0x20]
add rbx, rcx
movzx ecx, bx
test rcx, rcx
je 0x18000a8b1
mov eax, 0x10000
sub rax, rcx
add rbx, rax
cmp rbx, rdi
jb 0x18000a810
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x18000a8d0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
add rdx, 0xffffffffffff0000
mov rdi, rcx
movzx eax, dx
mov rbx, rdx
sub rbx, rax
test rax, rax
cmove rbx, rdx
cmp rbx, rcx
jbe 0x18000a9a8
nop dword [rax]
lea rax, [rbx - 0x70000000]
cmp rax, 0x10000000
ja 0x18000a91b
sub rbx, 0x8000000
jmp 0x18000a99f
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
mov r8d, Ordinal_50
mov rcx, rbx
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18000a9a8
cmp dword [rsp + 0x40], 0x10000
jne 0x18000a983
cmp qword [rsp + 0x38], 0x10000
jb 0x18000a983
mov edx, 0x10000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x18000a9aa
sub rbx, 0x10000
jmp 0x18000a99f
mov rcx, qword [rsp + 0x28]
add rcx, 0xffffffffffff0000
movzx eax, cx
mov rbx, rcx
sub rbx, rax
test rax, rax
cmove rbx, rcx
cmp rbx, rdi
ja 0x18000a900
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x18000a9c0
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
lea rdi, [rcx - 0x7ff80000]
mov rbx, rcx
cmp rcx, 0x7ff80000
ja 0x18000a9e2
mov edi, 0x80000
mov qword [rsp + 0x38], rsi
lea rsi, [rcx + 0x7ff80000]
cmp rbx, 0xffffffff80000000
jb 0x18000a9fe
mov rsi, 0xfffffffffff80000
movzx eax, byte [rcx]
cmp al, 0xff
jne 0x18000aa15
cmp byte [rcx + 1], 0x25
jne 0x18000aa59
movsxd rcx, dword [rcx + 2]
add rcx, 6
jmp 0x18000aa21
cmp al, 0xe9
jne 0x18000aa59
movsxd rcx, dword [rcx + 1]
add rcx, 5
add rcx, rbx
cmp rcx, rbx
jae 0x18000aa44
cmp rcx, 0xffffffff80000000
jae 0x18000aa3b
lea rsi, [rcx + 0x7ff80000]
jmp 0x18000aa59
mov rsi, 0xfffffffffff80000
jmp 0x18000aa59
lea rdi, [rcx - 0x7ff80000]
cmp rcx, 0x7ff80000
ja 0x18000aa59
mov edi, 0x80000
mov rdx, qword [0x180119b80]
mov rax, qword [0x180119b90]
mov qword [rsp + 0x30], rbp
test rdx, rdx
jne 0x18000aa80
test rax, rax
je 0x18000aa97
mov rdx, rax
mov qword [0x180119b80], rax
mov rcx, qword [rdx + 0x10]
test rcx, rcx
je 0x18000aa97
cmp rcx, rdi
jb 0x18000aa97
cmp rcx, rsi
jbe 0x18000abea
mov qword [0x180119b80], rax
mov rdx, rax
test rax, rax
je 0x18000aae2
mov rcx, rax
nop dword [rax]
test rax, rax
je 0x18000aacc
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x18000aacc
cmp rax, rdi
jb 0x18000aacc
cmp rax, rsi
jbe 0x18000abea
mov rdx, qword [rdx + 8]
mov qword [0x180119b80], rdx
mov rcx, rdx
mov rax, rdx
test rdx, rdx
jne 0x18000aab0
movzx eax, bx
sub rbx, rax
cmp rbx, 0x40000000
jbe 0x18000ab0c
lea rdx, [rbx - 0x40000000]
mov rcx, rdi
call fcn.18000a8d0
mov rdx, rax
test rax, rax
jne 0x18000ab98
movabs rbp, 0xffffffff40000000
cmp rbx, rbp
jae 0x18000ab32
lea rcx, [rbx + 0x40000000]
mov rdx, rsi
call fcn.18000a7e0
mov rdx, rax
test rax, rax
jne 0x18000ab98
cmp rbx, 0x40000000
jbe 0x18000ab52
lea rcx, [rbx - 0x40000000]
mov rdx, rbx
call fcn.18000a7e0
mov rdx, rax
test rax, rax
jne 0x18000ab98
cmp rbx, rbp
jae 0x18000ab6e
lea rdx, [rbx + 0x40000000]
mov rcx, rbx
call fcn.18000a8d0
mov rdx, rax
test rax, rax
jne 0x18000ab98
mov rdx, rbx
mov rcx, rdi
call fcn.18000a8d0
mov rdx, rax
test rax, rax
jne 0x18000ab98
mov rdx, rsi
mov rcx, rbx
call fcn.18000a7e0
mov rdx, rax
test rax, rax
je 0x18000ac21
mov dword [rdx], 0x52727464
lea rcx, [rdx + 0xffa8]
xor r8d, r8d
mov qword [0x180119b80], rdx
mov qword [rdx + 0x10], r8
mov r9d, 0x2a7
mov rax, qword [0x180119b90]
mov qword [rdx + 8], rax
lea rax, [rdx + 0xff60]
mov qword [0x180119b90], rdx
mov qword [rcx], r8
lea rcx, [rcx - 0x60]
mov r8, rax
sub rax, 0x60
sub r9, 1
jne 0x18000abd2
mov qword [rdx + 0x10], r8
mov rax, qword [rdx + 0x10]
cmp rax, rdi
jb 0x18000ac21
cmp rax, rsi
ja 0x18000ac21
mov rcx, qword [rax + 0x48]
movdqa xmm0, xmmword [0x1800fc4a0]
mov qword [rdx + 0x10], rcx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
jmp 0x18000ac23
xor eax, eax
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18000ac40
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x28
cmp dword [0x180119a78], 0
jne 0x18000ace7
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
xor eax, eax
lock cmpxchg dword [0x180119a78], ecx
jne 0x18000ace7
mov qword [rsp + 0x38], rbx
mov rbx, qword [0x180119b90]
mov qword [rsp + 0x20], rdi
xor edi, edi
mov qword [0x180119ba0], rdi
mov qword [0x180119b98], rdi
mov qword [0x180119b88], rdi
test rbx, rbx
je 0x18000acd0
nop word [rax + rax]
lea r9, [rsp + 0x30]
mov edx, 0x10000
mov r8d, 0x40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x18000acc8
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x18000aca0
jmp 0x18000acd0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rbx, qword [rsp + 0x38]
mov eax, edi
mov dword [0x180119998], edi
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret
mov eax, 0x10dd
add rsp, 0x28
ret

Function at 0x18000ad00
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x180119a78], eax
je 0x18000ad1c
mov eax, 0x10dd
add rsp, 0x28
ret
mov qword [rsp + 0x38], rbx
mov rbx, qword [0x180119ba0]
mov qword [rsp + 0x40], rsi
xor esi, esi
mov qword [rsp + 0x20], rdi
test rbx, rbx
je 0x18000adb5
nop dword [rax]
mov rax, qword [rbx + 0x20]
lea r9, [rsp + 0x30]
mov r8d, dword [rbx + 0x28]
mov rcx, qword [rbx + 0x18]
movzx edx, byte [rax + 0x3e]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [rbx + 8], esi
jne 0x18000ad9d
mov rdx, qword [rbx + 0x20]
test rdx, rdx
je 0x18000ad9d
xorps xmm0, xmm0
mov rcx, rdx
movups xmmword [rdx], xmm0
and rcx, 0xffffffffffff0000
movups xmmword [rdx + 0x10], xmm0
movups xmmword [rdx + 0x20], xmm0
movups xmmword [rdx + 0x30], xmm0
movups xmmword [rdx + 0x40], xmm0
movups xmmword [rdx + 0x50], xmm0
mov rax, qword [rcx + 0x10]
mov qword [rdx + 0x48], rax
mov qword [rcx + 0x10], rdx
mov qword [rbx + 0x20], rsi
mov rdi, qword [rbx]
mov edx, Ordinal_50
mov rcx, rbx
call fcn.1800d25ac
mov rbx, rdi
test rdi, rdi
jne 0x18000ad40
mov qword [0x180119ba0], rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, qword [0x180119b90]
mov rdi, rax
test rbx, rbx
je 0x18000ae14
nop dword [rax]
nop word [rax + rax]
lea r9, [rsp + 0x30]
mov edx, 0x10000
mov r8d, reloc.WLDAP32.dll_Ordinal_32
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8d, 0x10000
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x18000ade0
mov rdi, qword [0x180119b98]
test rdi, rdi
je 0x18000ae42
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rbx, qword [rdi]
mov edx, reloc.WS2_32.dll_recv
mov rcx, rdi
call fcn.1800d25ac
mov rdi, rbx
test rbx, rbx
jne 0x18000ae20
mov rdi, qword [rsp + 0x20]
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov qword [0x180119b98], rsi
mov dword [0x180119a78], esi
mov rsi, qword [rsp + 0x40]
add rsp, 0x28
ret
Function at 0x18000b300
Capabilities:
Suspend thread

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [0x180119998]
mov rbx, rcx
test eax, eax
jne 0x18000b399
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp rbx, rax
jne 0x18000b32a
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov ecx, reloc.WS2_32.dll_recv
mov qword [rsp + 0x30], rdi
call fcn.1800d2570
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x18000b37d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov edx, reloc.WS2_32.dll_recv
mov rcx, rdi
call fcn.1800d25ac
mov rdi, qword [rsp + 0x30]
mov eax, ebx
mov dword [0x180119998], ebx
mov qword [0x180119b88], 0
add rsp, 0x20
pop rbx
ret
mov rax, qword [0x180119b98]
mov qword [rdi], rax
xor eax, eax
mov qword [rdi + 8], rbx
mov qword [0x180119b98], rdi
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret
Function at 0x18000b8b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push r14
sub rsp, 0x28
mov rdi, rdx
mov r14, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x180119a78], eax
je 0x18000b8d9
mov eax, 0x10dd
add rsp, 0x28
pop r14
pop rdi
ret
mov eax, dword [0x180119998]
test eax, eax
jne 0x18000bae3
test rdi, rdi
jne 0x18000b8f7
lea eax, [rdi + 0x57]
add rsp, 0x28
pop r14
pop rdi
ret
test r14, r14
je 0x18000b913
cmp qword [r14], 0
jne 0x18000b920
mov dword [0x180119998], 6
mov qword [0x180119b88], r14
mov eax, 6
add rsp, 0x28
pop r14
pop rdi
ret
mov qword [rsp + 0x40], rbx
mov ecx, Ordinal_50
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x20], r15
call fcn.1800d2570
mov rbx, qword [r14]
mov rsi, rax
test rbx, rbx
je 0x18000b9bd
cmp byte [rbx], 0xff
jne 0x18000b970
cmp byte [rbx + 1], 0x25
jne 0x18000b970
movsxd r15, dword [rbx + 2]
lea rdx, [rbx + 6]
add rdx, r15
mov rcx, rbx
call fcn.18000a570
test al, al
je 0x18000b970
mov rbx, qword [r15 + rbx + 6]
cmp byte [rbx], 0xeb
jne 0x18000b9bd
movsx rax, byte [rbx + 1]
add rbx, 2
add rbx, rax
movzx ecx, byte [rbx]
cmp cl, 0xff
jne 0x18000b9ad
cmp byte [rbx + 1], 0x25
jne 0x18000b9ad
movsxd r15, dword [rbx + 2]
mov rcx, rbx
lea rdx, [r15 + 6]
add rdx, rbx
call fcn.18000a570
test al, al
je 0x18000b9bd
mov rbx, qword [r15 + rbx + 6]
jmp 0x18000b9bd
cmp cl, 0xe9
jne 0x18000b9bd
movsxd rax, dword [rbx + 1]
add rbx, 5
add rbx, rax
cmp byte [rdi], 0xff
jne 0x18000b9e4
cmp byte [rdi + 1], 0x25
jne 0x18000b9e4
movsxd r15, dword [rdi + 2]
lea rdx, [rdi + 6]
add rdx, r15
mov rcx, rdi
call fcn.18000a570
test al, al
je 0x18000b9e4
mov rdi, qword [r15 + rdi + 6]
cmp byte [rdi], 0xeb
jne 0x18000ba31
movsx rax, byte [rdi + 1]
add rdi, 2
add rdi, rax
movzx ecx, byte [rdi]
cmp cl, 0xff
jne 0x18000ba21
cmp byte [rdi + 1], 0x25
jne 0x18000ba21
movsxd r15, dword [rdi + 2]
mov rcx, rdi
lea rdx, [r15 + 6]
add rdx, rdi
call fcn.18000a570
test al, al
je 0x18000ba31
mov rdi, qword [r15 + rdi + 6]
jmp 0x18000ba31
cmp cl, 0xe9
jne 0x18000ba31
movsxd rax, dword [rdi + 1]
add rdi, 5
add rdi, rax
movzx edx, byte [rbx + 0x3e]
mov rbp, qword [rbx + 0x48]
mov r15, qword [rsp + 0x20]
sub rbp, rdx
test dl, dl
je 0x18000baaa
cmp rdx, 0x1e
ja 0x18000baaa
cmp qword [rbx + 0x50], rdi
jne 0x18000baaa
lea r9, [rsp + 0x50]
mov dword [rsp + 0x50], 0
mov r8d, 0x40
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18000ba7b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x18000bab8
mov dword [rsi + 8], 1
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x20], rbx
mov qword [rsi + 0x18], rbp
mov eax, dword [rsp + 0x50]
mov dword [rsi + 0x28], eax
mov rax, qword [0x180119ba0]
mov qword [rsi], rax
xor eax, eax
mov qword [0x180119ba0], rsi
jmp 0x18000bad4
cmp dword [0x1801197b0], 0
mov ebx, 9
jne 0x18000babe
mov dword [0x180119998], ebx
mov edx, Ordinal_50
mov rcx, rsi
call fcn.1800d25ac
mov eax, ebx
mov qword [0x180119b88], r14
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
add rsp, 0x28
pop r14
pop rdi
ret
Function at 0x18000e6b0
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 0x18000e70d
lea rbx, [0x1800e8730]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x18000e6f4
cmp r10, 2
jb 0x18000e6f4
cmp byte [r9], r8b
jne 0x18000e6f4
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 0x18000e6d0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18000e74f
lea rbx, [0x1800e8730]
cmp r8b, 0x23
jne 0x18000e733
cmp byte [r9], r8b
jne 0x18000e733
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 0x18000e720
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x18000e940
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
test r8, r8
je 0x18000e959
mov qword [r8], 0
lea rdx, [0x1800f5078]
call fcn.18000e760
mov rbx, rax
test rax, rax
jne 0x18000e978
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
xor edx, edx
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x18000ea38
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x18000ea38
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x18000ea38
mov rax, qword [0x1801197e8]
mov rbp, rsi
test rax, rax
je 0x18000e9d5
inc dword [rax + 0x3b0]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x18000ea38
mov r9, rbx
mov r8, rbp
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, rbp
je 0x18000ea25
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1801197e8]
test rax, rax
je 0x18000ea1a
dec dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18000ea41
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x18000ea33
mov qword [rdi], rbp
mov rax, rsi
jmp 0x18000ea43
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 0x180012990
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
xor eax, eax
lea r8, [0x1800f5ec9]
mov dword [rsp + 0x2c], eax
lea r11, [0x1800e8730]
mov qword [rsp + 0x48], rax
mov r10d, 0xffffffff
lea rax, str.Window
mov rbx, rcx
mov qword [rsp + 0x20], rax
mov edx, r10d
mov r9b, 0x57
nop
cmp r9b, 0x23
jne 0x1800129e3
cmp byte [r8], r9b
jne 0x1800129e3
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x1800129d0
mov ecx, dword [rbx + 0x2ed4]
lea rax, [0x18001dc80]
mov edi, dword [rbx + 0x2ed0]
not edx
mov qword [rsp + 0x30], rax
lea rax, [0x18001dd50]
mov qword [rsp + 0x38], rax
lea rax, [0x18001de40]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x28], edx
cmp edi, ecx
jne 0x180012ae5
inc edi
test ecx, ecx
je 0x180012a4f
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180012a54
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x180012ae5
mov rax, qword [0x1801197e8]
mov qword [rsp + 0x60], rsi
test rax, rax
je 0x180012a78
inc dword [rax + 0x3b0]
movsxd rax, edi
lea rcx, [rax + rax*2]
shl rcx, 4
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdx, qword [rbx + 0x2ed8]
mov rsi, rax
test rdx, rdx
je 0x180012ad3
movsxd rcx, dword [rbx + 0x2ed0]
lea r8, [rcx + rcx*2]
mov rcx, rax
shl r8, 4
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbx + 0x2ed8]
test rcx, rcx
je 0x180012acd
mov rax, qword [0x1801197e8]
test rax, rax
je 0x180012acd
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2ed8], rsi
mov rsi, qword [rsp + 0x60]
mov dword [rbx + 0x2ed4], edi
movsxd rax, dword [rbx + 0x2ed0]
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x2ed8]
add rcx, rcx
movups xmmword [rax + rcx*8], xmm0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + rcx*8 + 0x10], xmm1
movups xmmword [rax + rcx*8 + 0x20], xmm0
inc dword [rbx + 0x2ed0]
mov byte [rbx], 1
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x180013d00
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x180013d50
lea r11, [0x1800e8730]
nop dword [rax]
cmp r9b, 0x23
jne 0x180013d33
cmp byte [r8], r9b
jne 0x180013d33
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180013d20
mov rcx, qword [0x1801197e8]
not eax
movsxd rdx, dword [rcx + 0x1a00]
mov r9, qword [rcx + 0x1a08]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x180013db1
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x180013da9
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x180013dac
mov rdx, r8
test rdx, rdx
jne 0x180013d80
cmp r9, r10
je 0x180013dc0
cmp dword [r9], eax
jne 0x180013dc0
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret