joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180015da0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
mov eax, 0x13e0
call fcn.18001ad50
sub rsp, rax
mov rax, qword [0x180023440]
xor rax, rsp
mov qword [rsp + 0x13d0], rax
mov r14, r9
mov rbp, r8
mov rdi, rdx
mov r15, rcx
mov qword [rsp + 0x30], rcx
call qword [sym.imp.TT_SubSystem.dll_public:_void___cdecl_CEventHandler::constructor_void____ptr64]
nop
mov rsi, qword [rsp + 0x1430]
mov qword [rsp + 0x20], rsi
mov r9, r14
mov r8, rbp
mov rdx, rdi
lea rcx, [r15 + 0x10]
call fcn.1800197f0
nop
lea rax, vtable.IAlgoBase.0
mov qword [r15], rax
lea rax, vtable.IAlgoBase.1.0
mov qword [r15 + 0x10], rax
mov byte [r15 + 0x160], 0
xor r12d, r12d
mov qword [r15 + 0x168], r12
mov qword [r15 + 0x170], r12
mov qword [r15 + 0x178], rdi
mov qword [r15 + 0x180], r12
mov dword [r15 + 0x188], r12d
lea rcx, [r15 + 0x18c]
call qword [sym.imp.TT_SubSystem.dll_public:_void___cdecl_uint256_type::constructor_void____ptr64]
xorps xmm0, xmm0
movups xmmword [r15 + 0x1ac], xmm0
movups xmmword [r15 + 0x1bc], xmm0
mov qword [r15 + 0x1cc], r12
mov dword [r15 + 0x1d4], r12d
mov qword [r15 + 0x240], rbp
mov qword [r15 + 0x248], r14
mov qword [r15 + 0x250], rsi
mov qword [r15 + 0x258], r12
mov word [r15 + 0x260], 1
mov byte [r15 + 0x262], r12b
mov qword [r15 + 0x268], r12
mov qword [r15 + 0x270], 0xffffffffffffffff
mov qword [r15 + 0x278], r12
mov qword [r15 + 0x280], 0xffffffffffffffff
mov qword [r15 + 0x288], r12
mov qword [r15 + 0x290], r12
mov qword [r15 + 0x298], r12
mov word [r15 + 0x2a0], 0x101
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
movabs rsi, 0x5555555555555555
mov qword [r15 + 0x1630], rsi
mov qword [r15 + 0x2b0], rdx
mov ebx, 1
mov ecx, ebx
lea r8, [r15 + 0x2b8]
movabs rdi, 0x5851f42d4c957f2d
mov rax, rdx
shr rax, 0x3e
xor rdx, rax
imul rdx, rdi
add rdx, rcx
mov qword [r8], rdx
inc rcx
lea r8, [r8 + 8]
cmp rcx, 0x138
jb 0x180015f22
mov dword [r15 + 0x2a8], 0x138
mov word [r15 + 0x1638], bx
mov byte [r15 + 0x163a], r12b
mov qword [r15 + 0x1640], r12
mov qword [r15 + 0x1648], 0xffffffffffffffff
mov qword [r15 + 0x1650], r12
mov qword [r15 + 0x1658], 0xffffffffffffffff
mov qword [r15 + 0x1660], r12
mov qword [r15 + 0x1668], r12
mov qword [r15 + 0x1670], r12
mov qword [r15 + 0x1678], r12
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov eax, eax
mov qword [rsp + 0x13c8], rsi
mov qword [rsp + 0x48], rax
nop word [rax + rax]
mov rcx, rax
shr rcx, 0x3e
xor rax, rcx
imul rax, rdi
add rax, rbx
mov qword [rsp + rbx*8 + 0x48], rax
inc rbx
cmp rbx, 0x138
jb 0x180015fc0
mov dword [rsp + 0x40], 0x138
lea rcx, [rsp + 0x40]
call fcn.180012ce0
nop
mov qword [r15 + 0x1640], rax
mov rax, r15
mov rcx, qword [rsp + 0x13d0]
xor rcx, rsp
call fcn.180019c90
lea r11, [rsp + 0x13e0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1800031a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, 0xffffffff
test edx, edx
je 0x1800031de
mov r9d, edx
lea r10, [0x180082db0]
nop dword [rax]
nop word [rax + rax]
movzx r8d, word [rcx]
lea rcx, [rcx + 2]
mov edx, eax
shr eax, 8
xor r8, rdx
movzx edx, r8b
xor eax, dword [r10 + rdx*4]
sub r9, 1
jne 0x1800031c0
not eax
ret
Function at 0x18000d0d0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
test rcx, rcx
jne 0x18000d0dd
xor eax, eax
jmp 0x18000d156
mov r9, qword [rcx]
test r9, r9
jne 0x18000d0e9
xor eax, eax
jmp 0x18000d156
mov r9, qword [r9 + 0x10]
test r9, r9
jne 0x18000d0f6
xor eax, eax
jmp 0x18000d156
mov r10, r9
mov qword [rsp + 8], r9
xor edx, edx
mov r8d, 0xffffffff
lea r11, [0x180082db0]
mov dword [rsp], edx
mov ecx, r8d
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [r9 + rax], 0
jne 0x18000d120
cmp edx, eax
jae 0x18000d14c
movsx eax, byte [r10]
xor rax, rcx
movzx ecx, al
shr r8d, 8
xor r8d, dword [r11 + rcx*4]
inc r10
mov qword [rsp + 8], r10
inc edx
jmp 0x18000d10d
not r8d
mov eax, r8d
jmp 0x18000d156
add rsp, 0x18
ret

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

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, rcx
test rcx, rcx
jne 0x18000d766
xor eax, eax
add rsp, 0x20
pop rdi
ret
mov rax, qword gs:[0x58]
mov ecx, dword [0x1800a9688]
mov edx, 4
mov qword [rsp + 0x30], rbx
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x1800aa264], eax
jg 0x18000d7fa
mov rax, qword [0x1800aa128]
mov rcx, rdi
call rax
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2 + 0x14], 0
jne 0x18000d7a1
mov rax, qword [0x1800aa128]
mov rcx, rdi
call rax
lea r8, [rax + 0x14]
mov eax, 0xffffffff
test ebx, ebx
je 0x18000d7ed
mov r9d, ebx
lea r10, [0x180082db0]
nop
movzx edx, word [r8]
lea r8, [r8 + 2]
mov ecx, eax
shr eax, 8
xor rdx, rcx
movzx ecx, dl
xor eax, dword [r10 + rcx*4]
sub r9, 1
jne 0x18000d7d0
mov rbx, qword [rsp + 0x30]
not eax
add rsp, 0x20
pop rdi
ret
lea rcx, [0x1800aa264]
call fcn.18007e4cc
cmp dword [0x1800aa264], 0xffffffff
jne 0x18000d78e
mov ecx, 0x668c7be0
call fcn.180005200
lea rcx, [0x1800aa264]
mov rdx, qword [rax]
mov qword [0x1800aa128], rdx
call fcn.18007e46c
jmp 0x18000d78e

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

