joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140016f50
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x14032fb10]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x539c], ecx
test rbx, rbx
je 0x140016fbf
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.140016fd0
lea rdx, [0x14004dbb8]
mov rcx, rbx
mov rdi, rax
call fcn.14000cfb0
mov rbx, rax
test rax, rax
je 0x140016fba
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret

Function at 0x14001a8b0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push r14
sub rsp, 0x20
mov rbx, qword [0x14032fb10]
cmp byte [rbx + 0x5399], 0
jne 0x14001aa0a
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001aa03
lea rdx, [0x14004dbb4]
mov qword [rsp + 0x40], rdi
call fcn.14000cfb0
mov rdi, rax
test rax, rax
je 0x14001a9fe
mov qword [rsp + 0x30], rbp
mov rcx, rax
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x14001a9eb
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001a9eb
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x14001a9eb
xor r8d, r8d
mov edx, ebp
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001a9eb
cmp rsi, 0xffffffffffffffff
je 0x14001a9eb
mov rax, qword [0x14032fb10]
test rax, rax
je 0x14001a975
inc dword [rax + 0xf4]
mov rdx, qword [0x14032fb20]
mov rcx, rsi
call qword [section..data]
mov rbp, rax
test rax, rax
je 0x14001a9eb
mov r9, rdi
mov r8, rsi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rdi
cmp rax, rsi
je 0x14001a9b1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x14001a9c7
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x14001a9c7
mov rdx, rsi
mov rcx, rbp
call fcn.14000e470
mov rax, qword [0x14032fb10]
test rax, rax
je 0x14001a9d9
dec dword [rax + 0xf4]
mov rdx, qword [0x14032fb20]
mov rcx, rbp
call qword [0x14005b008]
jmp 0x14001a9f4
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov byte [rbx + 0x5399], 1
movss xmm0, dword [rbx + 0x539c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14001aa4d
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x539c], xmm0
jb 0x14001aa4d
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001aa3c
call fcn.140016f50
jmp 0x14001aa43
mov byte [rbx + 0xdc], 1
mov dword [rbx + 0x539c], 0
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14002fba0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x14032fb10]
mov rcx, qword [rax + 0x4308]
mov r10, qword [rax + 0x3ea0]
movsxd rax, dword [rcx + 0x7c]
movups xmm0, xmmword [rcx + 0x170]
movss xmm4, dword [rcx + 0x170]
movss xmm3, dword [rcx + 0x174]
movss xmm2, dword [rcx + 0x178]
movss xmm1, dword [rcx + 0x17c]
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
imul r9, rax, 0x68
mov rax, qword [r10 + 0x280]
add r9, qword [rcx + 0x18]
movups xmmword [r10 + 0x220], xmm0
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r10 + 0x280]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, byte [r9 + 0x57]
mov rdx, qword [r10 + 0x280]
mov rcx, qword [rcx + 0x1a0]
add rsp, 0x38
jmp 0x140024670

