joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14013a910
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
mov dword [r11 + 0x18], r8d
push r12
push r13
push r14
push r15
sub rsp, 0x48
mov r13, qword [rcx + 0x18]
mov r15, qword [rcx]
mov eax, r8d
mov r12, rdx
mov r14, rcx
test rdx, rdx
je 0x14013ab48
mov qword [r11 - 0x28], rdi
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x20], rsi
xor edi, edi
nop
cmp eax, 0x63
jne 0x14013a95d
movzx edx, byte [r12 + 1]
jmp 0x14013a960
movzx edx, al
mov byte [r14 + 0x1e1], dl
movzx ecx, byte [r12]
sub ecx, 0x69
je 0x14013aa6c
sub ecx, 1
je 0x14013aa3b
cmp ecx, 1
je 0x14013a9e3
mov rdx, qword [r12 + 0x10]
xor r8d, r8d
mov rcx, r15
call fcn.14010c3c0
mov byte [rsp + 0x30], 4
mov dword [rsp + 0x34], edi
mov byte [rsp + 0x31], 0
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x3c], edi
mov rbx, rax
test rax, rax
je 0x14013aacc
mov r9, qword [r14]
lea r8, [rsp + 0x30]
mov rdx, rax
mov rcx, r14
call fcn.140136cd0
mov rdx, rbx
mov rcx, r15
call fcn.14012d9e0
mov rdx, rbx
mov rcx, r15
call fcn.1400da6b0
jmp 0x14013aacc
mov rdx, qword [r12 + 0x28]
xor r9d, r9d
xor r8d, r8d
mov rcx, r15
call fcn.14010bbc0
mov rdx, qword [r12 + 0x30]
movzx edi, byte [r14 + 0x1e1]
xor r8d, r8d
mov rcx, r15
mov rsi, rax
call fcn.14010bee0
mov rdx, r12
mov rcx, r14
mov rbx, rax
call fcn.14013a7e0
mov r9, rsi
mov r8, rbx
mov rcx, r14
mov rdx, rax
mov dword [rsp + 0x20], edi
call fcn.14013b290
xor edi, edi
jmp 0x14013aacc
mov rdx, qword [r12 + 0x28]
xor r9d, r9d
xor r8d, r8d
mov rcx, r15
call fcn.14010bbc0
mov rdx, r12
mov rcx, r14
mov rbx, rax
call fcn.14013a7e0
mov r8, rbx
mov rdx, rax
mov rcx, r14
call fcn.14011bef0
jmp 0x14013aacc
movzx ebp, dl
mov rdx, qword [r12 + 0x38]
mov rcx, r15
call fcn.14010c2d0
mov rdx, qword [r12 + 0x10]
xor r8d, r8d
mov rcx, r15
mov rsi, rax
call fcn.14010c3c0
mov rdx, qword [r12 + 0x30]
xor r8d, r8d
mov rcx, r15
mov rdi, rax
call fcn.14010bee0
mov rdx, r12
mov rcx, r14
mov rbx, rax
call fcn.14013a7e0
mov r9, rdi
mov r8, rbx
mov rcx, r14
mov rdx, rax
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rsi
call fcn.140124930
xor edi, edi
cmp byte [r12], 0x74
je 0x14013ab1c
movsxd rbx, dword [r13 + 0x18]
cmp dword [r13 + 0x1c], ebx
jg 0x14013aae9
mov rcx, r13
call fcn.1400fa930
test eax, eax
jne 0x14013ab1c
mov rax, qword [r13 + 0x20]
inc dword [r13 + 0x18]
lea rcx, [rbx + rbx*2]
mov byte [rax + rcx*8], 0x3a
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edi
mov dword [rax + rcx*8 + 8], edi
mov dword [rax + rcx*8 + 0xc], edi
mov qword [rax + rcx*8 + 0x10], rdi
mov byte [rax + rcx*8 + 1], 0
mov byte [r13 + 0xa2], 0
mov r12, qword [r12 + 0x40]
mov eax, dword [rsp + 0x80]
test r12, r12
jne 0x14013a950
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
xor eax, eax
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
ret
Function at 0x140140fd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rax, qword [rcx]
xor r15d, r15d
mov rbp, r8
mov r8, rcx
mov rcx, qword [rsp + 0x90]
mov dword [rsp + 0x20], r15d
mov r14d, dword [rcx]
mov r13, qword [rcx + 0x10]
mov qword [rsp + 0x28], rax
mov edi, r15d
mov esi, r15d
mov r12, r15
test r14d, r14d
jle 0x140141199
nop word [rax + rax]
cmp esi, dword [rbp + 8]
jg 0x14014118c
mov rbx, qword [r13]
cmp byte [rbx], 0x98
jne 0x14014118c
cmp dword [rbx + 0x30], r9d
jne 0x14014118c
mov rdx, rbx
mov rcx, r8
call fcn.14010acf0
mov rdx, rax
test rax, rax
jne 0x14014106c
mov rax, qword [rsp + 0x28]
mov rdx, qword [rax + 0x38]
cmp qword [rbp], r15
je 0x1401410a3
cmp esi, dword [rbp + 8]
jge 0x1401410a3
mov rax, qword [rbp + 0x10]
mov r9d, dword [rax + r12*4]
mov rax, qword [rbp + 0x20]
cmp r9d, dword [rax + 8]
mov eax, 0xffffffff
cmove r9d, eax
mov rax, qword [rbp + 0x48]
movzx r10d, byte [rax + r12]
mov rax, qword [rbp + 0x50]
mov r8, qword [rax + r12*8]
jmp 0x1401410ad
mov r8, qword [rdx]
or r9d, 0xffffffff
mov r10d, r15d
movsx eax, word [rbx + 0x34]
cmp eax, r9d
jne 0x140141156
mov rdx, qword [rdx]
lea rbx, [0x1401be8d0]
movzx ecx, byte [rdx]
test cl, cl
je 0x1401410ed
nop dword [rax + rax]
movzx eax, byte [r8]
movzx ecx, cl
movzx eax, byte [rax + rbx]
cmp byte [rcx + rbx], al
jne 0x1401410ed
mov cl, byte [rdx + 1]
inc rdx
inc r8
test cl, cl
jne 0x1401410d0
movzx eax, byte [r8]
movzx ecx, byte [rax + rbx]
movzx eax, byte [rdx]
movzx eax, byte [rax + rbx]
cmp eax, ecx
jne 0x140141156
movzx eax, byte [r13 + 0x18]
movsxd rcx, dword [rsp + 0x98]
xor eax, r10d
cmp r12, rcx
jle 0x140141121
cmp eax, dword [rsp + 0x20]
jne 0x1401411d0
jmp 0x140141125
mov dword [rsp + 0x20], eax
inc edi
add r13, 0x20
test r9d, r9d
jns 0x140141163
mov r9d, dword [rsp + 0x88]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x90]
mov r8d, edi
call fcn.140140f20
test eax, eax
jne 0x140141163
mov edi, r14d
jmp 0x140141163
movsxd rax, dword [rsp + 0x98]
cmp r12, rax
jge 0x14014117f
mov r9d, dword [rsp + 0x88]
inc esi
inc r12
cmp edi, r14d
jge 0x14014118c
mov r8, qword [rsp + 0x70]
jmp 0x140141030
cmp esi, dword [rbp + 8]
jne 0x1401411d0
mov r9d, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x78]
cmp dword [rsp + 0x20], r15d
mov rax, qword [rsp + 0xa0]
setne r15b
cmp edi, r14d
mov dword [rax], r15d
jl 0x1401411b9
mov eax, 1
jmp 0x1401411d2
cmp byte [rbp + 0x2c], 0
je 0x1401411d0
cmp esi, dword [rbp + 8]
jne 0x1401411d0
mov r8d, edi
call fcn.140140f20
test eax, eax
je 0x1401411b2
xor eax, eax
mov rbx, qword [rsp + 0x80]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140155c73
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14025a030]
jne 0x14015566a
rol rcx, 0x10
test cx, 0xffff
jne 0x140155666
repz ret
ror rcx, 0x10
jmp 0x140155bcc
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14025fc20]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14025fd18]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140155c51
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14025fc20]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140155c73
mov rax, qword [rsp + 0x88]
mov qword [0x14025fd18], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14025fcb8], rax
mov rax, qword [0x14025fd18]
mov qword [0x14025fb90], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14025fca0], rax
mov dword [0x14025fb80], 0xc0000409
mov dword [0x14025fb84], 1
mov rax, qword [0x14025a030]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14025a038]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14025fc18], eax
mov ecx, 1
call sub.MSVCR90.dll___crt_debugger_hook
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1401b63c0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14025fc18], 0
jne 0x140155cfa
mov ecx, 1
call sub.MSVCR90.dll___crt_debugger_hook
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x1400157f0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x58
movaps xmmword [rsp + 0x40], xmm10
movaps xmmword [rsp + 0x30], xmm9
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp], xmm6
movdqa xmm0, xmmword [rcx]
movdqa xmm10, xmmword [rcx + 0x10]
movdqa xmm9, xmmword [rcx + 0x20]
movdqa xmm8, xmmword [rcx + 0x30]
movdqa xmm1, xmmword [rdx]
pxor xmm1, xmm0
movdqa xmm3, xmmword [rdx + 0x10]
pxor xmm3, xmm0
movdqa xmm4, xmmword [rdx + 0x20]
pxor xmm4, xmm0
movdqa xmm5, xmmword [rdx + 0x30]
pxor xmm5, xmm0
movdqa xmm2, xmmword [rdx + 0x40]
pxor xmm2, xmm0
movdqa xmm6, xmmword [rdx + 0x50]
pxor xmm6, xmm0
movdqa xmm7, xmmword [rdx + 0x60]
pxor xmm7, xmm0
pxor xmm0, xmmword [rdx + 0x70]
aesenc xmm1, xmm10
aesenc xmm3, xmm10
aesenc xmm4, xmm10
aesenc xmm5, xmm10
aesenc xmm2, xmm10
aesenc xmm6, xmm10
aesenc xmm7, xmm10
aesenc xmm0, xmm10
aesenc xmm1, xmm9
aesenc xmm3, xmm9
aesenc xmm4, xmm9
aesenc xmm5, xmm9
aesenc xmm2, xmm9
aesenc xmm6, xmm9
aesenc xmm7, xmm9
aesenc xmm0, xmm9
aesenc xmm1, xmm8
aesenc xmm3, xmm8
aesenc xmm4, xmm8
aesenc xmm5, xmm8
aesenc xmm2, xmm8
aesenc xmm6, xmm8
aesenc xmm7, xmm8
aesenc xmm0, xmm8
movdqa xmm8, xmmword [rcx + 0x40]
aesenc xmm1, xmm8
aesenc xmm3, xmm8
aesenc xmm4, xmm8
aesenc xmm5, xmm8
aesenc xmm2, xmm8
aesenc xmm6, xmm8
aesenc xmm7, xmm8
aesenc xmm0, xmm8
movdqa xmm8, xmmword [rcx + 0x50]
aesenc xmm1, xmm8
aesenc xmm3, xmm8
aesenc xmm4, xmm8
aesenc xmm5, xmm8
aesenc xmm2, xmm8
aesenc xmm6, xmm8
aesenc xmm7, xmm8
aesenc xmm0, xmm8
movdqa xmm8, xmmword [rcx + 0x60]
aesenc xmm1, xmm8
aesenc xmm3, xmm8
aesenc xmm4, xmm8
aesenc xmm5, xmm8
aesenc xmm2, xmm8
aesenc xmm6, xmm8
aesenc xmm7, xmm8
aesenc xmm0, xmm8
movdqa xmm8, xmmword [rcx + 0x70]
aesenc xmm1, xmm8
aesenc xmm3, xmm8
aesenc xmm4, xmm8
aesenc xmm5, xmm8
aesenc xmm2, xmm8
aesenc xmm6, xmm8
aesenc xmm7, xmm8
aesenc xmm0, xmm8
movdqa xmm8, xmmword [rcx + 0x80]
aesenc xmm1, xmm8
aesenc xmm3, xmm8
aesenc xmm4, xmm8
aesenc xmm5, xmm8
aesenc xmm2, xmm8
aesenc xmm6, xmm8
aesenc xmm7, xmm8
aesenc xmm0, xmm8
movdqa xmm8, xmmword [rcx + 0x90]
aesenc xmm1, xmm8
aesenc xmm3, xmm8
aesenc xmm4, xmm8
aesenc xmm5, xmm8
aesenc xmm2, xmm8
aesenc xmm6, xmm8
aesenc xmm7, xmm8
aesenc xmm0, xmm8
movdqa xmm8, xmmword [rcx + 0xa0]
aesenclast xmm1, xmm8
aesenclast xmm3, xmm8
movdqa xmmword [rdx], xmm1
movdqa xmmword [rdx + 0x10], xmm3
aesenclast xmm4, xmm8
movdqa xmmword [rdx + 0x20], xmm4
aesenclast xmm5, xmm8
movdqa xmmword [rdx + 0x30], xmm5
aesenclast xmm2, xmm8
aesenclast xmm6, xmm8
movdqa xmmword [rdx + 0x40], xmm2
movdqa xmmword [rdx + 0x50], xmm6
aesenclast xmm7, xmm8
movdqa xmmword [rdx + 0x60], xmm7
aesenclast xmm0, xmm8
movdqa xmmword [rdx + 0x70], xmm0
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
add rsp, 0x58
ret
Function at 0x140016650
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aeskeygenassist xmm0, xmmword [rdx], 2
movdqa xmmword [rcx], xmm0
ret
Function at 0x14001bb00
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 r12d, r12d
cmp r8, 0x201
jae 0x14001bb90
jmp 0x14001bb7f
jae 0x14001bc50
cmp r8, 0x201
jae 0x14001bb90
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x14001bbe8
sub r8, r12
sub rbx, r12
cmp rbx, r8
jae 0x14001bbbf
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.140032830
mov rax, qword [rbp + 0x3c8]
mov qword [rbp + 0x3e8], rax
mov rdi, qword [rbp + 0x3d0]
mov eax, 0xffffffff
cmp rdi, rax
mov r12d, 0xffffffff
cmovb r12, rdi
mov qword [rbp + 0x3d8], r12
mov rbx, rdi
mov rsi, r12
mov r13, qword [rbp + 0x3e8]
mov r15, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, r15d
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r14d, eax
test eax, eax
jne 0x14001bc11
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14001bcb8
mov r8d, r14d
cmp r15, r8
jne 0x14001bb70
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14001bcdb
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x14001bb7f
jmp 0x14001bb90
cmp rsi, r8
jb 0x14001bcf5
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.14001e520
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 0x14001bca1
add rdi, rdi
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rdi
call fcn.140016e10
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 0x14001bc89
jmp 0x14001bca1
lea rcx, str.internal_error:_entered_unreachable_code_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_alloc_src_vecmod.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.140033250
jmp 0x14001bd0a
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.1400336a0
ud2
Function at 0x14001bd60
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.140024180
mov rax, qword [rbp - 0x60]
mov qword [rbp + 0x408], rax
test rax, rax
je 0x14001bee6
mov qword [rbp + 0x400], rsi
mov rax, qword [rbp - 0x58]
mov qword [rbp + 0x418], rax
mov qword [rbp + 0x3e8], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x3f0], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x410], rax
xor edi, edi
xor ebx, ebx
xor r13d, r13d
cmp r8, 0x201
jae 0x14001be20
jmp 0x14001be0f
jae 0x14001bef8
cmp r8, 0x201
jae 0x14001be20
mov r15d, 0x200
lea r14, [rbp - 0x60]
mov r12, r8
jmp 0x14001be78
sub r8, r13
sub rbx, r13
cmp rbx, r8
jae 0x14001be4f
lea rcx, [rbp + 0x3e8]
mov rdx, r13
call fcn.140032830
mov rax, qword [rbp + 0x3e8]
mov qword [rbp + 0x410], rax
mov rdi, qword [rbp + 0x3f0]
mov eax, 0xffffffff
cmp rdi, rax
mov r13d, 0xffffffff
cmovb r13, rdi
mov qword [rbp + 0x3f8], r13
mov rbx, rdi
mov r15, r13
mov r14, qword [rbp + 0x410]
mov r12, r13
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbp + 0x408]
mov rdx, r14
mov r8d, r12d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
test eax, eax
jne 0x14001bea7
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14001bfcb
mov r8d, esi
cmp r12, r8
jne 0x14001be00
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14001bff5
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x14001be0f
jmp 0x14001be20
lea rcx, [rbp - 0x58]
call fcn.140019ba0
mov byte [rsi + 0x18], 2
jmp 0x14001bf8a
cmp r15, r8
jb 0x14001c00f
lea rcx, [rbp + 0x3a0]
mov rdx, r14
call fcn.14001e520
movups xmm0, xmmword [rbp + 0x3a0]
movups xmm1, xmmword [rbp + 0x3b0]
movaps xmmword [rbp + 0x3d0], xmm1
movaps xmmword [rbp + 0x3c0], xmm0
test rdi, rdi
je 0x14001bf49
add rdi, rdi
mov r8d, 2
mov rcx, qword [rbp + 0x410]
mov rdx, rdi
call fcn.140016e10
cmp byte [rbp + 0x3d8], 2
jne 0x14001bfa1
mov rsi, qword [rbp + 0x400]
mov byte [rsi + 0x18], 2
lea rcx, [rbp + 0x3c0]
call fcn.140019ba0
mov rdx, qword [rbp + 0x418]
test rdx, rdx
je 0x14001bf8a
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp + 0x408]
call fcn.140016e10
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 + 0x400]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x418]
test rdx, rdx
jne 0x14001bf75
jmp 0x14001bf8a
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 0x14001bf31
jmp 0x14001bf49
lea rcx, str.internal_error:_entered_unreachable_code_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_alloc_src_vecmod.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.140033250
jmp 0x14001c024
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, r15
mov r8, rax
call fcn.1400336a0
ud2
Function at 0x140022bb0
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 [0x1400362e0]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x140022bf4
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 0x140022c5a
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x140022c91
test eax, eax
js 0x140022c6b
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x140022c84
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 dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 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.14001e260
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.140019d40
mov ecx, 7
int 0x29
ud2
Function at 0x140030ae0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x140030b5a
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 0x140030b50
cmp r11, r10
ja 0x140030bf3
cmp r10, rdx
ja 0x140030c07
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x140030b52
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x140030b30
jmp 0x140030bc7
ja 0x140030b5a
mov r11, r10
cmp rax, r8
jne 0x140030b02
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x140030bcb
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 0x140030ba0
mov r8, r10
sub ecx, r9d
jns 0x140030bbe
jmp 0x140030bcd
cmp r10, rdx
je 0x140030bd9
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x140030bcd
xor al, 1
cmp r8, rdx
jne 0x140030b80
jmp 0x140030bcd
xor eax, eax
jmp 0x140030bcd
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.140033250
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140033720
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1400336a0
ud2

