joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001928
Capabilities:
Parse pe header

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

Function at 0x140004000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
cld
and rsp, 0xfffffffffffffff0
call fcn.1400040d6
push r9
push r8
push rdx
push rcx
xor rdx, rdx
push rsi
mov rdx, qword gs:[rdx + 0x60]
mov rdx, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x20]
mov rsi, qword [rdx + 0x50]
movzx rcx, word [rdx + 0x4a]
xor r9, r9
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x140004037
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x14000402d
push rdx
mov rdx, qword [rdx + 0x20]
push r9
mov eax, dword [rdx + 0x3c]
add rax, rdx
cmp word [rax + 0x18], 0x20b
jne 0x1400040cb
mov eax, dword [rax + 0x88]
test rax, rax
je 0x1400040cb
add rax, rdx
mov r8d, dword [rax + 0x20]
push rax
add r8, rdx
mov ecx, dword [rax + 0x18]
jrcxz 0x1400040ca
dec rcx
mov esi, dword [r8 + rcx*4]
add rsi, rdx
xor r9, r9
xor rax, rax
ror r9d, 0xd
lodsb al, byte [rsi]
add r9d, eax
cmp al, ah
jne 0x140004081
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x140004072
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
add rax, rdx
pop r8
pop r8
pop rsi
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x140004021
Function at 0x140009c80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x28
mov rax, qword [0x1400618c0]
xor rax, rsp
mov qword [rsp + 0x10], rax
mov byte [rsp], 0x26
mov byte [rsp + 1], 0x4d
mov byte [rsp + 2], 0x43
mov byte [rsp + 3], 0x54
mov byte [rsp + 4], 0x48
mov byte [rsp + 5], 0x43
mov byte [rsp + 6], 0x4a
mov byte [rsp + 7], 0x15
mov byte [rsp + 8], 0x14
mov byte [rsp + 9], 8
mov byte [rsp + 0xa], 0x42
mov byte [rsp + 0xb], 0x4a
mov byte [rsp + 0xc], 0x4a
mov byte [rsp + 0xd], 0
lea rax, [rsp]
mov rdi, qword [rsp + 0x48]
mov rsi, rax
mov ecx, 0xe
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x10]
xor rcx, rsp
call fcn.140017a40
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x140009d20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x28
mov rax, qword [0x1400618c0]
xor rax, rsp
mov qword [rsp + 0x10], rax
mov byte [rsp], 0x4b
mov byte [rsp + 1], 0xa
mov byte [rsp + 2], 0x27
mov byte [rsp + 3], 0x27
mov byte [rsp + 4], 0x24
mov byte [rsp + 5], 0x28
mov byte [rsp + 6], 8
mov byte [rsp + 7], 0x24
mov byte [rsp + 8], 0x25
mov byte [rsp + 9], 0x38
mov byte [rsp + 0xa], 0x24
mov byte [rsp + 0xb], 0x27
mov byte [rsp + 0xc], 0x2e
mov byte [rsp + 0xd], 0
lea rax, [rsp]
mov rdi, qword [rsp + 0x48]
mov rsi, rax
mov ecx, 0xe
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x10]
xor rcx, rsp
call fcn.140017a40
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x140009dc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x28
mov rax, qword [0x1400618c0]
xor rax, rsp
mov qword [rsp + 0x10], rax
mov byte [rsp], 0x2f
mov byte [rsp + 1], 0x69
mov byte [rsp + 2], 0x5d
mov byte [rsp + 3], 0x4a
mov byte [rsp + 4], 0x4a
mov byte [rsp + 5], 0x6c
mov byte [rsp + 6], 0x40
mov byte [rsp + 7], 0x41
mov byte [rsp + 8], 0x5c
mov byte [rsp + 9], 0x40
mov byte [rsp + 0xa], 0x43
mov byte [rsp + 0xb], 0x4a
mov byte [rsp + 0xc], 0
lea rax, [rsp]
mov rdi, qword [rsp + 0x48]
mov rsi, rax
mov ecx, 0xd
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x10]
xor rcx, rsp
call fcn.140017a40
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x140009f00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x28
mov rax, qword [0x1400618c0]
xor rax, rsp
mov qword [rsp + 0x18], rax
mov byte [rsp], 0xb
mov byte [rsp + 1], 0x5c
mov byte [rsp + 2], 0x6a
mov byte [rsp + 3], 0x62
mov byte [rsp + 4], 0x7f
mov byte [rsp + 5], 0x4d
mov byte [rsp + 6], 0x64
mov byte [rsp + 7], 0x79
mov byte [rsp + 8], 0x58
mov byte [rsp + 9], 0x62
mov byte [rsp + 0xa], 0x65
mov byte [rsp + 0xb], 0x6c
mov byte [rsp + 0xc], 0x67
mov byte [rsp + 0xd], 0x6e
mov byte [rsp + 0xe], 0x44
mov byte [rsp + 0xf], 0x69
mov byte [rsp + 0x10], 0x61
mov byte [rsp + 0x11], 0x6e
mov byte [rsp + 0x12], 0x68
mov byte [rsp + 0x13], 0x7f
mov byte [rsp + 0x14], 0
lea rax, [rsp]
mov rdi, qword [rsp + 0x48]
mov rsi, rax
mov ecx, 0x15
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x18]
xor rcx, rsp
call fcn.140017a40
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x140009fc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x28
mov rax, qword [0x1400618c0]
xor rax, rsp
mov qword [rsp + 0x10], rax
mov byte [rsp], 0xb
mov byte [rsp + 1], 0x48
mov byte [rsp + 2], 0x67
mov byte [rsp + 3], 0x64
mov byte [rsp + 4], 0x78
mov byte [rsp + 5], 0x6e
mov byte [rsp + 6], 0x43
mov byte [rsp + 7], 0x6a
mov byte [rsp + 8], 0x65
mov byte [rsp + 9], 0x6f
mov byte [rsp + 0xa], 0x67
mov byte [rsp + 0xb], 0x6e
mov byte [rsp + 0xc], 0
lea rax, [rsp]
mov rdi, qword [rsp + 0x48]
mov rsi, rax
mov ecx, 0xd
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x10]
xor rcx, rsp
call fcn.140017a40
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x14000a060
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x28
mov rax, qword [0x1400618c0]
xor rax, rsp
mov qword [rsp + 0x10], rax
mov byte [rsp], 0x21
mov byte [rsp + 1], 0x73
mov byte [rsp + 2], 0x55
mov byte [rsp + 3], 0x4d
mov byte [rsp + 4], 0x7b
mov byte [rsp + 5], 0x44
mov byte [rsp + 6], 0x53
mov byte [rsp + 7], 0x4e
mov byte [rsp + 8], 0x6c
mov byte [rsp + 9], 0x44
mov byte [rsp + 0xa], 0x4c
mov byte [rsp + 0xb], 0x4e
mov byte [rsp + 0xc], 0x53
mov byte [rsp + 0xd], 0x58
mov byte [rsp + 0xe], 0
lea rax, [rsp]
mov rdi, qword [rsp + 0x48]
mov rsi, rax
mov ecx, 0xf
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x10]
xor rcx, rsp
call fcn.140017a40
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x14000a2b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x38
mov rax, qword [0x1400618c0]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov byte [rsp], 0x3f
mov byte [rsp + 1], 0x4f
mov byte [rsp + 2], 0x50
mov byte [rsp + 3], 0x48
mov byte [rsp + 4], 0x5a
mov byte [rsp + 5], 0x4d
mov byte [rsp + 6], 0x4c
mov byte [rsp + 7], 0x57
mov byte [rsp + 8], 0x5a
mov byte [rsp + 9], 0x53
mov byte [rsp + 0xa], 0x53
mov byte [rsp + 0xb], 0x11
mov byte [rsp + 0xc], 0x5a
mov byte [rsp + 0xd], 0x47
mov byte [rsp + 0xe], 0x5a
mov byte [rsp + 0xf], 0x1f
mov byte [rsp + 0x10], 0x12
mov byte [rsp + 0x11], 0x7a
mov byte [rsp + 0x12], 0x51
mov byte [rsp + 0x13], 0x5c
mov byte [rsp + 0x14], 0x50
mov byte [rsp + 0x15], 0x5b
mov byte [rsp + 0x16], 0x5a
mov byte [rsp + 0x17], 0x5b
mov byte [rsp + 0x18], 0x7c
mov byte [rsp + 0x19], 0x50
mov byte [rsp + 0x1a], 0x52
mov byte [rsp + 0x1b], 0x52
mov byte [rsp + 0x1c], 0x5e
mov byte [rsp + 0x1d], 0x51
mov byte [rsp + 0x1e], 0x5b
mov byte [rsp + 0x1f], 0x1f
mov byte [rsp + 0x20], 0
lea rax, [rsp]
mov rdi, qword [rsp + 0x58]
mov rsi, rax
mov ecx, 0x21
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140017a40
add rsp, 0x38
pop rdi
pop rsi
ret

