joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100017da0
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
sub rsp, 0x440
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1000730b0]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov ebx, edx
mov rsi, rcx
mov rax, qword [rcx + 0x18]
mov rcx, qword [rax + 0x30]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, 0xffffffeb
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov rbp, rax
mov rcx, qword [rsi + 0x18]
mov rdx, qword [rcx + 0x30]
mov rcx, qword [rdx + 8]
mov edx, ebx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov r8d, 0x1f4
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [rsi + 0x2c], 0
je 0x10003343b
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.100022450
nop
mov rax, qword [rsi + 0x58]
lea r9, [rsp + 0x28]
mov r8, qword [rbp]
mov rdx, qword [rax]
mov rcx, qword [rsi + 0x20]
call fcn.100017e94
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jle 0x100033532
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.100001c30
mov rbx, qword [rsp + 0x470]
add rsp, 0x440
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rsi + 0x58]
mov r8, qword [rbp]
mov rdx, qword [rax]
mov rcx, qword [rsi + 0x20]
call fcn.100016fc4
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.100041494
nop
mov rax, qword [rsp + 0x20]
lea rdx, [rsp + 0x40]
sub rdx, rax
movzx ecx, word [rax]
cmp cx, word [rax + rdx]
jne 0x100033480
add rax, 2
test cx, cx
jne 0x10003346a
xor eax, eax
jmp 0x100033485
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
setne al
test al, al
je 0x100033508
mov rax, qword [rsi + 0x18]
mov rcx, qword [rax + 0x30]
lea edx, [rbx + 7]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rdi, rax
mov rcx, qword [rsi + 0x58]
mov r9b, 1
mov r8, qword [rbp]
mov rdx, qword [rcx]
mov rcx, qword [rsi + 0x20]
call fcn.10003cd30
mov rbx, qword [rbp + 8]
mov dl, 1
mov rcx, rsi
call fcn.10001776c
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.100027250
mov rdx, qword [rax]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x100033508
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x100017e26
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
jmp 0x100017e26
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
jmp 0x100017e6b
Function at 0x10001b9b8
Capabilities:
Terminate process

Disassembly:
xor eax, eax
test esi, esi
sete al
mov esi, eax
mov dword [rsp + 0x20], eax
jmp 0x10001bae0
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rdi
xor edx, edx
lea rcx, [0x100000000]
call fcn.10001d31c
mov dword [0x100073080], eax
cmp dword [0x100073074], 0
jne 0x10003c927
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
nop
jmp 0x10003c927
sub rsp, 0x28
call fcn.10001af28
add rsp, 0x28
jmp 0x10001b9d0
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
push r12
sub rsp, 0xb0
and dword [rsp + 0x20], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x100073048], rdi
jne 0x10003c8b9
mov eax, dword [0x1000730ac]
cmp eax, 1
je 0x10003c8d8
mov eax, dword [0x1000730ac]
test eax, eax
jne 0x10003c8ef
mov dword [0x1000730ac], 1
lea r12, [0x100063d98]
lea rdi, [0x100063d80]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], eax
cmp rdi, r12
jae 0x10001ba74
test eax, eax
jne 0x10001ba74
mov rcx, qword [rdi]
test rcx, rcx
je 0x10001ba69
call rcx
mov dword [rsp + 0x30], eax
add rdi, 8
mov qword [rsp + 0x38], rdi
jmp 0x10001ba52
test eax, eax
jne 0x10003c8e5
mov eax, dword [0x1000730ac]
cmp eax, 1
jne 0x10001baa4
lea rdx, [0x100063d78]
lea rcx, [0x100063ca8]
call sub.msvcrt.dll__initterm
mov dword [0x1000730ac], 2
test esi, esi
jne 0x10001bab1
xor eax, eax
xchg qword [0x100073048], rax
cmp qword [0x100075790], 0
jne 0x10003c8fe
mov rax, qword [sym.imp.msvcrt.dll__acmdln]
mov rdi, qword [rax]
mov qword [rsp + 0x28], rdi
mov esi, dword [rsp + 0x20]
cmp byte [rdi], 0x20
jbe 0x10001bafb
cmp byte [rdi], 0x22
je 0x100018672
movzx ecx, byte [rdi]
call qword [sym.imp.msvcrt.dll__ismbblead]
test eax, eax
jne 0x10003c93e
inc rdi
mov qword [rsp + 0x28], rdi
jmp 0x10001bad2
cmp byte [rdi], 0
je 0x10001bb04
test esi, esi
jne 0x10001bad7
cmp byte [rdi], 0
je 0x100019fe7
cmp byte [rdi], 0x20
ja 0x100019fe7
inc rdi
mov qword [rsp + 0x28], rdi
jmp 0x10001bb04
cmp rax, rdi
jne 0x10003c8c8
mov esi, 1
jmp 0x10001ba14
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10001ba03
lea ecx, [rax + 0x1e]
call sub.msvcrt.dll__amsg_exit
jmp 0x10001ba7c
mov eax, 0xff
jmp 0x10003c978
mov dword [0x100077e34], 1
jmp 0x10001ba7c
lea rcx, [0x100075790]
call fcn.10005d42c
test eax, eax
je 0x10001babf
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x100075790]
nop
jmp 0x10001babf
cmp dword [0x100077e34], 0
jne 0x10003c93c
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x100073080]
jmp 0x10003c978
inc rdi
mov qword [rsp + 0x28], rdi
jmp 0x10001baf1
lea r11, [rsp + 0xb0]
mov rsi, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop r12
ret
Function at 0x10002b220
Capabilities:
Hide graphical window

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rdi
sub rsp, 0x80
and qword [rax + 8], 0
mov rdi, rcx
mov rcx, qword [rcx + 0xc0]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x188
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
js 0x10002b412
cmp qword [rdi + 0xb0], 0
jne 0x10002b412
mov rcx, qword [rdi + 0xc0]
lea r9, [rsp + 0x60]
movsxd r8, eax
mov edx, 0x198
mov dword [rdi + 0xd0], eax
call qword [sym.imp.USER32.dll_SendMessageW]
mov r11, qword [rdi]
lea rdx, [rsp + 0x90]
mov rcx, rdi
call qword [r11]
cmp qword [rsp + 0x90], 0
je 0x10002b412
mov rcx, qword [rdi + 0xc0]
lea rdx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_GetClientRect]
mov ebx, dword [rsp + 0x6c]
cmp dword [rsp + 0x7c], ebx
cmovl ebx, dword [rsp + 0x7c]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
and qword [rsp + 0x58], 0
mov r8d, dword [rsp + 0x64]
mov edx, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x60]
mov qword [rsp + 0x50], rax
and qword [rsp + 0x48], 0
mov rax, qword [rdi + 0xc0]
sub ebx, r8d
mov qword [rsp + 0x40], rax
dec edx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], edx
inc ecx
mov dword [rsp + 0x28], r8d
mov r8, qword [rsp + 0x90]
mov dword [rsp + 0x20], ecx
lea rdx, str.EDIT
mov r9d, 0x50000046
mov ecx, 8
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rcx, qword [rsp + 0x90]
mov qword [rdi + 0xb0], rax
call sub.msvcrt.dll_free
mov edx, dword [rdi + 0xd4]
mov rcx, qword [rdi + 0xb0]
call fcn.10002502c
mov r9, qword [rdi + 0xb8]
mov rcx, qword [rdi + 0xb0]
lea rdx, [0x10002ab20]
mov r8d, 1
call sub.COMCTL32.dll_SetWindowSubclass
mov rcx, qword [rdi + 0xb0]
mov r8, rdi
mov edx, 0xffffffeb
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov r8, qword [rdi + 0x58]
mov rcx, qword [rdi + 0xb0]
xor r9d, r9d
lea edx, [r9 + 0x30]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 0xb0]
mov edx, 0xfffffff4
mov r8d, 0x19a
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov rcx, qword [rdi + 0xb0]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rdi + 0xb8]
mov edx, 0x41b
call qword [sym.imp.USER32.dll_GetDlgItem]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, qword [rdi + 0xb8]
mov edx, 0x41c
call qword [sym.imp.USER32.dll_GetDlgItem]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, qword [rdi + 0xb0]
call qword [sym.imp.USER32.dll_SetFocus]
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret
Function at 0x1000447f0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x5f0
mov rax, qword [0x1000730b0]
xor rax, rsp
mov qword [rsp + 0x5e0], rax
xor edi, edi
mov rbx, rcx
mov rcx, qword [rcx + 0xb0]
mov rbp, rdx
lea rdx, [rsp + 0x60]
lea r8d, [rdi + 0x64]
mov rsi, rdi
mov qword [rsp + 0x30], rdi
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [rsp + 0x60], di
jne 0x10004485b
cmp rbp, 0x2b
jne 0x100044854
mov rcx, rbx
call fcn.100044590
mov al, 1
jmp 0x100044a62
mov rcx, qword [0x100073578]
lea rdx, [rsp + 0x60]
mov r8d, 0x64
mov rcx, qword [rcx + 0x20]
call fcn.100003154
mov r9d, dword [0x100073064]
mov edx, 0x64
lea r8d, [rdx - 0x60]
lea rcx, [rsp + 0x60]
call fcn.100003a78
cmp eax, edi
jne 0x1000449e6
mov rcx, qword [0x100073578]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x60]
call fcn.1000132ac
cmp eax, edi
je 0x1000449d5
mov rcx, qword [rbx + 0xb0]
lea rdx, [rsp + 0x60]
mov r8d, 0x64
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rsi, qword [rsp + 0x30]
cmp rbp, 0xd
je 0x1000448df
cmp rbp, 9
jne 0x1000448ea
cmp word [rsp + 0x60], di
je 0x100044986
movsxd r8, dword [rbx + 0xd0]
mov rcx, qword [rbx + 0xc0]
xor r9d, r9d
mov edx, 0x182
call qword [sym.imp.USER32.dll_SendMessageW]
cmp word [rsp + 0x60], di
je 0x100044986
mov rax, qword [0x100073578]
mov r9, rsi
mov rcx, qword [rax + 0x20]
mov rax, qword [rcx]
cmp dword [rax + 0x358], edi
je 0x100044964
mov edx, dword [0x100073060]
mov eax, 0x2d
lea rcx, [0x1000747e0]
cmp ax, word [rsi]
lea rax, [rsp + 0x130]
mov dword [rsp + 0x28], 0x54
sete dil
mov qword [rsp + 0x20], rax
mov r8d, edi
call fcn.10005224c
lea r9, [rsp + 0x130]
movsxd r8, dword [rbx + 0xd0]
mov rcx, qword [rbx + 0xc0]
mov edx, 0x181
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd r8, dword [rbx + 0xd0]
jmp 0x1000449b0
mov rcx, qword [rbx + 0xc0]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x18b
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd rcx, dword [rbx + 0xd0]
lea r8, [rcx - 1]
cmp eax, ecx
je 0x1000449b0
mov r8, rcx
mov rcx, qword [rbx + 0xc0]
xor r9d, r9d
mov edx, 0x186
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rbx
call fcn.1000130b0
mov dil, 1
jmp 0x100044a56
mov rsi, qword [rsp + 0x30]
cmp rsi, rdi
je 0x1000449fa
mov qword [rsp + 0x48], rsi
jmp 0x100044a2b
cmp eax, 0x77
jne 0x1000449fa
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, 0x77
jmp 0x100044a07
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, 0xdd
lea r8, [rsp + 0x1e0]
mov r9d, 0x200
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadStringW]
lea rax, [rsp + 0x1e0]
mov qword [rsp + 0x48], rax
mov rcx, qword [rbx + 0xb0]
lea r9, [rsp + 0x38]
xor r8d, r8d
mov edx, 0x1503
mov dword [rsp + 0x38], 0x20
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x50], edi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_free]
mov al, dil
mov rcx, qword [rsp + 0x5e0]
xor rcx, rsp
call fcn.100001c30
lea r11, [rsp + 0x5f0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x10005d118
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x530
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x10005d183
and qword [rsp + 0x38], 0
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x50]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov r8, rbx
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
jmp 0x10005d1a3
mov rax, qword [rsp + 0x538]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x538]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add rsp, 0x530
pop rbx
ret
Function at 0x140003830
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x498
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x410], 0xfffffffffffffffe
mov qword [rbp + 0x3f0], rcx
mov qword [rbp + 0x3f8], 0
mov qword [rbp + 0x400], 2
mov qword [rbp + 0x408], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor esi, esi
xor edi, edi
xor ebx, ebx
cmp r8, 0x201
jae 0x1400038d0
jmp 0x1400038bf
jae 0x14000398f
cmp r8, 0x201
jae 0x1400038d0
mov r14d, 0x200
lea r15, [rbp - 0x60]
mov r12, r8
jmp 0x140003927
sub r8, rbx
sub rdi, rbx
cmp rdi, r8
jae 0x1400038ff
lea rcx, [rbp + 0x3f8]
mov rdx, rbx
call fcn.140017880
mov rsi, qword [rbp + 0x3f8]
mov rax, qword [rbp + 0x400]
mov qword [rbp + 0x3e8], rax
mov eax, 0xffffffff
cmp rsi, rax
mov ebx, 0xffffffff
cmovb rbx, rsi
mov qword [rbp + 0x408], rbx
mov rdi, rsi
mov r14, rbx
mov r15, qword [rbp + 0x3e8]
mov r12, rbx
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov ecx, r12d
mov rdx, r15
call qword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov r13d, eax
test eax, eax
jne 0x140003950
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x140003a09
mov r8d, r13d
cmp r12, r8
jne 0x1400038b0
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140003a3d
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x1400038bf
jmp 0x1400038d0
cmp r14, r8
jb 0x140003a57
lea rcx, [rbp + 0x3c8]
mov rdx, r15
call fcn.140004af0
movups xmm0, xmmword [rbp + 0x3c8]
movups xmm1, xmmword [rbp + 0x3d8]
movaps xmmword [rbp + 0x3b0], xmm1
movaps xmmword [rbp + 0x3a0], xmm0
mov rsi, qword [rbp + 0x3f0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x3f8]
test rdx, rdx
je 0x1400039f2
mov rcx, qword [rbp + 0x400]
add rdx, rdx
mov r8d, 2
call fcn.1400016a0
mov rax, rsi
add rsp, 0x498
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 + 0x3f0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rdx, qword [rbp + 0x3f8]
test rdx, rdx
jne 0x1400039dd
jmp 0x1400039f2
lea rcx, str.internal_error:_entered_unreachable_code_rustc_9b00956e56009bab2aa15d7bff10916599e3d6d6library_alloc_src_vecmod.rs
lea r8, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.140018490
jmp 0x140003a6c
lea rax, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.140018870
ud2
Function at 0x140008f30
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0xb0
mov rsi, rcx
movups xmm0, xmmword [0x14001af60]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
test r9, r9
je 0x140008f68
mov rcx, qword [rsp + 0xe0]
mov qword [rsp + 0x88], rcx
test r9, r9
mov qword [rsp + 0x80], r9
lea rcx, [rsp + 0x88]
cmove rcx, r9
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x140008fd1
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x140009005
test eax, eax
js 0x140008fe5
mov rdx, qword [rsp + 0x68]
xor eax, eax
add rsp, 0xb0
pop rsi
ret
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xb0
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 + 0x80], rax
mov qword [rsp + 0x88], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x90], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x98], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x80]
call fcn.1400048c0
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x78]
call fcn.140001fa0
mov ecx, 7
int 0x29
ud2
Function at 0x140015d70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x140015dea
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 0x140015de0
cmp r11, r10
ja 0x140015e75
cmp r10, rdx
ja 0x140015e87
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x140015de2
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x140015dc0
jmp 0x140015e57
ja 0x140015dea
mov r11, r10
cmp rax, r8
jne 0x140015d92
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x140015e5b
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 0x140015e30
mov r8, r10
sub ecx, r9d
jns 0x140015e4e
jmp 0x140015e5d
cmp r10, rdx
je 0x140015e69
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x140015e5d
xor al, 1
cmp r8, rdx
jne 0x140015e10
jmp 0x140015e5d
xor eax, eax
jmp 0x140015e5d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.140018380
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140018880
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140018870
int3
Function at 0x4144e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41466b
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x005a2908]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x414545
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x414554
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x414573
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x414583
cmp rbx, 0x1000
jae 0x41454b
jmp 0x4145ed
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x414595
xor edx, edx
jmp 0x4145e4
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x005a2908]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x414579
jmp 0x414568
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x005a2908]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call sym.runtime.printlock
lea rax, [0x004b4b17]
mov ebx, 0x18
nop dword [rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x004b4f30]
mov ebx, 0x19
nop dword [rax + rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x30]
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x004b6f4c]
mov ebx, 0x21
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.runtime.sysUnusedOS
Function at 0x4146a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4148c6
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call sym.runtime.stdcall4.abi0
xorps xmm15, xmm15
mov r14, qword [0x005a2908]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x414713
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x414722
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x414745
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x414755
cmp rbx, 0x1000
jae 0x414719
nop
jmp 0x4147d8
add rsp, 0x50
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
cmp rbx, 0x1000
jae 0x41476d
xor esi, esi
jmp 0x4147ca
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call sym.runtime.stdcall4.abi0
xorps xmm15, xmm15
mov r14, qword [0x005a2908]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x41474b
jmp 0x414736
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x005a2908]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x414860
nop dword [rax + rax]
call sym.runtime.printlock
lea rax, [0x004b4f49]
mov ebx, 0x19
call sym.runtime.printstring
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call sym.runtime.printuint
lea rax, [0x004b4f30]
mov ebx, 0x19
call sym.runtime.printstring
mov eax, dword [rsp + 0x34]
call sym.runtime.printuint
nop
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x004b1e13]
mov ebx, 0xd
call sym.runtime.throw
nop dword [rax + rax]
cmp eax, 0x5af
je 0x414800
call sym.runtime.printlock
lea rax, [0x004b4f49]
mov ebx, 0x19
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x004b4f30]
mov ebx, 0x19
call sym.runtime.printstring
mov eax, dword [rsp + 0x34]
nop dword [rax]
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x004b680b]
mov ebx, 0x1f
nop dword [rax + rax]
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp sym.runtime.sysUsedOS