joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180178790
Capabilities:
Encrypt or decrypt data via bcrypt

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xb8
lea rbp, [rsp + 0xf0]
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], rax
mov qword [rbp + 0x10], rcx
mov rsi, rdx
mov edi, r8d
mov rbx, r9
mov r15, qword [rbp + 0x30]
mov r14, qword [rbp + 0x50]
xor edx, edx
mov dword [rbp - 0x40], edx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.180119bc0
mov rcx, qword [rbp + 0x10]
mov rdx, qword [rcx + 8]
test r15, r15
jne 0x1801787eb
xor eax, eax
jmp 0x1801787ef
lea rax, [r15 + 0x10]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], r14
mov r8d, edi
mov r9, rbx
mov edi, dword [rbp + 0x38]
mov rbx, qword [rbp + 0x40]
mov r15d, dword [rbp + 0x48]
mov r12d, dword [rbp + 0x58]
mov dword [rsp + 0x48], r12d
mov rcx, rdx
mov qword [rbp - 0x5c], rcx
mov rdx, rsi
mov qword [rbp - 0x64], rdx
mov dword [rbp - 0x54], r8d
mov qword [rbp - 0x6c], r9
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x40], r14
lea rcx, [rbp - 0x98]
call fcn.180004c50
mov rcx, qword [rbp - 0x5c]
mov rdx, qword [rbp - 0x64]
mov r8d, dword [rbp - 0x54]
mov r9, qword [rbp - 0x6c]
call sub.bcrypt.dll_BCryptDecrypt
mov esi, eax
lea rcx, [rbp - 0x98]
call fcn.180004ca0
nop
xor ecx, ecx
mov qword [rbp - 0x50], rcx
xor ecx, ecx
mov qword [rbp - 0x48], rcx
cmp byte [rbp - 0x40], 0
je 0x18017888c
mov rcx, qword [rbp + 0x10]
xor edx, edx
call fcn.180119c50
mov eax, esi
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x18017db60
Capabilities:
Generate random numbers via winapi

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
mov r8d, edx
mov dword [rbp - 0x3c], r8d
mov rdx, rcx
mov qword [rbp - 0x48], rdx
xor ecx, ecx
mov qword [rbp - 0x50], rcx
mov r9d, 2
mov dword [rbp - 0x40], r9d
lea rcx, [rbp - 0x78]
call fcn.180004c50
mov r8d, dword [rbp - 0x3c]
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x50]
mov r9d, dword [rbp - 0x40]
call sub.bcrypt.dll_BCryptGenRandom
mov esi, eax
lea rcx, [rbp - 0x78]
call fcn.180004ca0
mov ecx, esi
test ecx, ecx
jne 0x18017dbd6
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
or ecx, 0x1000000
call fcn.180179940
mov rcx, rax
call fcn.1800052c0
int3
Function at 0x1801898f0
Capabilities:
Check for debugger via api

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
mov rsi, rdx
mov qword [rbp + 0x18], rsi
movzx edi, byte [rsi]
xor edx, edx
test edi, edi
setne dl
mov dword [rbp - 0x40], edx
lea rdx, [rbp - 0x40]
mov qword [rbp - 0x48], rdx
mov qword [rbp - 0x50], rcx
lea rcx, [rbp - 0x78]
call fcn.180004c50
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x50]
call sub.KERNEL32.dll_CheckRemoteDebuggerPresent
mov edi, eax
lea rcx, [rbp - 0x78]
call fcn.180004ca0
xor eax, eax
test edi, edi
setne al
mov edx, dword [rbp - 0x40]
movzx edi, dl
mov rsi, qword [rbp + 0x18]
mov byte [rsi], dil
movzx eax, al
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x180189d00
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r14
push rdi
push rsi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x70]
xorps xmm4, xmm4
movups xmmword [rbp - 0x38], xmm4
xor eax, eax
mov qword [rbp - 0x28], rax
mov rsi, rcx
call fcn.180189b80
test eax, eax
je 0x180189d2f
xor ecx, ecx
call fcn.18008a020
mov rcx, rsi
call fcn.18009a8a0
mov rsi, rax
call fcn.1800028d4
mov rdi, rax
mov rcx, qword [rdi + 8]
call fcn.18009a8a0
mov rbx, rax
mov rcx, qword [rdi + 0x10]
call fcn.18009a8a0
mov rdi, rax
lea rcx, [0x1802ba2f0]
call fcn.1800047e0
mov r14, rax
mov rcx, r14
call fcn.180179df0
mov rcx, r14
mov qword [rbp - 0x28], rcx
mov rdx, rbx
call fcn.18017dd00
mov rcx, qword [rbp - 0x28]
mov rdx, rdi
call fcn.18017dc40
mov rcx, qword [rbp - 0x28]
mov edx, 1
call fcn.18017de80
mov rcx, qword [rbp - 0x28]
mov edx, 2
call fcn.18017dee0
lea rcx, [0x1802a74d0]
call fcn.1800047e0
mov rdi, rax
mov rcx, rdi
xor edx, edx
call fcn.1801079c0
mov qword [rbp - 0x30], rdi
mov rcx, qword [rbp - 0x28]
call fcn.18017dcd0
mov rbx, rax
mov rcx, qword [rbp - 0x28]
call fcn.18017dc10
mov r8, rax
mov rdx, rbx
mov rcx, qword [rbp - 0x28]
call fcn.180179f40
mov qword [rbp - 0x38], rax
lea rcx, [0x1802ba4a8]
call fcn.1800047e0
mov rbx, rax
xor ecx, ecx
mov dword [rsp + 0x20], ecx
mov rcx, rbx
mov rdx, rdi
mov r8, qword [rbp - 0x38]
mov r9d, 1
call fcn.18017a440
mov rcx, rbx
mov qword [rbp - 0x40], rcx
mov r9d, dword [rsi + 8]
mov rdx, rsi
xor r8d, r8d
call fcn.18017afd0
mov rcx, qword [rbp - 0x40]
call fcn.18017a6c0
mov rcx, rdi
call fcn.180108510
mov rsi, rax
mov rcx, qword [rbp - 0x40]
mov edx, 1
call fcn.18017b1f0
mov rcx, qword [rbp - 0x40]
call fcn.18008a930
nop
mov r8, qword [rbp - 0x38]
test r8, r8
je 0x180189e70
mov rcx, r8
lea r10, [0x180383670]
call qword [r10]
nop
mov byte [rdi + 0x2b], 0
mov byte [rdi + 0x29], 0
mov byte [rdi + 0x28], 0
xor ecx, ecx
mov qword [rdi + 0x30], rcx
mov rcx, rdi
call fcn.18008a930
nop
mov rcx, qword [rbp - 0x28]
call fcn.18017df30
mov edi, dword [rsi + 8]
mov ecx, edi
call fcn.180189c30
xor edx, edx
test edi, edi
jle 0x180189f1c
test rax, rax
je 0x180189ee2
cmp dword [rax + 8], edi
jl 0x180189ee2
mov ecx, edx
lea r8, [rsi + rcx + 0x10]
mov ecx, dword [rax + rcx*4 + 0x10]
mov r9d, ecx
sar r9d, 0x1f
and r9d, 0xff
add r9d, ecx
and r9d, 0xffffff00
sub ecx, r9d
movzx ecx, cl
xor byte [r8], cl
inc edx
cmp edi, edx
jg 0x180189eae
jmp 0x180189f1c
mov r8d, edx
lea r8, [rsi + r8 + 0x10]
cmp edx, dword [rax + 8]
jae 0x180189f3d
mov ecx, edx
mov ecx, dword [rax + rcx*4 + 0x10]
mov r9d, ecx
sar r9d, 0x1f
and r9d, 0xff
add r9d, ecx
and r9d, 0xffffff00
sub ecx, r9d
movzx ecx, cl
xor byte [r8], cl
inc edx
cmp edi, edx
jg 0x180189ee2
call fcn.180001ec4
mov rcx, qword [rax + 8]
mov rdx, rsi
mov rax, qword [rcx]
call qword [rax + 0xe0]
nop
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop r14
pop rbp
ret
call fcn.18013c630
int3
Function at 0x1801c3a10
Capabilities:
Hash data using murmur3

Disassembly:
xor eax, eax
mov r8d, dword [rdx + 8]
test r8d, r8d
jle 0x1801c3a4e
mov r9d, eax
lea r9, [rdx + r9*8 + 0x10]
mov r9, qword [r9]
mov r10, r9
test r10, r10
jne 0x1801c3a33
xor r10d, r10d
jmp 0x1801c3a37
mov r10d, dword [r9 + 0x14]
mov r9d, ecx
rol r9d, 0xd
add r9d, ecx
mov ecx, r9d
xor ecx, r10d
inc eax
cmp r8d, eax
jg 0x1801c3a1b
mov eax, ecx
rol eax, 0xf
add eax, ecx
ret

Function at 0x1801c6910
Capabilities:
Hash data using murmur3

Disassembly:
push rdi
push rsi
sub rsp, 0x28
mov esi, ecx
mov edi, edx
call fcn.180001132
mov eax, dword [rax]
add eax, 0x165667b1
add eax, 8
imul edx, esi, 0xc2b2ae3d
add edx, eax
rol edx, 0x11
imul eax, edx, 0x27d4eb2f
imul edx, edi, 0xc2b2ae3d
add edx, eax
rol edx, 0x11
imul eax, edx, 0x27d4eb2f
mov edx, eax
shr edx, 0xf
xor eax, edx
imul eax, eax, 0x85ebca77
mov edx, eax
shr edx, 0xd
xor eax, edx
imul eax, eax, 0xc2b2ae3d
mov edx, eax
shr edx, 0x10
xor eax, edx
add rsp, 0x28
pop rsi
pop rdi
ret

