joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140211584
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1401ff15c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1401ff15c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1402116d4
cmp rax, 0xffffffffffffffff
je 0x1402116d4
xor edi, edi
test rbp, rbp
jle 0x14021167f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140212e24
mov rbx, rax
test rax, rax
jne 0x14021160c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140211675
mov edx, 0x8000
mov ecx, r14d
call fcn.140201f3c
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1401fde6c
cmp eax, 0xffffffff
je 0x140211655
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14021161c
mov edx, r15d
mov ecx, r14d
call fcn.140201f3c
jmp 0x140211675
cmp byte [rsi + 0x38], dil
je 0x14021166c
cmp dword [rsi + 0x34], 5
jne 0x14021166c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140211675
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14020e7dc
jmp 0x1402116e8
jns 0x1402116e8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1401ff15c
cmp rax, 0xffffffffffffffff
jne 0x1402116a0
cmp byte [rsi + 0x30], dil
je 0x1402116e8
mov edi, dword [rsi + 0x2c]
jmp 0x1402116e8
mov ecx, r14d
call fcn.1402013e8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1402116e8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1402116e8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1402116e1
mov eax, dword [rsi + 0x2c]
jmp 0x1402116e6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1401ff15c
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14021348c
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x140213469
call fcn.1401fa6b8
mov dword [rax], 0x16
call fcn.1401fa57c
or eax, 0xffffffff
jmp 0x140213486
sub dword [rcx + 0x10], 1
jns 0x140213478
add rsp, 0x28
jmp fcn.140213c5c
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x140213448
Function at 0x140213c5c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x140213c8e
call fcn.1401fa6b8
mov dword [rax], 0x16
call fcn.1401fa57c
jmp 0x140213dad
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x140213dad
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x140213dad
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x140213cbd
lock or dword [rcx + 0x14], 0x10
jmp 0x140213dad
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x140213cd1
call fcn.1402189ec
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.14020201c
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.1401fe628
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x140213d9b
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x140213d66
mov rcx, rsi
call fcn.14020201c
cmp eax, edi
je 0x140213d51
mov rcx, rsi
call fcn.14020201c
cmp eax, 0xfffffffe
je 0x140213d51
mov rcx, rsi
call fcn.14020201c
movsxd rbx, eax
lea r14, [0x1402dcfa0]
mov rcx, rsi
sar rbx, 6
call fcn.14020201c
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x140213d58
lea rdx, [0x1402cfcf0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x140213d66
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x140213d8a
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x140213d8a
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x140213d8a
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x140213db0
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret
Function at 0x140213dc8
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x140213aea
call fcn.1401fa6b8
mov dword [rax], 0x16
call fcn.1401fa57c
jmp 0x140213c3a
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x140213c3a
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x140213c3a
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x140213b19
lock or dword [rcx + 0x14], 0x10
jmp 0x140213c3a
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x140213b2d
call fcn.1402189ec
mov ebp, dword [rbx + 0x10]
cmp ebp, 1
jne 0x140213b3d
mov rax, qword [rbx]
mov r14b, byte [rax]
jmp 0x140213b40
xor r14b, r14b
mov rsi, qword [rbx + 8]
mov rcx, rbx
mov edi, dword [rbx + 0x20]
mov qword [rbx], rsi
call fcn.14020201c
mov r8d, edi
mov rdx, rsi
mov ecx, eax
call fcn.1401fe628
mov dword [rbx + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x140213c28
mov eax, dword [rbx + 0x14]
test al, 6
jne 0x140213bd3
mov rcx, rbx
call fcn.14020201c
cmp eax, 0xffffffff
je 0x140213bbe
mov rcx, rbx
call fcn.14020201c
cmp eax, 0xfffffffe
je 0x140213bbe
mov rcx, rbx
call fcn.14020201c
movsxd rdi, eax
lea rsi, [0x1402dcfa0]
mov rcx, rbx
sar rdi, 6
call fcn.14020201c
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [rsi + rdi*8]
lea rdx, [rax + rcx*8]
jmp 0x140213bc5
lea rdx, [0x1402cfcf0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x140213bd3
lock or dword [rbx + 0x14], 0x20
cmp dword [rbx + 0x20], 0x200
jne 0x140213bf7
mov eax, dword [rbx + 0x14]
shr eax, 6
test al, 1
je 0x140213bf7
mov eax, dword [rbx + 0x14]
shr eax, 8
test al, 1
jne 0x140213bf7
mov dword [rbx + 0x20], 0x1000
mov rdx, qword [rbx]
cmp ebp, 1
jne 0x140213c15
movzx ecx, byte [rdx]
dec dword [rbx + 0x10]
shl cx, 8
movzx eax, r14b
or cx, ax
inc rdx
jmp 0x140213c20
movzx ecx, word [rdx]
add dword [rbx + 0x10], 0xfffffffe
add rdx, 2
mov qword [rbx], rdx
movzx eax, cx
jmp 0x140213c3f
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rbx + 0x14], eax
and dword [rbx + 0x10], 0
mov eax, 0xffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
jmp 0x140213ab4
Function at 0x140215d84
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140215e0b
mov rsi, rbx
cmp word [rax], bp
je 0x140215dca
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140215db4
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140215db0
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14020e818
mov rdi, rax
test rax, rax
je 0x140215df8
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1401f0800
mov rbp, rdi
xor ecx, ecx
call fcn.14020e7dc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14021a030
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14021a058
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14021a058
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1800093e0
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 0x180009415
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.1800088d0
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 0x180009584
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 0x1800094fc
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180009573
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x180009539
mov r10, qword [rdx]
cmp r10, rax
je 0x180009533
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 0x180009573
cmp r9, rdx
je 0x18000954f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x180009595
cmp r9, rdx
jne 0x180009540
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 0x180009480
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 0x180009573
Function at 0x18000c450
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 0x18000c481
mov r8, qword [rdx]
xor ebp, ebp
movabs rdx, 0xcbf29ce484222325
mov ecx, ebp
test rsi, rsi
je 0x18000c4b4
movabs r9, 0x100000001b3
nop
movzx eax, byte [r8 + rcx]
inc rcx
xor rdx, rax
imul rdx, r9
cmp rcx, rsi
jb 0x18000c4a0
mov rcx, qword [0x180061ce0]
mov rax, qword [0x180061cc8]
and rcx, rdx
add rcx, rcx
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [0x180061cb8]
je 0x18000c522
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 0x18000c4f2
mov rdx, qword [rdx]
mov rcx, rdi
cmp r15, 0xf
jbe 0x18000c4fe
mov rcx, qword [rdi]
cmp rsi, rax
jne 0x18000c50f
mov r8, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18000c51a
cmp rbx, r14
je 0x18000c51d
mov rbx, qword [rbx + 8]
jmp 0x18000c4e0
mov rbp, rbx
mov r14, qword [rsp + 0x38]
mov rax, qword [0x180061cb8]
test rbp, rbp
mov r15, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x60]
cmovne rax, rbp
cmp rax, qword [0x180061cb8]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
je 0x18000c56e
mov r8, rdi
lea rdx, [rsp + 0x20]
lea rcx, [0x180061cb0]
call fcn.18000dd30
mov rax, qword [rax]
add rax, 0x30
add rsp, 0x40
pop rdi
ret
xor eax, eax
add rsp, 0x40
pop rdi
ret
Function at 0x18000eb10
Capabilities:
Create thread

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

Function at 0x180019740
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x38
cmp dword [0x180061da0], 0
mov r9, r8
je 0x1800198f8
mov rax, qword [0x180061d98]
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.18004bea8
test eax, eax
jne 0x1800198ee
xor r14d, r14d
mov esi, 1
mov ebx, r14d
lock cmpxchg dword [0x180061b6c], esi
je 0x1800197c2
cmp rbx, 0x20
jae 0x1800197ab
xor ecx, ecx
jmp 0x1800197ad
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x180061b6c], esi
jne 0x1800197a1
cmp qword [0x180061c20], r14
je 0x1800198e7
mov qword [rsp + 0x48], rbp
test rdi, rdi
jne 0x1800197e4
mov ecx, esi
call fcn.18004bda4
mov ebp, eax
jmp 0x180019814
mov ecx, dword [0x1800623bc]
mov ebx, r14d
test ecx, ecx
je 0x18001980f
mov r8, qword [0x1800623b0]
mov rax, r8
nop dword [rax + rax]
cmp rdi, qword [rax]
je 0x18001983d
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180019800
mov ebp, 4
xchg dword [0x180061b6c], 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 0x18001980f
mov eax, ebx
imul rdx, rax, 0x38
test byte [rdx + r8 + 0x20], 2
jne 0x1800198dd
mov r8d, esi
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.18004b8e0
mov ebp, eax
test eax, eax
jne 0x180019814
mov edx, esi
mov ecx, ebx
call fcn.18004bc94
mov ebp, eax
cmp qword [rsp + 0x20], r14
je 0x180019814
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1800198c4
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 0x1800198ba
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 0x180019890
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180061c20]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180019814
mov ebp, 5
jmp 0x180019814
xchg dword [0x180061b6c], r14d
mov eax, 0xffffffff
jmp 0x180019824
mov eax, 0xfffffffb
add rsp, 0x38
ret
Function at 0x18001ace0
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 [0x180061af0]
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
call rax
mov rcx, rax
mov r8, rbx
mov rdx, rdi
call fcn.18004bea8
mov rax, qword [0x180061af0]
mov rcx, rsi
call rax
xor r14d, r14d
mov rdi, rax
mov ebx, r14d
xor eax, eax
mov esi, 1
lock cmpxchg dword [0x180061b6c], esi
je 0x18001ad61
nop dword [rax + rax]
cmp rbx, 0x20
jae 0x18001ad4a
xor ecx, ecx
jmp 0x18001ad4c
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x180061b6c], esi
jne 0x18001ad40
cmp qword [0x180061c20], r14
je 0x18001ae48
test rdi, rdi
jne 0x18001ad7f
mov ecx, esi
call fcn.18004bda4
jmp 0x18001ae48
mov ecx, dword [0x1800623bc]
mov ebx, r14d
test ecx, ecx
je 0x18001ae48
mov rdx, qword [0x1800623b0]
mov rax, rdx
nop word [rax + rax]
cmp rdi, qword [rax]
je 0x18001adb4
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x18001ada0
jmp 0x18001ae48
cmp ebx, 0xffffffff
je 0x18001ae48
mov eax, ebx
imul rcx, rax, 0x38
test byte [rcx + rdx + 0x20], 2
jne 0x18001ae48
mov r8d, esi
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.18004b8e0
test eax, eax
jne 0x18001ae48
mov edx, esi
mov ecx, ebx
call fcn.18004bc94
cmp qword [rsp + 0x20], r14
je 0x18001ae48
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x18001ae34
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 0x18001ae2a
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 0x18001ae00
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180061c20]
call qword [sym.imp.KERNEL32.dll_HeapFree]
xchg dword [0x180061b6c], r14d
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret

Function at 0x18001c2f0
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 0x18001c34d
lea rbx, [0x180053560]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x18001c334
cmp r10, 2
jb 0x18001c334
cmp byte [r9], r8b
jne 0x18001c334
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 0x18001c310
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18001c38f
lea rbx, [0x180053560]
cmp r8b, 0x23
jne 0x18001c373
cmp byte [r9], r8b
jne 0x18001c373
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 0x18001c360
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x18001c570
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18001c58a
mov qword [r8], 0
lea rdx, [0x1800586b0]
call fcn.18001c3a0
mov rbx, rax
test rax, rax
jne 0x18001c5aa
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 0x18001c683
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 0x18001c683
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x18001c683
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 0x18001c683
cmp rdi, 0xffffffffffffffff
je 0x18001c683
mov rax, qword [0x180061c18]
test rax, rax
je 0x18001c620
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 0x18001c683
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 0x18001c670
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x180061c18]
test rax, rax
je 0x18001c665
dec dword [rax + 0x3bc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18001c68c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x18001c67e
mov qword [r14], rdi
mov rax, rsi
jmp 0x18001c68e
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 0x180020740
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
xor eax, eax
lea r8, [0x1800585fd]
mov dword [rsp + 0x2c], eax
lea r11, [0x180053560]
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 0x180020793
cmp byte [r8], r9b
jne 0x180020793
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 0x180020780
mov ecx, dword [rbx + 0x2f14]
lea rax, [0x18002c600]
mov edi, dword [rbx + 0x2f10]
not edx
mov qword [rsp + 0x30], rax
lea rax, [0x18002c6c0]
mov qword [rsp + 0x38], rax
lea rax, [0x18002c7a0]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x28], edx
cmp edi, ecx
jne 0x180020895
inc edi
test ecx, ecx
je 0x1800207ff
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180020804
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x180020895
mov rax, qword [0x180061c18]
mov qword [rsp + 0x60], rsi
test rax, rax
je 0x180020828
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 + 0x2f18]
mov rsi, rax
test rdx, rdx
je 0x180020883
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 0x18002087d
mov rax, qword [0x180061c18]
test rax, rax
je 0x18002087d
dec dword [rax + 0x3bc]
call qword [sym.imp.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 0x180021b50
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x180021ba0
lea r11, [0x180053560]
nop dword [rax]
cmp r9b, 0x23
jne 0x180021b83
cmp byte [r8], r9b
jne 0x180021b83
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 0x180021b70
mov rcx, qword [0x180061c18]
not eax
movsxd rdx, dword [rcx + 0x1a00]
mov r9, qword [rcx + 0x1a08]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x180021c01
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x180021bf9
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x180021bfc
mov rdx, r8
test rdx, rdx
jne 0x180021bd0
cmp r9, r10
je 0x180021c10
cmp dword [r9], eax
jne 0x180021c10
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret