joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a5870
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx + 0x18], 0xffffffffffffffff
mov rbx, rcx
je 0x1400a58da
cmp qword [rcx + 0x248], 0xffffffffffffffff
je 0x1400a5897
mov rax, qword [rcx + 0x248]
add rsp, 0x20
pop rbx
ret
mov rcx, qword [rcx + 0x18]
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400a58ce
test byte [rbx + 0x230], 2
mov rax, qword [rsp + 0x30]
jne 0x1400a58e1
test byte [rbx + 0x238], 6
jne 0x1400a58e1
mov qword [rbx + 0x248], rax
add rsp, 0x20
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x240], eax
mov rax, 0xffffffffffffffff
add rsp, 0x20
pop rbx
ret

Function at 0x1400a5a90
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x140
mov rax, qword [0x14065ef68]
xor rax, rsp
mov qword [rsp + 0x130], rax
xor r12d, r12d
movsxd rdi, ecx
mov esi, r9d
movzx r14d, r8b
mov word [rdx], r12w
mov rbx, rdx
lea r15, [0x140000000]
cmp edi, 0x13
ja case.0x1400a5adf.0
mov ecx, dword [r15 + rdi*4 + 0xa5c6c]
add rcx, r15
jmp rcx
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
setne al
test al, al
je 0x1400a5c43
mov rdx, rsi
mov rcx, rbx
call fcn.1400a3580
jmp 0x1400a5c28
mov edx, esi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
jmp 0x1400a5ae9
xor r8d, r8d
lea rcx, [rsp + 0x30]
mov edx, 0x100
call fcn.1400b11e0
cmp rax, rsi
jae 0x1400a5c43
mov r8, rsi
lea rdx, [rsp + 0x30]
mov r9, 0xffffffffffffffff
mov rcx, rbx
call fcn.1400b42d0
jmp 0x1400a5c28
mov edi, 0xa
jmp 0x1400a5b59
test edi, edi
js 0x1400a5c43
movsxd rax, edi
cmp rax, 0x12
jae 0x1400a5c43
cmp edi, 3
movzx eax, r14b
mov ebp, r12d
sete bpl
neg al
movsxd rax, edi
sbb esi, esi
and esi, 0x8000
mov edx, dword [r15 + rax*8 + 0x479460]
test edx, edx
je 0x1400a5ba6
or edx, esi
mov qword [rsp + 0x20], rbx
mov r9d, ebp
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x1400a5bd2
movsxd rax, edi
mov edx, dword [r15 + rax*8 + 0x479464]
test edx, edx
je 0x1400a5c43
or edx, esi
mov qword [rsp + 0x20], rbx
mov r9d, ebp
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x1400a5c43
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp word [rbx + rcx*2], r12w
jne 0x1400a5be0
test rcx, rcx
je 0x1400a5c28
movzx eax, word [rbx + rcx*2 - 2]
add eax, 0xffffffd1
cmp eax, 0x2d
ja 0x1400a5c11
movabs rdx, 0x200000000801
bt rdx, rax
mov eax, 1
jb 0x1400a5c14
mov eax, r12d
test al, al
jne 0x1400a5c28
cmp rcx, 0x103
jae 0x1400a5c43
mov dword [rbx + rcx*2], 0x5c
test r14b, r14b
je 0x1400a5c39
mov rcx, rbx
call fcn.1400a44a0
test al, al
je 0x1400a5c43
mov rcx, rbx
call fcn.1400b4980
jmp 0x1400a5c48
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1402f2210
add rsp, 0x140
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400a5cf0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x14065ef68]
xor rax, rsp
mov qword [rsp + 0x230], rax
cmp word [0x14068d910], 0
mov rbx, rcx
mov edi, edx
je 0x1400a5d36
mov r8d, edi
lea rdx, [0x14068d910]
mov r9, 0xffffffffffffffff
call fcn.1400b3ed0
jmp 0x1400a5d7e
lea rdx, [rsp + 0x20]
mov ecx, 0x100
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x1400a5d79
mov r8d, 0x100
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
mov r8, rdi
lea rdx, [rsp + 0x20]
mov r9, 0xffffffffffffffff
mov rcx, rbx
call fcn.1400b3ed0
jmp 0x1400a5d7e
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1402f2210
mov rbx, qword [rsp + 0x260]
add rsp, 0x240
pop rdi
ret
Function at 0x1400a77c0
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rcx + 0x18], 0xffffffffffffffff
mov rbx, rcx
je 0x1400a7802
mov rcx, qword [rcx + 0x18]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400a77f6
mov eax, dword [rsp + 0x40]
add rsp, 0x30
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x240], eax
mov rax, 0xffffffffffffffff
add rsp, 0x30
pop rbx
ret