Function at 0x1801c6980
Capabilities:
Hash data using murmur3

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov esi, ecx
mov edi, edx
mov ebx, r8d
call fcn.180001132
mov eax, dword [rax]
add eax, 0x165667b1
add eax, 0xc
imul edx, esi, 0xc2b2ae3d
add edx, eax
rol edx, 0x11
imul eax, edx, 0x27d4eb2f
imul edx, edi, 0xc2b2ae3d
add edx, eax
rol edx, 0x11
imul eax, edx, 0x27d4eb2f
imul edx, ebx, 0xc2b2ae3d
add edx, eax
rol edx, 0x11
imul eax, edx, 0x27d4eb2f
mov edx, eax
shr edx, 0xf
xor eax, edx
imul eax, eax, 0x85ebca77
mov edx, eax
shr edx, 0xd
xor eax, edx
imul eax, eax, 0xc2b2ae3d
mov edx, eax
shr edx, 0x10
xor eax, edx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x1801cb510
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x28
mov rsi, r8
mov edi, edx
xor ebx, ebx
mov ebp, dword [rsi + 8]
test ebp, ebp
jle 0x1801cb544
mov ecx, ebx
mov rcx, qword [rsi + rcx*8 + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov edx, edi
rol edx, 0xd
add edx, edi
mov edi, eax
xor edi, edx
inc ebx
cmp ebp, ebx
jg 0x1801cb526
mov eax, edi
rol eax, 0xf
add eax, edi
add rsp, 0x28
pop rbx
pop rbp
pop rsi
pop rdi
ret

Function at 0x1801cb560
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x28
mov rsi, r8
mov edi, edx
xor ebx, ebx
mov ebp, dword [rsi + 8]
test ebp, ebp
jle 0x1801cb594
mov ecx, ebx
mov rcx, qword [rsi + rcx*8 + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov edx, edi
rol edx, 0xd
add edx, edi
mov edi, eax
xor edi, edx
inc ebx
cmp ebp, ebx
jg 0x1801cb576
mov eax, edi
rol eax, 0xf
add eax, edi
add rsp, 0x28
pop rbx
pop rbp
pop rsi
pop rdi
ret
Function at 0x140004d10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rax, rdx
mov rsi, qword [rbp + 0x70]
mov rdi, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x140004d90
cmp r10, r11
jb 0x140004e07
cmp r10, rdx
ja 0x140004e19
add r11, r9
xor r15d, r15d
nop dword [rax + rax]
cmp r14, r15
je 0x140004d92
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140004d70
jmp 0x140004df4
ja 0x140004d9a
mov r11, r10
cmp rax, r8
jne 0x140004d3e
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x140004dd0
mov rdi, r8
sub ecx, edx
jns 0x140004deb
jmp 0x140004df6
cmp r8, rsi
je 0x140004e28
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140004df6
xor al, 1
cmp rdi, rsi
jne 0x140004db0
jmp 0x140004df6
xor eax, eax
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea r8, [0x140031ea0]
mov rcx, r11
mov rdx, r10
call fcn.14002e8c0
lea r8, [0x140031ea0]
mov rcx, r10
call fcn.14002e5a0
lea rcx, [0x140031e88]
call fcn.14002e930
int3

Function at 0x140006170
Capabilities:
Manipulate console buffer

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x20], 0xfffffffffffffffe
mov esi, edx
mov edi, ecx
call fcn.140006900
test rax, rax
je 0x1400061a8
mov rax, rdx
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov word [rbp + 0x1e], di
mov word [rbp + 0x1c], si
test di, di
js 0x1400061f0
test si, si
js 0x14000624b
mov rbx, rdx
mov rcx, qword [rdx + 0x10]
shl esi, 0x10
movzx edx, di
or edx, esi
call sub.KERNEL32.dll_SetConsoleCursorPosition
test eax, eax
je 0x1400062c2
lock dec qword [rbx]
jne 0x1400062e3
mov rcx, rbx
call fcn.140005e60
xor eax, eax
jmp 0x14000619c
mov qword [rbp + 0x10], rdx
lea rax, [rbp + 0x1e]
mov qword [rbp], rax
lea rax, [0x140005600]
mov qword [rbp + 8], rax
lea rax, [0x1400329c8]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 1
mov qword [rbp - 0x10], 0
mov rax, rbp
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 1
lea rcx, [rbp - 0x48]
lea rdx, [rbp - 0x30]
call fcn.140001cc0
lea rdx, [rbp - 0x48]
mov cl, 0x27
call fcn.140005ba0
jmp 0x1400062a4
mov qword [rbp + 0x10], rdx
lea rax, [rbp + 0x1c]
mov qword [rbp], rax
lea rax, [0x140005600]
mov qword [rbp + 8], rax
lea rax, [0x140032970]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 1
mov qword [rbp - 0x10], 0
mov rax, rbp
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 1
lea rcx, [rbp - 0x60]
lea rdx, [rbp - 0x30]
call fcn.140001cc0
lea rdx, [rbp - 0x60]
mov cl, 0x27
call fcn.140005ba0
mov rcx, qword [rbp + 0x10]
lock dec qword [rcx]
jne 0x14000619c
mov rsi, rax
call fcn.140005e60
mov rax, rsi
jmp 0x14000619c
call sub.KERNEL32.dll_GetLastError
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov rcx, rbx
lock dec qword [rbx]
jne 0x14000619c
jmp 0x1400062b2
xor eax, eax
jmp 0x14000619c
Function at 0x14000f1c0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae 0x14000f1e5
cmp rax, rcx
je 0x14000f1eb
cmp rdx, 4
jae 0x14000f1ef
xor eax, eax
xor r8d, r8d
jmp 0x14000f280
pop rbp
jmp fcn.140002520
xor eax, eax
pop rbp
ret
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x1400314a0]
movdqa xmm3, xmmword [0x1400314b0]
pxor xmm1, xmm1
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x14000f210
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x14000f297
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x14000f280
pop rbp
ret

