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

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14007832a
mov al, 1
jmp 0x14007838a
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14007833b
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140078388
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400789ec
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140078388
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140078388
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140078388
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14007838a
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x140078afc
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.14006bf68
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14006bf68
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140078c4c
cmp rax, 0xffffffffffffffff
je 0x140078c4c
xor edi, edi
test rbp, rbp
jle 0x140078bf7
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14007509c
mov rbx, rax
test rax, rax
jne 0x140078b84
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140078bed
mov edx, 0x8000
mov ecx, r14d
call fcn.1400708a4
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.140073718
cmp eax, 0xffffffff
je 0x140078bcd
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140078b94
mov edx, r15d
mov ecx, r14d
call fcn.1400708a4
jmp 0x140078bed
cmp byte [rsi + 0x38], dil
je 0x140078be4
cmp dword [rsi + 0x34], 5
jne 0x140078be4
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
cmp byte [rsi + 0x30], dil
je 0x140078bed
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140075114
jmp 0x140078c60
jns 0x140078c60
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14006bf68
cmp rax, 0xffffffffffffffff
jne 0x140078c18
cmp byte [rsi + 0x30], dil
je 0x140078c60
mov edi, dword [rsi + 0x2c]
jmp 0x140078c60
mov ecx, r14d
call fcn.1400789ec
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140078c60
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, reloc.WS2_32.dll_listen
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
jmp 0x140078c60
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140078c59
mov eax, dword [rsi + 0x2c]
jmp 0x140078c5e
mov eax, socket
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14006bf68
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 0x14007c65c
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14007c68c
xor eax, eax
jmp 0x14007c74f
mov rbp, rbx
cmp word [rax], si
je 0x14007c6b1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14007c698
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14007c694
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140077068
movsxd r14, eax
test eax, eax
jne 0x14007c6ef
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14007c685
mov rcx, r14
call fcn.140075150
mov rdi, rax
test rax, rax
jne 0x14007c708
xor ecx, ecx
call fcn.140075114
jmp 0x14007c6e4
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140077068
test eax, eax
jne 0x14007c739
mov rcx, rdi
call fcn.140075114
jmp 0x14007c743
xor ecx, ecx
call fcn.140075114
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x14007c76c
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 0x14007c7f3
mov rsi, rbx
cmp word [rax], bp
je 0x14007c7b2
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14007c79c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14007c798
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140075150
mov rdi, rax
test rax, rax
je 0x14007c7e0
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140084090
mov rbp, rdi
xor ecx, ecx
call fcn.140075114
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 0x14007f864
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.14007490c
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 0x14007f905
cmp ebx, dword [rsp + 0x30]
je 0x14007f8fe
test esi, esi
je 0x14007f8fe
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14007f8d9
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14007f8e6
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14007f8c3
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14007f8ea
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14007f907
mov eax, 1
jmp 0x14007f907
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14007fe9c
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14007febc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400602f4
or eax, 0xffffffff
jmp 0x14007febe
xor eax, eax
add rsp, 0x28
ret