Function at 0x14000a3b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x28
mov rax, qword [0x1400618c0]
xor rax, rsp
mov qword [rsp + 0x18], rax
mov byte [rsp], 0x1b
mov byte [rsp + 1], 0x58
mov byte [rsp + 2], 0x69
mov byte [rsp + 3], 0x7e
mov byte [rsp + 4], 0x7a
mov byte [rsp + 5], 0x6f
mov byte [rsp + 6], 0x7e
mov byte [rsp + 7], 0x4b
mov byte [rsp + 8], 0x69
mov byte [rsp + 9], 0x74
mov byte [rsp + 0xa], 0x78
mov byte [rsp + 0xb], 0x7e
mov byte [rsp + 0xc], 0x68
mov byte [rsp + 0xd], 0x68
mov byte [rsp + 0xe], 0x3b
mov byte [rsp + 0xf], 0x7d
mov byte [rsp + 0x10], 0x7a
mov byte [rsp + 0x11], 0x72
mov byte [rsp + 0x12], 0x77
mov byte [rsp + 0x13], 0x7e
mov byte [rsp + 0x14], 0x7f
mov byte [rsp + 0x15], 0x3b
mov byte [rsp + 0x16], 0x33
mov byte [rsp + 0x17], 0
lea rax, [rsp]
mov rdi, qword [rsp + 0x48]
mov rsi, rax
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x18]
xor rcx, rsp
call fcn.140017a40
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x14000c660
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, rcx
movdqa xmm0, xmmword [rdx]
aeskeygenassist xmm0, xmm0, 2
movdqa xmmword [rcx], xmm0
ret

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

