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

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
movsxd rax, dword [rcx + 0x3c]
mov r13d, dword [rcx + rax + 0x88]
add r13, rcx
mov rsi, rcx
mov rbp, rdx
mov edi, dword [r13 + 0x18]
mov eax, dword [r13 + 0x20]
test edi, edi
je 0x1400119b0
xor ebx, ebx
lea r12, [rcx + rax]
jmp 0x140011971
add rbx, 1
cmp rdi, rbx
je 0x1400119b0
mov edx, dword [r12 + rbx*4]
mov rcx, rbp
add rdx, rsi
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140011968
mov eax, dword [r13 + 0x24]
lea rdx, [rsi + rbx*2]
movzx edx, word [rdx + rax]
mov eax, dword [r13 + 0x1c]
lea rdx, [rsi + rdx*4]
mov eax, dword [rdx + rax]
add rax, rsi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret

Function at 0x1400119c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x458
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov r15, qword [rax + 0x20]
lea rbx, [rax + 0x20]
xor eax, eax
lea r12, [rsp + 0x30]
mov r14, rcx
mov ecx, 0x41
mov qword [rsp + 0x28], rbx
mov rdi, r12
lea rbp, [rsp + 0x240]
rep stosq qword [rdi], rax
mov ecx, 0x41
mov rdi, rbp
rep stosq qword [rdi], rax
cmp rbx, r15
je 0x140011ac6
mov r13, qword [sym.imp.msvcrt.dll_wcscpy_s]
mov rsi, qword [sym.imp.msvcrt.dll__wcslwr_s]
xor ebx, ebx
nop
mov rax, rbx
mov ecx, 0x41
mov rdi, r12
mov edx, 0x104
rep stosq qword [rdi], rax
mov ecx, 0x41
mov rdi, rbp
rep stosq qword [rdi], rax
mov rcx, r12
mov r8, qword [r15 + 0x40]
call r13
mov r8, r14
mov edx, 0x104
mov rcx, rbp
call r13
mov edx, 0x104
mov rcx, rbp
call rsi
mov edx, 0x104
mov rcx, r12
call rsi
mov rdx, rbp
mov rcx, r12
call qword [sym.imp.SHELL32.dll_StrStrW]
test rax, rax
je 0x140011ab8
mov rdx, r14
lea rcx, section..rdata
call fcn.140011b30
mov rax, qword [r15 + 0x20]
add rsp, 0x458
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r15, qword [r15]
cmp qword [rsp + 0x28], r15
jne 0x140011a30
mov rdx, r14
lea rcx, str.no_such_dll:_s
call fcn.140011b30
xor eax, eax
jmp 0x140011a9e
Function at 0x2fc4d1450
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4d2530
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4d1e52
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f4108]
test eax, eax
je 0x2fc4d1eea
lea rax, [0x2fc4f40e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f4110]
mov qword [rbp - 8], rax
jmp 0x2fc4d1ece
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d1ec2
cmp qword [rbp - 0x10], 0
je 0x2fc4d1ec2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4d1e88
lea rax, [0x2fc4f40e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d1eeb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d1ff0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4d2018
mov eax, 0
jmp 0x2fc4d2066
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4d2041
mov eax, 0
jmp 0x2fc4d2066
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4d2061
mov eax, 0
jmp 0x2fc4d2066
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d6160
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4d7240
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4d6b62
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f9108]
test eax, eax
je 0x2fc4d6bfa
lea rax, [0x2fc4f90e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f9110]
mov qword [rbp - 8], rax
jmp 0x2fc4d6bde
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d6bd2
cmp qword [rbp - 0x10], 0
je 0x2fc4d6bd2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4d6b98
lea rax, [0x2fc4f90e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d6bfb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d6d00
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4d6d28
mov eax, 0
jmp 0x2fc4d6d76
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4d6d51
mov eax, 0
jmp 0x2fc4d6d76
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4d6d71
mov eax, 0
jmp 0x2fc4d6d76
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d6d7c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4d6dfa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d6df1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4d6df1
mov rax, qword [rbp - 8]
jmp 0x2fc4d6e0f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4d6dc4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d650c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4d658a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d6581
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4d6581
mov rax, qword [rbp - 8]
jmp 0x2fc4d659f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4d6554
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140002240
Capabilities:
Enumerate processes

Disassembly:
push rbp
sub rsp, 0x610
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x588], 0xfffffffffffffffe
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x18], rdx
mov byte [rbp + 0x18f], 0
mov ecx, 2
xor edx, edx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rbp - 0x28], rax
mov qword [rbp + 0x190], rax
mov qword [rbp + 0x558], 0
mov qword [rbp + 0x560], 0
mov qword [rbp + 0x570], 0
mov rcx, qword [rbp + 0x570]
mov qword [rbp + 0x568], rcx
cmp rax, qword [rbp + 0x568]
je 0x14000237e
mov byte [rbp + 0x19f], 0
mov qword [rbp + 0x1a0], 1
mov byte [rbp + 0x1af], 0
mov qword [rbp + 0x1b0], 1
lea rax, [rbp + 0x2e8]
mov qword [rbp + 0x548], rax
lea rax, [rbp + 0x2e8]
mov qword [rbp + 0x550], rax
lea rcx, [rbp + 0x2e8]
xor edx, edx
mov r8d, 0x130
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x1b8]
lea rdx, [rbp + 0x2e8]
mov r8d, 0x130
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbp + 0x418]
lea rdx, [rbp + 0x1b8]
mov r8d, 0x130
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbp - 8]
lea rdx, [rbp + 0x418]
mov r8d, 0x130
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbp - 0x28]
mov dword [rbp - 8], 0x130
mov dword [rbp + 0x12c], 0
lea rdx, [rbp - 8]
call sub.KERNEL32.dll_Process32First
cmp eax, 0
je 0x14000238a
jmp 0x1400023a1
mov dword [rbp - 0xc], 0
jmp 0x1400024eb
mov rcx, qword [rbp - 0x28]
call sub.KERNEL32.dll_CloseHandle
mov eax, dword [rbp + 0x12c]
mov dword [rbp - 0xc], eax
jmp 0x1400024eb
lea rcx, [rbp + 0x24]
mov qword [rbp + 0x578], rcx
mov qword [rbp + 0x580], 0x104
mov byte [rbp + 0x18f], 1
call fcn.1400174e0
mov qword [rbp + 0x150], rdx
mov qword [rbp + 0x148], rax
lea rcx, [rbp + 0x148]
call fcn.1400047a0
mov qword [rbp - 0x38], rdx
mov qword [rbp - 0x30], rax
jmp 0x1400023e7
mov rdx, qword [rbp - 0x38]
mov rcx, qword [rbp - 0x30]
call fcn.140001000
mov qword [rbp - 0x48], rdx
mov qword [rbp - 0x40], rax
jmp 0x1400023fe
mov r8, qword [rbp - 0x48]
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp + 0x170]
call fcn.140019f90
jmp 0x140002414
lea rdx, str.srcmain.rs
lea rcx, [rbp + 0x170]
call fcn.1400047c0
mov qword [rbp - 0x58], rdx
mov qword [rbp - 0x50], rax
jmp 0x140002431
mov r8, qword [rbp - 0x58]
mov rdx, qword [rbp - 0x50]
lea rcx, [rbp + 0x158]
call fcn.140004900
jmp 0x140002447
mov byte [rbp + 0x18f], 0
mov rcx, qword [rbp + 0x148]
mov rdx, qword [rbp + 0x150]
call fcn.140001a50
jmp 0x140002463
mov rax, qword [rbp + 0x168]
mov qword [rbp + 0x140], rax
movups xmm0, xmmword [rbp + 0x158]
movaps xmmword [rbp + 0x130], xmm0
mov byte [rbp + 0x18f], 0
lea rcx, [rbp + 0x130]
lea rdx, [rbp - 0x20]
call fcn.140001290
mov byte [rbp - 0x59], al
jmp 0x14000249b
mov al, byte [rbp - 0x59]
test al, 1
jne 0x1400024b6
jmp 0x1400024a4
mov rcx, qword [rbp - 0x28]
lea rdx, [rbp - 8]
call sub.KERNEL32.dll_Process32Next
mov dword [rbp - 0x60], eax
jmp 0x1400024c1
mov eax, dword [rbp]
mov dword [rbp + 0x12c], eax
jmp 0x1400024c9
mov eax, dword [rbp - 0x60]
cmp eax, 0
jne 0x1400024da
lea rcx, [rbp + 0x130]
call fcn.140001eb0
jmp 0x14000238a
lea rcx, [rbp + 0x130]
call fcn.140001eb0
jmp 0x1400023a1
mov eax, dword [rbp - 0xc]
add rsp, 0x610
pop rbp
ret
Function at 0x140007100
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], 0
mov qword [rbp + 0x3d0], 2
mov qword [rbp + 0x3d8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor ebx, ebx
xor edi, edi
xor r12d, r12d
cmp r8, 0x201
jae 0x1400071a0
jmp 0x14000718f
jae 0x140007260
cmp r8, 0x201
jae 0x1400071a0
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x1400071f8
sub r8, r12
sub rdi, r12
cmp rdi, r8
jae 0x1400071cf
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.14001cd70
mov rbx, qword [rbp + 0x3c8]
mov rax, qword [rbp + 0x3d0]
mov qword [rbp + 0x3e8], rax
mov eax, 0xffffffff
cmp rbx, rax
mov r12d, 0xffffffff
cmovb r12, rbx
mov qword [rbp + 0x3d8], r12
mov rdi, rbx
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 0x140007221
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400072c8
mov r8d, r14d
cmp r15, r8
jne 0x140007180
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400072f5
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x14000718f
jmp 0x1400071a0
cmp rsi, r8
jb 0x14000730f
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.140009120
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 rbx, rbx
je 0x1400072b1
add rbx, rbx
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rbx
call fcn.140004970
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 + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
test rbx, rbx
jne 0x140007299
jmp 0x1400072b1
lea rcx, str.internal_error:_entered_unreachable_code_rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrary_alloc_src_vecmod.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.14001d780
jmp 0x140007324
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.14001dbd0
ud2
Function at 0x14000d430
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 [0x140020290]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x14000d474
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 0x14000d4da
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x14000d511
test eax, eax
js 0x14000d4eb
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14000d504
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.140008e60
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.140005400
mov ecx, 7
int 0x29
ud2
Function at 0x14001b170
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x14001b1ea
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 0x14001b1e0
cmp r11, r10
ja 0x14001b281
cmp r10, rdx
ja 0x14001b293
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x14001b1e2
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x14001b1c0
jmp 0x14001b257
ja 0x14001b1ea
mov r11, r10
cmp rax, r8
jne 0x14001b192
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14001b25b
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 0x14001b230
mov r8, r10
sub ecx, r9d
jns 0x14001b24e
jmp 0x14001b25d
cmp r10, rdx
je 0x14001b269
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14001b25d
xor al, 1
cmp r8, rdx
jne 0x14001b210
jmp 0x14001b25d
xor eax, eax
jmp 0x14001b25d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x1400220fb]
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.14001d780
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.14001dc50
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14001dbd0
int3