Function at 0x1400a80c0
Capabilities:
Delete directory

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x14065ef68]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
test dl, dl
je 0x1400a810e
mov rdx, rcx
mov r8d, 0x104
lea rcx, [rsp + 0x20]
call fcn.1400b4890
lea rcx, [rsp + 0x20]
call fcn.1400b4980
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400a8380
jmp 0x1400a815b
call fcn.1400b4980
movzx ecx, word [rbx + rax*2 - 2]
add ecx, 0xffffffd1
cmp ecx, 0x2d
ja 0x1400a8137
movabs rdx, 0x200000000801
bt rdx, rcx
jae 0x1400a8137
mov ecx, 1
jmp 0x1400a8139
xor ecx, ecx
test cl, cl
je 0x1400a814d
mov r8, rax
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.1400b4890
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne al
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1402f2210
add rsp, 0x240
pop rbx
ret
Function at 0x1400a8180
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rbx, rcx
mov rax, qword [0x14068db20]
test rax, rax
jne 0x1400a81ba
call fcn.140068d80
mov qword [0x14068db20], rax
mov rdi, rax
xor esi, esi
mov word [rsp + 0x20], si
mov byte [rsp + 0x37], reloc.WS2_32.dll_inet_addr
test rax, rax
jne 0x1400a81da
call fcn.140068d80
mov qword [0x14068db20], rax
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], esi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x40], esi
mov word [rsp + 0x20], si
mov byte [rsp + 0x37], reloc.WS2_32.dll_inet_addr
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
movabs rax, 0x80000000000000ff
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rsi
mov word [rsp + 0x50], si
mov r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
call fcn.1400b42d0
mov edi, eax
mov r9d, eax
movsx rdx, byte [rsp + 0x37]
movzx ecx, dl
shr cl, 7
mov r8, qword [rsp + 0x28]
test cl, 1
je 0x1400a8257
mov rcx, r8
jmp 0x1400a825f
mov ecx, reloc.WS2_32.dll_inet_addr
sub rcx, rdx
cmp r9, rcx
jae 0x1400a82a5
movzx eax, dl
shr al, 7
mov rcx, qword [rsp + 0x20]
test al, 1
je 0x1400a8279
lea r8, [rcx + r8*2]
jmp 0x1400a8287
mov rax, rdx
add rax, rax
lea r8, [rsp + 0x36]
sub r8, rax
shr dl, 7
lea rax, [rsp + 0x20]
test dl, dl
cmovne rax, rcx
lea rdx, [rax + rdi*2]
lea rcx, [rsp + 0x20]
call fcn.1400aac30
jmp 0x1400a82ba
jbe 0x1400a82bf
xor r8d, r8d
sub r9, rcx
mov rdx, r9
lea rcx, [rsp + 0x20]
call fcn.1400aa760
movzx edx, byte [rsp + 0x37]
shr dl, 7
lea rcx, [rsp + 0x20]
test dl, dl
cmovne rcx, qword [rsp + 0x20]
lea r8d, [rdi + 1]
mov r9, 0xffffffffffffffff
mov rdx, rbx
call fcn.1400b42d0
movzx eax, byte [rsp + 0x37]
shr al, 7
test al, 1
je 0x1400a8332
mov rcx, qword [rsp + 0x20]
test rcx, rcx
jne 0x1400a8337
xor bl, bl
movzx ecx, byte [rsp + 0x37]
movzx eax, cl
shr al, 7
test al, 1
je 0x1400a8364
mov r8, qword [rsp + 0x30]
movabs rax, 0x7fffffffffffffff
and r8, rax
inc r8
shr cl, 7
test cl, 1
je 0x1400a834a
mov rdx, qword [rsp + 0x20]
test rdx, rdx
jne 0x1400a834f
jmp 0x1400a8364
lea rcx, [rsp + 0x20]
cmp word [rcx], 0
je 0x1400a82f8
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne bl
jmp 0x1400a82fa
lea rdx, [rsp + 0x20]
cmp rdx, qword [rsp + 0x48]
je 0x1400a8364
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
add r8, r8
call qword [rax + 0x18]
movzx eax, bl
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1400a8380
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x90
mov r14, rdx
mov rsi, rcx
cmp word [rcx], 0
je 0x1400a858f
mov rax, qword [0x14068db20]
test rax, rax
jne 0x1400a83c9
call fcn.140068d80
mov qword [0x14068db20], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rax
xor r12d, r12d
mov dword [rsp + 0x78], r12d
mov qword [rsp + 0x80], r12
lea rax, [rsp + 0x60]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov r15, r14
mov bpl, 1
mov byte [rsp + 0x30], bpl
mov qword [rsp + 0x28], 0x100000
mov dword [rsp + 0x20], 3
xor r9d, r9d
lea r8, [rsp + 0x60]
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.1400a7330
test rax, rax
je 0x1400a8567
test r14, r14
je 0x1400a847c
movzx ecx, word [rsi + r14*2 - 2]
lea eax, [rcx - 0x2f]
cmp eax, 0x2d
ja 0x1400a845c
movabs rdx, 0x200000000801
bt rdx, rax
lea eax, [r12 + 1]
jb 0x1400a845f
mov eax, r12d
test al, al
jne 0x1400a847c
cmp ecx, 0x3a
je 0x1400a847c
cmp r14, 0x103
jae 0x1400a847c
mov word [rsi + r14*2], 0x5c
lea r15, [r14 + 1]
mov rbx, qword [rsp + 0x60]
lea rax, [rsp + 0x60]
cmp rbx, rax
je 0x1400a8567
nop
movzx eax, byte [rbx + 0x2f]
shr al, 7
test al, 1
je 0x1400a84a1
mov rdi, qword [rbx + 0x20]
jmp 0x1400a84ae
movsx rax, byte [rbx + 0x2f]
mov edi, reloc.WS2_32.dll_inet_addr
sub rdi, rax
lea rax, [rdi + r14]
cmp rax, 0x103
ja 0x1400a8553
lea rdx, [rbx + 0x18]
movzx eax, byte [rdx + 0x17]
shr al, 7
test al, 1
je 0x1400a84d3
mov rcx, qword [rdx + 8]
jmp 0x1400a84e0
movsx rax, byte [rdx + 0x17]
mov ecx, reloc.WS2_32.dll_inet_addr
sub rcx, rax
mov r8, rdi
cmp rcx, rdi
cmovb r8, rcx
movzx eax, byte [rdx + 0x17]
shr al, 7
test al, 1
je 0x1400a84fa
mov rax, qword [rdx]
jmp 0x1400a84fd
mov rax, rdx
lea r8, [rax + r8*2]
movzx eax, byte [rdx + 0x17]
shr al, 7
test al, 1
je 0x1400a850f
mov rdx, qword [rdx]
sub r8, rdx
sar r8, 1
add r8, r8
lea rcx, [rsi + r15*2]
call sub.VCRUNTIME140.dll_memmove
lea rax, [rdi + r15]
mov word [rsi + rax*2], r12w
cmp dword [rbx + 0x10], 1
jne 0x1400a8540
lea rdx, [rdi + r15]
mov rcx, rsi
call fcn.1400a8380
test al, al
jmp 0x1400a8551
cmp word [rsi], 0
je 0x1400a8553
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400a8556
xor bpl, bpl
mov rbx, qword [rbx]
lea rax, [rsp + 0x60]
cmp rbx, rax
jne 0x1400a8490
mov word [rsi + r14*2], r12w
xor edx, edx
mov rcx, rsi
call fcn.1400a80c0
movzx ebx, bpl
test al, al
cmove ebx, r12d
lea rcx, [rsp + 0x60]
call fcn.1400a08e0
movzx eax, bl
jmp 0x1400a8591
xor al, al
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x1400a93d0
Capabilities:
Clear file content

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x18], 0xffffffffffffffff
mov rsi, rdx
mov rbx, rcx
je 0x1400a945f
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x48]
mov rcx, qword [rbx + 0x18]
lea r8, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x30], rsi
mov rdx, rsi
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400a9444
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x1400a9444
mov rax, qword [rbx]
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [rax + 0x50]
mov al, 1
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx]
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [rax + 0x50]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x240], eax
mov rbx, qword [rsp + 0x38]
xor al, al
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400a9fc0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rcx + 0x18], 0xffffffffffffffff
mov rbx, rcx
je 0x1400aa000
mov rcx, qword [rcx + 0x18]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400a9ff4
mov al, 1
add rsp, 0x30
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x240], eax
xor al, al
add rsp, 0x30
pop rbx
ret