Function at 0x140013480
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x1441a1300]
movaps xmmword [rbp], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov rax, rbp
mov qword [rsp + 0x20], rax
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x1400134f1
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rbp]
cmp eax, 0x103
je 0x14001351e
test eax, eax
js 0x1400134fd
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x140013514
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xa8
pop rsi
pop rbp
ret
mov dword [rbp + 0x18], 0
mov byte [rbp + 0x1c], 0
lea rax, [0x1441a1360]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x18]
lea rdx, [rbp - 0x38]
call fcn.140012b80
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.140012c40
mov ecx, 7
int 0x29
ud2
Function at 0x14001aa80
Capabilities:
Create directory

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov r8, rdx
mov rdx, rcx
invalid
Function at 0x140024be0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov rsi, rcx
lea rcx, [rbp - 0x28]
call fcn.1400182d0
mov rcx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x20]
movabs rbx, 0x8000000000000000
cmp rcx, rbx
jne 0x140024c1e
mov qword [rbp - 8], rax
mov qword [rbp - 0x10], rbx
jmp 0x140024c44
mov rdx, qword [rbp - 0x18]
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rdx
lea rcx, [rbp - 0x10]
lea rdx, [rbp - 0x40]
call fcn.140024b00
mov r14, qword [rbp - 0x10]
cmp r14, rbx
jne 0x140024c5d
lea rcx, [rbp - 8]
call fcn.140012c60
mov qword [rsi], rbx
mov rdi, qword [rbp - 8]
mov r15, qword [rbp]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
invalid
je 0x140024c80
mov qword [rsi], r14
mov qword [rsi], rbx
test r14, r14
je 0x140024c50
mov rcx, qword [0x1441aa228]
xor edx, edx
mov r8, rdi
Function at 0x14002dde0
Capabilities:
Parse pe header

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