Function at 0x140081d68
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1400ad800]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x140081db2
call fcn.140060360
mov dword [rax], reloc.WS2_32.dll_ntohs
call fcn.140060380
mov dword [rax], reloc.WS2_32.dll_listen
call fcn.14005ddbc
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140057120
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x140081dbd
lea eax, [rbx + 1]
jmp 0x140081d9f
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x140081d9d
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x140081d9f
Function at 0x140082540
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14006153c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400825ca
cmp byte [rbp - 0x21], r15b
je 0x1400825c5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140082600
call fcn.140077468
test eax, eax
jne 0x1400825ec
cmp byte [rbp - 0x21], r15b
je 0x1400825e4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140082600
cmp byte [rbp - 0x21], r15b
je 0x1400825fd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140061950
test eax, eax
jne 0x1400826a0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14006153c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14008263f
cmp byte [rbp - 0x21], r15b
je 0x140082674
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140082674
call fcn.140077468
test eax, eax
jne 0x140082660
cmp byte [rbp - 0x21], r15b
je 0x140082659
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140082674
cmp byte [rbp - 0x21], r15b
je 0x140082671
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140061950
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400826a0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400826a3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400826b1
mov rcx, rdi
call fcn.140075114
cmp byte [rbp + 0x3f], r15b
je 0x1400826c0
mov rcx, qword [rbp + 0x27]
call fcn.140075114
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x140083dc0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140083de8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140083de8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400047e4
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x1400128b8]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea r14, str.en_US
mov rsi, rcx
mov qword [rcx], r14
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov word [rsp + 0x30], ax
mov ebx, 0x10
mov r9d, ebx
lea rdx, [0x140008110]
lea rax, [0x140004df0]
mov r8d, 0x1b3
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call sub.api_ms_win_crt_private_l1_1_0.dll__o_bsearch
xor ebp, ebp
test rax, rax
jne 0x14000485f
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400048e5
cmp dword [rax + 0xc], 0x7c
jne 0x14000486c
cmp word [rax + 8], 0x7f
jne 0x14000484f
mov r8, qword [rax]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [r8 + rcx*2], bp
jne 0x140004873
inc rcx
cmp rcx, 0x7ffffffe
jbe 0x140004890
mov word [rsp + 0x38], bp
jmp 0x1400048d7
lea rax, [rsp + 0x38]
mov r9d, ebp
sub r8, rax
lea rdx, [rsp + 0x38]
lea rax, [rbx - 0x10]
add rax, rcx
je 0x1400048c0
movzx eax, word [r8 + rdx]
test ax, ax
je 0x1400048c0
mov word [rdx], ax
add rdx, 2
sub rbx, 1
jne 0x1400048a0
test rbx, rbx
jne 0x1400048cf
sub rdx, 2
mov r9d, 0x8007007a
mov word [rdx], bp
test r9d, r9d
jns 0x1400048e1
mov ecx, 0x7a
jmp 0x140004854
test ecx, ecx
jne 0x1400048f1
mov rcx, qword [rsp + 0x78]
call fcn.14000494c
jmp 0x14000492a
mov rbx, rbp
mov rdi, rbp
mov rdx, qword [rdi + r14]
lea rcx, [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsicmp]
test eax, eax
je 0x14000491c
inc rbx
add rdi, 0x30
cmp rdi, 0x750
jb 0x1400048f7
jmp 0x14000492a
lea rax, [rbx + rbx*2]
shl rax, 4
add rax, r14
mov qword [rsi], rax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400050e0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x140005104
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140012e60], eax
call fcn.1400056f0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140012e60], 0
jne case.default.0x14000515a
mov ecx, 1
call fcn.1400056f0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
movsd dword [rdi], dword [rsi]
shr byte [r14 + 0x7d74322a], cl
mov byte [rsi], bl
jp case.0x14000515a.0
xor ebp, dword [rcx]
xchg edx, eax
xor dword [rdx - 0x22080043], ebp
adc eax, 0x8a97b7ff
xchg ecx, eax
add bh, byte [rdi + 0x71c90d5b]
cmp ebp, ebp
xchg ebx, esi
mov cl, ah
invalid
Function at 0x140005f60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x140005ff0
cmp r11, r10
ja 0x140006066
cmp r10, rdx
ja 0x14000607a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x140005ff2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140005fd0
jmp 0x140006054
ja 0x140005ffa
mov r11, r10
cmp rax, r8
jne 0x140005f94
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x140006030
mov rdi, r8
sub ecx, edx
jns 0x14000604b
jmp 0x140006056
cmp r8, rsi
je 0x14000608b
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140006056
xor al, 1
cmp rdi, rsi
jne 0x140006010
jmp 0x140006056
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140004200
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1400037d0
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value_rustc_ba7c7a301984967c8c13adb580ef9b86ba706a83library_alloc_srccollections_btree_navigate.rsIndex_out_of_bounds
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.140003b70
ud2
Function at 0x140008a70
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
movaps xmmword [rsp + 0x50], xmm6
mov rsi, rdx
mov rbx, rcx
cmp byte [rdx + 0x20], 0
mov rdi, qword [rdx + 0x10]
mov r14, qword [rdx + 0x18]
mov eax, 0x20
mov ebp, pe_nt_image_headers64
cmove ebp, eax
xorps xmm6, xmm6
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm6
movaps xmmword [rsp + 0x20], xmm6
lea rcx, [rsp + 0x20]
call sub.KERNEL32.dll_GetSystemInfo
mov eax, dword [rsp + 0x48]
cmp eax, 1
adc eax, 0
cmp rdi, rax
je 0x140008b2f
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm6
movaps xmmword [rsp + 0x20], xmm6
lea rcx, [rsp + 0x20]
call sub.KERNEL32.dll_GetSystemInfo
mov ecx, dword [rsp + 0x48]
test rcx, rcx
je 0x140008bf4
mov r15, rdi
shr r15, 0x20
je 0x140008b04
mov rax, rdi
xor edx, edx
div rcx
jmp 0x140008b0a
mov eax, edi
xor edx, edx
div ecx
mov rcx, rdi
sub rcx, rdx
add r14, rdx
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x20]
mov rdx, r14
mov r8d, ebp
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
je 0x140008b57
mov rax, qword [rsi + 0x20]
mov qword [rbx + 0x20], rax
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rbx + 0x10], xmm1
movups xmmword [rbx], xmm0
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rbx + 8], rax
mov qword [rbx], 2
xorps xmm6, xmm6
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm6
movaps xmmword [rsp + 0x20], xmm6
lea rcx, [rsp + 0x20]
call sub.KERNEL32.dll_GetSystemInfo
mov eax, dword [rsp + 0x48]
cmp eax, 1
adc eax, 0
cmp rdi, rax
je 0x140008b45
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm6
movaps xmmword [rsp + 0x20], xmm6
lea rcx, [rsp + 0x20]
call sub.KERNEL32.dll_GetSystemInfo
mov ecx, dword [rsp + 0x48]
test rcx, rcx
je 0x140008c0e
test r15, r15
je 0x140008bcb
mov rax, rdi
xor edx, edx
div rcx
jmp 0x140008bd1
mov eax, edi
xor edx, edx
div ecx
sub rdi, rdx
mov rcx, rdi
call sub.KERNEL32.dll_UnmapViewOfFile
cmp qword [rsi], 0
je 0x140008b45
mov rcx, qword [rsi + 8]
call sub.KERNEL32.dll_CloseHandle
jmp 0x140008b45
lea rcx, str.attempt_to_calculate_the_remainder_with_a_divisor_of_zero
lea r8, str._home_iceman_.cargo_registry_src_index.crates.io_6f17d22bba15001f_memmap2_0.9.3_src_windows.rs
mov edx, 0x39
call fcn.140003b70
ud2
lea rcx, str.attempt_to_calculate_the_remainder_with_a_divisor_of_zero
lea r8, str._home_iceman_.cargo_registry_src_index.crates.io_6f17d22bba15001f_memmap2_0.9.3_src_windows.rs
mov edx, 0x39
call fcn.140003b70
ud2
Function at 0x14000ceb0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.140003360
cmp rax, rcx
je 0x14000ced5
cmp rdx, 4
jae 0x14000ced8
xor eax, eax
xor r8d, r8d
jmp 0x14000cf70
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x1400394d0]
movdqa xmm3, xmmword [0x1400394e0]
pxor xmm1, xmm1
nop dword [rax]
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 0x14000cf00
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x14000cf87
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x14000cf70
ret
Function at 0x14000df00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov r8, qword [rcx]
test r8, r8
je 0x14000df5b
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x14000df5b
movzx eax, byte [r8 + rcx]
cmp eax, 0x49
je 0x14000df76
cmp eax, 0x42
jne 0x14000df5b
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x14000e026
cmp byte [r8 + r11], 0x5f
jne 0x14000e026
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x14000e08e
mov rcx, rsi
xor edx, edx
call fcn.140009630
mov edi, eax
add dil, dil
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
inc rcx
mov qword [rsi + 0x10], rcx
mov rcx, rsi
xor edx, edx
call fcn.140009630
test al, al
jne 0x14000e121
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000dfb2
lea rdx, [0x14003e27b]
mov r8d, 1
call fcn.140003850
test al, al
jne 0x14000e121
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x14000df6a
xor r14d, r14d
lea rbx, [0x14003e5e9]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x14000dfe4
cmp byte [rax + rcx], 0x45
je 0x14000e14a
sub r14, 1
jb 0x14000e009
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000e009
mov r8d, 2
mov rdx, rbx
call fcn.140003850
test al, al
jne 0x14000e121
mov rcx, rsi
call fcn.14000aea0
test al, al
jne 0x14000e121
mov rax, qword [rsi]
test rax, rax
jne 0x14000dfd0
jmp 0x14000df6a
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r9b, 1
cmp r11, r10
jae 0x14000e0e8
movzx edx, byte [r8 + r11]
cmp dl, 0x5f
je 0x14000e082
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x14000e06c
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x14000e05b
add dl, 0xa9
jmp 0x14000e06a
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x14000e0e8
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x14000e0e8
movzx edx, bl
add rax, rdx
jae 0x14000e030
jmp 0x14000e0e8
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x14000e0e8
cmp rax, rcx
jae 0x14000e0e5
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x14000e129
cmp qword [rsi + 0x20], 0
je 0x14000e143
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsi + 0x10], rax
mov dword [rsi + 0x18], ecx
mov rcx, rsi
call fcn.14000df00
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x14000df6c
mov r9b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000e138
mov eax, r9d
xor al, 1
movzx eax, al
lea r8, [rax + rax*8]
add r8, 0x10
lea rax, str.invalid_syntaxrecursion_limit_reached_for_______::closureshim_as__mut_const___dyn___unsafe_extern__
lea rdx, [0x14003e5c8]
test r9b, r9b
cmovne rdx, rax
call fcn.140003850
test al, al
je 0x14000e138
mov dil, 2
jmp 0x14000df6a
mov dil, 1
xor r9d, r9d
mov rcx, qword [rsi + 0x20]
test rcx, rcx
jne 0x14000e0f3
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x14000df6a
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x14000df6a
Function at 0x140011710
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
cmp qword [rcx], 0
je 0x140011795
mov dword [rsp + 0x2c], 0
lea rbx, [rsi + 0x10]
lea r8, [rsp + 0x2c]
mov rcx, rbx
xor edx, edx
xor r9d, r9d
call sub.KERNEL32.dll_InitOnceBeginInitialize
mov dword [rsp + 0x28], eax
cmp eax, 1
jne 0x1400117d6
cmp dword [rsp + 0x2c], 0
je 0x1400117ba
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x1400117f0
mov edi, eax
inc eax
mov dword [rsi + 0x18], eax
mov rax, qword [0x1400460e0]
nop
mov qword [rsi + 8], rax
lock cmpxchg qword [0x1400460e0], rsi
jne 0x140011770
mov byte [0x1400460d8], 1
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
jmp 0x1400117cc
call sub.KERNEL32.dll_TlsAlloc
mov dword [rsp + 0x28], eax
cmp eax, 0xffffffff
je 0x14001183c
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x1400117bf
mov edi, dword [rsp + 0x28]
jmp 0x1400117cc
mov edi, dword [rsi + 0x18]
jmp 0x1400117ca
mov edi, eax
mov ecx, dword [rsp + 0x28]
call sub.KERNEL32.dll_TlsFree
dec edi
mov eax, edi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov qword [rsp + 0x30], 0
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x30]
call fcn.140011cc0
ud2
mov rcx, rbx
mov edx, 4
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
lea rax, str.out_of_TLS_indexes
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
lea rax, str.called__Option::unwrap____on_a__None__value_rustc_ba7c7a301984967c8c13adb580ef9b86ba706a83library_alloc_srccollections_btree_navigate.rsIndex_out_of_bounds
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rdx, str.library_std_src_syswindows_thread_local_key.rs
lea rcx, [rsp + 0x30]
call fcn.140002e10
ud2
lea rax, str.out_of_TLS_indexes
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
lea rax, str.called__Option::unwrap____on_a__None__value_rustc_ba7c7a301984967c8c13adb580ef9b86ba706a83library_alloc_srccollections_btree_navigate.rsIndex_out_of_bounds
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x30]
call fcn.140011d10
ud2