Function at 0x1400b0ff0
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1406509d8]
xorps xmm1, xmm1
movaps xmmword [rsp + 0x60], xmm6
xorps xmm2, xmm2
movss xmm6, dword [0x140479fc8]
mov rbx, 0xffffffffffffffff
movaps xmmword [rsp + 0x50], xmm7
movaps xmm0, xmm6
movss xmm7, dword [0x1404799cc]
mov esi, 8
cvtsi2ss xmm1, rax
mov rdi, rbx
mov ebp, esi
cvtsi2ss xmm2, rax
divss xmm0, xmm1
xorps xmm1, xmm1
movaps xmmword [rsp + 0x40], xmm8
movss xmm8, dword [0x14047a018]
movss dword [0x14068dc38], xmm0
movaps xmm0, xmm7
divss xmm0, xmm2
movaps xmmword [rsp + 0x30], xmm9
movaps xmmword [rsp + 0x20], xmm10
xorps xmm2, xmm2
movss xmm9, dword [0x14047a01c]
movss xmm10, dword [0x14047a020]
movss dword [0x14068dc34], xmm0
movaps xmm0, xmm8
cvtsi2ss xmm1, rax
cvtsi2ss xmm2, rax
divss xmm0, xmm1
xorps xmm1, xmm1
movss dword [0x14068dc30], xmm0
movaps xmm0, xmm9
divss xmm0, xmm2
cvtsi2ss xmm1, rax
movss dword [0x14068dc2c], xmm0
movaps xmm0, xmm10
divss xmm0, xmm1
movss dword [0x14068dc28], xmm0
lea rcx, [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x90]
sub rax, qword [rsp + 0x98]
cmp rdi, rax
cmova rdi, rax
sub rbp, 1
jne 0x1400b10d1
mov rax, qword [0x1406509e0]
xorps xmm0, xmm0
xorps xmm1, xmm1
mov qword [0x14068dc58], rdi
cvtsi2ss xmm0, rax
cvtsi2ss xmm1, rax
divss xmm6, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
divss xmm7, xmm1
xorps xmm1, xmm1
movss dword [0x14068dc4c], xmm6
divss xmm8, xmm0
xorps xmm0, xmm0
movss dword [0x14068dc48], xmm7
cvtsi2ss xmm0, rax
cvtsi2ss xmm1, rax
divss xmm10, xmm0
divss xmm9, xmm1
movss dword [0x14068dc3c], xmm10
movss dword [0x14068dc44], xmm8
movss dword [0x14068dc40], xmm9
rdtsc
shl rdx, 0x20
or rax, rdx
mov rcx, rax
rdtsc
shl rdx, 0x20
or rax, rdx
sub rax, rcx
cmp rbx, rax
cmova rbx, rax
sub rsi, 1
jne 0x1400b1182
movaps xmm6, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x50]
movaps xmm8, xmmword [rsp + 0x40]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x20]
mov qword [0x14068dc50], rbx
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400b6e00
Capabilities:
Create thread
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
cmp qword [rcx], 0
mov rdi, r9
mov rbx, r8
mov rbp, rdx
mov r14, rcx
je 0x1400b6e32
mov rcx, qword [rcx]
call fcn.1400b7980
call fcn.1400b6a10
xor r15d, r15d
mov rsi, rax
mov ecx, r15d
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rax + 0x18], r15
mov qword [rax + 0x38], r15
xor eax, eax
mov dword [rsi + 0x48], eax
xchg dword [rsi + 0x48], ecx
mov qword [r14], rsi
lock inc dword [rsi + 0x48]
lock inc dword [rsi + 0x48]
lock inc dword [rsi + 0x48]
mov rax, qword [rsp + 0x70]
mov qword [rsi], r15
mov qword [rsi + 0x28], rbx
lea rbx, [r15 - 1]
mov qword [rsi + 0x38], rax
mov qword [rsi + 0x20], rbp
test rdi, rdi
je 0x1400b6e89
mov rax, qword [rdi + 0x20]
jmp 0x1400b6e8c
mov rax, rbx
mov qword [rsi + 0x10], rax
test rdi, rdi
je 0x1400b6e9a
mov edx, dword [rdi + 8]
jmp 0x1400b6e9d
mov edx, r15d
lea rax, [rsi + 8]
mov r9, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1400b7bd0]
xor ecx, ecx
mov dword [rsp + 0x20], 4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rbp, rax
test rax, rax
je 0x1400b6fdb
mov qword [rsi], rax
test rdi, rdi
je 0x1400b6eea
mov rdx, qword [rdi + 0x18]
cmp qword [r14], r15
je 0x1400b6eea
test rdx, rdx
je 0x1400b6eea
mov rcx, qword [r14]
call fcn.1400b8040
mov qword [rsi + 0x30], rbp
test rdi, rdi
je 0x1400b6fbb
cmp dword [rdi + 0x10], r15d
je 0x1400b6f08
mov edx, dword [rdi + 0x10]
mov rcx, r14
call fcn.1400b7e30
movzx edx, byte [rdi + 0x28]
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_SetThreadPriorityBoost]
cmp dword [rdi + 0x14], r15d
jl 0x1400b6f32
mov ebx, dword [rdi + 0x14]
mov eax, dword [0x14068e12c]
nop
cmp ebx, eax
jne 0x1400b6f9a
lock inc dword [0x14068e12c]
jmp 0x1400b6f9a
cmp dword [rdi + 0x14], 0xfffffffe
je 0x1400b6f9a
mov eax, dword [0x14068e130]
nop
test eax, eax
js 0x1400b6f4c
mov ebx, dword [0x14068e130]
nop
jmp 0x1400b6f9a
mov eax, dword [0x14068e130]
nop
cmp eax, ebx
jne 0x1400b6f60
mov ebx, dword [0x14068e130]
nop
jmp 0x1400b6f9a
mov rcx, qword [0x14068e138]
nop
nop dword [rax + rax]
mov ebx, 1
lock xadd dword [0x14068e12c], ebx
inc ebx
cmp ebx, 0x40
jne 0x1400b6f92
mov eax, ebx
lock cmpxchg dword [0x14068e12c], r15d
mov ebx, r15d
mov eax, ebx
bt rcx, rax
jae 0x1400b6f70
test rdi, rdi
je 0x1400b6fbb
cmp dword [rdi + 0x14], 0xfffffffe
jne 0x1400b6fbb
mov rax, qword [r14]
cmp qword [rax], r15
je 0x1400b6fc5
mov rdx, qword [rdi + 0x20]
mov rcx, rax
call fcn.1400b7f80
jmp 0x1400b6fc5
mov edx, ebx
mov rcx, r14
call fcn.1400b7ee0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call fcn.1400b7980
mov rax, rbp
jmp 0x1400b6ff8
mov rcx, rsi
call fcn.1400b7980
mov rcx, rsi
call fcn.1400b7980
mov rcx, rsi
call fcn.1400b7980
xor eax, eax
mov qword [r14], r15
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x1400b7180
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
mov eax, dword [0x14068e17c]
test eax, eax
jne 0x1400b71b5
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x40]
mov dword [0x14068e17c], eax
add rsp, 0x58
ret

