joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800265f0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
test rdx, rdx
je 0x18002661d
mov rcx, qword [rcx + 0x10]
cmp rdx, rcx
je 0x18002661d
test rcx, rcx
jle 0x180026619
call qword [0x18007ea38]
mov qword [rbx + 0x10], rdi
mov rdx, qword [rbx + 0x10]
test rdx, rdx
jne 0x180026636
mov eax, 0xc0000141
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x1800267fa
movsxd rcx, dword [rdx + 0x3c]
add rcx, rdx
mov qword [rbx + 0x20], rcx
mov qword [rbx + 0x28], rcx
cmp dword [rcx], 0x4550
jne 0x1800267fa
mov eax, 0x20b
mov qword [rsp + 0x50], rsi
mov r10, rcx
cmp word [rcx + 0x18], ax
jne 0x180026686
mov byte [rbx + 0x19], 1
lea rdi, [rcx + 0x108]
mov rax, qword [rcx + 0x30]
mov r9b, 1
jmp 0x180026697
mov byte [rbx + 0x19], 0
lea rdi, [rcx + 0xf8]
mov eax, dword [rcx + 0x34]
xor r9b, r9b
mov qword [rbx + 0x30], rax
mov eax, dword [rcx + 0x50]
mov dword [rbx + 0x38], eax
mov eax, dword [rcx + 0x54]
mov dword [rbx + 0x40], eax
mov eax, dword [rcx + 0x28]
mov dword [rbx + 0x3c], eax
mov eax, 0x5e
movzx r11d, word [rcx + 0x5c]
mov dword [rbx + 0x54], r11d
movzx eax, word [rax + r10]
mov dword [rbx + 0x5c], eax
movzx eax, word [rcx + 0x16]
shr ax, 0xd
not al
and al, 1
mov byte [rbx + 0x1a], al
test r9b, r9b
je 0x1800266e0
add rcx, 0xf8
jmp 0x1800266e7
add rcx, 0xe8
mov eax, dword [rcx]
test eax, eax
je 0x180026722
cmp byte [rbx + 0x18], 0
mov r8d, eax
je 0x180026778
mov rcx, qword [rbx + 0x60]
mov r9, qword [rbx + 0x68]
cmp rcx, r9
je 0x180026722
mov edx, dword [rcx + 0xc]
cmp r8, rdx
jb 0x180026719
mov eax, dword [rcx + 8]
add eax, edx
cmp r8, rax
jb 0x180026769
add rcx, 0x28
cmp rcx, r9
jne 0x180026707
mov byte [rbx + 0x1b], 0
mov rax, qword [rbx + 0x20]
xor esi, esi
cmp si, word [rax + 6]
jae 0x1800267e8
mov qword [rsp + 0x48], rbp
nop dword [rax + rax]
mov rdx, qword [rbx + 0x68]
cmp rdx, qword [rbx + 0x70]
je 0x1800267c1
movups xmm0, xmmword [rdi]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rdx + 0x10], xmm1
movsd xmm0, qword [rdi + 0x20]
movsd qword [rdx + 0x20], xmm0
add qword [rbx + 0x68], 0x28
jmp 0x1800267cd
mov eax, dword [rcx + 0x14]
sub rax, rdx
add rax, qword [rbx + 0x10]
add rax, r8
jmp 0x18002677b
add rax, rdx
test rax, rax
je 0x180026722
test byte [rax + 0x10], 1
je 0x180026722
sub eax, dword [rbx + 0x10]
lea rdx, [rbx + 0xf8]
add eax, 0x10
mov byte [rbx + 0x1b], 1
lea rcx, [rbx + 0x138]
mov dword [rbx + 0x58], eax
call fcn.18003bc30
test al, al
je 0x180026726
xor edx, edx
lea rcx, [rbx + 0x138]
call fcn.18003bd90
jmp 0x180026726
mov r8, rdi
lea rcx, [rbx + 0x60]
call fcn.180027d60
mov rax, qword [rbx + 0x20]
inc esi
add rdi, 0x28
movzx ecx, word [rax + 6]
cmp esi, ecx
jl 0x180026740
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
xor eax, eax
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x58]
mov eax, 0xc000007b
add rsp, 0x30
pop rdi
ret
Function at 0x18003a740
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x30
mov r14, r8
mov rbx, rdx
mov rsi, rcx
call fcn.1800203f0
lea rcx, [rsi + 0x40]
call qword [0x18007e6f8]
cmp qword [rbx + 0x18], 0xf
mov rdx, rbx
mov r10, qword [rbx + 0x10]
jbe 0x18003a77e
mov rdx, qword [rbx]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r10, r10
je 0x18003a7b3
movabs r8, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + rcx]
inc rcx
xor r9, rax
imul r9, r8
cmp rcx, r10
jb 0x18003a7a0
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.180003d40
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x18003a7ec
cmp rbx, qword [rsi + 8]
je 0x18003a7ec
mov rbx, qword [rbx + 0x30]
lea rcx, [rsi + 0x40]
call qword [0x18007e908]
test rbx, rbx
je 0x18003a7f6
mov rcx, qword [r14]
call rbx
jmp 0x18003a7f8
lea rcx, [rsi + 0x40]
call qword [0x18007e908]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret

Function at 0x180043370
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rdx + 0x18], 7
mov rsi, r8
mov rbx, rcx
mov r8, rdx
mov rcx, qword [rdx + 0x10]
mov r10, rdx
jbe 0x180043399
mov r10, qword [rdx]
xor edx, edx
movabs r9, 0xcbf29ce484222325
add rcx, rcx
je 0x1800433d4
movabs r11, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [r10 + rdx]
inc rdx
xor r9, rax
imul r9, r11
cmp rdx, rcx
jb 0x1800433c0
lea rdx, [rsp + 0x20]
lea rcx, [rbx + 0x40]
call fcn.18000cfc0
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x1800433ef
mov rcx, qword [rbx + 0x48]
cmp rcx, qword [rbx + 0x48]
je 0x180043411
mov eax, dword [rcx + 0x30]
add rax, qword [rbx + 0x18]
mov qword [rsi], rax
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x40]
mov eax, 0x806d0013
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1800480e0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x1800482bb
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.1800036b0
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x180048284
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x14]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x17]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1800481fc
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180048273
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x180048239
mov r10, qword [rdx]
cmp r10, rax
je 0x180048233
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x180048273
cmp r9, rdx
je 0x18004824f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x180048295
cmp r9, rdx
jne 0x180048240
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x180048180
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x180048273
lea rcx, [0x18007a398]
call fcn.180012064
int3
Function at 0x180053490
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1800534b8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1800534b8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x180805058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1808051df
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 0x180805089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18080506f
add dl, dl
jne 0x180805096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1808050f6
xor eax, eax
add dl, dl
jne 0x1808050a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1808051ad
add dl, dl
jne 0x1808050b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1808050c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1808050d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1808050dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1808050ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x18080507e
mov eax, 1
add dl, dl
jne 0x180805106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180805113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1808050fb
sub eax, ebx
mov ebx, 1
jne 0x18080514c
mov ecx, 1
add dl, dl
jne 0x18080512e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18080513b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180805123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18080507e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x180805168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180805175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18080515d
cmp eax, 0x7d00
jae 0x18080519b
cmp eax, 0x500
jb 0x180805196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18080507e
cmp eax, 0x7f
ja 0x18080519e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18080507e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1808051d2
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 0x18080507e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x180008970
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x1800089a5
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.180007e60
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x180008b14
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x14]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x17]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x180008a8c
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180008b03
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x180008ac9
mov r10, qword [rdx]
cmp r10, rax
je 0x180008ac3
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x180008b03
cmp r9, rdx
je 0x180008adf
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x180008b25
cmp r9, rdx
jne 0x180008ad0
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x180008a10
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x180008b03
Function at 0x18000b290
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x50], rbx
mov rdi, rdx
mov qword [rsp + 0x58], rbp
mov r8, rdx
mov qword [rsp + 0x60], rsi
mov rsi, qword [rdx + 0x10]
mov qword [rsp + 0x30], r15
mov r15, qword [rdx + 0x18]
cmp r15, 0xf
jbe 0x18000b2c1
mov r8, qword [rdx]
xor ebp, ebp
movabs rdx, 0xcbf29ce484222325
mov ecx, ebp
test rsi, rsi
je 0x18000b2f4
movabs r9, 0x100000001b3
nop
movzx eax, byte [r8 + rcx]
inc rcx
xor rdx, rax
imul rdx, r9
cmp rcx, rsi
jb 0x18000b2e0
mov rcx, qword [0x180059cd0]
mov rax, qword [0x180059cb8]
and rcx, rdx
add rcx, rcx
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [0x180059ca8]
je 0x18000b362
mov qword [rsp + 0x38], r14
mov r14, qword [rax + rcx*8]
nop
cmp qword [rbx + 0x28], 0xf
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
jbe 0x18000b332
mov rdx, qword [rdx]
mov rcx, rdi
cmp r15, 0xf
jbe 0x18000b33e
mov rcx, qword [rdi]
cmp rsi, rax
jne 0x18000b34f
mov r8, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18000b35a
cmp rbx, r14
je 0x18000b35d
mov rbx, qword [rbx + 8]
jmp 0x18000b320
mov rbp, rbx
mov r14, qword [rsp + 0x38]
mov rax, qword [0x180059ca8]
test rbp, rbp
mov r15, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x60]
cmovne rax, rbp
cmp rax, qword [0x180059ca8]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
je 0x18000b3ae
mov r8, rdi
lea rdx, [rsp + 0x20]
lea rcx, [0x180059ca0]
call fcn.18000c960
mov rax, qword [rax]
add rax, 0x30
add rsp, 0x40
pop rdi
ret
xor eax, eax
add rsp, 0x40
pop rdi
ret
Function at 0x18000d6c0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
test edx, edx
je 0x18000d710
cmp edx, 1
jne 0x18000d715
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor eax, eax
lea r8, [0x180014d80]
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 0x18000d715
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x30
pop rbx
ret
call fcn.180017390
mov eax, 1
add rsp, 0x30
pop rbx
ret