Disassembly:
test rcx, rcx
je 0x18000d8a0
mov r8, qword [rcx]
test r8, r8
je 0x18000d8a0
mov r8, qword [r8 + 0x10]
mov eax, 0xffffffff
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [r8 + rcx], 0
jne 0x18000d860
test ecx, ecx
je 0x18000d89d
mov r9d, ecx
lea r10, [0x180082db0]
nop dword [rax + rax]
movsx edx, byte [r8]
lea r8, [r8 + 1]
mov ecx, eax
shr eax, 8
xor rdx, rcx
movzx ecx, dl
xor eax, dword [r10 + rcx*4]
sub r9, 1
jne 0x18000d880
not eax
ret
xor eax, eax
ret
Function at 0x180013d70
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub rsp, 0x28
cmp byte [0x1800a9d1e], 0
jne 0x180013dd0
lea rcx, [rsp + 0x30]
mov byte [0x1800a9d1e], 1
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], 0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xorps xmm0, xmm0
xorps xmm1, xmm1
cvtsi2ss xmm0, qword [rsp + 0x38]
cvtsi2ss xmm1, qword [rsp + 0x30]
movss dword [0x1800a9d58], xmm0
movss dword [0x1800a9da0], xmm1
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [rsp + 0x30]
subss xmm0, dword [0x1800a9da0]
divss xmm0, dword [0x1800a9d58]
add rsp, 0x28
ret
Function at 0x180021620
Capabilities:
Get graphical window text
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x160
mov qword [rsp + 0x178], rbx
xor ebx, ebx
mov dword [rsp + 0x170], ebx
mov ecx, dword [0x1800932cc]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18002170b
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextA]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rbx
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], 0xf
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], bl
jne 0x180021690
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.180043180
movabs rcx, 0x50d9da637245ed60
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x28], rcx
movabs rax, 0xb01d7ff6fb342ba1
mov qword [rsp + 0x20], rax
mov ebx, 1
mov qword [rsp + 0x58], rcx
movabs rax, 0xb01d7ff68f475ef3
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x30]
movdqa xmm0, xmmword [rsp + 0x50]
pxor xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
call fcn.180042400
cmp rax, 0xffffffffffffffff
je 0x18002170b
movzx edi, bl
jmp 0x18002170e
xor dil, dil
test bl, 1
mov rbx, qword [rsp + 0x178]
je 0x18002175b
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x18002175b
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180021756
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180021756
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18007e36c
movzx eax, dil
add rsp, 0x160
pop rdi
ret
Function at 0x1800416f0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
je 0x180041700
xor al, al
add rsp, 0x38
ret
xor eax, eax
lea r8, [0x1800416d0]
mov r9, rcx
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x18004172d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x38
ret