Disassembly:
sub rsp, 0x258
mov byte [rsp + 0x16f], 0
mov qword [rsp + 0x170], 1
mov byte [rsp + 0x17f], 0
mov qword [rsp + 0x180], 1
lea rax, [rsp + 0x1c8]
mov qword [rsp + 0x248], rax
lea rax, [rsp + 0x1c8]
mov qword [rsp + 0x250], rax
lea rcx, [rsp + 0x1c8]
xor edx, edx
mov r8d, 0x40
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x188]
lea rdx, [rsp + 0x1c8]
mov r8d, 0x40
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rsp + 0x208]
lea rdx, [rsp + 0x188]
mov r8d, 0x40
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rsp + 0x38]
lea rdx, [rsp + 0x208]
mov r8d, 0x40
call sub.VCRUNTIME140.dll_memcpy
mov eax, 0x40
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0x38]
call sub.KERNEL32.dll_GlobalMemoryStatusEx
cmp eax, 0
jne 0x14000fab7
mov dword [rsp + 0x34], 1
jmp 0x14000fbb9
mov byte [rsp + 0xaf], 0
mov qword [rsp + 0xb0], 1
mov byte [rsp + 0xbf], 0
mov qword [rsp + 0xc0], 1
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x160], rax
lea rcx, [rsp + 0xf8]
xor edx, edx
mov r8d, 0x30
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0xc8]
lea rdx, [rsp + 0xf8]
mov r8d, 0x30
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rsp + 0x128]
lea rdx, [rsp + 0xc8]
mov r8d, 0x30
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rsp + 0x78]
lea rdx, [rsp + 0x128]
mov r8d, 0x30
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rsp + 0x78]
call sub.KERNEL32.dll_GetSystemInfo
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x7c]
mov qword [rsp + 0x28], rax
cmp rax, 0
sete al
test al, 1
jne 0x14000fb9f
mov rcx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x20]
xor edx, edx
div rcx
mov dword [rsp + 0x34], eax
jmp 0x14000fbb9
lea rcx, str.attempt_to_divide_by_zero0123456789abcdefC:Users_admin.cargo_registry_srcindex.crates.io_6f17d22bba15001fhex_0.4.3_srclib.rs
lea r8, str.src_sandboxmod.rs
mov edx, 0x19
call fcn.14003d440
ud2
mov eax, dword [rsp + 0x34]
add rsp, 0x258
ret

