joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001db0
Capabilities:
Query environment variable

Disassembly:
push rbp
mov eax, 0x2900
call fcn.140008f50
sub rsp, rax
mov rax, qword [0x1400260e0]
xor rax, rsp
mov qword [rsp + 0x28f0], rax
mov rbp, rcx
mov rcx, qword [0x140026cd0]
test rcx, rcx
je 0x140001df1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140026cd0], 0
lea rcx, str.DBGHELP.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x140001fa8
lea rdx, str.MiniDumpWriteDump
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140026d30], rax
test rax, rax
je 0x140001fa8
mov qword [rsp + 0x2920], rsi
xor ecx, ecx
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r8d, 0xa28
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x140001fa0
mov rdx, qword [str.Updater.exe]
mov eax, eax
mov qword [rsp + 0x2918], rbx
mov rbx, 0xffffffffffffffff
mov qword [rsp + 0x2928], rdi
lea rdi, [rsp + 0x50]
lea rdi, [rdi + rax*2]
mov rax, rbx
inc rax
cmp word [rdx + rax*2], si
jne 0x140001e81
add rax, rax
mov rcx, rdi
sub rcx, rax
call fcn.14000f434
test eax, eax
jne 0x140001edc
mov rax, qword [str.Updater.exe]
inc rbx
cmp word [rax + rbx*2], si
jne 0x140001ea3
add rbx, rbx
lea rdx, [0x14001970c]
sub rdi, rbx
mov rcx, rdi
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x50]
call fcn.140001fd0
mov rsi, rax
lea rcx, [rax + 1]
test rcx, 0xfffffffffffffffe
jne 0x140001f32
mov r8d, 0xa28
lea rdx, [rsp + 0x14a0]
lea rcx, str.APPDATA
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x140001f2d
mov r8, qword [str.Telegram_Desktop]
lea rcx, [rsp + 0x14a0]
mov eax, eax
lea rdx, str._s_
lea rcx, [rcx + rax*2]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x14a0]
call fcn.140001fd0
mov rsi, rax
test rsi, rsi
je 0x140001f90
cmp rsi, 0xffffffffffffffff
je 0x140001f90
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rdi, qword [0x140026d30]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x44], rbp
mov dword [rsp + 0x4c], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov r9d, 1
mov qword [rsp + 0x20], rcx
mov r8, rsi
mov rcx, rax
mov edx, ebx
call rdi
mov rbx, qword [rsp + 0x2918]
mov rdi, qword [rsp + 0x2928]
mov rsi, qword [rsp + 0x2920]
mov rcx, qword [rsp + 0x28f0]
xor rcx, rsp
call fcn.140008fb0
add rsp, 0x2900
pop rbp
ret
Function at 0x140001fd0
Capabilities:
Create directory

Disassembly:
push rbx
mov eax, 0x3d80
call fcn.140008f50
sub rsp, rax
mov rax, qword [0x1400260e0]
xor rax, rsp
mov qword [rsp + 0x3d70], rax
mov rbx, rcx
lea rdx, str._stdata_
mov r8, rcx
lea rcx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_wsprintfW]
xor edx, edx
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14000202d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140002066
mov r8, rbx
lea rdx, str._sdumps_
lea rcx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_wsprintfW]
xor edx, edx
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14000206d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14000206d
xor eax, eax
jmp 0x14000216a
mov r8, qword [str.Updater.exe]
lea rcx, [rsp + 0x14d0]
mov edx, 0xa28
call fcn.14000f2f0
mov edx, 0x2e
lea rcx, [rsp + 0x14d0]
call fcn.140009c34
test rax, rax
je 0x1400020ad
lea rdx, [0x14001970c]
mov rcx, rax
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
movzx ecx, word [rsp + 0x7c]
movzx edx, word [rsp + 0x7a]
movzx r8d, word [rsp + 0x78]
movzx r9d, word [rsp + 0x76]
movzx r10d, word [rsp + 0x72]
movzx r11d, word [rsp + 0x70]
mov dword [rsp + 0x60], ebx
mov dword [rsp + 0x58], eax
mov rax, qword [section..data]
mov dword [rsp + 0x50], ecx
lea rcx, [rsp + 0x2920]
mov dword [rsp + 0x48], edx
lea rdx, str._s_s__s__04d_02d_02d__02d_02d_02d__ld__ld.dmp
mov dword [rsp + 0x40], r8d
lea r8, [rsp + 0x80]
mov dword [rsp + 0x38], r9d
lea r9, [rsp + 0x14d0]
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], r11d
mov qword [rsp + 0x20], rax
call qword [sym.imp.USER32.dll_wsprintfW]
xor eax, eax
lea rcx, [rsp + 0x2920]
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov dword [rsp + 0x28], eax
mov edx, 0xc0000000
mov dword [rsp + 0x20], 2
lea r8d, [rax + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rcx, qword [rsp + 0x3d70]
xor rcx, rsp
call fcn.140008fb0
add rsp, 0x3d80
pop rbx
ret
Function at 0x140002410
Capabilities:
Delete directory

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x1400260e0]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor ebx, ebx
mov qword [rbp + 0x27], rbx
mov qword [rbp + 0x37], rbx
mov qword [rbp + 0x3f], 7
mov word [rbp + 0x27], bx
lea r8d, [rbx + 0xe]
lea rdx, str.tupdates_ready
lea rcx, [rbp + 0x27]
call fcn.140002290
nop
mov qword [rbp + 7], rbx
mov qword [rbp + 0x17], rbx
mov qword [rbp + 0x1f], 7
mov word [rbp + 7], bx
lea r8d, [rbx + 0xd]
lea rdx, str.tupdates_temp
lea rcx, [rbp + 7]
call fcn.140002290
nop
mov qword [rbp - 0x19], rbx
mov qword [rbp - 9], rbx
mov qword [rbp - 1], 7
mov word [rbp - 0x19], bx
lea r8d, [rbx + 8]
lea rdx, str.tupdates
lea rcx, [rbp - 0x19]
call fcn.140002290
nop
lea rcx, [rbp + 0x27]
call fcn.140002620
lea rcx, [rbp + 7]
call fcn.140002620
lea rcx, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae rcx, qword [rbp - 0x19]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
nop
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x140002514
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000250f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400025c0
call fcn.140008948
mov qword [rbp - 9], rbx
mov qword [rbp - 1], 7
mov word [rbp - 0x19], bx
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x140002561
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000255b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400025c6
call fcn.140008948
nop
mov rdx, qword [rbp + 0x3f]
cmp rdx, 8
jb 0x14000259d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002598
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400025ba
call fcn.140008948
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140008fb0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rbp
ret
call fcn.14000f278
nop
call fcn.14000f278
nop
call fcn.14000f278
int3
Function at 0x140002980
Capabilities:
Create directory

Disassembly:
push rbx
mov eax, 0x14d0
call fcn.140008f50
sub rsp, rax
mov rax, qword [0x1400260e0]
xor rax, rsp
mov qword [rsp + 0x14c0], rax
cmp byte [0x140026cc8], 0
je 0x140002b08
cmp qword [0x140026cd0], 0
jne 0x140002b08
xor ebx, ebx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], 7
lea r8d, [rbx + 9]
lea rdx, str.DebugLogs
lea rcx, [rsp + 0x50]
call fcn.140002290
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140002a27
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140002a27
cmp eax, 0xb7
je 0x140002a27
mov edx, eax
lea rcx, str.Failed_to_create_log_directory
call fcn.140004b00
jmp 0x140002aca
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [rsp + 0x4c]
movzx ecx, word [rsp + 0x4a]
movzx edx, word [rsp + 0x48]
movzx r10d, word [rsp + 0x46]
movzx r9d, word [rsp + 0x42]
movzx r8d, word [rsp + 0x40]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], r10d
lea rdx, str.DebugLogs_04d_02d_02d__02d_02d_02d_upd.txt
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_wsprintfW]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov edx, 0x40000000
lea r8d, [r9 + 7]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x140026cd0], rax
cmp rax, 0xffffffffffffffff
jne 0x140002aca
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_to_create_log_file
call fcn.140004b00
mov qword [0x140026cd0], rbx
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140002b08
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002b03
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002b21
call fcn.140008948
mov rcx, qword [rsp + 0x14c0]
xor rcx, rsp
call fcn.140008fb0
add rsp, 0x14d0
pop rbx
ret
call fcn.14000f278
int3
Function at 0x1400082c8
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x140008340
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x140008340
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x140008340
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x140008334
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x140008352
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x140008322
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x140008342

