joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140008d80
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x140392100]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1403920e0]
test rbx, rbx
je 0x140008dd4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140008dcb
test rsi, rsi
je 0x140008dcb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140008db0
lea rcx, [0x140392100]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140009000
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
jmp 0x1400092a0
push rdi
push rsi
push rbx
sub rsp, 0x20
mov eax, dword [0x140392148]
test eax, eax
mov rdi, rcx
mov rsi, rdx
je 0x140009330
test r8, r8
je 0x1400092e1
lea rax, [0x140392c30]
cmp r8, rax
je 0x1400092e1
lea rdx, str..._.._src_mingw_w64_mingw_w64_crt_crt_tls_atexit.c
mov r8d, 0x46
lea rcx, str._dso__dso____dso_handle
call sub.msvcrt.dll__assert
mov edx, 0x18
mov ecx, 1
call sub.msvcrt.dll_calloc
test rax, rax
mov rbx, rax
je 0x140009330
mov qword [rax], rdi
mov ecx, dword [0x14038d680]
mov qword [rax + 8], rsi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [0x14038d680]
mov rdx, rbx
mov qword [rbx + 0x10], rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov eax, 1
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x1400092a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
jmp 0x1400092a0
push rdi
push rsi
push rbx
sub rsp, 0x20
mov eax, dword [0x140392148]
test eax, eax
mov rdi, rcx
mov rsi, rdx
je 0x140009330
test r8, r8
je 0x1400092e1
lea rax, [0x140392c30]
cmp r8, rax
je 0x1400092e1
lea rdx, str..._.._src_mingw_w64_mingw_w64_crt_crt_tls_atexit.c
mov r8d, 0x46
lea rcx, str._dso__dso____dso_handle
call sub.msvcrt.dll__assert
mov edx, 0x18
mov ecx, 1
call sub.msvcrt.dll_calloc
test rax, rax
mov rbx, rax
je 0x140009330
mov qword [rax], rdi
mov ecx, dword [0x14038d680]
mov qword [rax + 8], rsi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [0x14038d680]
mov rdx, rbx
mov qword [rbx + 0x10], rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov eax, 1
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
Function at 0x140009470
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x14038f020]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x1400094df
mov rcx, r9
call fcn.140009340
test eax, eax
je 0x1400094df
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
lea rdx, [r9 + rax + 0x18]
movzx eax, word [r9 + 6]
test eax, eax
je 0x1400094dd
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x1400094d4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400094df
add rdx, 0x28
cmp rdx, r9
jne 0x1400094c0
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret

Function at 0x140009860
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov dword [0x1403921e0], 0xffffffff
mov r8d, 0xffff
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov qword [0x1403921e8], rax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x1400098b0
lea rdx, [0x140009770]
mov ecx, eax
mov dword [0x1403921d8], eax
call fcn.14000ec20
test eax, eax
jne 0x1400098b8
add rsp, 0x28
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400098a7
call sub.msvcrt.dll_abort
nop
nop
Function at 0x1400098c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rsi, qword [0x14038efc0]
mov r11d, dword [rsi]
mov rbx, rcx
test r11d, r11d
jne 0x1400098f8
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x140009960
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov r12, qword [rcx + 0x10]
test r12, r12
je 0x140009970
mov esi, dword [0x1403921d8]
mov r13, qword [sym.imp.KERNEL32.dll_GetLastError]
call r13
mov edi, eax
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, edi
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rsi, rsi
je 0x1400099e0
mov rbp, qword [rsi]
cmp rbp, r12
jb 0x140009a28
sub r12, 1
mov rax, qword [rsi + r12*8 + 8]
test rax, rax
jne 0x1400098e7
mov rcx, rbx
call fcn.1400097c0
mov qword [rsi + r12*8 + 8], rax
jmp 0x1400098e7
call fcn.1400097c0
mov qword [rbx + 0x10], rax
jmp 0x1400098e7
mov r10d, dword [rsi]
test r10d, r10d
je 0x140009a8a
mov r9d, dword [0x14038d690]
test r9d, r9d
je 0x140009ab8
lock add dword [0x1403921e0], 1
jne 0x140009aec
mov r12, qword [rbx + 0x10]
test r12, r12
je 0x140009a97
mov eax, dword [rsi]
test eax, eax
je 0x140009901
lock sub dword [0x1403921e0], 1
js 0x140009901
mov rcx, qword [0x1403921e8]
xor r8d, r8d
mov edx, 1
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
jmp 0x140009901
lea rcx, [r12 + 0x21]
mov edx, 8
call sub.msvcrt.dll_calloc
lea rdi, [r12 + 0x20]
test rax, rax
mov rsi, rax
je 0x140009b13
mov qword [rax], rdi
mov ecx, dword [0x1403921d8]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x14000993b
call r13
jmp 0x14000993b
lea rdi, [rbp + rbp]
mov rcx, rsi
lea rax, [r12 + 0x20]
cmp rdi, r12
cmovb rdi, rax
lea rdx, [rdi*8 + 8]
call sub.msvcrt.dll_realloc
test rax, rax
mov rsi, rax
je 0x140009b13
mov qword [rax], rdi
lea rcx, [rax + rbp*8 + 8]
sub rdi, rbp
xor edx, edx
lea r8, [rdi*8]
call sub.msvcrt.dll_memset
jmp 0x140009a03
call fcn.140009860
mov dword [0x14038d690], 1
mov edx, dword [rsi]
test edx, edx
jne 0x14000998c
mov r12, qword [rbx + 0x10]
test r12, r12
jne 0x140009901
mov rax, qword [0x1403921d0]
lea r12, [rax + 1]
mov qword [0x1403921d0], r12
mov qword [rbx + 0x10], r12
jmp 0x1400099a7
lock add dword [0x14038d694], 1
je 0x140009a71
mov r8d, dword [0x14038d690]
lea rdi, [0x14038d690]
mov rbp, qword [sym.imp.KERNEL32.dll_Sleep]
test r8d, r8d
jne 0x140009a80
nop dword [rax]
xor ecx, ecx
call rbp
mov ecx, dword [rdi]
test ecx, ecx
je 0x140009ae0
jmp 0x140009a80
mov rcx, qword [0x1403921e8]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000999a
lock sub dword [0x1403921e0], 1
jmp 0x14000999a
call sub.msvcrt.dll_abort
nop
nop dword [rax]
cmp qword [rcx], rdx
jae 0x140009b30
mov qword [rcx], rdx
mov qword [rcx + 0x18], 0
cmp qword [rcx + 8], r8
jae 0x140009b3a
mov qword [rcx + 8], r8
test r9, r9
je 0x140009b44
cmp qword [rcx], rdx
je 0x140009b48
ret
mov qword [rcx + 0x18], r9
ret
Function at 0x1800098e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x10]
mov rbx, rcx
mov r10d, edx
mov r9d, edx
and r10d, 7
je 0x18000996d
cmp edx, r10d
jge 0x18000995e
mov r9d, dword [rcx + 0x14]
mov eax, 1
mov ecx, edx
mov r8d, edx
shl eax, cl
cmp r9d, eax
jae 0x180009957
mov r11, qword [rbx + 8]
mov rax, qword [rbx]
cmp rax, r11
jb 0x180009922
xor cl, cl
jmp 0x18000992b
movzx ecx, byte [rax]
inc rax
mov qword [rbx], rax
movzx eax, cl
lea edx, [r8 + 8]
mov ecx, r8d
mov dword [rbx + 0x10], edx
shl eax, cl
or r9d, eax
mov dword [rbx + 0x14], r9d
cmp edx, 0x18
jg 0x18000995e
mov ecx, edx
mov eax, 1
shl eax, cl
mov r8d, edx
cmp r9d, eax
jb 0x180009916
mov rax, qword [rbx + 8]
mov qword [rbx], rax
mov ecx, r10d
shr dword [rbx + 0x14], cl
sub edx, r10d
mov dword [rbx + 0x10], edx
mov r9d, edx
xor r10d, r10d
test edx, edx
jle 0x1800099a2
mov ecx, dword [rbx + 0x14]
lea r8, [rsp + 0x30]
nop dword [rax]
movzx eax, byte [rbx + 0x14]
lea edx, [r9 - 8]
shr ecx, 8
inc r10d
mov byte [r8], al
lea r8, [r8 + 1]
mov dword [rbx + 0x14], ecx
mov r9d, edx
test edx, edx
jg 0x180009980
mov dword [rbx + 0x10], edx
jns 0x1800099cf
mov edx, dword [0x180077fa8]
mov rax, qword gs:[0x58]
mov ecx, 0x28
mov rax, qword [rax + rdx*8]
lea rdx, str.zlib_corrupt
mov qword [rcx + rax], rdx
xor eax, eax
add rsp, 0x20
pop rbx
ret
movsxd rcx, r10d
cmp rcx, 4
jge 0x1800099ff
mov r8, qword [rbx + 8]
mov rax, qword [rbx]
nop
cmp rax, r8
jb 0x1800099e9
xor dl, dl
jmp 0x1800099f2
movzx edx, byte [rax]
inc rax
mov qword [rbx], rax
mov byte [rsp + rcx + 0x30], dl
inc rcx
cmp rcx, 4
jl 0x1800099e0
movzx eax, byte [rsp + 0x30]
movzx r8d, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x33]
shl r8d, 8
add r8d, eax
shl ecx, 8
movzx eax, byte [rsp + 0x32]
add ecx, eax
mov eax, r8d
xor eax, 0xffff
cmp ecx, eax
jne 0x1800099a4
mov rcx, qword [rbx]
mov qword [rsp + 0x38], rdi
mov edi, r8d
add rcx, rdi
cmp rcx, qword [rbx + 8]
jbe 0x180009a74
mov edx, dword [0x180077fa8]
mov rax, qword gs:[0x58]
mov ecx, 0x28
mov rax, qword [rax + rdx*8]
lea rdx, str.read_past_buffer
mov qword [rcx + rax], rdx
mov rdi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rdx, qword [rbx + 0x18]
lea rax, [r8 + rdx]
cmp rax, qword [rbx + 0x28]
jbe 0x180009a8e
mov rcx, rbx
call fcn.180008d50
test eax, eax
je 0x180009a67
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, qword [rbx + 0x18]
call sub.VCRUNTIME140.dll_memcpy
add qword [rbx], rdi
mov eax, 1
add qword [rbx + 0x18], rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x18001c410
Capabilities:
Create thread
Parse pe header