Function at 0x14002f450
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
lea rbp, [rsp + 0x40]
mov qword [rbp - 8], 0xfffffffffffffffe
lea rcx, [0x14419e435]
call sub.KERNEL32.dll_GetModuleHandleA
test rax, rax
je 0x14002f4b0
mov rdi, rax
lea rdx, [0x14419e456]
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x14002f4b0
mov rsi, rax
lea rdx, [0x14419e464]
mov rcx, rdi
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x14002f4b0
mov r14, rax
xor ebx, ebx
jmp 0x14002f532
lea rcx, [0x14419e3f0]
call sub.KERNEL32.dll_GetModuleHandleA
test rax, rax
je 0x14002f598
mov rsi, rax
lea rdx, [0x14419e3fa]
mov rcx, rax
mov ecx, eax
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x14002f598
mov rdi, rax
lea rdx, [0x14419e40d]
mov rcx, rsi
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x14002f598
mov rbx, rax
lea rdx, [0x14419e421]
mov rcx, rsi
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x14002f598
mov rsi, rax
lea rcx, [rbp - 0x20]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rdi
test eax, eax
jne 0x14002f598
mov r14, qword [rbp - 0x20]
movzx eax, byte [0x1441aa2a0]
mov ecx, 0x18
call fcn.140029840
dec dword [rax - 0x7b]
invalid
je 0x14002f59d
mov rdi, rax
mov qword [rax], rbx
mov qword [rax + 8], rsi
mov qword [rax + 0x10], r14
xor eax, eax
lock cmpxchg qword [0x1441aa168], rdi
je 0x14002f58a
mov rsi, rax
cmp qword [rdi], 0
je 0x14002f575
mov rcx, qword [rdi + 0x10]
call sub.KERNEL32.dll_CloseHandle
mov rcx, qword [0x1441aa228]
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rdi, rsi
mov rax, rdi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
call fcn.14002f5f0
mov qword [rbp - 0x10], r14
mov qword [rbp - 0x18], rbx
mov ecx, 8
mov edx, 0x18
call fcn.14002e3c0
ud2
Function at 0x31eec2cc8
Capabilities:
Read file on windows

