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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
movaps xmmword [rsp + 0x20], xmm6
mov esi, ecx
mov r12, rdx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
call fcn.140017710
mov ecx, dword [0x1400b2158]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x140018620
lea r14, [rbx + 0x68]
mov rcx, r14
call fcn.140016f20
cmp esi, dword [rbx + 0x48]
jae 0x1400185a0
mov rdi, qword [rbx + 0x50]
mov qword [rdi + rsi*8], r12
mov rax, qword [rbx + 0x58]
mov rcx, r14
mov byte [rax + rsi], 1
call fcn.140016f60
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rbx + 0x50]
lea r15d, [rsi + 1]
movsxd r13, r15d
lea rdx, [r13*8]
call sub.msvcrt.dll_realloc
test rax, rax
mov rdi, rax
je 0x14001862d
mov rcx, qword [rbx + 0x58]
mov rdx, r13
movq xmm6, rdi
call sub.msvcrt.dll_realloc
movq xmm0, rax
test rax, rax
mov r13, rax
punpcklqdq xmm6, xmm0
je 0x14001862d
mov eax, dword [rbx + 0x48]
mov edx, r15d
lea rcx, [rdi + rax*8]
sub edx, eax
lea r8, [rdx*8]
xor edx, edx
call sub.msvcrt.dll_memset
mov edx, dword [rbx + 0x48]
mov r8d, r15d
lea rcx, [r13 + rdx]
sub r8d, edx
xor edx, edx
call sub.msvcrt.dll_memset
movaps xmmword [rbx + 0x50], xmm6
mov dword [rbx + 0x48], r15d
jmp 0x140018564
call fcn.1400177c0
mov rbx, rax
jmp 0x14001854f
mov rcx, r14
call fcn.140016f60
mov eax, 0xc
jmp 0x140018582

Function at 0x1400186b0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.140017710
mov ecx, dword [0x1400b2158]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400186d8
mov rax, qword [rax + 0x30]
add rsp, 0x28
ret
call fcn.1400177c0
test rax, rax
jne 0x1400186ca
add rsp, 0x28
ret

Function at 0x140018740
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.140017710
mov ecx, dword [0x1400b2158]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140018768
add rax, 0x18
add rsp, 0x28
ret
call fcn.1400177c0
test rax, rax
jne 0x14001875a
jmp 0x14001875e

Function at 0x140018880
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1400eaca8]
test eax, eax
jne 0x140018898
xor eax, eax
add rsp, 0x28
ret
call fcn.140017710
mov ecx, dword [0x1400b2158]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400188c8
mov edx, dword [rax + 0x20]
test edx, edx
jg 0x14001888e
test byte [rax + 0x40], 3
je 0x14001888e
mov eax, dword [rax + 0x44]
and eax, 1
jmp 0x140018890
call fcn.1400177c0
test rax, rax
jne 0x1400188ae
jmp 0x14001888e
Function at 0x1400188e0
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
call fcn.140017710
mov ecx, dword [0x1400b2158]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140018920
test ebx, ebx
jle 0x140018910
lock add dword [rax + 0x20], 1
add rsp, 0x20
pop rbx
ret
lock sub dword [rax + 0x20], 1
add rsp, 0x20
pop rbx
ret
call fcn.1400177c0
test rax, rax
jne 0x1400188fd
add rsp, 0x20
pop rbx
ret

Function at 0x140018a10
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.140017710
mov ecx, dword [0x1400b2158]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x140018a88
test byte [rbx + 0x40], 0xc
jne 0x140018a3f
mov eax, dword [0x1400eaca8]
test eax, eax
jne 0x140018a50
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.140016920
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x140018a73
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x140018a73
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x140018a9c
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.140016c10
call fcn.1400177c0
test rax, rax
mov rbx, rax
jne 0x140018a2f
add rsp, 0x28
pop rbx
pop rsi
ret
mov rcx, qword [rbx + 0x30]
and eax, 0xfffffff3
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x140018aba
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.140016c10
call fcn.140018930
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x140018b40
call fcn.1400166e0
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x140018b78
call fcn.140017710
mov ecx, dword [0x1400b2158]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x140018bd0
test esi, esi
je 0x140018b56
call fcn.140018a10
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140018bb0
mov edx, edi
call fcn.140016790
call fcn.140018a10
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.140017710
mov ecx, dword [0x1400b2158]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140018bc0
call fcn.140018a10
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140018a10
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.140017710
mov ecx, dword [0x1400b2158]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
jne 0x140018b15
call fcn.1400177c0
mov rbx, rax
jmp 0x140018b15
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140018b2e
call fcn.1400177c0
jmp 0x140018b56
call fcn.1400177c0
mov rbx, rax
jmp 0x140018b11
Function at 0x140018ad0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.140017710
mov ecx, dword [0x1400b2158]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x140018a88
test byte [rbx + 0x40], 0xc
jne 0x140018a3f
mov eax, dword [0x1400eaca8]
test eax, eax
jne 0x140018a50
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.140016920
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x140018a73
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x140018a73
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x140018a9c
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.140016c10
call fcn.1400177c0
test rax, rax
mov rbx, rax
jne 0x140018a2f
add rsp, 0x28
pop rbx
pop rsi
ret
mov rcx, qword [rbx + 0x30]
and eax, 0xfffffff3
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x140018aba
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.140016c10
call fcn.140018930
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x140018b40
call fcn.1400166e0
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x140018b78
call fcn.140017710
mov ecx, dword [0x1400b2158]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x140018bd0
test esi, esi
je 0x140018b56
call fcn.140018a10
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140018bb0
mov edx, edi
call fcn.140016790
call fcn.140018a10
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.140017710
mov ecx, dword [0x1400b2158]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140018bc0
call fcn.140018a10
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140018a10
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.140017710
mov ecx, dword [0x1400b2158]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
jne 0x140018b15
call fcn.1400177c0
mov rbx, rax
jmp 0x140018b15
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140018b2e
call fcn.1400177c0
jmp 0x140018b56
call fcn.1400177c0
mov rbx, rax
jmp 0x140018b11

Function at 0x140018be0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
call fcn.140017710
mov ecx, dword [0x1400b2158]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x140018c50
test esi, esi
je 0x140018c30
call fcn.140018a10
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140018c60
mov edx, esi
call fcn.140016790
call fcn.140018a10
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.140018a10
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140018a10
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.1400177c0
mov rbx, rax
jmp 0x140018c01
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140018c1a
Function at 0x100411cb0
Capabilities:
Authenticate hmac

Disassembly:
cdq
xor al, 0x97
xor al, 0xa8
xor al, 0x71
xor al, 0x56
xor al, 0x74
xor al, 0x97
xor al, 0x95
xor al, 0x97
xor al, 0x9c
xor al, 0x99
xor al, 0xa3
xor al, 0x9a
xor al, 0x9a
xor al, 0x56
xor al, 0x72
xor al, 0x41
xor al, 0x3e
xor al, 0x54
xor al, 0x54
xor al, 0x54
xor al, 0x54
xor al, 0x54
xor al, 0x54
xor al, 0x70
jo 0x100411d16
movabs dword [0xa3349d34a834a434], eax
xor al, 0xa2
xor al, 0x54
xor al, 0xaa
stosb byte [rdi], al
xor al, 0x95
xor al, 0xa0
xor al, 0xa9
xor al, 0x99
xor al, 0x71
xor al, 0x56
xor al, 0x64
xor al, 0x56

Function at 0x100411cd0
Capabilities:
Authenticate hmac

Disassembly:
cdq
xor al, 0x97
xor al, 0xa8
xor al, 0x71
xor al, 0x56
xor al, 0x74
xor al, 0x97
xor al, 0x95
xor al, 0x97
xor al, 0x9c
xor al, 0x99
xor al, 0xa3
xor al, 0x9a
xor al, 0x9a
xor al, 0x56
xor al, 0x72
xor al, 0x41
xor al, 0x3e
xor al, 0x54
xor al, 0x54
xor al, 0x54
xor al, 0x54
xor al, 0x54
xor al, 0x54
xor al, 0x70
jo 0x100411d16
movabs dword [0xa3349d34a834a434], eax
xor al, 0xa2
xor al, 0x54
xor al, 0xaa
stosb byte [rdi], al
xor al, 0x95
xor al, 0xa0
xor al, 0xa9
xor al, 0x99
xor al, 0x71
xor al, 0x56
xor al, 0x64
xor al, 0x56

Function at 0x100411ce0
Capabilities:
Authenticate hmac

Disassembly:
cdq
xor al, 0x97
xor al, 0xa8
xor al, 0x71
xor al, 0x56
xor al, 0x74
xor al, 0x97
xor al, 0x95
xor al, 0x97
xor al, 0x9c
xor al, 0x99
xor al, 0xa3
xor al, 0x9a
xor al, 0x9a
xor al, 0x56
xor al, 0x72
xor al, 0x41
xor al, 0x3e
xor al, 0x54
xor al, 0x54
xor al, 0x54
xor al, 0x54
xor al, 0x54
xor al, 0x54
xor al, 0x70
jo 0x100411d16
movabs dword [0xa3349d34a834a434], eax
xor al, 0xa2
xor al, 0x54
xor al, 0xaa
stosb byte [rdi], al
xor al, 0x95
xor al, 0xa0
xor al, 0xa9
xor al, 0x99
xor al, 0x71
xor al, 0x56
xor al, 0x64
xor al, 0x56

Function at 0x100411cf0
Capabilities:
Authenticate hmac

Disassembly:
cdq
xor al, 0x97
xor al, 0xa8
xor al, 0x71
xor al, 0x56
xor al, 0x74
xor al, 0x97
xor al, 0x95
xor al, 0x97
xor al, 0x9c
xor al, 0x99
xor al, 0xa3
xor al, 0x9a
xor al, 0x9a
xor al, 0x56
xor al, 0x72
xor al, 0x41
xor al, 0x3e
xor al, 0x54
xor al, 0x54
xor al, 0x54
xor al, 0x54
xor al, 0x54
xor al, 0x54
xor al, 0x70
jo 0x100411d16
movabs dword [0xa3349d34a834a434], eax
xor al, 0xa2
xor al, 0x54
xor al, 0xaa
stosb byte [rdi], al
xor al, 0x95
xor al, 0xa0
xor al, 0xa9
xor al, 0x99
xor al, 0x71
xor al, 0x56
xor al, 0x64
xor al, 0x56
Function at 0x180007e70
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 0x180007ea5
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.180007360
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 0x180008014
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 0x180007f8c
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180008003
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x180007fc9
mov r10, qword [rdx]
cmp r10, rax
je 0x180007fc3
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 0x180008003
cmp r9, rdx
je 0x180007fdf
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x180008025
cmp r9, rdx
jne 0x180007fd0
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 0x180007f10
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 0x180008003
Function at 0x18000a760
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 0x18000a791
mov r8, qword [rdx]
xor ebp, ebp
movabs rdx, 0xcbf29ce484222325
mov ecx, ebp
test rsi, rsi
je 0x18000a7c4
movabs r9, 0x100000001b3
nop
movzx eax, byte [r8 + rcx]
inc rcx
xor rdx, rax
imul rdx, r9
cmp rcx, rsi
jb 0x18000a7b0
mov rcx, qword [0x180059cb0]
mov rax, qword [0x180059c98]
and rcx, rdx
add rcx, rcx
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [0x180059c88]
je 0x18000a832
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 0x18000a802
mov rdx, qword [rdx]
mov rcx, rdi
cmp r15, 0xf
jbe 0x18000a80e
mov rcx, qword [rdi]
cmp rsi, rax
jne 0x18000a81f
mov r8, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18000a82a
cmp rbx, r14
je 0x18000a82d
mov rbx, qword [rbx + 8]
jmp 0x18000a7f0
mov rbp, rbx
mov r14, qword [rsp + 0x38]
mov rax, qword [0x180059c88]
test rbp, rbp
mov r15, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x60]
cmovne rax, rbp
cmp rax, qword [0x180059c88]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
je 0x18000a87e
mov r8, rdi
lea rdx, [rsp + 0x20]
lea rcx, [0x180059c80]
call fcn.18000be30
mov rax, qword [rax]
add rax, 0x30
add rsp, 0x40
pop rdi
ret
xor eax, eax
add rsp, 0x40
pop rdi
ret
Function at 0x18000cb90
Capabilities:
Create thread

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