Function at 0x140009888
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140012c77
mov rsi, rbx
cmp word [rax], bp
je 0x140012c36
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140012c20
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140012c1c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400118a0
mov rdi, rax
test rax, rax
je 0x140012c64
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14000aaf0
mov rbp, rdi
xor ecx, ecx
call fcn.1400119b4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180002790
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x28
test rdx, rdx
je 0x18000288e
mov rax, rcx
mov rcx, qword [rdx + 0x10]
test rcx, rcx
je 0x18000288e
or byte [rcx + 0x18], 1
mov r9, qword [rdx + 0x18]
mov r11, r9
and r11, 0xfffffffffffffffe
je 0x1800028a7
mov r8, qword [r11 + 0x10]
test r8, r8
je 0x1800027d5
mov r10, qword [r8 + 0x18]
test r10b, 1
jne 0x1800027f5
or r9, 1
mov qword [rdx + 0x18], r9
mov rcx, qword [r11 + 0x10]
or rcx, 1
mov qword [rdx + 0x18], rcx
mov qword [r11 + 0x10], rdx
mov qword [rax], r11
add rsp, 0x28
ret
and r10, 0xfffffffffffffffe
mov qword [r11 + 0x10], r10
mov dword [rbp + rcx*4 + 0x59], 0xd80344f0

Function at 0x180004e61
Capabilities:
Access peb ldr_data

Disassembly:
push rbx
sub rsp, 0x200
mov rax, qword gs:[0x60]
mov rbx, qword [rax + 0x18]
add rbx, 0x10
nop word [rax + rax]
mov rbx, qword [rbx]
mov rdx, qword [rbx + 0x60]
test rdx, rdx
je 0x180004e81
xor ecx, ecx
cmp word [rdx], cx
je 0x180004e9f
inc ecx
mov eax, ecx
cmp word [rdx + rcx*2], 0
jne 0x180004e94
xor r8d, r8d
test ecx, ecx
je 0x180004e81
mov r9d, ecx
nop dword [rax + rax]
movzx eax, word [rdx]
lea ecx, [rax - 0x41]
cmp cx, 0x19
ja 0x180004ec1
add ax, 0x20
imul r8d, r8d, 0x1003f
add rdx, 2
movzx ecx, ax
add r8d, ecx
sub r9, 1
jne 0x180004eb1
cmp r8d, 0xa09b00e3
jne 0x180004e81
mov rbx, qword [rbx + 0x30]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.180004c41
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
mov eax, dword [rsp + 0xc0]
add rax, rbx
call rax
add rsp, 0x200
pop rbx
ret

Function at 0x180007cb0
Capabilities:
Encode data using base64

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
call fcn.18004c9d0
test al, al
je 0x180007d3c
test rdi, rdi
mov r8d, 1
cmovne r8, rdi
cmp rsi, 9
mov edx, 8
cmovae rdx, rsi
cmp r8, 0x1f1
jb 0x180007cfa
mov rcx, qword [0x1800a66c8]
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.180007d50
mov eax, dword [0x1800a64f4]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x180007cef
mov rcx, qword [0x1800a66c8]
mov eax, dword [0x1800a64f4]
mov rdi, qword gs:[0x58]
mov rax, qword [rdi + rax*8]
mov qword [rax + 8], rcx
jmp 0x180007cef
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x180007d50
Capabilities:
Encode data using base64