Function at 0x1400321e0
Capabilities:
Parse pe header

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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
push r13
sub rsp, 0xb0
xor ebx, ebx
mov dword [rsp + 0x20], ebx
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
mov r12d, ebx
xor eax, eax
lock cmpxchg qword [0x14000d868], rdi
je 0x1400081e8
cmp rax, rdi
jne 0x1400081db
mov r12d, 1
jmp 0x1400081e8
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400081c1
mov eax, dword [0x14000d860]
cmp eax, 1
jne 0x1400081fd
lea ecx, [rax + 0x1e]
call sub.msvcrt.dll__amsg_exit
jmp 0x140008264
mov eax, dword [0x14000d860]
cmp eax, ebx
jne 0x14000825a
mov dword [0x14000d860], 1
lea r13, [0x140001548]
lea rdi, [0x140001530]
mov qword [rsp + 0x30], rdi
mov eax, ebx
mov dword [rsp + 0x24], ebx
cmp rdi, r13
jae 0x14000824c
cmp eax, ebx
jne 0x14000824c
mov rcx, qword [rdi]
cmp rcx, rbx
je 0x140008241
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14000822a
cmp eax, ebx
je 0x140008264
mov eax, 0xff
jmp 0x1400083ac
mov dword [0x14000b554], 1
mov eax, dword [0x14000d860]
cmp eax, 1
jne 0x14000828c
lea rdx, [0x140001528]
lea rcx, [0x1400014b8]
call sub.msvcrt.dll__initterm
mov dword [0x14000d860], 2
cmp r12d, ebx
jne 0x14000829b
mov rax, rbx
xchg qword [0x14000d868], rax
cmp qword [0x14000d870], rbx
je 0x1400082c3
lea rcx, [0x14000d870]
call fcn.14000862c
cmp eax, ebx
je 0x1400082c3
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x14000d870]
mov rcx, qword [sym.imp.msvcrt.dll__wcmdln]
cmp qword [rcx], rbx
jne 0x1400082d9
mov eax, 0xff
jmp 0x1400083ac
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
ja 0x14000835e
cmp word [rcx], bx
je 0x1400082f4
cmp edx, ebx
jne 0x14000835e
cmp word [rcx], bx
je 0x14000830a
cmp word [rcx], 0x20
ja 0x14000830a
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1400082f4
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140003b3c
mov dword [0x14000b550], eax
cmp dword [0x14000b534], ebx
jne 0x140008348
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14000b554], ebx
jne 0x14000835c
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14000b550]
jmp 0x1400083ac
cmp word [rcx], 0x22
jne 0x140008371
mov eax, ebx
cmp edx, ebx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1400082e5
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r12, qword [r11 + 0x20]
mov rsp, r11
pop r13
ret
sub rsp, 0x28
call fcn.140156000
add rsp, 0x28
jmp 0x140008188