Function at 0x14002fc70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x14032fb10]
mov rcx, qword [rax + 0x4308]
mov r9, qword [rax + 0x3ea0]
movups xmm0, xmmword [r9 + 0x220]
movups xmmword [rcx + 0x170], xmm0
mov rax, qword [r9 + 0x280]
movups xmm0, xmmword [rcx + 0x150]
movss xmm4, dword [rcx + 0x150]
movss xmm3, dword [rcx + 0x154]
movss xmm2, dword [rcx + 0x158]
movss xmm1, dword [rcx + 0x15c]
movups xmmword [r9 + 0x220], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r9 + 0x280]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, byte [rcx + 0x207]
mov rcx, qword [rcx + 0x1a0]
mov rdx, qword [r9 + 0x280]
add rsp, 0x38
jmp 0x140024670
Function at 0x14003f180
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14032f980]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov edi, r8d
mov rsi, rdx
xor r9d, r9d
cmp ecx, 0x7b
ja 0x14003f1c1
movsxd rax, ecx
lea r9, str.Keybind
mov r9, qword [r9 + rax*8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
test r9, r9
jne 0x14003f207
mov qword [rbp - 0x20], 0xa
movsd xmm0, qword [str.Aimbot_Key]
movsd qword [rbp - 0x30], xmm0
movzx eax, word [0x140052e20]
mov word [rbp - 0x28], ax
mov byte [rbp - 0x26], r9b
jmp 0x14003f247
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [r9 + rbx], 0
jne 0x14003f210
lea rcx, [rbp - 0x30]
cmp rbx, 0xf
ja 0x14003f23a
mov qword [rbp - 0x20], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rbp + rbx - 0x30], 0
jmp 0x14003f247
movzx r8d, byte [rbp - 0x40]
mov rdx, rbx
call fcn.140036310
cmp edi, 1
jne 0x14003f29e
mov rax, qword [rbp - 0x18]
cmp rax, 0xd
jb 0x14003f284
lea rbx, [rbp - 0x30]
cmp rax, 0xf
cmova rbx, qword [rbp - 0x30]
mov qword [rbp - 0x20], 0xd
lea r8d, [rdi + 0xc]
lea rdx, str.Press_the_Key
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0xd], 0
jmp 0x14003f29e
lea r9, str.Press_the_Key
movzx r8d, byte [rbp - 0x40]
mov edx, 0xd
lea rcx, [rbp - 0x30]
call fcn.140036310
mov dword [rbp - 0x3c], 0x43480000
mov dword [rbp - 0x38], 0x41f00000
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rcx, qword [rbp - 0x30]
lea rdx, [rbp - 0x3c]
call fcn.140036f10
test al, al
je 0x14003f2e9
test edi, edi
jne 0x14003f2e9
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8, rsi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x14003f327
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003f322
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003f322
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140047374
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400477f0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14003f350
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14032f980]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov edi, r8d
mov rsi, rdx
xor r9d, r9d
cmp ecx, 0x7b
ja 0x14003f391
movsxd rax, ecx
lea r9, str.Keybind
mov r9, qword [r9 + rax*8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
test r9, r9
jne 0x14003f3e0
mov qword [rbp - 0x20], 0xe
movsd xmm0, qword [str.Triggerbot_Key]
movsd qword [rbp - 0x30], xmm0
mov eax, dword [0x140052e40]
mov dword [rbp - 0x28], eax
movzx eax, word [0x140052e44]
mov word [rbp - 0x24], ax
mov byte [rbp - 0x22], r9b
jmp 0x14003f427
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp byte [r9 + rbx], 0
jne 0x14003f3f0
lea rcx, [rbp - 0x30]
cmp rbx, 0xf
ja 0x14003f41a
mov qword [rbp - 0x20], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rbp + rbx - 0x30], 0
jmp 0x14003f427
movzx r8d, byte [rbp - 0x40]
mov rdx, rbx
call fcn.140036310
cmp edi, 1
jne 0x14003f47e
mov rax, qword [rbp - 0x18]
cmp rax, 0xd
jb 0x14003f464
lea rbx, [rbp - 0x30]
cmp rax, 0xf
cmova rbx, qword [rbp - 0x30]
mov qword [rbp - 0x20], 0xd
lea r8d, [rdi + 0xc]
lea rdx, str.Press_the_Key
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0xd], 0
jmp 0x14003f47e
lea r9, str.Press_the_Key
movzx r8d, byte [rbp - 0x40]
mov edx, 0xd
lea rcx, [rbp - 0x30]
call fcn.140036310
mov dword [rbp - 0x3c], 0x43480000
mov dword [rbp - 0x38], 0x41f00000
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rcx, qword [rbp - 0x30]
lea rdx, [rbp - 0x3c]
call fcn.140036f10
test al, al
je 0x14003f4c9
test edi, edi
jne 0x14003f4c9
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8, rsi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x14003f507
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003f502
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003f502
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140047374
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400477f0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140047fd4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14004801e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14004801e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14004801e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14004801e
cmp dword [rcx + 0x84], 0xe
jbe 0x14004801e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140048020
xor al, al
add rsp, 0x28
ret
Function at 0x140011131
Capabilities:
Hide thread from debugger

Disassembly:
jmp 0x140011de0
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rcx, [0x140025100]
call fcn.1400113de
mov dword [rbp + 4], 0x11
mov qword [rbp + 0x28], 0
mov dword [rbp + 0x64], 0
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbp + 0x88], rax
lea rdx, str.NtSetInformationThread
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x11
mov rcx, rax
call qword [rbp + 0x28]
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
je 0x140011e64
mov dword [rbp + 0x64], 1
mov eax, dword [rbp + 0x64]
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret

Function at 0x14001120d
Capabilities:
Terminate process

Disassembly:
jmp 0x140014400
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400112a3
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015750
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015770
xor al, al
jmp 0x1400157f1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015783
xor al, al
jmp 0x1400157f1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400157ad
xor al, al
jmp 0x1400157f1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400157c1
xor al, al
jmp 0x1400157f1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400157d3
xor al, al
jmp 0x1400157f1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400157ef
xor al, al
jmp 0x1400157f1
mov al, 1
add rsp, 0x38
ret

