joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140127aa0
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x140248830]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x140240210]
test eax, eax
je 0x140127aeb
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140240210]
test eax, eax
jne 0x140127af4
call fcn.14000fd70
test eax, eax
je 0x140127b10
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140238178]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140127b18
xor eax, eax
jmp 0x140127b75
test rbx, rbx
jne 0x140127b38
lea rcx, str.ChooseColorW
call fcn.1400a6794
mov rbx, rax
test rax, rax
je 0x140127b43
mov qword [0x140248830], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x140127b58
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140127b5a
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140127b73
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x140130488
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x140248b10]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x140240210]
test eax, eax
je 0x1401304d3
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140240210]
test eax, eax
jne 0x1401304dc
call fcn.14000fd70
test eax, eax
je 0x1401304f8
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140238178]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140130500
xor eax, eax
jmp 0x14013055d
test rbx, rbx
jne 0x140130520
lea rcx, str.GetOpenFileNameW
call fcn.1400a6794
mov rbx, rax
test rax, rax
je 0x14013052b
mov qword [0x140248b10], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x140130540
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140130542
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14013055b
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x140130574
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x140248b18]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x140240210]
test eax, eax
je 0x1401305bf
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140240210]
test eax, eax
jne 0x1401305c8
call fcn.14000fd70
test eax, eax
je 0x1401305e4
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140238178]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1401305ec
xor eax, eax
jmp 0x140130649
test rbx, rbx
jne 0x14013060c
lea rcx, str.GetSaveFileNameW
call fcn.1400a6794
mov rbx, rax
test rax, rax
je 0x140130617
mov qword [0x140248b18], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x14013062c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14013062e
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140130647
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x140178d90
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x140249e88]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x140240210]
test eax, eax
je 0x140178ddb
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140240210]
test eax, eax
jne 0x140178de4
call fcn.14000fd70
test eax, eax
je 0x140178e00
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140238178]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140178e08
xor eax, eax
jmp 0x140178e65
test rbx, rbx
jne 0x140178e28
lea rcx, str.PrintDlgW
call fcn.1400a6794
mov rbx, rax
test rax, rax
je 0x140178e33
mov qword [0x140249e88], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x140178e48
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140178e4a
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140178e63
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x140179da4
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140179c0c
Function at 0x14018d968
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
test rcx, rcx
jne 0x14018d994
call fcn.14017a4c0
mov dword [rax], 0x16
call fcn.1401811b0
jmp 0x14018da9a
mov eax, dword [rcx + 0x18]
test al, 0x83
je 0x14018da9a
test al, 0x40
jne 0x14018da9a
test al, 2
je 0x14018d9b6
or eax, 0x20
mov dword [rcx + 0x18], eax
jmp 0x14018da9a
or eax, 1
mov dword [rcx + 0x18], eax
test eax, 0x10c
jne 0x14018d9ca
call fcn.14018b900
jmp 0x14018d9d1
mov rax, qword [rcx + 0x10]
mov qword [rcx], rax
mov rcx, rdi
call fcn.14017f4b4
mov r8d, dword [rdi + 0x24]
mov rdx, qword [rdi + 0x10]
mov ecx, eax
call fcn.14018ab38
mov dword [rdi + 8], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x14018da89
test byte [rdi + 0x18], 0x82
jne 0x14018da57
mov rcx, rdi
call fcn.14017f4b4
cmp eax, 0xffffffff
je 0x14018da42
mov rcx, rdi
call fcn.14017f4b4
cmp eax, 0xfffffffe
je 0x14018da42
mov rcx, rdi
call fcn.14017f4b4
mov rcx, rdi
lea rsi, [0x14024ab10]
movsxd rbx, eax
sar rbx, 5
call fcn.14017f4b4
and eax, 0x1f
imul rax, rax, 0x58
add rax, qword [rsi + rbx*8]
jmp 0x14018da49
lea rax, [0x14023e3f0]
mov al, byte [rax + 8]
and al, 0x82
cmp al, 0x82
jne 0x14018da57
bts dword [rdi + 0x18], 0xd
cmp dword [rdi + 0x24], 0x200
jne 0x14018da76
test byte [rdi + 0x18], 8
je 0x14018da76
test dword [rdi + 0x18], 0x400
jne 0x14018da76
mov dword [rdi + 0x24], 0x1000
mov rcx, qword [rdi]
add dword [rdi + 8], 0xfffffffe
movzx eax, word [rcx]
add rcx, 2
mov qword [rdi], rcx
jmp 0x14018da9f
neg eax
sbb eax, eax
and eax, 0x10
add eax, 0x10
or dword [rdi + 0x18], eax
and dword [rdi + 8], 0
mov eax, 0xffff
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140002f60
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140009950
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140009950
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140002fd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400100a4]
mov rbx, rcx
test esi, esi
jle 0x140003100
mov rax, qword [0x1400100a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000301b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400030a5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140003000
mov rcx, rbx
call fcn.140003a20
mov rdi, rax
test rax, rax
je 0x140003122
mov rax, qword [0x1400100a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140003b60
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400100a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140003107
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000309e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1400030b0
add dword [0x1400100a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400100a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000309e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140002f60
nop dword [rax]
xor esi, esi
jmp 0x140003028
mov rax, qword [0x1400100a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140002f60
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140002f60
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140003690
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140010100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400100e0]
test rbx, rbx
je 0x1400036ec
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x1400036e3
test rsi, rsi
je 0x1400036e3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400036c8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140003a20
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14000cea0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140003a40
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140003a48
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140003a40
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x140003a9d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140003a94
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140003a40
add rax, 0x28
cmp rax, r9
jne 0x140003a80
xor eax, eax
ret

Function at 0x140003aa0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000cea0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x140003abf
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140003ac8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x140003abf
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140003b60
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000cea0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140003b7f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140003b88
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140011212
Capabilities:
Terminate process

Disassembly:
jmp 0x140012c80
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 0x1400112b2
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015320
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015340
xor al, al
jmp 0x1400153c1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015353
xor al, al
jmp 0x1400153c1
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 0x14001537d
xor al, al
jmp 0x1400153c1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015391
xor al, al
jmp 0x1400153c1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400153a3
xor al, al
jmp 0x1400153c1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400153bf
xor al, al
jmp 0x1400153c1
mov al, 1
add rsp, 0x38
ret
Function at 0x140e6ac54
Capabilities:
Encode data using xor

Disassembly:
lea rsp, [rsp + 0x10]
jmp fcn.140e948ac
cmpsd dword [rsi], dword [rdi]
bts eax, eax
imul ax, ax
mov eax, dword [r10 + rax*2 - 0x5807ecb2]
jb 0x140e997f1
pushfq
pop rsi
mov qword [rsp + rdi*2 - 0xf2], rsi
mov esi, 0x26acb588
mov rsi, rax
mov rdi, rbp
push 0xffffffffb8bdd8bf
sar dword [rsp + 4], 0x4a
add al, 0x4a
js 0x140e8fc52
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rcx], bl
xchg ecx, eax
adc edx, dword [rbp - 0x1deb5e71]
xor eax, 0xa37b1df0
rcr byte [rdx], 0xc
add byte [rbp + 0x7e], dl
xchg edx, eax
xchg esi, eax
jns 0x140e6ac7d
sub al, 0x34
jo 0x140e6ad18
mov edx, 0x2b0b7704
sbb eax, ecx
wait
mov ebp, 0x7eccf29
js 0x140e6ac71
jne 0x140e6ac3e
rol qword [rdx], 0x32
frstor dword [rbp - 0x5d125b64]
jmp 0x140e6acd7
clc
and al, 0xc7
invalid
in al, 0x14
invalid
cld
and byte [rsp + 1], 0xc
setae byte [rsp + 5]
rep movsb byte [rdi], byte [rsi]
push qword [rsp + 8]
popfq
not word [rsp + 4]
jmp 0x140e56460
adc rbp, 3
push 0xffffffffcabebd1c
call fcn.140e6c481
push 0xffffffff991ad587
mov rsp, rbp
mov r8d, 0x3a84f81e
lea rcx, [r8*8 + 0x5b9cff18]
pop r10
pop r13
movsx r9d, r8w
pop rbp
pop rdx
pop r12
call fcn.140e8863f
call fcn.140e6d20c
mov dword [r10], edx
call fcn.140e75ccf
mov r9, r8
sub r8, 2
mov word [r8], r9w
call fcn.140e682ab
lea rsp, [rsp + 0x10]
jmp fcn.140e5c748
Function at 0x140003b70
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 0x140003c00
jmp 0x140003bef
jae 0x140003cc0
cmp r8, 0x201
jae 0x140003c00
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x140003c58
sub r8, r12
sub rbx, r12
cmp rbx, r8
jae 0x140003c2f
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.1400195f0
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 0x140003c81
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x140003d28
mov r8d, r14d
cmp r15, r8
jne 0x140003be0
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140003d4b
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x140003bef
jmp 0x140003c00
cmp rsi, r8
jb 0x140003d65
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.1400055c0
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 0x140003d11
add rdi, rdi
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rdi
call fcn.140001310
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 0x140003cf9
jmp 0x140003d11
lea rcx, str.internal_error:_entered_unreachable_code_rustc_cc66ad468955717ab92600c770da8c1601a4ff33library_alloc_src_vecmod.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.14001a080
jmp 0x140003d7a
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.14001a470
ud2
Function at 0x14000a470
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 [0x14001cbf8]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x14000a4b4
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 0x14000a51a
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x14000a551
test eax, eax
js 0x14000a52b
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14000a544
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
mov qword [rsp + 0x20], 0
lea rdx, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
lea rsi, [rsp + 0x78]
lea r9, [rsp + 0x50]
mov r8d, 1
mov rcx, rsi
call fcn.1400016c0
lea rcx, [rsp + 0x58]
mov rdx, rsi
call fcn.1400053c0
mov rcx, rax
call fcn.140001af0
mov ecx, 7
int 0x29
ud2
Function at 0x140017550
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x1400175ca
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 0x1400175c0
cmp r11, r10
ja 0x140017663
cmp r10, rdx
ja 0x140017677
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x1400175c2
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x1400175a0
jmp 0x140017637
ja 0x1400175ca
mov r11, r10
cmp rax, r8
jne 0x140017572
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14001763b
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 0x140017610
mov r8, r10
sub ecx, r9d
jns 0x14001762e
jmp 0x14001763d
cmp r10, rdx
je 0x140017649
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14001763d
xor al, 1
cmp r8, rdx
jne 0x1400175f0
jmp 0x14001763d
xor eax, eax
jmp 0x14001763d
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__valuelibrarycore_src_nummod.rsfrom_str_radix_int:_must_lie_in_the_range___2__36_____found
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.14001a080
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.14001a4e0
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14001a470
ud2

Function at 0x140019074
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x1400190be
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400190be
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400190be
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400190be
cmp dword [rcx + 0x84], 0xe
jbe 0x1400190be
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400190c0
xor al, al
add rsp, 0x28
ret
Function at 0x1400025d0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140009008]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
cmp qword [rcx + 0x68], 0
je 0x140002780
cmp byte [rcx + 0x71], 0
je 0x140002780
mov rax, qword [rcx]
mov edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
jne 0x14000262c
xor al, al
jmp 0x140002782
lea rcx, [rbp - 0x30]
call fcn.140001890
nop
mov r9, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x30]
nop
lea rdx, [rbp - 0x30]
cmp r9, 0x10
cmovae rdx, rcx
lea r8, [rbp - 0x30]
cmovae r8, rcx
mov r9, qword [rbp - 0x20]
add r9, rdx
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
lea rdx, [rdi + 0x74]
mov rcx, qword [rdi + 0x68]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140002693
sub eax, 1
je 0x140002697
sub eax, 2
mov r9, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x30]
je 0x140002742
xor bl, bl
jmp 0x140002744
mov byte [rdi + 0x71], 0
lea rax, [rbp - 0x30]
mov rcx, qword [rbp - 0x30]
mov r9, qword [rbp - 0x18]
cmp r9, 0x10
cmovae rax, rcx
mov rbx, qword [rbp - 0x38]
sub rbx, rax
je 0x1400026e5
lea rax, [rbp - 0x30]
cmp r9, 0x10
cmovae rax, rcx
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x30]
cmp rbx, rax
jne 0x14000268c
cmp byte [rdi + 0x71], 0
je 0x140002742
test rbx, rbx
jne 0x140002640
mov rdx, qword [rbp - 0x20]
mov rax, r9
sub rax, rdx
cmp rax, 8
jb 0x140002727
lea rax, [rdx + 8]
mov qword [rbp - 0x20], rax
lea rax, [rbp - 0x30]
cmp r9, 0x10
cmovae rax, rcx
xor ecx, ecx
mov qword [rax + rdx], rcx
mov byte [rax + rdx + 8], cl
jmp 0x140002636
mov byte [rsp + 0x20], 0
mov edx, 8
mov r9d, edx
lea rcx, [rbp - 0x30]
call fcn.140002ef0
jmp 0x140002636
mov bl, 1
cmp r9, 0x10
jb 0x14000277b
lea rdx, [r9 + 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002776
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002776
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003214
movzx eax, bl
jmp 0x140002782
mov al, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400031f0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret