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

Disassembly:
push rbp
mov rbp, rsp
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae 0x140010405
cmp rax, rcx
je 0x14001040b
cmp rdx, 4
jae 0x14001040f
xor eax, eax
xor r8d, r8d
jmp 0x1400104a0
pop rbp
jmp fcn.140005420
xor eax, eax
pop rbp
ret
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x140020040]
movdqa xmm3, xmmword [0x140020050]
pxor xmm1, xmm1
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x140010430
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x1400104b7
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x1400104a0
pop rbp
ret
Function at 0x140015a60
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3d0], rcx
mov qword [rbp + 0x3d8], 0
mov qword [rbp + 0x3e0], 2
mov qword [rbp + 0x3e8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3c8], rax
xor esi, esi
xor edi, edi
xor ebx, ebx
cmp r8, 0x201
jae 0x140015b00
jmp 0x140015aef
jae 0x140015bbf
cmp r8, 0x201
jae 0x140015b00
mov r14d, 0x200
lea r15, [rbp - 0x58]
mov r12, r8
jmp 0x140015b57
sub r8, rbx
sub rdi, rbx
cmp r8, rdi
jbe 0x140015b2f
lea rcx, [rbp + 0x3d8]
mov rdx, rbx
call fcn.14001ec50
mov rsi, qword [rbp + 0x3d8]
mov rax, qword [rbp + 0x3e0]
mov qword [rbp + 0x3c8], rax
mov eax, 0xffffffff
cmp rsi, rax
mov ebx, 0xffffffff
cmovb rbx, rsi
mov qword [rbp + 0x3e8], rbx
mov rdi, rsi
mov r14, rbx
mov r15, qword [rbp + 0x3c8]
mov r12, rbx
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov ecx, r12d
mov rdx, r15
call qword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov r13d, eax
test eax, eax
jne 0x140015b80
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x140015c28
mov r8d, r13d
cmp r12, r8
jne 0x140015ae0
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140015c5a
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x140015aef
jmp 0x140015b00
cmp r14, r8
jb 0x140015c74
lea rcx, [rbp + 0x3a8]
mov rdx, r15
call fcn.140016d60
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rax, qword [rbp + 0x3d0]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
cmp qword [rbp + 0x3d8], 0
je 0x140015c13
mov r8, qword [rbp + 0x3e0]
mov rcx, qword [0x14004a1a0]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
nop
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rcx, qword [rbp + 0x3d0]
mov qword [rcx + 8], rax
movabs rax, 0x8000000000000000
mov qword [rcx], rax
cmp qword [rbp + 0x3d8], 0
jne 0x140015bfd
jmp 0x140015c13
lea rcx, str.internal_error:_entered_unreachable_code_rustc_5069856495870486134dd2ca0b0e2516308c5c2alibrary_alloc_src_vecmod.rs
lea r8, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.14001d900
jmp 0x140015c89
lea rax, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.14001d890
ud2

Function at 0x140017960
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
movzx r9d, byte [rdx + 0x38]
movzx eax, byte [rdx + 0x3a]
cmp al, byte [rax + r8*8 - 0x3f6af0bf]
cmp r9b, 1
ja 0x1400179e6
test al, al
jne 0x1400179bf
movzx esi, byte [rdx + 0x10]
lea eax, [rsi - 5]
cmp al, 1
ja 0x1400179bf
mov r10, qword [rdx]
xor r8d, r8d
xor eax, eax
Function at 0x14001d04c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x14001d096
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001d096
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001d096
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001d096
cmp dword [rcx + 0x84], 0xe
jbe 0x14001d096
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14001d098
xor al, al
add rsp, 0x28
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140093be0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x140093bf0]
mov dword [rax], 1
mov rax, qword [0x140093c00]
mov dword [rax], 1
mov rax, qword [0x140093b90]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x140093bd0]
mov dword [0x14009b00c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x140093cb0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x140093c90]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x140093b40]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a