Function at 0x14001c7d8
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x18000262d
lea rbx, [0x18003a320]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180002614
cmp r10, 2
jb 0x180002614
cmp byte [r9], r8b
jne 0x180002614
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x1800025f0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18000266f
lea rbx, [0x18003a320]
cmp r8b, 0x23
jne 0x180002653
cmp byte [r9], r8b
jne 0x180002653
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x180002640
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1800028e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbx, rcx
test rcx, rcx
jne 0x18000290f
mov r8d, 0x599
lea rdx, str.C:UsersAliceDesktopMenuSnowBreak_SImGui_DirectX_11_Kiero_Hook_masterImGui_DirectX_11_Kiero_Hookimguiimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x18000291b
mov qword [rdi], 0
lea rdx, [0x180039fe0]
mov rcx, rbx
call fcn.180002680
mov rbx, rax
test rax, rax
jne 0x18000293d
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x180002a14
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180002a14
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x180002a14
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180002a14
cmp rsi, 0xffffffffffffffff
je 0x180002a14
mov rax, qword [0x180047ae8]
test rax, rax
je 0x1800029b1
inc dword [rax + 0x3bc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x180002a14
mov r9, rbx
mov r8, rsi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rsi
je 0x180002a01
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x180047ae8]
test rax, rax
je 0x1800029f6
dec dword [rax + 0x3bc]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180002a1d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x180002a0f
mov qword [rdi], rsi
mov rax, rbp
jmp 0x180002a1f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180004da0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xc0], 0
mov rbx, rcx
mov edi, edx
jg 0x180004dd6
mov r8d, 0x502
lea rdx, str.C:UsersAliceDesktopMenuSnowBreak_SImGui_DirectX_11_Kiero_Hook_masterImGui_DirectX_11_Kiero_Hookimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd r8, dword [rbx + 0xc0]
mov rax, qword [rbx + 0xc8]
mov edx, dword [rax + r8*4 - 4]
lea r8, [0x18003a320]
not edx
movzx eax, dil
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x39]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x3a]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x3b]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov rax, qword [0x180047ae8]
xor edx, dword [r8 + rcx*4]
not edx
cmp dword [rax + 0x1a60], edx
jne 0x180004e50
mov dword [rax + 0x1a64], edx
cmp dword [rax + 0x1a9c], edx
jne 0x180004e5f
mov byte [rax + 0x1aa0], 1
mov rbx, qword [rsp + 0x30]
mov eax, edx
add rsp, 0x20
pop rdi
ret