Function at 0x1400b72a0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov ecx, dword [0x140650a10]
cmp ecx, 0xffffffff
je 0x1400b72ba
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x1400b7327
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x40], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x30], 2
lea r9, [rsp + 0x50]
mov rcx, rax
mov dword [rsp + 0x28], 1
mov r8, rbx
mov dword [rsp + 0x20], 0
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x58]
test eax, eax
je 0x1400b7322
mov rcx, qword [rsp + 0x50]
mov dl, 1
call fcn.1400b7c80
mov rax, qword [rsp + 0x50]
add rsp, 0x48
ret
Function at 0x1400b7c80
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
sub rsp, 0x28
cmp dword [0x140650a10], 0xffffffff
movzx esi, dl
mov rbp, rcx
jne 0x1400b7cab
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x140650a10], eax
cmp eax, 0xffffffff
je 0x1400b7dde
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x20], r14
call fcn.1400b7590
lea rcx, [0x14068e100]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
lea r14, [0x14068dd00]
mov edi, ebx
mov rcx, qword [rdi + r14]
test rcx, rcx
je 0x1400b7d0b
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], ebx
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x1400b7cfd
cmp dword [rsp + 0x50], 0x103
je 0x1400b7d0b
mov rcx, qword [rdi + r14]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + r14], rbx
add rdi, 8
cmp rdi, 0x400
jb 0x1400b7cd7
lea rcx, [0x14068e100]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test sil, sil
je 0x1400b7dc0
test rbp, rbp
je 0x1400b7d69
call fcn.1400b7590
lea rcx, [0x14068e100]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [r14 + rbx*8], 0
je 0x1400b7d63
inc rbx
cmp rbx, 0x80
jb 0x1400b7d45
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400b7db3
mov qword [r14 + rbx*8], rbp
jmp 0x1400b7db3
mov ecx, dword [0x140650a10]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
test rax, rax
je 0x1400b7dc0
call fcn.1400b7590
lea rcx, [0x14068e100]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rdi, rbx
cmp qword [r14 + rdi*8], rsi
je 0x1400b7da6
inc rdi
cmp rdi, 0x80
jb 0x1400b7d92
jmp 0x1400b7db3
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [r14 + rdi*8], rbx
lea rcx, [0x14068e100]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x140650a10]
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov r14, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
add rsp, 0x28
pop rsi
pop rbp
ret

Function at 0x1400b7f80
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov r9, qword [rcx]
lea rax, [0x140650a18]
mov rdi, rdx
mov rsi, rcx
xor r8d, r8d
cmp qword [rax], r9
je 0x1400b7fbf
add r8, 0x90
add rax, 0x90
cmp r8, 0x4800
jb 0x1400b7fa2
jmp 0x1400b7fc3
mov qword [rax + 0x10], rdi
mov ecx, dword [0x14068e17c]
test ecx, ecx
jne 0x1400b7ff4
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [rsp + 0x40]
mov dword [0x14068e17c], ecx
mov ebx, 1
shl rbx, cl
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
mov rcx, qword [rsi]
test eax, eax
cmovne rbx, qword [rsp + 0x68]
and rbx, rdi
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x1400c91c0
Capabilities:
Hash data using fnv

Disassembly:
mov r9, rdx
movabs rax, 0xcbf29ce484222325
mov rdx, rcx
movabs rcx, 0x100000001b3
movzx r8d, byte [r9]
xor r8, rax
movzx eax, byte [r9 + 1]
imul r8, rcx
xor r8, rax
movzx eax, byte [r9 + 2]
imul r8, rcx
xor r8, rax
movzx eax, byte [r9 + 3]
imul r8, rcx
xor r8, rax
movzx eax, byte [r9 + 4]
imul r8, rcx
xor r8, rax
movzx eax, byte [r9 + 5]
imul r8, rcx
xor r8, rax
movzx eax, byte [r9 + 6]
imul r8, rcx
xor r8, rax
movzx eax, byte [r9 + 7]
imul r8, rcx
xor r8, rax
imul r8, rcx
mov rcx, qword [rdx + 0x30]
and rcx, r8
mov r8, qword [rdx + 0x18]
mov rdx, qword [rdx + 8]
mov rax, rcx
add rax, rax
add rcx, rcx
mov rax, qword [r8 + rax*8]
mov r10, qword [r8 + rcx*8]
lea r11, [r8 + rcx*8]
nop dword [rax]
cmp r10, rdx
jne 0x1400c926a
mov rcx, rdx
jmp 0x1400c9271
mov rcx, qword [r11 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x1400c928e
mov rcx, qword [r9]
cmp qword [rax + 0x10], rcx
je 0x1400c9284
mov rax, qword [rax]
jmp 0x1400c9260
cmp rax, rdx
je 0x1400c928e
mov rax, qword [rax + 0x18]
ret
xor eax, eax
ret