Function at 0x14000fbd0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x118
mov byte [rsp + 0x5f], 0
mov qword [rsp + 0x60], 1
mov byte [rsp + 0x6f], 0
mov qword [rsp + 0x70], 1
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x108], rax
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x110], rax
lea rcx, [rsp + 0xa8]
xor edx, edx
mov r8d, 0x30
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x78]
lea rdx, [rsp + 0xa8]
mov r8d, 0x30
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rsp + 0xd8]
lea rdx, [rsp + 0x78]
mov r8d, 0x30
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0xd8]
mov r8d, 0x30
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rsp + 0x28]
call sub.KERNEL32.dll_GetSystemInfo
cmp dword [rsp + 0x48], 2
seta al
and al, 1
movzx eax, al
add rsp, 0x118
ret
Function at 0x140025070
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3e0], rcx
mov qword [rbp + 0x3c8], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x3d0], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor edi, edi
xor ebx, ebx
xor r13d, r13d
cmp r8, 0x201
jae 0x140025100
jmp 0x1400250ef
jae 0x1400251c0
cmp r8, 0x201
jae 0x140025100
lea r12, [rbp - 0x58]
mov esi, 0x200
mov r15, r8
jmp 0x140025158
sub r8, r13
sub rbx, r13
cmp rbx, r8
jae 0x14002512f
lea rcx, [rbp + 0x3c8]
mov rdx, r13
call fcn.14003c910
mov rax, qword [rbp + 0x3c8]
mov qword [rbp + 0x3e8], rax
mov rdi, qword [rbp + 0x3d0]
mov eax, 0xffffffff
cmp rdi, rax
mov r13d, 0xffffffff
cmovb r13, rdi
mov qword [rbp + 0x3d8], r13
mov rbx, rdi
mov r12, qword [rbp + 0x3e8]
mov rsi, r13
mov r15, r13
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, r15d
mov rdx, r12
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r14d, eax
test eax, eax
jne 0x140025181
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140025228
mov r8d, r14d
cmp r15, r8
jne 0x1400250e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14002524b
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x1400250ef
jmp 0x140025100
cmp rsi, r8
jb 0x140025265
lea rcx, [rbp + 0x3a8]
mov rdx, r12
call fcn.140026c20
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test rdi, rdi
je 0x140025211
add rdi, rdi
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rdi
call fcn.1400126c0
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3e0]
mov qword [rsi], rax
mov byte [rsi + 0x18], 2
test rdi, rdi
jne 0x1400251f9
jmp 0x140025211
lea rcx, str.internal_error:_entered_unreachable_code_rustc_eb26296b556cef10fb713a38f3d16b9886080f26library_alloc_src_vecmod.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.14003d440
jmp 0x14002527a
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.14003d890
ud2
Function at 0x1400252d0
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x4a8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x420], 0xfffffffffffffffe
mov rsi, rcx
lea rcx, [rbp - 0x60]
call fcn.14002db10
mov rax, qword [rbp - 0x60]
mov qword [rbp + 0x410], rax
test rax, rax
je 0x140025446
mov qword [rbp + 0x408], rsi
mov rax, qword [rbp - 0x58]
mov qword [rbp + 0x400], rax
mov qword [rbp + 0x3e8], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x3f0], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x418], rax
xor edi, edi
xor ebx, ebx
xor esi, esi
cmp r8, 0x201
jae 0x140025380
jmp 0x14002536f
jae 0x140025458
cmp r8, 0x201
jae 0x140025380
lea r13, [rbp - 0x60]
mov r15d, 0x200
mov r12, r8
jmp 0x1400253d7
sub r8, rsi
sub rbx, rsi
cmp rbx, r8
jae 0x1400253af
lea rcx, [rbp + 0x3e8]
mov rdx, rsi
call fcn.14003c910
mov rax, qword [rbp + 0x3e8]
mov qword [rbp + 0x418], rax
mov rdi, qword [rbp + 0x3f0]
mov eax, 0xffffffff
cmp rdi, rax
mov esi, 0xffffffff
cmovb rsi, rdi
mov qword [rbp + 0x3f8], rsi
mov rbx, rdi
mov r13, qword [rbp + 0x418]
mov r15, rsi
mov r12, rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbp + 0x410]
mov rdx, r13
mov r8d, r12d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov r14d, eax
test eax, eax
jne 0x140025407
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14002552b
mov r8d, r14d
cmp r12, r8
jne 0x140025360
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140025555
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x14002536f
jmp 0x140025380
lea rcx, [rbp - 0x58]
call fcn.140022f40
mov byte [rsi + 0x18], 2
jmp 0x1400254ea
cmp r15, r8
jb 0x14002556f
lea rcx, [rbp + 0x3a0]
mov rdx, r13
call fcn.140026c20
movups xmm0, xmmword [rbp + 0x3a0]
movups xmm1, xmmword [rbp + 0x3b0]
movaps xmmword [rbp + 0x3d0], xmm1
movaps xmmword [rbp + 0x3c0], xmm0
test rdi, rdi
je 0x1400254a9
add rdi, rdi
mov r8d, 2
mov rcx, qword [rbp + 0x418]
mov rdx, rdi
call fcn.1400126c0
cmp byte [rbp + 0x3d8], 2
jne 0x140025501
mov rsi, qword [rbp + 0x408]
mov byte [rsi + 0x18], 2
lea rcx, [rbp + 0x3c0]
call fcn.140022f40
mov rdx, qword [rbp + 0x400]
test rdx, rdx
je 0x1400254ea
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp + 0x410]
call fcn.1400126c0
mov rax, rsi
add rsp, 0x4a8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
movaps xmm0, xmmword [rbp + 0x3c0]
movaps xmm1, xmmword [rbp + 0x3d0]
mov rsi, qword [rbp + 0x408]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x400]
test rdx, rdx
jne 0x1400254d5
jmp 0x1400254ea
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x3c0], rax
mov byte [rbp + 0x3d8], 2
test rdi, rdi
jne 0x140025491
jmp 0x1400254a9
lea rcx, str.internal_error:_entered_unreachable_code_rustc_eb26296b556cef10fb713a38f3d16b9886080f26library_alloc_src_vecmod.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.14003d440
jmp 0x140025584
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, r15
mov r8, rax
call fcn.14003d890
ud2
Function at 0x140027620
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 0x140027650
test ecx, ecx
jne 0x1400276a0
movzx ebx, byte [rdi + 0x3a]
cmp al, 0xff
je 0x14002765c
test ecx, ecx
jne 0x1400276a0
mov rcx, rdi
call fcn.140027500
movzx eax, al
test bpl, bpl
jne 0x1400276a7
lea rdx, [rdi + 0x10]
xor ecx, ecx
cmp byte [rdi + 0x10], 6
cmove rdx, rcx
je case.0x140027693.2
movzx r8d, byte [rdx]
mov ecx, 6
lea r9, [0x140027818]
movsxd r8, dword [r9 + r8*4]
add r8, r9
jmp r8
mov rcx, qword [rdx + 0x10]
add rcx, 4
jmp case.0x140027693.2
xor eax, eax
test bpl, bpl
je 0x14002766c
xor ecx, ecx
add rax, rcx
movzx r10d, bl
lea rcx, [rax + r10]
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x1400277f9
mov r11, qword [rdi]
lea r8, [r11 + rcx]
cmp rdx, rcx
jne 0x1400276da
movzx r9d, byte [rdi + 0x10]
xor r10d, r10d
jmp 0x140027759
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 0x140027720
nop dword [rax + rax]
cmp byte [rdi], 0x5c
je 0x14002773b
inc rax
dec rdi
cmp rax, 1
jne 0x140027700
jmp 0x140027759
movzx ebx, byte [rdi]
cmp ebx, 0x2f
je 0x14002773b
cmp ebx, 0x5c
je 0x14002773b
inc rax
dec rdi
cmp rax, 1
jne 0x140027720
jmp 0x140027759
neg rax
add rcx, rax
inc rcx
cmp rdx, rcx
jb 0x140027807
add r11, rcx
mov r10d, 1
mov r8, r11
sub rdx, rcx
je 0x140027783
mov al, 9
cmp rdx, 2
je 0x140027787
cmp rdx, 1
jne 0x140027797
cmp byte [r8], 0x2e
jne 0x140027797
xor eax, eax
cmp r9b, 3
setae al
lea eax, [rax + rax*2]
add eax, 7
jmp 0x140027797
mov al, 0xa
jmp 0x140027797
cmp byte [r8], 0x2e
jne 0x140027797
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.0x140027693.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.0x140027693.2
mov ecx, 2
jmp case.0x140027693.2
lea r8, str.library_std_srcpath.rs
call fcn.14003d810
ud2
lea r8, str.library_std_srcpath.rs
call fcn.14003d810
ud2
Function at 0x14002bec0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x140043760]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x14002bf04
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x14002bf6a
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x14002bfa1
test eax, eax
js 0x14002bf7b
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14002bf94
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov byte [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.140026a90
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.1400231f0
mov ecx, 7
int 0x29
ud2

Function at 0x14003a740
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x14003a7ba
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x14003a7b0
cmp r10, r11
jb 0x14003a853
cmp r10, rdx
ja 0x14003a867
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x14003a7b2
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x14003a790
jmp 0x14003a827
ja 0x14003a7ba
mov r11, r10
cmp rax, r8
jne 0x14003a762
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14003a82b
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x14003a800
mov r8, r10
sub ecx, r9d
jns 0x14003a81e
jmp 0x14003a82d
cmp r10, rdx
je 0x14003a839
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14003a82d
xor al, 1
cmp r8, rdx
jne 0x14003a7e0
jmp 0x14003a82d
xor eax, eax
jmp 0x14003a82d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.called__Option::unwrap____on_a__None__valuefrom_str_radix_int:_must_lie_in_the_range___2__36_____found
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.14003d440
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.14003d910
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14003d890
ud2
Function at 0x14003c35c
Capabilities:
Parse pe header

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