Function at 0x180016900
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x38
cmp dword [0x180059d58], 0
mov r9, r8
je 0x180016ab8
mov rax, qword [0x180059d50]
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.18004598c
test eax, eax
jne 0x180016aae
xor r14d, r14d
mov esi, 1
mov ebx, r14d
lock cmpxchg dword [0x180059b54], esi
je 0x180016982
cmp rbx, 0x20
jae 0x18001696b
xor ecx, ecx
jmp 0x18001696d
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x180059b54], esi
jne 0x180016961
cmp qword [0x180059c00], r14
je 0x180016aa7
mov qword [rsp + 0x48], rbp
test rdi, rdi
jne 0x1800169a4
mov ecx, esi
call fcn.180045888
mov ebp, eax
jmp 0x1800169d4
mov ecx, dword [0x18005a36c]
mov ebx, r14d
test ecx, ecx
je 0x1800169cf
mov r8, qword [0x18005a360]
mov rax, r8
nop dword [rax + rax]
cmp rdi, qword [rax]
je 0x1800169fd
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x1800169c0
mov ebp, 4
xchg dword [0x180059b54], 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 0x1800169cf
mov eax, ebx
imul rdx, rax, 0x38
test byte [rdx + r8 + 0x20], 2
jne 0x180016a9d
mov r8d, esi
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.1800453c4
mov ebp, eax
test eax, eax
jne 0x1800169d4
mov edx, esi
mov ecx, ebx
call fcn.180045778
mov ebp, eax
cmp qword [rsp + 0x20], r14
je 0x1800169d4
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180016a84
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 0x180016a7a
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 0x180016a50
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180059c00]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1800169d4
mov ebp, 5
jmp 0x1800169d4
xchg dword [0x180059b54], r14d
mov eax, 0xffffffff
jmp 0x1800169e4
mov eax, 0xfffffffb
add rsp, 0x38
ret
Function at 0x180017ea0
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.18004598c
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 [0x180059b54], esi
je 0x180017f21
nop dword [rax + rax]
cmp rbx, 0x20
jae 0x180017f0a
xor ecx, ecx
jmp 0x180017f0c
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x180059b54], esi
jne 0x180017f00
cmp qword [0x180059c00], r14
je 0x180018008
test rdi, rdi
jne 0x180017f3f
mov ecx, esi
call fcn.180045888
jmp 0x180018008
mov ecx, dword [0x18005a36c]
mov ebx, r14d
test ecx, ecx
je 0x180018008
mov rdx, qword [0x18005a360]
mov rax, rdx
nop word [rax + rax]
cmp rdi, qword [rax]
je 0x180017f74
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180017f60
jmp 0x180018008
cmp ebx, 0xffffffff
je 0x180018008
mov eax, ebx
imul rcx, rax, 0x38
test byte [rcx + rdx + 0x20], 2
jne 0x180018008
mov r8d, esi
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.1800453c4
test eax, eax
jne 0x180018008
mov edx, esi
mov ecx, ebx
call fcn.180045778
cmp qword [rsp + 0x20], r14
je 0x180018008
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180017ff4
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 0x180017fea
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 0x180017fc0
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180059c00]
call qword [sym.imp.KERNEL32.dll_HeapFree]
xchg dword [0x180059b54], r14d
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret

Function at 0x1800194b0
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 0x18001950d
lea rbx, [0x18004c2c0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1800194f4
cmp r10, 2
jb 0x1800194f4
cmp byte [r9], r8b
jne 0x1800194f4
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 0x1800194d0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18001954f
lea rbx, [0x18004c2c0]
cmp r8b, 0x23
jne 0x180019533
cmp byte [r9], r8b
jne 0x180019533
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 0x180019520
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x180019730
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18001974a
mov qword [r8], 0
lea rdx, [0x1800513c0]
call fcn.180019560
mov rbx, rax
test rax, rax
jne 0x18001976a
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 0x180019843
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 0x180019843
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180019843
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 0x180019843
cmp rdi, 0xffffffffffffffff
je 0x180019843
mov rax, qword [0x180059bf8]
test rax, rax
je 0x1800197e0
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 0x180019843
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 0x180019830
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x180059bf8]
test rax, rax
je 0x180019825
dec dword [rax + 0x3bc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18001984c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x18001983e
mov qword [r14], rdi
mov rax, rsi
jmp 0x18001984e
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