Function at 0x140002a40
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea r13, [0x14009b160]
xor ebx, ebx
mov rdi, rdx
mov r12, rcx
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbp, qword [dbg.__acrt_iob_func]
test rdi, rdi
jle 0x140002a92
mov rsi, qword [r12 + rbx*8]
mov ecx, 1
add rbx, 1
call rbp
xor r8d, r8d
mov rcx, rax
mov rdx, rsi
call sym.writeWindows__systemZio_205
cmp rbx, rdi
jne 0x140002a70
mov ecx, 1
call rbp
mov r8d, 1
mov edx, 1
lea rcx, [0x14006817c]
mov r9, rax
call sym.fwrite
mov ecx, 1
call rbp
mov rcx, rax
call sym.fflush
mov rcx, r13
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140002f50
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
xor r8d, r8d
mov rsi, rcx
mov rbx, rdx
test rdx, rdx
je 0x140002f6f
mov rcx, rdx
call sym.strlen
mov r8, rax
mov rcx, rbx
mov r9, rsi
mov edx, 1
call sym.fwrite
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp sym.fflush

Function at 0x140003080
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 2
call qword [dbg.__acrt_iob_func]
mov r8d, 0x4b
mov edx, 1
lea rcx, str._GC__cannot_register_thread_local_variable__too_many_thread_local_variables
mov rbx, rax
mov r9, rax
call sym.fwrite
mov rcx, rbx
call sym.fflush
mov ecx, 1
call sym.exit
nop