Disassembly:
mov r11, rdx
lea rax, [rdx + r8]
dec rax
neg rdx
and rdx, rax
cmp rdx, r8
jb 0x180007dbf
cmp rdx, 0x1001
jae 0x180007d7f
cmp rdx, 0xf00
ja 0x180007d91
xor r8d, r8d
jmp fcn.180030190
cmp r11, 0x1000
ja 0x180007d99
cmp rdx, 0xfc001
jae 0x180007d99
xor r8d, r8d
jmp fcn.180038150
mov edx, 0xfff
mov r9, 0xfffffffffffff000
lea r10, [r8 + rdx]
and r10, r9
cmp r10, r8
jb 0x180007dbf
add r11, rdx
and r11, r9
mov r9, r10
add r9, r11
jae 0x180007dc2
xor eax, eax
ret
lea rax, [r11 + r11]
cmp r10, r11
cmovb r9, rax
add r9, 0xfffffffffffff000
cmp r9, 0xfc000
jbe 0x180007dff
cmp r11, 0x100000
ja 0x180007df1
mov r8d, 0x100000
mov rdx, r10
jmp 0x180007df7
mov rdx, r10
mov r8, r11
xor r9d, r9d
jmp fcn.180004060
mov rdx, r11
mov r8, r10
jmp 0x180051ad0
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, r9
mov r15, r8
mov rsi, rdx
mov r12, rcx
lea r14, [rcx + 0x18]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, r12
mov rdx, rdi
call fcn.180050530
test rax, rax
je 0x180051b81
mov rbx, rax
mov r13, rax
and r13, 0xfffffffffff00000
lea rax, [rsi - 1]
and rax, rbx
je 0x180051b85
mov rcx, rsi
sub rcx, rax
sub rdi, rcx
sub rsi, rax
je 0x180051b70
mov eax, ebx
shr eax, 0xc
movzx r8d, al
mov rcx, rsi
shr rcx, 0xc
mov rdx, rsi
or rdx, 3
lea rax, [r8 + r8*2]
mov qword [r13 + rax*8 + 0x30], rdx
mov rax, rdi
or rax, 3
add rcx, r8
lea rcx, [rcx + rcx*2]
mov qword [r13 + rcx*8 + 0x30], rax
mov rcx, r12
mov rdx, rbx
xor r8d, r8d
call fcn.180027800
add rbx, rsi
cmp rdi, r15
je 0x180051bc9
mov r8, rbx
sub r8, r13
shr r8, 0xc
jmp 0x180051b8e
xor ebx, ebx
jmp 0x180051bce
mov eax, ebx
shr eax, 0xc
movzx r8d, al
mov rdx, rbx
mov rcx, r15
shr rcx, 0xc
mov rsi, r15
or rsi, 3
lea rax, [r8 + r8*2]
mov qword [r13 + rax*8 + 0x30], rsi
sub rdi, r15
or rdi, 3
add rcx, r8
lea rax, [rcx + rcx*2]
mov qword [r13 + rax*8 + 0x30], rdi
add rdx, r15
mov rcx, r12
xor r8d, r8d
call fcn.180027800
add qword [r12 + 0x58], r15
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, rbx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x18000a340
Capabilities:
Hash data using murmur3

Disassembly:
cmp dword [rcx + 4], 0
je 0x18000a3ea
mov eax, dword [rcx + 8]
rol eax, 1
mov edx, dword [rcx + 0xc]
rol edx, 7
add edx, eax
mov eax, dword [rcx + 0x10]
rol eax, 0xc
add eax, edx
mov r9d, dword [rcx + 0x14]
rol r9d, 0x12
add r9d, eax
add r9d, dword [rcx]
mov r8d, dword [rcx + 0x28]
add rcx, 0x18
and r8d, 0xf
cmp r8d, 4
jb 0x18000a3a0
imul eax, dword [rcx], 0xc2b2ae3d
add eax, r9d
rol eax, 0x11
add rcx, 4
imul r9d, eax, 0x27d4eb2f
add r8, 0xfffffffffffffffc
cmp r8, 3
ja 0x18000a37f
test r8, r8
je 0x18000a3c6
xor edx, edx
movzx eax, byte [rcx + rdx]
imul eax, eax, 0x165667b1
add eax, r9d
rol eax, 0xb
imul r9d, eax, 0x9e3779b1
inc rdx
cmp r8, rdx
jne 0x18000a3a7
mov eax, r9d
shr eax, 0xf
xor eax, r9d
imul eax, eax, 0x85ebca77
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul ecx, ecx, 0xc2b2ae3d
mov eax, ecx
shr eax, 0x10
xor eax, ecx
ret
mov r9d, 0x165667b1
add r9d, dword [rcx + 0x10]
jmp 0x18000a36a
Function at 0x18000b430
Capabilities:
Hash data using murmur3

Disassembly:
push rsi
push rdi
push rbx
cmp rdx, 0x10
jae 0x18000b4b6
add r8d, 0x165667b1
mov esi, r8d
add esi, edx
and edx, 0xf
cmp rdx, 4
jb 0x18000b46d
imul eax, dword [rcx], 0xc2b2ae3d
add eax, esi
rol eax, 0x11
add rcx, 4
imul esi, eax, 0x27d4eb2f
add rdx, 0xfffffffffffffffc
cmp rdx, 3
ja 0x18000b44e
test rdx, rdx
je 0x18000b491
xor eax, eax
movzx ebx, byte [rcx + rax]
imul ebx, ebx, 0x165667b1
add ebx, esi
rol ebx, 0xb
imul esi, ebx, 0x9e3779b1
inc rax
cmp rdx, rax
jne 0x18000b474
mov eax, esi
shr eax, 0xf
xor eax, esi
imul eax, eax, 0x85ebca77
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul ecx, ecx, 0xc2b2ae3d
mov eax, ecx
shr eax, 0x10
xor eax, ecx
pop rbx
pop rdi
pop rsi
ret
lea r9, [rcx + rdx]
add r9, 0xfffffffffffffff1
lea r10d, [r8 + 0x24234428]
lea r11d, [r8 - 0x7a143589]
lea esi, [r8 + 0x61c8864f]
imul eax, dword [rcx], 0x85ebca77
add eax, r10d
rol eax, 0xd
imul edi, dword [rcx + 4], 0x85ebca77
add edi, r11d
rol edi, 0xd
imul r10d, eax, 0x9e3779b1
imul eax, dword [rcx + 8], 0x85ebca77
add eax, r8d
rol eax, 0xd
imul ebx, dword [rcx + 0xc], 0x85ebca77
imul r11d, edi, 0x9e3779b1
add ebx, esi
rol ebx, 0xd
imul r8d, eax, 0x9e3779b1
imul esi, ebx, 0x9e3779b1
add rcx, 0x10
cmp rcx, r9
jb 0x18000b4d3
rol r10d, 1
rol r11d, 7
add r11d, r10d
rol r8d, 0xc
add r8d, r11d
rol esi, 0x12
add esi, r8d
jmp 0x18000b443
Function at 0x180010880
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov rax, qword [0x1800a6010]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x20]
mov edx, 8
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x1800108cd
mov rax, qword [rsp + 0x20]
mov qword [rsi], rax
mov al, 1
mov byte [rsi + 8], al
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18004bde0
mov rax, rsi
add rsp, 0x30
pop rsi
ret
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
xor eax, eax
jmp 0x1800108b4

Function at 0x180012e80
Capabilities:
Parse pe header

Disassembly:
mov rax, rcx
mov qword [rcx], rdx
xorps xmm0, xmm0
movups xmmword [rcx + 8], xmm0
mov byte [rcx + 0x18], 0
test rdx, rdx
je 0x180012f01
movzx ecx, word [rdx]
cmp ecx, 0x5a4d
jne 0x180012f01
lea r8, [rax + 8]
movsxd r9, dword [rdx + 0x3c]
lea r10, [rdx + r9]
mov qword [r8], r10
cmp dword [rdx + r9], 0x4550
jne 0x180012f01
movzx ecx, word [r10 + 0x18]
cmp ecx, 0x20b
jne 0x180012f01
mov r8d, dword [r10 + 0x50]
cmp r8d, 0x148
jb 0x180012f01
lea ecx, [r8 - 1]
add rdx, rcx
mov qword [rax + 0x10], rdx
mov ecx, dword [r10 + 0x84]
cmp ecx, 0x10
mov edx, 0x10
cmovb edx, ecx
cmp edx, 2
jb 0x180012f01
cmp dword [r10 + 0x90], r8d
setae byte [rax + 0x18]
ret