Function at 0x1400112e4
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
jmp 0x1400120d0
push rbp
push rdi
sub rsp, 0x1d8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x3e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14001f040]
xor rax, rbp
mov qword [rbp + 0x1a8], rax
lea rcx, [0x140025100]
call fcn.1400113de
lea rcx, [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rbp + 0x28]
mov dword [rbp + 0xb4], eax
cmp dword [rbp + 0xb4], 2
jae 0x140012130
mov eax, 1
jmp 0x14001217b
mov dword [rbp + 0x60], 0x40
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
xor edx, edx
mov rax, qword [rbp + 0x68]
mov ecx, 0x400
div rcx
xor edx, edx
mov ecx, 0x400
div rcx
xor edx, edx
mov ecx, 0x400
div rcx
mov dword [rbp + 0xd4], eax
cmp dword [rbp + 0xd4], 2
jae 0x140012179
mov eax, 1
jmp 0x14001217b
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001bee0]
call fcn.14001135c
mov rax, rdi
mov rcx, qword [rbp + 0x1a8]
xor rcx, rbp
call fcn.1400111cc
lea rsp, [rbp + 0x1b8]
pop rdi
pop rbp
ret

Function at 0x1400112ee
Capabilities:
Check if process is running under wine

Disassembly:
jmp 0x1400121c0
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x140025100]
call fcn.1400113de
lea rcx, [0x14001c3c0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x1400121fd
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x14001221e
lea rdx, str.wine_get_unix_file_name
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x140012219
xor eax, eax
jmp 0x14001221e
mov eax, 1
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x14005e8e0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14005e8ed
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14005e8fd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14005e8e5
lea eax, [rcx + 1]
jmp 0x14005e90b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14005e91e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14005e904
sub eax, 3
jb 0x14005e93e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14005e98d
sar eax, 1
movsxd rbp, eax
jb 0x14005e974
jmp 0x14005e94c
add ebx, ebx
jne 0x14005e94a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14005e974
inc ecx
add ebx, ebx
jne 0x14005e95a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14005e974
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14005e96d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14005e95c
add ecx, 2
jmp 0x14005e979
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14005e8a2
jmp 0x14005e8ed
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x36600
mov dl, 0x11
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14005e9dd
cmp rsi, rcx
jae 0x14005e9e5
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14005e9c4
cmp al, 0x8f
ja 0x14005e9c4
cmp byte [rsi - 2], 0xf
je 0x14005e9ca
sub al, 0xe8
cmp al, 1
ja 0x14005e9ae
cmp rsi, rcx
jae 0x14005e9e5
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14005e9b4
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14005e9e5
lodsb al, byte [rsi]
jmp 0x14005e9c4
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x5b000]
mov eax, dword [rdi]
or eax, eax
je 0x14005ea42
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x5e59c]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14005e9f2
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14005ea3c
mov qword [rbx], rax
add rbx, 8
jmp 0x14005ea12
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14005ea7c
cmp al, 0xef
ja 0x14005ea6e
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14005ea4e
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14005ea5d
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x257]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14005ead0
sub rsp, 0xffffffffffffff80
jmp 0x140010500
Function at 0x140005a80
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 0x140005b10
cmp r10, r11
jb 0x140005b86
cmp r10, rdx
ja 0x140005b9a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x140005b12
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140005af0
jmp 0x140005b74
ja 0x140005b1a
mov r11, r10
cmp rax, r8
jne 0x140005ab4
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 0x140005b50
mov rdi, r8
sub ecx, edx
jns 0x140005b6b
jmp 0x140005b76
cmp r8, rsi
je 0x140005bab
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140005b76
xor al, 1
cmp rdi, rsi
jne 0x140005b30
jmp 0x140005b76
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.14002be90
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14002bc20
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.14002bca0
ud2
Function at 0x14000c300
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 0x14000c35b
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x14000c35b
movzx eax, byte [r9 + rcx]
cmp eax, 0x49
je 0x14000c376
cmp eax, 0x42
jne 0x14000c35b
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x14000c426
cmp byte [r9 + r11], 0x5f
jne 0x14000c426
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x14000c48e
mov rcx, rsi
xor edx, edx
call fcn.140007a20
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.140007a20
test al, al
jne 0x14000c521
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000c3b2
lea rdx, [0x14002fedc]
mov r8d, 1
call fcn.1400038b0
test al, al
jne 0x14000c521
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x14000c36a
xor r14d, r14d
lea rbx, [0x140030290]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x14000c3e4
cmp byte [rax + rcx], 0x45
je 0x14000c543
sub r14, 1
jb 0x14000c409
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000c409
mov r8d, 2
mov rdx, rbx
call fcn.1400038b0
test al, al
jne 0x14000c521
mov rcx, rsi
call fcn.1400092f0
test al, al
jne 0x14000c521
mov rax, qword [rsi]
test rax, rax
jne 0x14000c3d0
jmp 0x14000c36a
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r8b, 1
cmp r11, r10
jae 0x14000c4e8
movzx edx, byte [r9 + r11]
cmp dl, 0x5f
je 0x14000c482
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x14000c46c
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x14000c45b
add dl, 0xa9
jmp 0x14000c46a
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x14000c4e8
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x14000c4e8
movzx edx, bl
add rax, rdx
jae 0x14000c430
jmp 0x14000c4e8
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x14000c4e8
cmp rax, rcx
jae 0x14000c4e5
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x14000c53b
cmp qword [rsi + 0x20], 0
je 0x14000c534
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.14000c300
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x14000c36c
mov r8b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000c529
lea rax, str.invalid_syntaxrecursion_limit_reached
lea rdx, [0x140030250]
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
or r8, 0x10
call fcn.1400038b0
test al, al
je 0x14000c529
mov dil, 2
jmp 0x14000c36a
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x14000c36a
mov dil, 1
xor r8d, r8d
jmp 0x14000c4ea
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x14000c36a
Function at 0x140013b10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
movzx ebp, byte [rdx + 0x38]
xor ebx, ebx
cmp bpl, 1
setne dl
mov eax, 0
sbb eax, eax
mov rsi, rcx
or al, dl
movzx ecx, al
cmp cl, 0xff
je 0x140013b40
test ecx, ecx
jne 0x140013b90
movzx ebx, byte [rdi + 0x3a]
cmp al, 0xff
je 0x140013b4c
test ecx, ecx
jne 0x140013b90
mov rcx, rdi
call fcn.1400139f0
movzx eax, al
test bpl, bpl
jne 0x140013b97
lea rdx, [rdi + 0x10]
xor ecx, ecx
cmp byte [rdi + 0x10], 6
cmove rdx, rcx
je case.0x140013b83.2
movzx r8d, byte [rdx]
mov ecx, 6
lea r9, [0x140013d08]
movsxd r8, dword [r9 + r8*4]
add r8, r9
jmp r8
mov rcx, qword [rdx + 0x10]
add rcx, 4
jmp case.0x140013b83.2
xor eax, eax
test bpl, bpl
je 0x140013b5c
xor ecx, ecx
add rax, rcx
movzx r10d, bl
lea rcx, [rax + r10]
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x140013ce9
mov r11, qword [rdi]
lea r8, [r11 + rcx]
cmp rdx, rcx
jne 0x140013bca
movzx r9d, byte [rdi + 0x10]
xor r10d, r10d
jmp 0x140013c49
movzx r9d, byte [rdi + 0x10]
add rax, r10
sub rax, rdx
inc rax
lea rdi, [rdx + r11]
dec rdi
xor r10d, r10d
cmp r9b, 3
jae 0x140013c10
nop dword [rax + rax]
cmp byte [rdi], 0x5c
je 0x140013c2b
inc rax
dec rdi
cmp rax, 1
jne 0x140013bf0
jmp 0x140013c49
movzx ebx, byte [rdi]
cmp ebx, 0x2f
je 0x140013c2b
cmp ebx, 0x5c
je 0x140013c2b
inc rax
dec rdi
cmp rax, 1
jne 0x140013c10
jmp 0x140013c49
neg rax
add rcx, rax
inc rcx
cmp rdx, rcx
jb 0x140013cf7
add r11, rcx
mov r10d, 1
mov r8, r11
sub rdx, rcx
je 0x140013c73
mov al, 9
cmp rdx, 2
je 0x140013c77
cmp rdx, 1
jne 0x140013c87
cmp byte [r8], 0x2e
jne 0x140013c87
xor eax, eax
cmp r9b, 3
setae al
lea eax, [rax + rax*2]
add eax, 7
jmp 0x140013c87
mov al, 0xa
jmp 0x140013c87
cmp byte [r8], 0x2e
jne 0x140013c87
cmp byte [r8 + 1], 0x2e
sete al
xor al, 9
add r10, rdx
mov qword [rsi], r10
mov byte [rsi + 8], al
mov qword [rsi + 0x10], r8
mov qword [rsi + 0x18], rdx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 8
jmp case.0x140013b83.2
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 2
jmp case.0x140013b83.2
mov ecx, 2
jmp case.0x140013b83.2
lea r8, str.library_std_srcpath.rs
call fcn.14002bba0
ud2
lea r8, str.library_std_srcpath.rs
call fcn.14002bba0
ud2