Function at 0x1400030c0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov ebx, ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebx
mov esi, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, esi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rbx
add rsp, 0x28
pop rbx
pop rsi
ret
Function at 0x140004930
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov ebx, dword [0x1400af708]
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, edi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, [rsi + 0x10]
lea rcx, [rbx + 0xa0]
call sym.rawAlloc__system_5089
mov r8, rsi
xor edx, edx
mov qword [rax + 8], 1
lea rcx, [rax + 0x10]
call sym.memset
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x140004990
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov edi, dword [0x1400af708]
lea rbx, [rdx*8]
mov qword [rcx + 8], rdx
mov rsi, rcx
mov qword [rcx], 0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, edi
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, ebp
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, [rbx + 0x10]
lea rcx, [rdi + 0xa0]
call sym.rawAlloc__system_5089
mov r8, rbx
xor edx, edx
mov qword [rax + 8], 1
lea rcx, [rax + 0x10]
call sym.memset
mov qword [rsi + 0x10], rax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x140004a10
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov edi, dword [0x1400af708]
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, edi
mov esi, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, esi
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rdi + 0xa0]
mov edx, 0x2010
call sym.rawAlloc__system_5089
movdqu xmm0, xmmword [0x1400693c0]
lea rdx, [rax + 0x10]
lea rdi, [rax + 0x18]
mov qword [rax + 8], 1
and rdi, 0xfffffffffffffff8
mov rcx, rdx
mov qword [rax + 0x10], 0
mov qword [rax + 0x2008], 0
sub rcx, rdi
xor eax, eax
add ecx, 0x2000
shr ecx, 3
rep stosq qword [rdi], rax
mov qword [rbx + 0x18], rdx
mov qword [rbx + 0x10], 0
movups xmmword [rbx], xmm0
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
Function at 0x140004da0
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov ebx, dword [0x1400af708]
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, edi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, [rsi + 0x10]
lea rcx, [rbx + 0xa0]
call sym.rawAlloc__system_5089
mov qword [rax + 8], 1
add rax, 0x10
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x1400058b0
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov ebx, dword [0x1400af708]
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, edi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, [rsi - 0x10]
lea r11, [rbx + 0xa0]
mov r10, rdx
and r10, 0xfffffffffffff000
mov rax, qword [r10 + 8]
sub qword [rbx + 0x2138], rax
cmp rax, 0xfc0
jle 0x1400059d8
cmp qword [rbx + 0x2978], 0
lea rax, [rbx + 0x2978]
je 0x140005aa8
mov qword [rbx + 0x2950], rax
lea r8, [r10 + 0x20]
lea rdx, [rbx + 0x2948]
mov rcx, r11
call sym.del__system_4687
mov r8, qword [r10 + 8]
cmp r8, 0x3f000000
jle 0x140005a8f
mov rdx, r10
sar rdx, 0x15
movzx eax, dl
mov rax, qword [rbx + rax*8 + 0x2148]
test rax, rax
jne 0x140005968
jmp 0x140005992
mov rax, qword [rax]
test rax, rax
je 0x140005992
cmp rdx, qword [rax + 8]
jne 0x140005960
mov rcx, r10
mov edx, 1
sar rcx, 0xc
and ecx, 0x1ff
mov r9, rcx
shl rdx, cl
sar r9, 6
not rdx
and qword [rax + r9*8 + 0x10], rdx
mov rax, qword [rbx + 0x2120]
mov rdx, qword [rbx + 0x2128]
mov rcx, r10
cmp rdx, rax
cmovl rdx, rax
sub rax, r8
mov r8d, 0x8000
mov qword [rbx + 0x2120], rax
mov qword [rbx + 0x2128], rdx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
jne 0x140005a29
call sym.osDeallocPages__system_4251.part.0
nop word [rax + rax]
mov qword [rdx + 8], 0
mov rcx, qword [r10 + 0x20]
mov qword [rsi - 0x10], rcx
mov qword [r10 + 0x20], rdx
mov rdx, qword [r10 + 0x28]
cmp rax, rdx
jle 0x140005a38
test rax, rax
lea rdx, [rax + 0xf]
cmovns rdx, rax
sar rdx, 4
add rdx, 2
mov rcx, qword [rbx + rdx*8 + 0xa0]
mov qword [r10 + 0x10], rcx
test rcx, rcx
je 0x140005a1d
mov qword [rcx + 0x18], r10
mov qword [rbx + rdx*8 + 0xa0], r10
add qword [r10 + 0x28], rax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
add rdx, rax
mov qword [r10 + 0x28], rdx
cmp rdx, 0xfc0
jne 0x140005a29
lea rdx, [rax + 0xf]
test rax, rax
cmovs rax, rdx
mov rdx, qword [r10 + 0x10]
sar rax, 4
lea rcx, [rax + 2]
cmp r10, qword [rbx + rax*8 + 0xb0]
je 0x140005ac0
mov rax, qword [r10 + 0x18]
mov qword [rax + 0x10], rdx
test rdx, rdx
je 0x140005a7e
mov rax, qword [r10 + 0x18]
mov qword [rdx + 0x18], rax
mov qword [r10 + 8], 0x1000
pxor xmm0, xmm0
movups xmmword [r10 + 0x10], xmm0
mov rdx, r10
mov rcx, r11
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp sym.freeBigChunk__system_5024
movq xmm0, rax
punpcklqdq xmm0, xmm0
movups xmmword [rbx + 0x2978], xmm0
jmp 0x14000591c
mov qword [rbx + rcx*8 + 0xa0], rdx
test rdx, rdx
je 0x140005a7e
mov qword [rdx + 0x18], 0
jmp 0x140005a7e
Function at 0x140005ae0
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov ebx, dword [0x1400af708]
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, edi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, [rsi - 0x10]
lea r11, [rbx + 0xa0]
mov r10, rdx
and r10, 0xfffffffffffff000
mov rax, qword [r10 + 8]
sub qword [rbx + 0x2138], rax
cmp rax, 0xfc0
jle 0x140005c08
cmp qword [rbx + 0x2978], 0
lea rax, [rbx + 0x2978]
je 0x140005cd8
mov qword [rbx + 0x2950], rax
lea r8, [r10 + 0x20]
lea rdx, [rbx + 0x2948]
mov rcx, r11
call sym.del__system_4687
mov r8, qword [r10 + 8]
cmp r8, 0x3f000000
jle 0x140005cbf
mov rdx, r10
sar rdx, 0x15
movzx eax, dl
mov rax, qword [rbx + rax*8 + 0x2148]
test rax, rax
jne 0x140005b98
jmp 0x140005bc2
mov rax, qword [rax]
test rax, rax
je 0x140005bc2
cmp rdx, qword [rax + 8]
jne 0x140005b90
mov rcx, r10
mov edx, 1
sar rcx, 0xc
and ecx, 0x1ff
mov r9, rcx
shl rdx, cl
sar r9, 6
not rdx
and qword [rax + r9*8 + 0x10], rdx
mov rax, qword [rbx + 0x2120]
mov rdx, qword [rbx + 0x2128]
mov rcx, r10
cmp rdx, rax
cmovl rdx, rax
sub rax, r8
mov r8d, 0x8000
mov qword [rbx + 0x2120], rax
mov qword [rbx + 0x2128], rdx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
jne 0x140005c59
call sym.osDeallocPages__system_4251.part.0
nop word [rax + rax]
mov qword [rdx + 8], 0
mov rcx, qword [r10 + 0x20]
mov qword [rsi - 0x10], rcx
mov qword [r10 + 0x20], rdx
mov rdx, qword [r10 + 0x28]
cmp rax, rdx
jle 0x140005c68
test rax, rax
lea rdx, [rax + 0xf]
cmovns rdx, rax
sar rdx, 4
add rdx, 2
mov rcx, qword [rbx + rdx*8 + 0xa0]
mov qword [r10 + 0x10], rcx
test rcx, rcx
je 0x140005c4d
mov qword [rcx + 0x18], r10
mov qword [rbx + rdx*8 + 0xa0], r10
add qword [r10 + 0x28], rax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
add rdx, rax
mov qword [r10 + 0x28], rdx
cmp rdx, 0xfc0
jne 0x140005c59
lea rdx, [rax + 0xf]
test rax, rax
cmovs rax, rdx
mov rdx, qword [r10 + 0x10]
sar rax, 4
lea rcx, [rax + 2]
cmp r10, qword [rbx + rax*8 + 0xb0]
je 0x140005cf0
mov rax, qword [r10 + 0x18]
mov qword [rax + 0x10], rdx
test rdx, rdx
je 0x140005cae
mov rax, qword [r10 + 0x18]
mov qword [rdx + 0x18], rax
mov qword [r10 + 8], 0x1000
pxor xmm0, xmm0
movups xmmword [r10 + 0x10], xmm0
mov rdx, r10
mov rcx, r11
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp sym.freeBigChunk__system_5024
movq xmm0, rax
punpcklqdq xmm0, xmm0
movups xmmword [rbx + 0x2978], xmm0
jmp 0x140005b4c
mov qword [rbx + rcx*8 + 0xa0], rdx
test rdx, rdx
je 0x140005cae
mov qword [rdx + 0x18], 0
jmp 0x140005cae
Function at 0x140005d10
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, 0x28
mov rax, qword [rdx]
mov rbx, rcx
mov rsi, rdx
test al, 4
je 0x140005d40
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
or rax, 4
mov qword [rdx], rax
mov rdx, qword [rcx + 8]
mov rax, qword [rcx]
cmp rdx, rax
jle 0x140005d68
mov rdi, qword [rcx + 0x10]
mov qword [rdi + rax*8], rsi
add qword [rbx], 1
jmp 0x140005d2d
lea rax, [rdx + rdx*2]
mov ebp, dword [0x1400af708]
mov r14, qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdi, rax
shr rdi, 0x3f
add rdi, rax
sar rdi, 1
mov qword [rcx + 8], rdi
call r14
mov ecx, ebp
mov r15, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r12d, eax
call r15
mov ecx, r12d
mov r13, qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbp, rax
call r13
lea rdx, [rdi*8 + 0x10]
lea rcx, [rbp + 0xa0]
call sym.rawAlloc__system_5089
mov qword [rax + 8], 1
lea rdi, [rax + 0x10]
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x10]
mov rcx, rdi
lea r8, [rax*8]
call sym.memcpy
mov ebp, dword [0x1400af708]
mov r12, qword [rbx + 0x10]
call r14
mov r14d, eax
mov ecx, ebp
call r15
mov ecx, r14d
mov rbp, rax
call r13
lea rdx, [r12 - 0x10]
lea rcx, [rbp + 0xa0]
call sym.rawDealloc__system_5218
mov qword [rbx + 0x10], rdi
mov rax, qword [rbx]
jmp 0x140005d57