Disassembly:
push rdi
sub rsp, 0x40
mov rax, qword [0x180077010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, rcx
cmp edx, 1
jne 0x18001c4d3
mov eax, 0x5a4d
mov dword [rsp + 0x30], 0
cmp word [rcx], ax
jne 0x18001c4a0
movsxd rax, dword [rcx + 0x3c]
shl rax, 6
cmp dword [rax + rcx], 0x4550
jne 0x18001c4a0
movzx ecx, word [rax + rcx + 0x14]
test cx, cx
je 0x18001c4a0
lea r8d, [rdx + 0x3f]
mov qword [rsp + 0x58], rbx
mov ebx, ecx
lea r9, [rsp + 0x30]
mov edx, ecx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8d, ebx
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rbx, qword [rsp + 0x58]
mov qword [rsp + 0x28], 0
lea r8, [0x18001bd50]
mov r9, rdi
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x18001c4d3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1800605d0
add rsp, 0x40
pop rdi
ret
Function at 0x180021ca0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
mov r14, qword [rsp + 0x50]
xor ebp, ebp
mov rax, qword [rsp + 0x58]
mov r13, r9
mov rbx, qword [rsp + 0x68]
mov r12, rdx
mov qword [r14], r8
mov qword [rbx], rax
mov rax, qword [r14]
cmp rax, r9
je 0x180021e34
mov r15, qword [rsp + 0x60]
lea r9d, [rbp + 1]
mov rdi, qword [rbx]
mov r11d, 0x2800
mov r8d, 0x3ff
mov r10d, 0x2400
cmp rdi, r15
je 0x180021e34
movzx edx, word [r12]
xor sil, sil
movzx ecx, word [rax]
cmp r9w, dx
jae 0x180021d3b
lea eax, [r10 + rcx]
cmp ax, r8w
ja 0x180021e5b
mov eax, edx
sub ecx, 0xdc00
shl eax, 0xa
or eax, ecx
jmp 0x180021d52
mov eax, ecx
add cx, r11w
cmp cx, r8w
ja 0x180021d52
shl eax, 0xa
mov sil, 1
sub eax, 0x35f0000
cmp eax, 0x80
jae 0x180021d65
movzx r8d, al
mov r10d, ebp
mov r11d, ebp
jmp 0x180021db2
mov r8d, eax
cmp eax, 0x800
jae 0x180021d7f
shr r8d, 6
mov r10d, r9d
or r8b, 0xc0
mov r11d, r9d
jmp 0x180021db2
cmp eax, 0x10000
jae 0x180021d99
shr r8d, 0xc
mov r10d, 2
or r8b, 0xe0
mov r11d, r10d
jmp 0x180021db2
shr r8d, 0x12
mov r10d, 3
movzx r11d, sil
or r8b, 0xf0
xor r11d, 1
add r11d, r11d
lea r9d, [r11 + 1]
mov rdx, r15
sub rdx, rdi
mov ecx, r9d
cmp rdx, rcx
jl 0x180021e34
add qword [r14], 2
test sil, sil
jne 0x180021dd3
cmp r10d, 3
jae 0x180021ddf
mov rcx, qword [rbx]
mov r9d, r11d
mov byte [rcx], r8b
inc qword [rbx]
test r9d, r9d
je 0x180021e11
lea r8d, [r10 + r10*2]
add r8d, r8d
nop dword [rax + rax]
sub r8d, 6
mov edx, eax
mov ecx, r8d
dec r9d
shr edx, cl
mov rcx, qword [rbx]
and dl, 0x3f
or dl, 0x80
mov byte [rcx], dl
inc qword [rbx]
test r9d, r9d
jg 0x180021df0
shr eax, 0xa
mov r9d, 1
test sil, sil
mov ecx, r9d
cmovne ecx, eax
mov word [r12], cx
mov rax, qword [r14]
cmp rax, r13
jne 0x180021cef
mov rax, qword [rsp + 0x40]
cmp rax, qword [r14]
sete bpl
mov eax, ebp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov eax, 2
jmp 0x180021e42
Function at 0x180025d10
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 0x180025d6d
lea rbx, [0x180064960]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180025d54
cmp r10, 2
jb 0x180025d54
cmp byte [r9], r8b
jne 0x180025d54
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 0x180025d30
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x180025daf
lea rbx, [0x180064960]
cmp r8b, 0x23
jne 0x180025d93
cmp byte [r9], r8b
jne 0x180025d93
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 0x180025d80
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180025f90
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x180025faa
mov qword [r8], 0
lea rdx, [0x18006395c]
call fcn.180025dc0
mov rbx, rax
test rax, rax
jne 0x180025fca
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x1800260b5
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 0x1800260b5
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1800260b5
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1800260b5
cmp rdi, 0xffffffffffffffff
je 0x1800260b5
mov rax, qword [0x180078140]
test rax, rax
je 0x180026046
inc dword [rax + 0x3bc]
mov rdx, qword [0x180078138]
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rsi, rax
test rax, rax
je 0x1800260b5
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 0x1800260a2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x180078140]
test rax, rax
je 0x180026091
dec dword [rax + 0x3bc]
mov rdx, qword [0x180078138]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x1800260be
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x1800260b0
mov qword [r14], rdi
mov rax, rsi
jmp 0x1800260c0
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x18002a770
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
xor eax, eax
lea r8, [0x18006b785]
mov dword [rsp + 0x2c], eax
lea r11, [0x180064960]
mov qword [rsp + 0x48], rax
mov r10d, 0xffffffff
lea rax, str.Window
mov rbx, rcx
mov qword [rsp + 0x20], rax
mov edx, r10d
mov r9b, 0x57
nop
cmp r9b, 0x23
jne 0x18002a7c3
cmp byte [r8], r9b
jne 0x18002a7c3
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x18002a7b0
mov ecx, dword [rbx + 0x2f14]
lea rax, [0x180036b40]
mov edi, dword [rbx + 0x2f10]
not edx
mov qword [rsp + 0x30], rax
lea rax, [0x180036bf0]
mov qword [rsp + 0x38], rax
lea rax, [0x180036cd0]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x28], edx
cmp edi, ecx
jne 0x18002a8d1
inc edi
test ecx, ecx
je 0x18002a82f
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18002a834
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x18002a8d1
mov rax, qword [0x180078140]
mov qword [rsp + 0x60], rsi
test rax, rax
je 0x18002a858
inc dword [rax + 0x3bc]
mov rdx, qword [0x180078138]
movsxd rax, edi
lea rcx, [rax + rax*2]
shl rcx, 4
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rdx, qword [rbx + 0x2f18]
mov rsi, rax
test rdx, rdx
je 0x18002a8bf
movsxd rcx, dword [rbx + 0x2f10]
lea r8, [rcx + rcx*2]
mov rcx, rax
shl r8, 4
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbx + 0x2f18]
test rcx, rcx
je 0x18002a8b3
mov rax, qword [0x180078140]
test rax, rax
je 0x18002a8b3
dec dword [rax + 0x3bc]
mov rdx, qword [0x180078138]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rbx + 0x2f18], rsi
mov rsi, qword [rsp + 0x60]
mov dword [rbx + 0x2f14], edi
movsxd rax, dword [rbx + 0x2f10]
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x2f18]
add rcx, rcx
movups xmmword [rax + rcx*8], xmm0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + rcx*8 + 0x10], xmm1
movups xmmword [rax + rcx*8 + 0x20], xmm0
inc dword [rbx + 0x2f10]
mov byte [rbx], 1
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x18002bd80
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x18002bdd0
lea r11, [0x180064960]
nop dword [rax]
cmp r9b, 0x23
jne 0x18002bdb3
cmp byte [r8], r9b
jne 0x18002bdb3
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 0x18002bda0
mov r11, qword [0x180078140]
not eax
movsxd rcx, dword [r11 + 0x1a00]
mov r9, qword [r11 + 0x1a08]
mov r10, rcx
mov rdx, rcx
mov r8, r9
test ecx, ecx
je 0x18002be38
nop dword [rax]
nop dword [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x18002be29
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x18002be2c
mov rdx, r8
test rdx, rdx
jne 0x18002be00
mov r8, qword [r11 + 0x1a08]
shl r10, 4
add r10, r8
cmp r9, r10
je 0x18002be4e
cmp dword [r9], eax
jne 0x18002be4e
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret
Function at 0x1800310a0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rax, qword [0x180078140]
lea rdx, [0x180064960]
mov r8d, ecx
mov rsi, qword [rax + 0x1a18]
lea rbx, [rsi + 0xc0]
movsxd r9, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + r9*4 - 4]
not edi
movzx eax, r8b
mov r8d, dword [rsi + 0xc4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x31]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x32]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x33]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [rdx + rcx*4]
not edi
cmp r9d, r8d
jne 0x180031162
lea ecx, [r9 + 1]
test r8d, r8d
je 0x18003114b
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x180031150
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.180037d00
mov r9d, dword [rbx]
mov rax, qword [rsi + 0xc8]
mov rsi, qword [rsp + 0x40]
movsxd rcx, r9d
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1800362f0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
sub rsp, 0x40
mov rbx, qword [0x180078140]
cmp byte [rbx + 0x2f30], 0
je 0x1800363dc
cmp qword [rbx + 0x2f38], 0
mov qword [rax - 0x18], rsi
lea rsi, [rax + 0x10]
mov qword [rax - 0x20], rdi
lea rdi, [rbx + 0x2f40]
je 0x1800363c4
mov r9d, dword [rdi + 4]
mov qword [rax - 0x10], rbp
xor ebp, ebp
test r9d, r9d
jns 0x18003636b
mov eax, r9d
mov rcx, rdi
cdq
sub eax, edx
mov edx, ebp
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.180037bd0
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
mov dword [rdi], ebp
mov rcx, rdi
mov r8, rsi
call fcn.180026890
mov eax, dword [rdi]
mov edx, 1
mov r9, qword [rbx + 0x2f38]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x2f48]
cmove ecx, ebp
test rax, rax
movsxd r8, ecx
lea rcx, [0x180078027]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
mov rdx, rcx
mov r8, rsi
mov rcx, rdi
call fcn.180026890
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
Function at 0x180036790
Capabilities:
Hash data with crc32

Disassembly:
push rsi
push r13
sub rsp, 0x38
mov r13, qword [0x180078140]
mov qword [rsp + 0x50], rbx
mov rbx, rdx
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rdi
mov rdi, rcx
mov qword [rsp + 0x30], r12
test rdx, rdx
jne 0x1800367ce
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rcx + rbx], 0
jne 0x1800367c5
test r13, r13
je 0x1800367da
inc dword [r13 + 0x3bc]
mov rdx, qword [0x180078138]
lea rcx, [rbx + 1]
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov r8, rbx
mov qword [rsp + 0x58], rax
mov rdx, rdi
mov rcx, rax
mov rsi, rax
lea r12, [rax + rbx]
call sub.VCRUNTIME140.dll_memcpy
xor ebp, ebp
mov byte [r12], 0
xor edi, edi
mov rcx, rsi
cmp rsi, r12
jae 0x1800369a3
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
movzx eax, byte [rcx]
cmp al, 0xa
je 0x1800369ed
cmp al, 0xd
je 0x1800369ed
mov rbx, rcx
cmp rcx, r12
jae 0x180036853
nop
movzx eax, byte [rbx]
cmp al, 0xa
je 0x180036853
cmp al, 0xd
je 0x180036853
inc rbx
cmp rbx, r12
jb 0x180036840
mov byte [rbx], 0
movzx eax, byte [rcx]
cmp al, 0x3b
je 0x180036987
cmp al, 0x5b
jne 0x18003696e
cmp rbx, rcx
jbe 0x18003696e
cmp byte [rbx - 1], 0x5d
lea rsi, [rbx - 1]
jne 0x18003696e
lea r14, [rcx + 1]
mov byte [rsi], 0
mov r8, rsi
mov rcx, r14
sub r8, r14
mov edx, 0x5d
call sub.VCRUNTIME140.dll_memchr
mov r15, rax
test rax, rax
je 0x180036987
lea rcx, [rax + 1]
mov edx, 0x5b
sub rsi, rcx
mov r8, rsi
call sub.VCRUNTIME140.dll_memchr
mov r11, rax
test rax, rax
je 0x180036987
mov r10, qword [0x180078140]
lea r8, [r14 + 1]
mov byte [r15], 0
mov esi, 0xffffffff
movzx r9d, byte [r14]
mov ecx, esi
test r9b, r9b
je 0x18003691a
cmp r9b, 0x23
jne 0x1800368f7
cmp byte [r8], r9b
jne 0x1800368f7
cmp byte [r8 + 1], r9b
cmove ecx, esi
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
lea rax, [0x180064960]
inc r8
xor ecx, dword [rax + rdx*4]
test r9b, r9b
jne 0x1800368e5
mov r8d, dword [r10 + 0x2f10]
xor eax, eax
not ecx
test r8d, r8d
jle 0x180036944
mov r9, qword [r10 + 0x2f18]
lea rdx, [r9 + 8]
cmp dword [rdx], ecx
je 0x18003694a
inc eax
add rdx, 0x30
cmp eax, r8d
jl 0x180036935
xor edi, edi
xor ebp, ebp
jmp 0x180036987
cdqe
lea rdi, [rax + rax*2]
shl rdi, 4
add rdi, r9
je 0x180036946
mov rax, qword [rdi + 0x10]
lea r8, [r11 + 1]
mov rdx, rdi
mov rcx, r13
call rax
mov rbp, rax
jmp 0x180036987
test rdi, rdi
je 0x180036987
test rbp, rbp
je 0x180036987
mov r9, rcx
mov r8, rbp
mov rcx, r13
mov rdx, rdi
call qword [rdi + 0x18]
lea rcx, [rbx + 1]
cmp rcx, r12
jb 0x180036823
mov rsi, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x50]
test rsi, rsi
je 0x1800369ce
mov rax, qword [0x180078140]
test rax, rax
je 0x1800369ce
dec dword [rax + 0x3bc]
mov rdx, qword [0x180078138]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov byte [r13 + 0x2ef4], 1
add rsp, 0x38
pop r13
pop rsi
ret
inc rcx
jmp 0x180036823