joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140063b70
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1400540e0
sub rsp, rax
mov rax, qword [0x1400a9100]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140070ddc
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140063bbf
mov rax, rbp
jmp 0x140063cc7
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0xb3db0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140072708
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0xb3db0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140063cc3
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140063cc3
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140072708
test rax, rax
js 0x140063cc3
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140063cc3
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140063cb5
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140063cb5
cmp byte [rcx], 0xd
jne 0x140063c9b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140063caa
cmp byte [rcx + 1], 0xa
jne 0x140063caa
inc rcx
jmp 0x140063caa
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0xa9540]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140063c7d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140063cc7
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140053250
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140071794
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1400b3db0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x1400717eb
cmp word [rdx], r13w
jne 0x1400717eb
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1400717f0
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140071915
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x140071936
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140071829
mov rdx, r9
mov word [rbx], cx
jmp 0x140071850
cmp r9, r8
jae 0x140071860
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14007180a
jmp 0x140071915
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14007190a
cmp dword [rsp + 0x80], esi
je 0x14007190a
lea r8, [0x1400b3db0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1400718e2
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1400718b2
mov word [rbx], r13w
jmp 0x140071912
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x1400718bf
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x140071912
cmp word [rsp + 0x70], r13w
jne 0x1400718ef
cmp rbx, r14
je 0x1400718ac
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140072710
cmp word [rsp + 0x70], r13w
je 0x140071915
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1400b3db0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14007190f
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140071915
Function at 0x140073b28
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140073b3e
mov al, 1
jmp 0x140073b9e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140073b4f
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140073b9c
mov ecx, dword [rcx + 0x18]
nop
call fcn.140072ce0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140073b9c
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140073b9c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140073b9c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140073b9e
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140077748
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 0x1400777cf
mov rsi, rbx
cmp word [rax], bp
je 0x14007778e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140077778
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140077774
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14006fb20
mov rdi, rax
test rax, rax
je 0x1400777bc
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14007e5e0
mov rbp, rdi
xor ecx, ecx
call fcn.14006ea78
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 0x14007a3f8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.14006e39c
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x14007a499
cmp ebx, dword [rsp + 0x30]
je 0x14007a492
test esi, esi
je 0x14007a492
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14007a46d
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14007a47a
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14007a457
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14007a47e
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14007a49b
mov eax, 1
jmp 0x14007a49b
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14007e180
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14007e1a8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14007e1a8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180003f10
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call sym.std::sys::os_str::wtf8::Buf::as_mut_slice::h30fe6b7321b7e128
mov rcx, rax
add rsp, 0x28
jmp sym.std::sys::pal::windows::fs::unlink::hb1dd3f6aae384c7b

Function at 0x180004070
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rcx, qword [0x1800c7160]
xor edx, edx
jmp sym.std::sys::thread_local::os::Storage_T_::get::hf3f3f6091d00693d

Function at 0x180006d10
Capabilities:
Encrypt data using rc4 via systemfunction032
Link many functions at runtime

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov edi, ecx
call sub.kernel32.dll_CreateTimerQueue
test rax, rax
je 0x180006d58
mov rsi, rax
xor ecx, ecx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call sub.kernel32.dll_CreateEventW
test rax, rax
je 0x180006d58
xor ecx, ecx
call sub.kernel32.dll_GetModuleHandleA
test rax, rax
je 0x180006d58
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
jne 0x180006d69
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r14, str.ntdll
mov rcx, r14
call sub.kernel32.dll_LoadLibraryA
lea rdx, str.RtlCaptureContext
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
mov rbx, rax
mov rcx, r14
call sub.kernel32.dll_GetModuleHandleA
lea rdx, str.NtContinue
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
mov r14, rax
lea rcx, str.Advapi32
call sub.kernel32.dll_LoadLibraryA
lea rdx, str.SystemFunction032
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
mov r15, rax
lea r13, str.kernel32.dll
mov rcx, r13
call sub.kernel32.dll_LoadLibraryA
lea rdx, str.VirtualProtect
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
mov rbp, rax
mov rcx, r13
call sub.kernel32.dll_LoadLibraryA
lea rdx, str.WaitForSingleObject
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
mov r12, rax
mov rcx, r13
call sub.kernel32.dll_LoadLibraryA
lea rdx, str.SetEvent
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
movq xmm0, r15
movq xmm1, rbp
punpcklqdq xmm0, xmm1
movq xmm1, rbx
movq xmm2, r14
punpcklqdq xmm2, xmm1
pxor xmm1, xmm1
pcmpeqd xmm2, xmm1
pcmpeqd xmm0, xmm1
movdqa xmm1, xmm2
shufps xmm1, xmm0, 0xdd
shufps xmm2, xmm0, 0x88
andps xmm2, xmm1
movmskps ecx, xmm2
test ecx, ecx
jne 0x180006d58
test r12, r12
je 0x180006d58
test rax, rax
je 0x180006d58
xor ecx, ecx
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call sub.kernel32.dll_CreateEventW
test rax, rax
je 0x180006d58
mov rbx, rax
mov rcx, rax
mov edx, edi
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x180006d58
mov rcx, rbx
call sub.kernel32.dll_SetEvent
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp 0x1800a8acc
jmp qword [sym.imp.kernel32.dll_DeleteTimerQueue]
Function at 0x180006ec0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rbx, qword [rax + 0x18]
add rbx, 0x10
lea rsi, [rsp + 0x50]
lea rdi, [rsp + 0x30]
nop word cs:[rax + rax]
mov rbx, qword [rbx]
cmp qword [rbx + 0x30], 0
je 0x180006f9b
mov rax, qword [rbx + 0x60]
movzx ecx, word [rbx + 0x58]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], 0
mov rcx, rsi
mov rdx, rdi
xor r8d, r8d
call sym.murmur3::murmur3_32::murmur3_32::hae5a9e0e82dde2c6
cmp dword [rsp + 0x50], 0
jne 0x180006fa4
cmp dword [rsp + 0x54], 0xaddfe535
jne 0x180006ef0
mov rsi, qword [rbx + 0x30]
lea rcx, [rsp + 0x30]
mov rdx, rsi
mov r8d, 0xa2b1807f
call sym._ZN11secondstage11ssn_solving25hells_halos_tartarus_gate17hf33fe4cfa8ff5408E.llvm.2552863014513831022
lea rcx, [rsp + 0x30]
mov rdx, rsi
mov r8d, 0xced7e31f
call sym._ZN11secondstage11ssn_solving25hells_halos_tartarus_gate17hf33fe4cfa8ff5408E.llvm.2552863014513831022
lea rcx, [rsp + 0x30]
mov rdx, rsi
mov r8d, 0x91c3ed4a
call sym._ZN11secondstage11ssn_solving25hells_halos_tartarus_gate17hf33fe4cfa8ff5408E.llvm.2552863014513831022
lea rcx, [rsp + 0x30]
mov rdx, rsi
mov r8d, 0xb2036547
call sym._ZN11secondstage11ssn_solving25hells_halos_tartarus_gate17hf33fe4cfa8ff5408E.llvm.2552863014513831022
lea rcx, [rsp + 0x30]
mov rdx, rsi
mov r8d, 0xa596d8ce
call sym._ZN11secondstage11ssn_solving25hells_halos_tartarus_gate17hf33fe4cfa8ff5408E.llvm.2552863014513831022
nop
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, str.src_ssn_solving.rs
mov qword [rsp + 0x20], rax
lea r9, sym._ZN4core3ptr42drop_in_place_LT_std..io..error..Error_GT_17h99db7229aba9eef5E.llvm.2552863014513831022
lea r8, [rsp + 0x48]
mov ecx, 1
xor edx, edx
call sym.core::result::unwrap_failed::h8f275d6668207d54
ud2
Function at 0x180006ff0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
movzx eax, word [rdx]
cmp eax, 0x5a4d
jne 0x18000711c
mov rdi, rdx
movsxd rax, dword [rdx + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x18000711c
mov ebx, r8d
mov qword [rsp + 0x28], rcx
mov eax, dword [rdi + rax + 0x88]
mov r14d, dword [rax + rdi + 0x20]
add r14, rdi
mov ecx, dword [rax + rdi + 0x14]
mov qword [rsp + 0x48], rcx
mov ebp, dword [rax + rdi + 0x18]
mov ecx, dword [rax + rdi + 0x1c]
add rcx, rdi
mov qword [rsp + 0x38], rcx
mov eax, dword [rax + rdi + 0x24]
add rax, rdi
mov qword [rsp + 0x40], rax
xor r13d, r13d
lea r15, [rsp + 0x50]
lea r12, [rsp + 0x60]
xor eax, eax
nop dword [rax]
cmp rax, rbp
je 0x180007133
mov rsi, rax
mov eax, dword [r14 + rax*4]
add rax, rdi
mov rcx, 0xffffffffffffffff
nop word [rax + rax]
cmp byte [rax + rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x180007090
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], 0
mov rcx, r15
mov rdx, r12
xor r8d, r8d
call sym.murmur3::murmur3_32::murmur3_32::hae5a9e0e82dde2c6
cmp dword [rsp + 0x50], 0
jne 0x180007154
lea rax, [rsi + 1]
cmp dword [rsp + 0x54], ebx
jne 0x180007070
mov rax, qword [rsp + 0x40]
movzx ecx, word [rax + rsi*2]
mov rdx, qword [rsp + 0x48]
cmp rcx, rdx
jae 0x180007184
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + rcx*4]
cmp byte [rax + rdi], 0x4c
mov rcx, qword [rsp + 0x28]
jne 0x18000711c
add rax, rdi
cmp byte [rax + 1], 0x8b
jne 0x18000711c
cmp byte [rax + 2], 0xd1
jne 0x18000711c
cmp byte [rax + 3], 0xb8
jne 0x18000711c
cmp byte [rax + 6], 0
jne 0x18000711c
cmp byte [rax + 7], 0
je 0x18000713a
xor r13d, r13d
mov qword [rcx], r13
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x28]
jmp 0x18000711f
movzx edx, byte [rax + 4]
or dl, byte [rax + 5]
movzx edx, dl
mov qword [rcx + 8], rax
mov word [rcx + 0x10], dx
mov r13d, 1
jmp 0x18000711f
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, str.src_ssn_solving.rs
mov qword [rsp + 0x20], rax
lea r9, sym._ZN4core3ptr42drop_in_place_LT_std..io..error..Error_GT_17h99db7229aba9eef5E.llvm.2552863014513831022
lea r8, [rsp + 0x30]
mov ecx, 1
xor edx, edx
call sym.core::result::unwrap_failed::h8f275d6668207d54
ud2
lea r8, str.src_ssn_solving.rs
call sym.core::panicking::panic_bounds_check::hf065bc95f1c7a8f7
mov rsi, rax
lea rcx, [rsp + 0x30]
call sym._ZN4core3ptr42drop_in_place_LT_std..io..error..Error_GT_17h99db7229aba9eef5E.llvm.2552863014513831022
mov rcx, rsi
call sym._Unwind_Resume
call sym.core::panicking::panic_in_cleanup::h928977ae0110d4f9
int3
Function at 0x180007d60
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x180007da2
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x180007daa
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x180007dbb
jmp 0x180007dd2
xor r10d, r10d
jmp 0x180007e5d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x180007dd2
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x180007de9
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x180007e09
add r11, r8
jmp 0x180007f3b
mov rcx, qword [rax + 0x18]
xor rcx, rsi
mov rdi, qword [rax + 0x10]
mov r9, qword [rax]
add r9, rdi
mov r11, qword [rax + 8]
add r11, rcx
rol rdi, 0xd
xor rdi, r9
rol rcx, 0x10
rol r9, 0x20
xor rcx, r11
add r11, rdi
rol rdi, 0x11
add r9, rcx
xor rdi, r11
rol rcx, 0x15
mov qword [rax + 0x10], rdi
xor rcx, r9
rol r11, 0x20
mov qword [rax + 0x18], rcx
mov qword [rax + 8], r11
xor r9, rsi
mov qword [rax], r9
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x180007ed2
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
mov rbx, qword [rdx + r10]
xor rdi, rbx
add rcx, rsi
rol rsi, 0xd
add r9, rdi
xor rsi, rcx
rol rdi, 0x10
xor rdi, r9
rol rcx, 0x20
add r9, rsi
add rcx, rdi
rol rsi, 0x11
xor rsi, r9
rol rdi, 0x15
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x180007e80
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x180007ef0
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x180007f02
jmp 0x180007f1d
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x180007f1d
lea rcx, [rdx + r8]
movzx esi, word [r10 + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x180007f37
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x180008540
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
movaps xmmword [rsp + 0x30], xmm6
mov rdi, rdx
mov esi, dword [rcx + 0x18]
test esi, esi
je 0x18000860f
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x180008602
je 0x180008600
test rdi, rdi
je 0x180008589
movups xmm6, xmmword [rdi + 8]
cmp qword [rdi], 0
mov qword [rdi], 0
jne 0x1800085a5
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
mov edx, 0x10
call sub.bcryptprimitives.dll_ProcessPrng
movaps xmm6, xmmword [rsp + 0x20]
mov rax, qword [0x18014b048]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x180008629
movups xmmword [rax], xmm6
mov dword [rax + 0x10], esi
mov ecx, esi
mov rbx, rax
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call fcn.1800a8d6c
test rdi, rdi
je 0x1800085fb
mov edx, 0x18
mov r8d, 8
mov rcx, rdi
call sym.__rust_dealloc
mov rax, rsi
jmp 0x180008602
xor eax, eax
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
call sym.std::sys::thread_local::key::windows::LazyKey::init::h597144e332ffcf99
mov esi, eax
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x18000856d
jmp 0x180008602
mov ecx, 8
mov edx, 0x18
call sym.alloc::alloc::handle_alloc_error::h526f0ddc898dc940
int3

Function at 0x18000a0c0
Capabilities:
Hash data with crc32

Disassembly:
shl r8, 4
xor r9d, r9d
nop word [rax + rax]
cmp r8, r9
je 0x18000a0ef
mov eax, dword [rdx + r9]
add r9, 0x10
test rax, rax
je 0x18000a0d0
mov rdx, qword [rdx + r9 - 8]
mov r8, rax
jmp sym.__zip::crc32::Crc32Reader_R__as_std::io::Read_::read::h9c597add10661721
mov edx, 1
xor eax, eax
mov r8, rax
jmp sym.__zip::crc32::Crc32Reader_R__as_std::io::Read_::read::h9c597add10661721

Function at 0x18000a110
Capabilities:
Hash data with crc32

Disassembly:
shl r8, 4
xor r9d, r9d
nop word [rax + rax]
cmp r8, r9
je 0x18000a13f
mov eax, dword [rdx + r9]
add r9, 0x10
test rax, rax
je 0x18000a120
mov rdx, qword [rdx + r9 - 8]
mov r8, rax
jmp sym.__zip::crc32::Crc32Reader_R__as_std::io::Read_::read::h1c5b125f5c209d58
mov edx, 1
xor eax, eax
mov r8, rax
jmp sym.__zip::crc32::Crc32Reader_R__as_std::io::Read_::read::h1c5b125f5c209d58
Function at 0x18000a810
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rsi, rcx
mov r14, qword [rcx + 0x10]
test r14, r14
je 0x18000a883
mov rbx, r8
mov rdi, rdx
cmp r8, r14
mov r8, r14
cmovb r8, rbx
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
call qword [rax + 0x18]
mov rcx, rax
mov eax, 1
test rcx, rcx
jne 0x18000a928
sub r14, rdx
jb 0x18000a932
mov qword [rsi + 0x10], r14
test rdx, rdx
je 0x18000a883
cmp rdx, rbx
ja 0x18000a969
mov eax, dword [rsi + 0x18]
not eax
test dl, 1
jne 0x18000a8b4
mov rcx, rdi
cmp rdx, 1
jne 0x18000a8d7
jmp 0x18000a91e
mov eax, dword [rsi + 0x1c]
cmp eax, dword [rsi + 0x18]
jne 0x18000a896
add rsi, 0x18
xor edx, edx
jmp 0x18000a924
lea rdx, [0x180122f13]
mov r8d, 0x10
mov cl, 0x27
call sym.std::io::error::Error::new::h720855faca3c6763
mov rdx, rax
mov eax, 1
jmp 0x18000a928
lea rcx, [rdi + 1]
movzx r8d, byte [rdi]
xor r8b, al
movzx r8d, r8b
lea r9, [0x180122ab4]
shr eax, 8
xor eax, dword [r9 + r8*4]
cmp rdx, 1
je 0x18000a91e
add rdi, rdx
lea r8, [0x180122ab4]
nop word cs:[rax + rax]
movzx r9d, byte [rcx]
xor r9b, al
movzx r9d, r9b
shr eax, 8
xor eax, dword [r8 + r9*4]
movzx r9d, byte [rcx + 1]
xor r9b, al
movzx r9d, r9b
shr eax, 8
xor eax, dword [r8 + r9*4]
add rcx, 2
cmp rcx, rdi
jne 0x18000a8f0
add rsi, 0x18
not eax
mov dword [rsi], eax
xor eax, eax
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rax, str.number_of_read_bytes_exceeds_limit
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x38], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
lea rdx, str._rustc_eeb90cda1969383f56a2637cbd3037bdf598841clibrary_std_srciomod.rs
lea rcx, [rsp + 0x28]
call sym.core::panicking::panic_fmt::h50bba86df16ca19f
lea r8, [0x180122f28]
mov rcx, rdx
mov rdx, rbx
call sym.core::slice::index::slice_end_index_len_fail::hdaa9bbd2fcad4cbb
int3
Function at 0x18000a980
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
call sym.__flate2::deflate::read::DeflateDecoder_R__as_std::io::Read_::read::hbab771252edf0f84
mov rcx, rax
mov eax, 1
test rcx, rcx
jne 0x18000aa5b
test rdx, rdx
je 0x18000a9cf
cmp rdx, rbx
ja 0x18000aa81
mov eax, dword [rsi + 0xa0]
not eax
test dl, 1
jne 0x18000a9ea
mov rcx, rdi
cmp rdx, 1
jne 0x18000aa0d
jmp 0x18000aa4e
mov eax, dword [rsi + 0xa4]
cmp eax, dword [rsi + 0xa0]
jne 0x18000aa63
add rsi, 0xa0
jmp 0x18000aa57
lea rcx, [rdi + 1]
movzx r8d, byte [rdi]
xor r8b, al
movzx r8d, r8b
lea r9, [0x180122ab4]
shr eax, 8
xor eax, dword [r9 + r8*4]
cmp rdx, 1
je 0x18000aa4e
add rdi, rdx
lea r8, [0x180122ab4]
nop word [rax + rax]
movzx r9d, byte [rcx]
xor r9b, al
movzx r9d, r9b
shr eax, 8
xor eax, dword [r8 + r9*4]
movzx r9d, byte [rcx + 1]
xor r9b, al
movzx r9d, r9b
shr eax, 8
xor eax, dword [r8 + r9*4]
add rcx, 2
cmp rcx, rdi
jne 0x18000aa20
add rsi, 0xa0
not eax
mov dword [rsi], eax
xor eax, eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
lea rdx, [0x180122f13]
mov r8d, 0x10
mov cl, 0x27
call sym.std::io::error::Error::new::h720855faca3c6763
mov rdx, rax
mov eax, 1
jmp 0x18000aa5b
lea r8, [0x180122f28]
mov rcx, rdx
mov rdx, rbx
call sym.core::slice::index::slice_end_index_len_fail::hdaa9bbd2fcad4cbb
int3