Disassembly:
push r13
push rbx
sub rsp, 0x38
mov r13, rcx
mov rcx, rdx
mov edx, 1
mov rbx, r8
mov r9, r13
call sub.msvcrt.dll_fread
cmp rbx, rax
je 0x31eec2cfc
mov rcx, r13
mov qword [rsp + 0x28], rax
call fcn.31eec2b28
mov rax, qword [rsp + 0x28]
add rsp, 0x38
pop rbx
pop r13
ret

Function at 0x31eec31af
Capabilities:
Write file on windows

Disassembly:
push r12
sub rsp, 0x30
mov r12, rcx
mov rcx, rdx
mov edx, 1
mov r9, r12
call sub.msvcrt.dll_fwrite
mov rcx, r12
mov qword [rsp + 0x28], rax
call fcn.31eec2b28
mov rax, qword [rsp + 0x28]
add rsp, 0x30
pop r12
ret

Function at 0x31eec367a
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 0x31eec369b
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 fcn.31ef21ee0

Function at 0x31eec6078
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.31ef22830]
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 fcn.31ef21ee0
push r13
push r12
sub rsp, 0x38
cmp qword [0x31ef600d0], 0
jne 0x31eec60d7
add rsp, 0x38
pop r12
pop r13
jmp 0x31eec6078
lea r13, [rsp + 0x20]
mov rdx, rcx
mov rcx, r13
call fcn.31eec600f
mov r12, qword [rsp + 0x28]
mov rcx, r13
call qword [0x31ef600d0]
test r12, r12
je 0x31eec610a
test byte [r12 + 7], 0x40
jne 0x31eec610a
mov rcx, r12
call fcn.31eec4529
lea rcx, [0x31ef2f3c0]
call fcn.31ef174d0
cmp byte [rax], 0
je 0x31eec6144
mov byte [rax], 0
lea rcx, [0x31ef2f300]
call fcn.31ef174d0
xor r8d, r8d
mov rcx, rax
mov rax, qword [rax]
mov rdx, qword [rax + 0x38]
add rsp, 0x38
pop r12
pop r13
jmp fcn.31eec4abb
add rsp, 0x38
pop r12
pop r13
ret

Function at 0x31eec60bb
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.31ef22830]
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 fcn.31ef21ee0
push r13
push r12
sub rsp, 0x38
cmp qword [0x31ef600d0], 0
jne 0x31eec60d7
add rsp, 0x38
pop r12
pop r13
jmp 0x31eec6078
lea r13, [rsp + 0x20]
mov rdx, rcx
mov rcx, r13
call fcn.31eec600f
mov r12, qword [rsp + 0x28]
mov rcx, r13
call qword [0x31ef600d0]
test r12, r12
je 0x31eec610a
test byte [r12 + 7], 0x40
jne 0x31eec610a
mov rcx, r12
call fcn.31eec4529
lea rcx, [0x31ef2f3c0]
call fcn.31ef174d0
cmp byte [rax], 0
je 0x31eec6144
mov byte [rax], 0
lea rcx, [0x31ef2f300]
call fcn.31ef174d0
xor r8d, r8d
mov rcx, rax
mov rax, qword [rax]
mov rdx, qword [rax + 0x38]
add rsp, 0x38
pop r12
pop r13
jmp fcn.31eec4abb
add rsp, 0x38
pop r12
pop r13
ret
Function at 0x31eec6a08
Capabilities:
Write file on windows

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
lea r12, [0x31ef600a0]
xor ebx, ebx
lea r14, [0x31ef2f3c0]
mov rsi, rcx
mov rdi, rdx
lea r13, [rsp + 0x20]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbp, qword [fcn.31ef22830]
mov ecx, 1
cmp rbx, rdi
jl 0x31eec6a8e
call rbp
mov r8d, 1
mov edx, 1
lea rcx, [0x31ef305f5]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rbp
mov rcx, rax
call fcn.31ef21ee0
mov rcx, r12
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rbp
xor r8d, r8d
mov rdx, r13
mov rcx, rax
mov rax, rbx
shl rax, 4
movups xmm0, xmmword [rsi + rax]
movaps xmmword [rsp + 0x20], xmm0
call fcn.31eec691e
mov rcx, r14
call fcn.31ef174d0
cmp byte [rax], 0
jne 0x31eec6ac0
inc rbx
jmp 0x31eec6a41
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x31eeca0e0
Capabilities:
Hash data using murmur3

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
xor r13d, r13d
xor edi, edi
mov rax, rdx
mov rbp, rcx
mov rbx, rdx
mov ecx, 4
cqo
idiv rcx
lea r12, [rax*4]
cmp r13, r12
jl 0x31eeca122
mov rax, rbx
mov ecx, 4
cqo
idiv rcx
xor ecx, ecx
jmp 0x31eeca192
cmp r13, rbx
jl 0x31eeca138
lea rdx, [rbx - 1]
mov rcx, r13
call fcn.31eec5dc5
jmp 0x31eeca21b
mov rax, r13
mov rcx, qword [0x31ef53750]
add r13, 4
imul esi, dword [rbp + rax], 0xcc9e2d51
call fcn.31ef174d0
rol esi, 0xf
cmp byte [rax], 0
jne 0x31eeca21b
imul esi, esi, 0x1b873593
xor esi, edi
rol esi, 0xd
lea esi, [rsi + rsi*4]
lea edi, [rsi - 0x19ab949c]
jmp 0x31eeca10c
cmp r8, rbx
jge 0x31eeca20d
test r8, r8
js 0x31eeca20d
movzx eax, byte [rbp + r8]
shl ecx, 8
or ecx, eax
test rdx, rdx
jg 0x31eeca1e4
imul esi, ecx, 0xcc9e2d51
mov rcx, qword [0x31ef53750]
xor r12d, r12d
call fcn.31ef174d0
rol esi, 0xf
cmp byte [rax], 0
jne 0x31eeca21e
imul ecx, esi, 0x1b873593
xor edi, ebx
xor ecx, edi
mov edx, ecx
shr edx, 0x10
xor edx, ecx
imul edx, edx, 0x85ebca6b
mov eax, edx
shr eax, 0xd
xor eax, edx
imul eax, eax, 0xc2b2ae35
mov r12d, eax
shr r12d, 0x10
xor r12d, eax
jmp 0x31eeca21e
dec rdx
mov r8, r13
xor r12d, r12d
add r8, rdx
js 0x31eeca1f7
cmp r8, rdx
jae 0x31eeca1fd
mov r12d, 1
test r12, r12
je 0x31eeca175
call fcn.31eec4641
jmp 0x31eeca21b
lea rdx, [rbx - 1]
mov rcx, r8
call fcn.31eec5dc5
jmp 0x31eeca21e
xor r12d, r12d
mov rax, r12
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
sub rsp, 0x28
mov r8, qword [rcx]
mov rcx, qword [rcx + 8]
test r8, r8
js 0x31eeca253
test rcx, rcx
je 0x31eeca247
add rcx, 8
mov rdx, r8
add rsp, 0x28
jmp 0x31eeca0e0
lea rdx, [r8 - 1]
xor ecx, ecx
call fcn.31eec7290
xor eax, eax
add rsp, 0x28
ret