Function at 0x180013a50
Capabilities:
Get number of processors

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test rdx, rdx
je 0x180013ac5
mov rdi, rdx
mov rbx, rcx
lea rsi, [rcx + 8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov r14, qword [rbx + 0x10]
mov qword [rbx + 0x10], 0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test r14, r14
je 0x180013ac5
mov rax, qword [rdi]
mov rax, qword [rax + 0x10]
mov rcx, rdi
mov rdx, r14
call qword [case.0x18004aa4e.0]
mov rdi, qword [r14]
mov rax, qword [r14 + 8]
test rax, rax
jg 0x180013ad0
cmp rdi, 0x60
jne 0x180013b55
mov rcx, r14
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp sym.mozglue.dll__aligned_free
nop
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rsi, [rax + rax*2]
shl rsi, 5
add rsi, rdi
add rdi, 0x28
mov r8, qword [rdi + 0x18]
cmp r8, 8
je 0x180013b01
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rcx, qword [rax + 0x30]
xor edx, edx
call sub.ntdll.dll_RtlFreeHeap
cmp qword [rdi + 8], 0
je 0x180013b1e
mov rcx, rdi
call sub.ntdll.dll_RtlFreeUnicodeString
mov dword [rdi], 0
mov qword [rdi + 8], 0
cmp qword [rdi - 8], 0
je 0x180013b3d
lea rcx, [rdi - 0x10]
call sub.ntdll.dll_RtlFreeUnicodeString
mov dword [rdi - 0x10], 0
mov qword [rdi - 8], 0
lea rax, [rdi + 0x60]
add rdi, 0x38
cmp rdi, rsi
mov rdi, rax
jb 0x180013adf
mov rdi, qword [r14]
jmp 0x180013aaa
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rcx, qword [rax + 0x30]
xor edx, edx
mov r8, rdi
call sub.ntdll.dll_RtlFreeHeap
jmp 0x180013ab4
Function at 0x180014d80
Capabilities:
Allocate or change rwx memory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1800a6010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov ebx, dword [rcx + 0x18]
shl ebx, 7
mov edx, ebx
mov r8d, 0x80
call fcn.180014ed0
test al, al
je 0x180014e8b
mov ecx, ebx
add rcx, qword [rdi + 8]
lea r9, [rsp + 0x28]
mov qword [r9 - 8], rdi
mov dword [r9], 0
mov qword [r9 + 8], rcx
mov qword [r9 + 0x10], rcx
xorps xmm0, xmm0
movups xmmword [r9 + 0x18], xmm0
mov dword [r9 + 0x28], 0x80
mov byte [r9 + 0x2c], 1
mov edx, 0x80
mov r8d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x180014e9f
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x180014eac
mov rdx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov eax, dword [rsp + 0x28]
mov r8b, byte [rsp + 0x54]
test rdx, rdx
je 0x180014e3a
test rbx, rbx
je 0x180014e3a
test eax, eax
je 0x180014e3a
test r8b, r8b
je 0x180014e3a
inc dword [rdi + 0x18]
mov qword [rsi], rcx
mov dword [rsi + 8], eax
mov qword [rsi + 0x10], rdx
mov qword [rsi + 0x18], rbx
mov eax, dword [rsp + 0x40]
mov dword [rsi + 0x20], eax
mov eax, dword [rsp + 0x44]
mov dword [rsi + 0x24], eax
mov eax, dword [rsp + 0x48]
mov dword [rsi + 0x28], eax
mov eax, dword [rsp + 0x4c]
mov dword [rsi + 0x2c], eax
mov eax, dword [rsp + 0x50]
mov dword [rsi + 0x30], eax
mov byte [rsi + 0x34], r8b
mov byte [rsi + 0x38], 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18004bde0
mov rax, rsi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
xorps xmm0, xmm0
movups xmmword [rsi + 0x30], xmm0
movups xmmword [rsi + 0x20], xmm0
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi], xmm0
jmp 0x180014e73
mov dword [rsp + 0x28], 0
jmp 0x180014e03
mov eax, dword [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov r8b, byte [rsp + 0x54]
jmp 0x180014e37