Function at 0x1800483b0
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 0x18004840d
lea rbx, [0x180083bb0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1800483f4
cmp r10, 2
jb 0x1800483f4
cmp byte [r9], r8b
jne 0x1800483f4
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 0x1800483d0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18004844f
lea rbx, [0x180083bb0]
cmp r8b, 0x23
jne 0x180048433
cmp byte [r9], r8b
jne 0x180048433
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 0x180048420
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180048590
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1800485aa
mov qword [r8], 0
lea rdx, [0x180082a20]
call fcn.180048460
mov rbx, rax
test rax, rax
jne 0x1800485ca
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 0x1800486a1
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 0x1800486a1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1800486a1
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 0x1800486a1
cmp rdi, 0xffffffffffffffff
je 0x1800486a1
mov rax, qword [0x1800a9de8]
test rax, rax
je 0x18004863e
inc dword [rax + 0x3bc]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1800486a1
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 0x18004868e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1800a9de8]
test rax, rax
je 0x180048683
dec dword [rax + 0x3bc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1800486aa
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x18004869c
mov qword [r14], rdi
mov rax, rsi
jmp 0x1800486ac
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 0x18004cf80
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x50
xor eax, eax
lea r8, [0x180087f4d]
mov dword [rsp + 0x2c], eax
lea r11, [0x180083bb0]
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 word [rax + rax]
cmp r9b, 0x23
jne 0x18004cfd3
cmp byte [r8], r9b
jne 0x18004cfd3
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 0x18004cfc0
mov r8d, dword [rbx + 0x3064]
lea rax, [0x180059260]
mov ecx, dword [rbx + 0x3060]
not edx
mov qword [rsp + 0x30], rax
lea rax, [0x180059310]
mov qword [rsp + 0x38], rax
lea rax, [0x1800593e0]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x28], edx
cmp ecx, r8d
jne 0x18004d0ec
mov qword [rsp + 0x68], rdi
lea edi, [rcx + 1]
test r8d, r8d
je 0x18004d04a
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x18004d04f
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, r8d
jle 0x18004d0e7
mov rax, qword [0x1800a9de8]
mov qword [rsp + 0x60], rsi
test rax, rax
je 0x18004d074
inc dword [rax + 0x3bc]
movsxd rax, edi
lea rcx, [rax + rax*2]
shl rcx, 4
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdx, qword [rbx + 0x3068]
mov rsi, rax
test rdx, rdx
je 0x18004d0cf
movsxd rcx, dword [rbx + 0x3060]
lea r8, [rcx + rcx*2]
mov rcx, rax
shl r8, 4
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbx + 0x3068]
test rcx, rcx
je 0x18004d0c9
mov rax, qword [0x1800a9de8]
test rax, rax
je 0x18004d0c9
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [rbx + 0x3060]
mov qword [rbx + 0x3068], rsi
mov rsi, qword [rsp + 0x60]
mov dword [rbx + 0x3064], edi
mov rdi, qword [rsp + 0x68]
movups xmm0, xmmword [rsp + 0x20]
movsxd rax, ecx
movups xmm1, xmmword [rsp + 0x30]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x3068]
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 + 0x3060]
mov byte [rbx], 1
add rsp, 0x50
pop rbx
ret
Function at 0x18004e290
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x18004e2e0
lea r11, [0x180083bb0]
nop dword [rax]
cmp r9b, 0x23
jne 0x18004e2c3
cmp byte [r8], r9b
jne 0x18004e2c3
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 0x18004e2b0
mov r11, qword [0x1800a9de8]
not eax
movsxd rcx, dword [r11 + 0x1b10]
mov r9, qword [r11 + 0x1b18]
mov r10, rcx
mov rdx, rcx
mov r8, r9
test ecx, ecx
je 0x18004e348
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 0x18004e339
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x18004e33c
mov rdx, r8
test rdx, rdx
jne 0x18004e310
mov r8, qword [r11 + 0x1b18]
shl r10, 4
add r10, r8
cmp r9, r10
je 0x18004e35e
cmp dword [r9], eax
jne 0x18004e35e
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret
Function at 0x1800539f0
Capabilities:
Hash data with crc32

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x20
mov rax, qword [0x1800a9de8]
lea rdx, [0x180083bb0]
mov r8, rcx
mov rsi, qword [rax + 0x1b28]
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 [r11 + 9]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xa]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xb]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xc]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xd]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xe]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xf]
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 0x180053afb
lea ecx, [r9 + 1]
test r8d, r8d
je 0x180053ae4
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x180053ae9
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.18005a2f0
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 0x180053b20
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 [0x1800a9de8]
lea rdx, [0x180083bb0]
mov r8d, ecx
mov rsi, qword [rax + 0x1b28]
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 0x180053be2
lea ecx, [r9 + 1]
test r8d, r8d
je 0x180053bcb
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x180053bd0
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.18005a2f0
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 0x180058b30
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 [0x1800a9de8]
cmp byte [rbx + 0x3080], 0
je 0x180058c1c
cmp qword [rbx + 0x3098], 0
mov qword [rax - 0x18], rsi
lea rsi, [rax + 0x10]
mov qword [rax - 0x20], rdi
lea rdi, [rbx + 0x30a0]
je 0x180058c04
mov r9d, dword [rdi + 4]
mov qword [rax - 0x10], rbp
xor ebp, ebp
test r9d, r9d
jns 0x180058bab
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.18005a090
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
mov dword [rdi], ebp
mov rcx, rdi
mov r8, rsi
call fcn.180049470
mov eax, dword [rdi]
mov edx, 1
mov r9, qword [rbx + 0x3098]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x30a8]
cmove ecx, ebp
test rax, rax
movsxd r8, ecx
lea rcx, [0x1800a9de4]
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.180049470
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
Function at 0x180058ec0
Capabilities:
Hash data with crc32