Function at 0x140005e20
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov ebx, dword [0x1400af708]
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, edi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rbx + 0x50]
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp sym.addZCT__system_5813
Function at 0x140005e90
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, 0x28
mov ebx, dword [0x1400af708]
mov r13, qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12, qword [rcx + 8]
lea rax, [r12 + r12 + 1]
lea r14, [r12 + 1]
shl r14, 4
mov rbp, rcx
mov qword [rcx + 8], rax
call r13
mov ecx, ebx
mov rsi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
call rsi
mov ecx, edi
mov rdi, qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, rax
call rdi
lea rdx, [r14 + 0x10]
lea rcx, [rbx + 0xa0]
call sym.rawAlloc__system_5089
mov r8, r14
xor edx, edx
mov qword [rax + 8], 1
lea rbx, [rax + 0x10]
mov rcx, rbx
call sym.memset
mov r14, qword [rbp + 0x18]
xor r8d, r8d
test r12, r12
jns 0x140005f2c
jmp 0x140005f72
lea rax, [r8 + 1]
cmp r12, r8
je 0x140005f72
mov r8, rax
mov r9, qword [r14 + r8*8]
test r9, r9
je 0x140005f20
mov rcx, qword [rbp + 8]
mov rax, qword [r9 + 8]
and rax, rcx
lea rdx, [rbx + rax*8]
cmp qword [rdx], 0
je 0x140005f62
nop word [rax + rax]
lea rax, [rax + rax*4 + 1]
and rax, rcx
lea rdx, [rbx + rax*8]
cmp qword [rdx], 0
jne 0x140005f50
mov qword [rdx], r9
lea rax, [r8 + 1]
mov r14, qword [rbp + 0x18]
cmp r12, r8
jne 0x140005f29
mov r15d, dword [0x1400af708]
call r13
mov r12d, eax
mov ecx, r15d
call rsi
mov ecx, r12d
mov rsi, rax
call rdi
lea rdx, [r14 - 0x10]
lea rcx, [rsi + 0xa0]
call sym.rawDealloc__system_5218
mov qword [rbp + 0x18], rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140005fc0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r8, qword [rcx + 8]
mov r9, qword [rcx + 0x18]
mov rbx, rdx
mov rdx, r8
mov rsi, rcx
and rdx, rbx
lea rdi, [rdx*8]
lea r10, [r9 + rdi]
mov rcx, qword [r10]
test rcx, rcx
je 0x140006028
mov rax, rdx
jmp 0x140006011
lea rax, [rax + rax*4 + 1]
and rax, r8
mov rcx, qword [r9 + rax*8]
test rcx, rcx
je 0x140006028
cmp qword [rcx + 8], rbx
jne 0x140006000
mov rax, rcx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r8 + 1]
lea rbp, [rcx + rcx]
lea r11, [rax + rax*2]
cmp rbp, r11
jl 0x1400060f0
sub rcx, rax
cmp rcx, 3
jle 0x1400060f0
add rax, 1
mov qword [rsi], rax
cmp qword [r10], 0
je 0x140006077
nop word [rax + rax]
lea rdx, [rdx + rdx*4 + 1]
and rdx, r8
cmp qword [r9 + rdx*8], 0
lea rdi, [rdx*8]
jne 0x140006060
mov ebp, dword [0x1400af708]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, r12d
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rbp + 0xa0]
mov edx, 0x40
call sym.rawAlloc__system_5089
pxor xmm0, xmm0
lea rcx, [rax + 0x10]
movups xmmword [rax + 0x10], xmm0
mov qword [rax + 8], 1
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
mov rdx, qword [rsi + 0x10]
mov qword [rax + 0x10], rdx
mov qword [rcx + 8], rbx
mov rax, qword [rsi + 0x18]
mov qword [rsi + 0x10], rcx
mov qword [rax + rdi], rcx
mov rax, rcx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, rsi
call sym.cellSetEnlarge__system_5479
mov r8, qword [rsi + 8]
mov rdx, rbx
mov r9, qword [rsi + 0x18]
mov rax, qword [rsi]
and rdx, r8
lea rdi, [rdx*8]
lea r10, [r9 + rdi]
jmp 0x14000604d