Function at 0x180017430
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x38
cmp dword [0x180059d78], 0
mov r9, r8
je 0x1800175e8
mov rax, qword [0x180059d70]
mov r8, rdx
mov qword [rsp + 0x58], rdi
mov rdx, r9
movzx ecx, cx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x30], r14
mov rdi, qword [rax + rcx*8]
mov rcx, rdi
call fcn.180045c6c
test eax, eax
jne 0x1800175de
xor r14d, r14d
mov esi, 1
mov ebx, r14d
lock cmpxchg dword [0x180059b5c], esi
je 0x1800174b2
cmp rbx, 0x20
jae 0x18001749b
xor ecx, ecx
jmp 0x18001749d
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x180059b5c], esi
jne 0x180017491
cmp qword [0x180059c08], r14
je 0x1800175d7
mov qword [rsp + 0x48], rbp
test rdi, rdi
jne 0x1800174d4
mov ecx, esi
call fcn.180045b68
mov ebp, eax
jmp 0x180017504
mov ecx, dword [0x18005a38c]
mov ebx, r14d
test ecx, ecx
je 0x1800174ff
mov r8, qword [0x18005a380]
mov rax, r8
nop dword [rax + rax]
cmp rdi, qword [rax]
je 0x18001752d
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x1800174f0
mov ebp, 4
xchg dword [0x180059b5c], r14d
neg ebp
mov rbp, qword [rsp + 0x48]
sbb eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x58]
add rsp, 0x38
ret
cmp ebx, 0xffffffff
je 0x1800174ff
mov eax, ebx
imul rdx, rax, 0x38
test byte [rdx + r8 + 0x20], 2
jne 0x1800175cd
mov r8d, esi
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.1800456a4
mov ebp, eax
test eax, eax
jne 0x180017504
mov edx, esi
mov ecx, ebx
call fcn.180045a58
mov ebp, eax
cmp qword [rsp + 0x20], r14
je 0x180017504
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1800175b4
mov rbx, qword [rsp + 0x20]
mov esi, eax
nop word [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x1800175aa
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rsi, 1
jne 0x180017580
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180059c08]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180017504
mov ebp, 5
jmp 0x180017504
xchg dword [0x180059b5c], r14d
mov eax, 0xffffffff
jmp 0x180017514
mov eax, 0xfffffffb
add rsp, 0x38
ret
Function at 0x1800189d0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x30
mov rax, qword [0x180059ae0]
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
call rax
mov rcx, rax
mov r8, rbx
mov rdx, rdi
call fcn.180045c6c
mov rax, qword [0x180059ae0]
mov rcx, rsi
call rax
xor r14d, r14d
mov rdi, rax
mov ebx, r14d
xor eax, eax
mov esi, 1
lock cmpxchg dword [0x180059b5c], esi
je 0x180018a51
nop dword [rax + rax]
cmp rbx, 0x20
jae 0x180018a3a
xor ecx, ecx
jmp 0x180018a3c
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x180059b5c], esi
jne 0x180018a30
cmp qword [0x180059c08], r14
je 0x180018b38
test rdi, rdi
jne 0x180018a6f
mov ecx, esi
call fcn.180045b68
jmp 0x180018b38
mov ecx, dword [0x18005a38c]
mov ebx, r14d
test ecx, ecx
je 0x180018b38
mov rdx, qword [0x18005a380]
mov rax, rdx
nop word [rax + rax]
cmp rdi, qword [rax]
je 0x180018aa4
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180018a90
jmp 0x180018b38
cmp ebx, 0xffffffff
je 0x180018b38
mov eax, ebx
imul rcx, rax, 0x38
test byte [rcx + rdx + 0x20], 2
jne 0x180018b38
mov r8d, esi
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.1800456a4
test eax, eax
jne 0x180018b38
mov edx, esi
mov ecx, ebx
call fcn.180045a58
cmp qword [rsp + 0x20], r14
je 0x180018b38
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180018b24
mov rdi, qword [rsp + 0x20]
mov esi, eax
mov r8d, dword [rdi]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x180018b1a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rdi, 4
sub rsi, 1
jne 0x180018af0
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180059c08]
call qword [sym.imp.KERNEL32.dll_HeapFree]
xchg dword [0x180059b5c], r14d
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret

Function at 0x180019fe0
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 0x18001a03d
lea rbx, [0x18004c2f0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x18001a024
cmp r10, 2
jb 0x18001a024
cmp byte [r9], r8b
jne 0x18001a024
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 0x18001a000
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18001a07f
lea rbx, [0x18004c2f0]
cmp r8b, 0x23
jne 0x18001a063
cmp byte [r9], r8b
jne 0x18001a063
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 0x18001a050
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x18001a260
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18001a27a
mov qword [r8], 0
lea rdx, [0x1800513f0]
call fcn.18001a090
mov rbx, rax
test rax, rax
jne 0x18001a29a
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 0x18001a373
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x18001a373
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x18001a373
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 0x18001a373
cmp rdi, 0xffffffffffffffff
je 0x18001a373
mov rax, qword [0x180059c00]
test rax, rax
je 0x18001a310
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 0x18001a373
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 0x18001a360
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x180059c00]
test rax, rax
je 0x18001a355
dec dword [rax + 0x3bc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18001a37c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x18001a36e
mov qword [r14], rdi
mov rax, rsi
jmp 0x18001a37e
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