Disassembly:
push rsi
push r13
sub rsp, 0x38
mov r13, qword [0x1800a9de8]
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 0x180058efe
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rcx + rbx], 0
jne 0x180058ef5
test r13, r13
je 0x180058f0a
inc dword [r13 + 0x3bc]
lea rcx, [rbx + 1]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, rbx
mov rdx, rdi
mov rcx, rax
mov qword [rsp + 0x58], 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 0x1800590d3
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
nop dword [rax]
movzx eax, byte [rcx]
cmp al, 0xa
je 0x180059117
cmp al, 0xd
je 0x180059117
mov rbx, rcx
cmp rcx, r12
jae 0x180058f83
nop dword [rax + rax]
movzx eax, byte [rbx]
cmp al, 0xa
je 0x180058f83
cmp al, 0xd
je 0x180058f83
inc rbx
cmp rbx, r12
jb 0x180058f70
mov byte [rbx], 0
movzx eax, byte [rcx]
cmp al, 0x3b
je 0x1800590b7
cmp al, 0x5b
jne 0x18005909e
cmp rbx, rcx
jbe 0x18005909e
cmp byte [rbx - 1], 0x5d
lea rsi, [rbx - 1]
jne 0x18005909e
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 0x1800590b7
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 0x1800590b7
mov r10, qword [0x1800a9de8]
lea r8, [r14 + 1]
mov byte [r15], 0
mov esi, 0xffffffff
movzx r9d, byte [r14]
mov ecx, esi
test r9b, r9b
je 0x18005904a
cmp r9b, 0x23
jne 0x180059027
cmp byte [r8], r9b
jne 0x180059027
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, [0x180083bb0]
inc r8
xor ecx, dword [rax + rdx*4]
test r9b, r9b
jne 0x180059015
mov r8d, dword [r10 + 0x3060]
xor eax, eax
not ecx
test r8d, r8d
jle 0x180059074
mov r9, qword [r10 + 0x3068]
lea rdx, [r9 + 8]
cmp dword [rdx], ecx
je 0x18005907a
inc eax
add rdx, 0x30
cmp eax, r8d
jl 0x180059065
xor edi, edi
xor ebp, ebp
jmp 0x1800590b7
cdqe
lea rdi, [rax + rax*2]
shl rdi, 4
add rdi, r9
je 0x180059076
mov rax, qword [rdi + 0x10]
lea r8, [r11 + 1]
mov rdx, rdi
mov rcx, r13
call rax
mov rbp, rax
jmp 0x1800590b7
test rdi, rdi
je 0x1800590b7
test rbp, rbp
je 0x1800590b7
mov r9, rcx
mov r8, rbp
mov rcx, r13
mov rdx, rdi
call qword [rdi + 0x18]
lea rcx, [rbx + 1]
cmp rcx, r12
jb 0x180058f50
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 0x1800590fe
mov rax, qword [0x1800a9de8]
test rax, rax
je 0x1800590fe
dec dword [rax + 0x3bc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [r13 + 0x3048], 1
add rsp, 0x38
pop r13
pop rsi
ret
inc rcx
jmp 0x180058f50
Function at 0x180059120
Capabilities:
Write file on windows

Disassembly:
push rdi
push r14
push r15
sub rsp, 0x20
mov rdi, qword [0x1800a9de8]
xor r15d, r15d
mov r14, rcx
mov dword [rdi + 0x304c], r15d
test rcx, rcx
je 0x18005924b
mov qword [rsp + 0x40], rbx
lea rbx, [rdi + 0x3050]
mov dword [rdi + 0x304c], r15d
mov r8d, dword [rbx + 4]
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rsi
test r8d, r8d
jns 0x180059188
mov eax, r8d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, r8d
test eax, eax
cmovg edx, eax
call fcn.18005a090
mov eax, r15d
mov dword [rbx], r15d
cmp dword [rbx + 4], eax
jne 0x1800591a2
mov edx, 8
mov rcx, rbx
call fcn.18005a090
mov eax, dword [rbx]
movsxd rcx, eax
mov ebp, r15d
mov rax, qword [rbx + 8]
mov byte [rcx + rax], r15b
inc dword [rbx]
mov ecx, dword [rbx]
cmp dword [rdi + 0x3060], r15d
jle 0x1800591e7
mov rsi, r15
mov r9, qword [rdi + 0x3068]
mov r8, rbx
add r9, rsi
mov rcx, rdi
mov rdx, r9
call qword [r9 + 0x20]
inc ebp
add rsi, 0x30
cmp ebp, dword [rdi + 0x3060]
jl 0x1800591c0
mov ecx, dword [rbx]
test ecx, ecx
lea eax, [rcx - 1]
lea rdx, [0x180088008]
mov rcx, r14
cmove eax, r15d
movsxd rsi, eax
mov rax, qword [rdi + 0x3058]
lea rdi, [0x1800a9de4]
test rax, rax
cmovne rdi, rax
call fcn.180048460
mov rbp, qword [rsp + 0x48]
mov rbx, rax
test rax, rax
je 0x180059241
mov r9, rax
mov r8, rsi
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 + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret