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

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1401bca7f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401bca7f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401bca7f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401bca7f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401bca7f
cmp dword [rcx + 0x84], 0xe
jbe 0x1401bca7f
cmp dword [rcx + 0xf8], 0
je 0x1401bca7f
mov ecx, ebx
call fcn.1401bcb30
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1401bc90c
nop
cmp dword [rbp + 0x20], 0
je 0x1401bcacd
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1401bcad8
int3
xor r8d, r8d
xor edx, edx
jmp 0x1401bca10

Function at 0x1401c8ba8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1401aebc0
sub rsp, rax
mov rax, qword [0x14027c940]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1401c8238
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1401c8bf7
mov rax, rbp
jmp 0x1401c8cff
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x28a7c0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1401d57f8
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x28a7c0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1401c8cfb
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1401c8cfb
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1401d57f8
test rax, rax
js 0x1401c8cfb
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1401c8cfb
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1401c8ced
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1401c8ced
cmp byte [rcx], 0xd
jne 0x1401c8cd3
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1401c8ce2
cmp byte [rcx + 1], 0xa
jne 0x1401c8ce2
inc rcx
jmp 0x1401c8ce2
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x27cf90]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1401c8cb5
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1401c8cff
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1401ae750
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401d17f0
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x14027c940]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x1401d183a
call fcn.1401b7340
mov dword [rax], SafeArrayGetDim
call fcn.1401b7360
mov dword [rax], SafeArrayGetDim
call fcn.1401b71f4
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401ae750
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x1401d1845
lea eax, [rbx + 1]
jmp 0x1401d1827
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x1401d1825
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x1401d1827
Function at 0x1401d4a30
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x14028a7c0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x1401d4a87
cmp word [rdx], r13w
jne 0x1401d4a87
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1401d4a8c
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1401d4bb1
mov r11d, SafeArrayGetDim
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1401d4bd2
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1401d4ac5
mov rdx, r9
mov word [rbx], cx
jmp 0x1401d4aec
cmp r9, r8
jae 0x1401d4afc
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x1401d4aa6
jmp 0x1401d4bb1
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1401d4ba6
cmp dword [rsp + 0x80], esi
je 0x1401d4ba6
lea r8, [0x14028a7c0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1401d4b7e
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1401d4b4e
mov word [rbx], r13w
jmp 0x1401d4bae
mov ecx, SafeArrayGetDim
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x1401d4b5b
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1401d4bae
cmp word [rsp + 0x70], r13w
jne 0x1401d4b8b
cmp rbx, r14
je 0x1401d4b48
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1401d5800
cmp word [rsp + 0x70], r13w
je 0x1401d4bb1
mov ecx, SafeArrayGetDim
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x14028a7c0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1401d4bab
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1401d4bb1
Function at 0x1401d599c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1401d59b2
mov al, 1
jmp 0x1401d5a12
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1401d59c3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1401d5a10
mov ecx, dword [rcx + 0x18]
nop
call fcn.1401c94e8
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1401d5a10
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1401d5a10
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1401d5a10
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1401d5a12
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1401d6bac
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1401d6c33
mov rsi, rbx
cmp word [rax], bp
je 0x1401d6bf2
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1401d6bdc
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1401d6bd8
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1401ce454
mov rdi, rax
test rax, rax
je 0x1401d6c20
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1401de4d0
mov rbp, rdi
xor ecx, ecx
call fcn.1401ce418
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1401d969c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.1401ce0b8
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1401d973d
cmp ebx, dword [rsp + 0x30]
je 0x1401d9736
test esi, esi
je 0x1401d9736
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1401d9711
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1401d971e
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1401d96fb
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1401d9722
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1401d973f
mov eax, 1
jmp 0x1401d973f
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1401de200
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1401de228
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1401de228
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140009a70
Capabilities:
Monitor clipboard content

Disassembly:
sub rsp, 0x1c8
lea rax, str.ClipboardMonitorClass
mov qword [rsp + 0xe8], rax
lea rax, [0x1400096e0]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x178], 0
mov qword [rsp + 0x180], 0
mov qword [rsp + 0x138], 0
mov qword [rsp + 0x140], 0
mov qword [rsp + 0x128], 0
mov qword [rsp + 0x130], 0
mov qword [rsp + 0x118], 0
mov qword [rsp + 0x120], 0
mov qword [rsp + 0x148], 0
mov qword [rsp + 0x150], 0
lea rax, str.ClipboardMonitorClass
mov qword [rsp + 0x1b8], rax
mov qword [rsp + 0x1c0], 0x16
mov dword [rsp + 0x68], 0x4000
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0
mov dword [rsp + 0x7c], 0
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa0], 0
lea rax, str.ClipboardMonitorClass
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x68]
call sub.USER32.dll_RegisterClassA
cmp ax, 0
jne 0x140009bb0
add rsp, 0x1c8
ret
lea rax, str.ClipboardMonitorClass
mov qword [rsp + 0x1a8], rax
mov qword [rsp + 0x1b0], 0x16
lea rax, str.Clipboard_Monitor
mov qword [rsp + 0x198], rax
mov qword [rsp + 0x1a0], 0x12
mov qword [rsp + 0x158], 0
mov qword [rsp + 0x160], 0
mov qword [rsp + 0x168], 0
mov qword [rsp + 0x170], 0
mov qword [rsp + 0x188], 0
mov qword [rsp + 0x190], 0
xor r9d, r9d
lea rdx, str.ClipboardMonitorClass
lea r8, str.Clipboard_Monitor
mov rax, 0xfffffffffffffffd
xor ecx, ecx
mov ecx, r9d
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
call sub.USER32.dll_CreateWindowExA
mov rcx, rax
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0xf0], rcx
call fcn.140002cd0
test al, 1
jne 0x140009ba8
mov rcx, qword [rsp + 0x60]
call sub.USER32.dll_AddClipboardFormatListener
mov qword [rsp + 0x108], 0
mov qword [rsp + 0x110], 0
mov qword [rsp + 0xb8], 0
mov dword [rsp + 0xc0], 0
mov qword [rsp + 0xc8], 0
mov qword [rsp + 0xd0], 0
mov dword [rsp + 0xd8], 0
mov dword [rsp + 0xdc], 0
mov dword [rsp + 0xe0], 0
mov qword [rsp + 0xf8], 0
mov qword [rsp + 0x100], 0
lea rcx, [rsp + 0xb8]
xor eax, eax
mov edx, eax
xor r9d, r9d
mov r8d, r9d
call sub.USER32.dll_GetMessageA
cmp eax, 0
jg 0x140009d62
mov rcx, qword [rsp + 0x60]
call sub.USER32.dll_RemoveClipboardFormatListener
jmp 0x140009ba8
lea rcx, [rsp + 0xb8]
call sub.USER32.dll_TranslateMessage
lea rcx, [rsp + 0xb8]
call sub.USER32.dll_DispatchMessageA
jmp 0x140009d1f

Function at 0x14000d5b0
Capabilities:
Open clipboard

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x30], rcx
call sub.USER32.dll_OpenClipboard
cmp eax, 0
jne 0x14000d5d6
call fcn.140006310
mov dword [rsp + 0x2c], eax
mov dword [rsp + 0x28], 1
jmp 0x14000d5de
mov dword [rsp + 0x28], 0
mov eax, dword [rsp + 0x28]
mov edx, dword [rsp + 0x2c]
add rsp, 0x38
ret
Function at 0x140040c30
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
sub rsp, 0xf8
mov r8, rdx
mov rdx, rcx
mov qword [rsp + 0x98], rdx
mov qword [rsp + 0xa0], r8
mov eax, 0xffffffff
mov eax, eax
mov r9d, eax
lea rcx, [rsp + 0x58]
lea rax, [0x1402cc1a8]
mov qword [rsp + 0x20], rax
call fcn.140040250
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x58]
call fcn.140040330
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x70]
call fcn.140040350
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rdx
mov rdx, qword [rsp + 0x88]
mov eax, 1
xor ecx, ecx
cmp rdx, 0
cmove rax, rcx
cmp rax, 0
jne 0x140040cde
mov dword [rsp + 0x3c], 0
jmp 0x140040d5b
mov rdx, qword [rsp + 0x88]
mov qword [rsp + 0x28], rdx
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0xa8], rdx
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xc8], 0
mov qword [rsp + 0xd0], 0
mov qword [rsp + 0xe8], rdx
mov qword [rsp + 0xf0], rax
mov r8d, eax
xor eax, eax
mov ecx, eax
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0xb8], eax
shr eax, 0x1e
cmp eax, 3
je 0x140040d67
jmp 0x140040c9d
mov eax, dword [rsp + 0x3c]
add rsp, 0xf8
ret
mov rcx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0xd8], rcx
mov qword [rsp + 0xe0], rax
mov edx, eax
call qword [sym.imp.ADVAPI32.dll_SystemFunction036]
mov byte [rsp + 0xbf], al
cmp al, 0
jne 0x140040c9d
mov ecx, dword [rsp + 0x38]
xor ecx, 0x80000000
mov dword [rsp + 0xc0], ecx
call fcn.1400400e0
mov ecx, eax
mov dword [rsp + 0xc4], ecx
call fcn.140040a60
mov dword [rsp + 0x3c], eax
jmp 0x140040d5b
Function at 0x1400c5620
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0xc8
mov qword [rsp + 0x38], r8
mov rax, rdx
mov rdx, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov rax, rcx
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x80], rdx
movabs rax, 0xcbf29ce484222325
mov qword [rsp + 0x50], rax
call fcn.1400c71f0
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rdx
lea rcx, [rsp + 0x58]
call fcn.1400f2980
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x68]
mov eax, 1
xor ecx, ecx
cmp rdx, 0
cmove rax, rcx
cmp rax, 0
jne 0x1400c56cf
mov rcx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
call fcn.1400e7440
mov rcx, rax
call fcn.14006bc80
mov qword [rsp + 0x30], rax
cmp rax, 0
je 0x1400c57cc
jmp 0x1400c57ac
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x88], rcx
mov rax, qword [rsp + 0x50]
mov dl, byte [rcx + 4]
mov byte [rsp + 0xc7], dl
movzx edx, dl
xor rax, rdx
mov qword [rsp + 0xb0], rax
movabs rdx, 0x100000001b3
mov qword [rsp + 0xb8], rdx
movabs rdx, 0x100000001b3
imul rax, rdx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov dl, byte [rcx + 5]
mov byte [rsp + 0xc6], dl
movzx edx, dl
xor rax, rdx
mov qword [rsp + 0xa0], rax
movabs rdx, 0x100000001b3
mov qword [rsp + 0xa8], rdx
movabs rdx, 0x100000001b3
imul rax, rdx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.1400e2a00
mov rcx, rax
mov rax, qword [rsp + 0x20]
xor rax, rcx
mov qword [rsp + 0x90], rax
movabs rcx, 0x100000001b3
mov qword [rsp + 0x98], rcx
movabs rcx, 0x100000001b3
imul rax, rcx
mov qword [rsp + 0x50], rax
jmp 0x1400c5676
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x28]
xor edx, edx
div rcx
mov rcx, rdx
call fcn.14006bb50
nop
add rsp, 0xc8
ret
lea rcx, [0x1402d75d8]
call fcn.1402c7250
int3
Function at 0x1400c5b80
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x98
mov qword [rsp + 0x20], rdx
mov rax, rcx
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rcx
movabs rax, 0xcbf29ce484222325
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
call fcn.1400e2a00
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov r8, rax
mov rax, qword [rsp + 0x30]
xor rax, r8
mov qword [rsp + 0x80], rax
movabs r8, 0x100000001b3
mov qword [rsp + 0x88], r8
movabs r8, 0x100000001b3
imul rax, r8
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov r8b, byte [rdx + 4]
mov byte [rsp + 0x97], r8b
movzx r8d, r8b
xor rax, r8
mov qword [rsp + 0x70], rax
movabs r8, 0x100000001b3
mov qword [rsp + 0x78], r8
movabs r8, 0x100000001b3
imul rax, r8
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov dl, byte [rdx + 5]
mov byte [rsp + 0x96], dl
movzx edx, dl
xor rax, rdx
mov qword [rsp + 0x60], rax
movabs rdx, 0x100000001b3
mov qword [rsp + 0x68], rdx
movabs rdx, 0x100000001b3
imul rax, rdx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x38], rax
call fcn.1400e74d0
mov rcx, rax
call fcn.14006bc80
mov qword [rsp + 0x40], rax
cmp rax, 0
je 0x1400c5cc0
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x38]
xor edx, edx
div rcx
mov rcx, rdx
call fcn.14006bb50
nop
add rsp, 0x98
ret
lea rcx, [0x1402d7638]
call fcn.1402c7250
int3
Function at 0x1402ae9e0
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 + 0x3d0], rcx
mov qword [rbp + 0x3d8], 0
mov qword [rbp + 0x3e0], 2
mov qword [rbp + 0x3e8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3c8], rax
xor esi, esi
xor edi, edi
xor ebx, ebx
cmp r8, 0x201
jae 0x1402aea80
jmp 0x1402aea6f
jae 0x1402aeb4e
cmp r8, 0x201
jae 0x1402aea80
mov r14d, 0x200
lea r15, [rbp - 0x58]
mov r12, r8
jmp 0x1402aeae6
sub r8, rbx
sub rdi, rbx
cmp rdi, r8
jae 0x1402aeabe
mov qword [rsp + 0x20], 2
mov r9d, 2
lea rcx, [rbp + 0x3d8]
mov rdx, rbx
call fcn.1402c5700
mov rsi, qword [rbp + 0x3d8]
mov rax, qword [rbp + 0x3e0]
mov qword [rbp + 0x3c8], rax
mov eax, 0xffffffff
cmp rsi, rax
mov ebx, 0xffffffff
cmovb rbx, rsi
mov qword [rbp + 0x3e8], rbx
mov rdi, rsi
mov r14, rbx
mov r15, qword [rbp + 0x3c8]
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 0x1402aeb0f
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1402aebba
mov r8d, r13d
cmp r12, r8
jne 0x1402aea60
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1402aebee
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x1402aea6f
jmp 0x1402aea80
cmp r14, r8
jb 0x1402aec08
lea rcx, [rbp + 0x3a8]
mov rdx, r15
call fcn.1402aff20
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3d0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
je 0x1402aeba3
mov rcx, qword [rbp + 0x3e0]
add rdx, rdx
mov r8d, 2
call fcn.14000e810
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 + 0x3d0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
jne 0x1402aeb8e
jmp 0x1402aeba3
lea rcx, str.internal_error:_entered_unreachable_code_rustc_90b35a6239c3d8bdabc530a6a0816f7ff89a0aaflibrary_alloc_src_vecmod.rs
lea r8, str.std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.1402c6a30
jmp 0x1402aec1d
lea rax, str.std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.1402c6ea0
ud2
Function at 0x1402b24d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r13
push r12

Function at 0x1402b4480
Capabilities:
Copy file

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x90
lea rbp, [rsp + 0x80]
mov qword [rbp + 8], 0xfffffffffffffffe
mov rsi, r9
mov rdi, r8
mov r8, rdx
mov rdx, rcx
lea rcx, [rbp - 0x38]
call fcn.1402b55f0
mov rax, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x30]
mov rcx, rax
neg rcx
jo 0x1402b44f2
mov rcx, qword [rbp - 0x28]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
mov qword [rbp - 0x10], rcx
lea rcx, [rbp - 0x50]
lea rdx, [rbp - 0x20]
mov r8b, 1
call fcn.1402b5f30
mov rcx, qword [rbp - 0x50]
mov rdx, qword [rbp - 0x48]
mov rax, rcx
neg rax
jno 0x1402b4505
mov eax, 1
add rsp, 0x90
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [rbp], rcx
mov qword [rbp - 8], rdx
lea rcx, [rbp - 0x38]
mov rdx, rdi
mov r8, rsi
call fcn.1402b55f0
mov rax, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x30]
mov rcx, rax
neg rcx
jo 0x1402b455c
mov rcx, qword [rbp - 0x28]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
mov qword [rbp - 0x10], rcx
lea rcx, [rbp - 0x50]
lea rdx, [rbp - 0x20]
mov r8b, 1
call fcn.1402b5f30
mov rsi, qword [rbp - 0x50]
mov rdx, qword [rbp - 0x48]
mov rax, rsi
neg rax
jno 0x1402b458f
mov rcx, qword [rbp - 8]
mov r14, qword [rbp]
mov eax, 1
test r14, r14
je 0x1402b44f7
add r14, r14
mov r8d, 2
mov rsi, rdx
mov rdx, r14
call fcn.14000e810
mov eax, 1
mov rdx, rsi
jmp 0x1402b44f7
mov qword [rbp - 0x20], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r8, [0x1402b46a0]
lea r9, [rbp - 0x20]
mov rcx, qword [rbp - 8]
mov rbx, rcx
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_CopyFileExW]
test eax, eax
mov r14, qword [rbp]
je 0x1402b4614
mov rdx, qword [rbp - 0x20]
test rsi, rsi
je 0x1402b45ee
add rsi, rsi
mov r8d, 2
mov rcx, rdi
mov rdi, rdx
mov rdx, rsi
call fcn.14000e810
mov rdx, rdi
test r14, r14
je 0x1402b460d
add r14, r14
mov r8d, 2
mov rcx, rbx
mov rsi, rdx
mov rdx, r14
call fcn.14000e810
mov rdx, rsi
xor eax, eax
jmp 0x1402b44f7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
test rsi, rsi
je 0x1402b4643
add rsi, rsi
mov r8d, 2
mov rcx, rdi
mov rdi, rdx
mov rdx, rsi
call fcn.14000e810
mov rdx, rdi
mov rcx, rbx
mov eax, 1
test r14, r14
jne 0x1402b456e
jmp 0x1402b44f7
Function at 0x1402b46c0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xb8
lea rbp, [rsp + 0x80]
mov rsi, rcx
mov rax, qword [rbp + 0x70]
mov qword [rbp - 8], r9
lea rcx, [rbp]
mov qword [rbp], rax
movups xmm0, xmmword [0x14034bfb0]
movaps xmmword [rbp + 0x10], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
xor r8d, r8d
test r9b, 1
cmove rcx, r8
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
lea rax, [rbp + 0x10]
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 0x1402b4756
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rbp + 0x10]
cmp eax, 0x103
je 0x1402b4783
test eax, eax
js 0x1402b4762
mov rdx, qword [rbp + 0x18]
xor eax, eax
jmp 0x1402b4779
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xb8
pop rsi
pop rbp
ret
mov dword [rbp + 0x28], 0
mov byte [rbp + 0x2c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x30]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x28]
lea rdx, [rbp - 0x38]
call fcn.1402afcb0
mov qword [rbp + 8], rax
lea rcx, [rbp + 8]
call fcn.1402ad020
mov ecx, 7
int 0x29
ud2
Function at 0x1402c5068
Capabilities:
Parse pe header

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