Function at 0x140006280
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov ebx, dword [0x1400af708]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebx
mov esi, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, esi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rbx + 0x38]
add rsp, 0x28
pop rbx
pop rsi
jmp sym.stackSize__system_5975
Function at 0x140007260
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov esi, dword [0x1400af708]
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, esi
mov edi, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, edi
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rbx + 8]
cmp qword [rax + 0x28], 0
je 0x1400072ad
add qword [rsi + 0x98], 1
lea rcx, [rbx + 0x10]
call qword [rax + 0x28]
sub qword [rsi + 0x98], 1
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x1400072c0
Capabilities:
Get thread local storage value

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov edi, dword [0x1400af708]
mov r13, qword [sym.imp.KERNEL32.dll_GetLastError]
mov rsi, rcx
call r13
mov ecx, edi
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
call rbp
mov ecx, ebx
mov r12, qword [sym.imp.KERNEL32.dll_SetLastError]
lea rbx, [rsi - 0x10]
mov rdi, rax
call r12
mov rdx, qword [rdi + 0x2be8]
mov rax, qword [rdi + 0x2bf8]
sub rdx, 1
js 0x140007341
lea rax, [rax + rdx*8]
mov rcx, rax
jmp 0x14000732e
sub rdx, 1
sub rcx, 8
cmp rdx, 0xffffffffffffffff
je 0x140007341
cmp qword [rcx], rbx
jne 0x140007320
mov rax, qword [rax]
mov qword [rcx], rax
sub qword [rdi + 0x2be8], 1
mov rax, qword [rsi - 0x10]
sub rax, 8
mov qword [rsi - 0x10], rax
cmp rax, 7
jbe 0x140007360
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov esi, dword [0x1400af708]
call r13
mov edi, eax
mov ecx, esi
call rbp
mov ecx, edi
mov rsi, rax
call r12
lea rcx, [rsi + 0x50]
mov rdx, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp sym.addZCT__system_5813

Function at 0x140007390
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, 0x28
mov rbp, qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r13, qword [sym.imp.KERNEL32.dll_SetLastError]
mov rsi, qword [rcx + 0x10]
mov r14, rcx
test rsi, rsi
je 0x1400073fc
nop dword [rax]
mov ebx, dword [0x1400af708]
mov rdi, rsi
mov rsi, qword [rsi]
call rbp
mov r15d, eax
mov ecx, ebx
call r12
mov ecx, r15d
mov rbx, rax
call r13
lea rdx, [rdi - 0x10]
lea rcx, [rbx + 0xa0]
call sym.rawDealloc__system_5218
test rsi, rsi
jne 0x1400073c8
mov ebx, dword [0x1400af708]
mov rsi, qword [r14 + 0x18]
mov qword [r14 + 0x10], 0
call rbp
mov edi, eax
mov ecx, ebx
call r12
mov ecx, edi
mov rbx, rax
call r13
lea rdx, [rsi - 0x10]
lea rcx, [rbx + 0xa0]
call sym.rawDealloc__system_5218
mov qword [r14 + 0x18], 0
mov qword [r14], 0
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret