joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140013810
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x140213010]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rbx, rcx
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
and edx, 0xfff0
cmp edx, 0xf000
ja 0x14001388b
je 0x140013879
cmp edx, 1
jne case.0x1400139ac.61745
lea r8d, [rdx + 0xb]
lea rdx, str.SCF_ISSECURE
jmp 0x140013a06
mov r8d, 7
lea rdx, str.SC_SIZE
jmp 0x140013a06
cmp edx, 0xf120
ja 0x140013986
je 0x140013974
add edx, 0xffff0ff0
cmp edx, 0xf0
ja case.0x1400139ac.61745
mov eax, edx
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x13b30]
mov ecx, dword [rdx + rax*4 + 0x13b04]
add rcx, rdx
jmp rcx
mov r8d, 8
lea rdx, str.SC_CLOSE
jmp 0x140013a06
mov r8d, 0xa
lea rdx, str.SC_HSCROLL
jmp 0x140013a06
mov r8d, 0xa
lea rdx, str.SC_KEYMENU
jmp 0x140013a06
lea rdx, str.SC_MAXIMIZE
jmp 0x140013a00
lea rdx, str.SC_MINIMIZE
jmp 0x140013a00
mov r8d, 0xc
lea rdx, str.SC_MOUSEMENU
jmp 0x140013a06
mov r8d, 7
lea rdx, str.SC_MOVE
jmp 0x140013a06
mov r8d, 0xd
lea rdx, str.SC_NEXTWINDOW
jmp 0x140013a06
mov r8d, 0xd
lea rdx, str.SC_PREVWINDOW
jmp 0x140013a06
mov r8d, 0xa
lea rdx, str.SC_VSCROLL
jmp 0x140013a06
mov r8d, 0xa
lea rdx, str.SC_RESTORE
jmp 0x140013a06
add edx, 0xffff0ed0
cmp edx, 0x50
ja case.0x1400139ac.61745
mov eax, edx
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x13c40]
mov ecx, dword [rdx + rax*4 + 0x13c24]
add rcx, rdx
jmp rcx
mov r8d, 0xe
lea rdx, str.SC_CONTEXTHELP
jmp 0x140013a06
mov r8d, 0xa
lea rdx, str.SC_DEFAULT
jmp 0x140013a06
mov r8d, 9
lea rdx, str.SC_HOTKEY
jmp 0x140013a06
mov r8d, 0xf
lea rdx, str.SC_MONITORPOWER
jmp 0x140013a06
mov r8d, 0xd
lea rdx, str.SC_SCREENSAVE
jmp 0x140013a06
lea rdx, str.SC_TASKLIST
mov r8d, 0xb
lea rcx, [rsp + 0x30]
call fcn.140015b80
lea rax, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, str._s:SYSTEMCOMMAND:_s_n
mov edx, 0x200
lea rcx, [rsp + 0x60]
call fcn.140009740
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [rsp + 0x50], 0
cmp rax, 0xffffffffffffffff
je 0x140013aa1
lea rcx, [rsp + 0x60]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rcx + r8], 0
jne 0x140013a70
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140013aa1
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140013ae1
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013adc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140013adc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14019d294
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.14019ce50
mov rbx, qword [rsp + 0x288]
add rsp, 0x270
pop rbp
ret
Function at 0x14001bd40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea rax, vtable.Gravity.0
xorps xmm0, xmm0
mov qword [rcx], rax
xorps xmm1, xmm1
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm1
mov rax, qword [rdx + 0x40]
mov qword [rcx + 0x40], rax
mov eax, dword [rdx + 0x48]
mov dword [rcx + 0x48], eax
mov eax, dword [rdx + 0x4c]
mov dword [rcx + 0x4c], eax
mov eax, dword [rdx + 0x50]
mov dword [rcx + 0x50], eax
mov eax, dword [rdx + 0x54]
mov dword [rcx + 0x54], eax
mov eax, dword [rdx + 0x58]
mov dword [rcx + 0x58], eax
mov eax, dword [rdx + 0x5c]
mov dword [rcx + 0x5c], eax
mov eax, dword [rdx + 0x60]
mov dword [rcx + 0x60], eax
mov eax, dword [rdx + 0x64]
mov dword [rcx + 0x64], eax
mov eax, dword [rdx + 0x68]
mov dword [rcx + 0x68], eax
mov eax, dword [rdx + 0x6c]
mov dword [rcx + 0x6c], eax
mov eax, dword [rdx + 0x70]
mov dword [rcx + 0x70], eax
mov eax, dword [rdx + 0x74]
mov dword [rcx + 0x74], eax
mov eax, dword [rdx + 0x78]
mov dword [rcx + 0x78], eax
mov eax, dword [rdx + 0x7c]
mov dword [rcx + 0x7c], eax
mov eax, dword [rdx + 0x80]
mov dword [rcx + 0x80], eax
movzx eax, byte [rdx + 0x84]
mov byte [rcx + 0x84], al
movzx eax, byte [rdx + 0x85]
mov byte [rcx + 0x85], al
mov eax, dword [rdx + 0x88]
mov dword [rcx + 0x88], eax
mov eax, dword [rdx + 0x8c]
mov dword [rcx + 0x8c], eax
mov eax, dword [rdx + 0x90]
mov dword [rcx + 0x90], eax
movzx eax, byte [rdx + 0xb0]
mov byte [rcx + 0xb0], al
mov eax, dword [rdx + 0x10]
mov dword [rcx + 0x10], eax
mov eax, dword [rdx + 0x30]
mov dword [rcx + 0x30], eax
mov eax, dword [rdx + 0xa0]
mov dword [rcx + 0xa0], eax
mov eax, dword [rdx + 0x14]
mov dword [rcx + 0x14], eax
mov eax, dword [rdx + 0x34]
mov dword [rcx + 0x34], eax
mov eax, dword [rdx + 0xa4]
mov dword [rcx + 0xa4], eax
mov eax, dword [rdx + 0x18]
mov dword [rcx + 0x18], eax
mov eax, dword [rdx + 0x38]
mov dword [rcx + 0x38], eax
mov eax, dword [rdx + 0xa8]
mov dword [rcx + 0xa8], eax
mov eax, dword [rdx + 0x1c]
mov dword [rcx + 0x1c], eax
mov eax, dword [rdx + 0x3c]
mov dword [rcx + 0x3c], eax
mov eax, dword [rdx + 0xac]
mov dword [rcx + 0xac], eax
mov rax, rcx
ret
Function at 0x14001ce40
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x20
mov esi, r8d
mov rbp, rdx
mov rbx, rcx
lea rax, vtable.MagnetosphereModel.0
mov qword [rcx], rax
xor r14d, r14d
mov qword [rcx + 8], r14
lea ecx, [r14 + 0x28]
call fcn.14019d258
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
lea rcx, vtable.GravityControl.0
mov qword [rax], rcx
mov dword [rax + 8], 3
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], r14
mov qword [rax + 0x20], r14
mov qword [rbx + 0x10], rax
xor eax, eax
movups xmmword [rbx + 0x18], xmm0
movups xmmword [rbx + 0x28], xmm0
movups xmmword [rbx + 0x38], xmm0
movups xmmword [rbx + 0x48], xmm0
movups xmmword [rbx + 0x58], xmm0
movups xmmword [rbx + 0x68], xmm0
mov qword [rbx + 0x78], rax
lea rcx, [rbx + 0x80]
call fcn.14001f220
nop
mov qword [rbx + 0xb0], r14
mov dword [rbx + 0xb8], r14d
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x51eb851f
imul r8d
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x64
sub r8d, ecx
mov dword [rbx + 0xbc], r8d
mov ecx, 0x1388
call fcn.14019d258
mov rdi, rax
mov qword [rsp + 0x48], rax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rdi + 0x1384], 0xffffffff
mov dword [rdi + 4], eax
lea edx, [r14 + 1]
lea r8, [rdi + 8]
mov r9d, 0x26f
nop
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [r8], eax
inc edx
lea r8, [r8 + 4]
sub r9, 1
jne 0x14001cf40
mov dword [rdi], 0x270
mov qword [rbx + 0xc8], rdi
mov word [rbx + 0xd0], r9w
mov dword [rbx + 0xd4], r14d
mov dword [rbx + 0xd8], esi
mov qword [rbx + 0xe0], rbp
mov dword [rbx + 0xe8], r14d
mov qword [rbx + 0xf0], r14
mov rax, rbx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x14001fec0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [rdx + 0x10]
mov dword [rcx + 0x10], eax
mov eax, dword [rdx + 0x14]
mov dword [rcx + 0x14], eax
mov eax, dword [rdx + 0x18]
mov dword [rcx + 0x18], eax
mov eax, dword [rdx + 0x1c]
mov dword [rcx + 0x1c], eax
mov eax, dword [rdx + 0x20]
mov dword [rcx + 0x20], eax
mov eax, dword [rdx + 0x24]
mov dword [rcx + 0x24], eax
mov eax, dword [rdx + 0x28]
mov dword [rcx + 0x28], eax
mov eax, dword [rdx + 0x2c]
mov dword [rcx + 0x2c], eax
mov eax, dword [rdx + 0x30]
mov dword [rcx + 0x30], eax
mov eax, dword [rdx + 0x34]
mov dword [rcx + 0x34], eax
mov eax, dword [rdx + 0x38]
mov dword [rcx + 0x38], eax
mov eax, dword [rdx + 0x3c]
mov dword [rcx + 0x3c], eax
mov rax, qword [rdx + 0x40]
mov qword [rcx + 0x40], rax
mov eax, dword [rdx + 0x48]
mov dword [rcx + 0x48], eax
mov eax, dword [rdx + 0x4c]
mov dword [rcx + 0x4c], eax
mov eax, dword [rdx + 0x50]
mov dword [rcx + 0x50], eax
mov eax, dword [rdx + 0x54]
mov dword [rcx + 0x54], eax
mov eax, dword [rdx + 0x58]
mov dword [rcx + 0x58], eax
mov eax, dword [rdx + 0x5c]
mov dword [rcx + 0x5c], eax
mov eax, dword [rdx + 0x60]
mov dword [rcx + 0x60], eax
mov eax, dword [rdx + 0x64]
mov dword [rcx + 0x64], eax
mov eax, dword [rdx + 0x68]
mov dword [rcx + 0x68], eax
mov eax, dword [rdx + 0x6c]
mov dword [rcx + 0x6c], eax
mov eax, dword [rdx + 0x70]
mov dword [rcx + 0x70], eax
mov eax, dword [rdx + 0x74]
mov dword [rcx + 0x74], eax
mov eax, dword [rdx + 0x78]
mov dword [rcx + 0x78], eax
mov eax, dword [rdx + 0x7c]
mov dword [rcx + 0x7c], eax
mov eax, dword [rdx + 0x80]
mov dword [rcx + 0x80], eax
movzx eax, byte [rdx + 0x84]
mov byte [rcx + 0x84], al
movzx eax, byte [rdx + 0x85]
mov byte [rcx + 0x85], al
mov eax, dword [rdx + 0x88]
mov dword [rcx + 0x88], eax
mov eax, dword [rdx + 0x8c]
mov dword [rcx + 0x8c], eax
mov eax, dword [rdx + 0x90]
mov dword [rcx + 0x90], eax
mov eax, dword [rdx + 0xa0]
mov dword [rcx + 0xa0], eax
mov eax, dword [rdx + 0xa4]
mov dword [rcx + 0xa4], eax
mov eax, dword [rdx + 0xa8]
mov dword [rcx + 0xa8], eax
mov eax, dword [rdx + 0xac]
mov dword [rcx + 0xac], eax
movzx eax, byte [rdx + 0xb0]
mov byte [rcx + 0xb0], al
mov rax, rcx
ret
Function at 0x1400201f0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x270
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x140020251
lea r8, [r10 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x140020210
mov ecx, dword [r10]
jmp 0x14002033a
cmp ecx, 0x4e0
jb 0x14002033a
lea r11, [r10 + 0x9c4]
mov qword [rsp], rbx
mov eax, dword [r11]
mov ebx, 0xe3
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140020270
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop word [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x1400202c0
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x140030840
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, 0x13c8
call fcn.14019df70
sub rsp, rax
mov rax, qword [0x140213010]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
mov ecx, 0x1571
mov dword [rsp + 0x13a4], 0xffffffff
mov r8d, 1
mov dword [rsp + 0x24], ecx
mov edx, r8d
nop dword [rax]
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, r8d
inc r8d
mov dword [rsp + rdx*4 + 0x24], ecx
inc rdx
cmp rdx, 0x270
jl 0x140030880
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x270
call fcn.1400201f0
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.14019ce50
add rsp, 0x13c8
ret

Function at 0x14004ca50
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
mov eax, 0x13d0
call fcn.14019df70
sub rsp, rax
movaps xmmword [rsp + 0x13c0], xmm6
mov rax, qword [0x140213010]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
mov eax, dword [rcx + 0x35b0]
movaps xmm6, xmm1
mov rbx, rcx
test eax, eax
jne 0x14004ca9b
cmp dword [rcx + 0x35a8], eax
jne 0x14004ca9b
test r8b, 1
je 0x14004cbc2
test r8b, 2
jne 0x14004cb60
test r8b, 1
je 0x14004cab8
cmp dword [rcx + 0x35a8], 0
jne 0x14004cb60
test eax, eax
je 0x14004cbc2
comisd xmm6, xmmword [rcx + 0x3588]
jbe 0x14004cbc2
mov rax, qword [rcx + 0x2038]
mov rcx, qword [rax + 0x20]
cmp byte [rcx + 0x2c], 0
je 0x14004cbc2
mov r8d, dword [rbx + 0x35a8]
mov rcx, rbx
mov edx, dword [rbx + 0x3598]
call fcn.14004af80
mov edx, 0x1571
mov dword [rsp + 0x13a4], 0xffffffff
mov r8d, 1
mov dword [rsp + 0x24], edx
mov ecx, r8d
nop word [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, r8d
inc r8d
mov dword [rsp + rcx*4 + 0x24], edx
inc rcx
cmp rcx, 0x270
jl 0x14004cb20
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x270
call fcn.1400201f0
add eax, 2
mov dword [rbx + 0x35a8], eax
jmp 0x14004cb72
mov r8d, dword [rcx + 0x35a8]
mov edx, dword [rcx + 0x3598]
call fcn.14004af80
mov rax, qword [rbx + 0x2038]
mov rcx, qword [rax + 0x20]
cmp byte [rcx + 0x2c], 0
je 0x14004cba8
cmp qword [rbx + 0x35a0], 0
je 0x14004cba8
mov byte [rcx + 0x2c], 0
mov rcx, qword [rbx + 0x2038]
mov rdx, qword [rbx + 0x35a0]
mov rcx, qword [rcx + 0x20]
call fcn.14004f580
addsd xmm6, qword [rbx + 0x3590]
mov dword [rbx + 0x359c], 0x28
movsd qword [rbx + 0x3588], xmm6
cmp dword [rbx + 0x35b0], 0
jne 0x14004cc0a
cmp byte [rbx + 0x3700], 0
jne 0x14004cc0a
mov rax, qword [rbx + 0x2038]
mov rcx, qword [rax + 0x20]
cmp byte [rcx + 0x2c], 0
je 0x14004cc0a
cmp qword [rbx + 0x35a0], 0
je 0x14004cc0a
mov byte [rcx + 0x2c], 0
mov rcx, qword [rbx + 0x2038]
mov rdx, qword [rbx + 0x35a0]
mov rcx, qword [rcx + 0x20]
call fcn.14004f580
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.14019ce50
movaps xmm6, xmmword [rsp + 0x13c0]
add rsp, 0x13d0
pop rbx
ret
Function at 0x14019c7f0
Capabilities:
Check if file exists
Get file attributes
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
mov eax, 0x2070
call fcn.14019df70
sub rsp, rax
mov rax, qword [0x140213010]
xor rax, rsp
mov qword [rsp + 0x2060], rax
mov rbp, r8
mov rbx, rdx
mov qword [rsp + 0x40], r8
xor edx, edx
mov r8d, 0x2000
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x1000
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor r14d, r14d
test eax, eax
je 0x14019c947
mov edi, 0x5c
mov edx, edi
lea rcx, [rsp + 0x60]
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
test rax, rax
je 0x14019c947
mov dword [rax], edi
mov r8, rbx
mov edx, 0x1000
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14019c947
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
test rax, rax
je 0x14019c947
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test eax, eax
je 0x14019c93d
mov ecx, edi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x14019c93d
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8d, edi
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14019c934
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x48], rbx
mov rcx, qword [rbp + 0x38]
test rcx, rcx
jne 0x14019c924
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
mov rax, qword [rcx]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x48]
call qword [rax + 0x10]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x14019c960
mov rax, qword [rcx]
cmp rcx, rbp
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0x38], r14
mov rcx, qword [rsp + 0x2060]
xor rcx, rsp
call fcn.14019ce50
lea r11, [rsp + 0x2070]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14019d3dc
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x14019d467
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x14019d467
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14019d467
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x14019d463
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x14019d45d
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jae 0x14019d45d
test rdx, rdx
je 0x14019d463
cmp dword [rdx + 0x24], 0
jge 0x14019d459
xor al, al
jmp 0x14019d46d
mov al, 1
jmp 0x14019d46d
add rdx, 0x28
jmp 0x14019d42f
xor al, al
jmp 0x14019d46d
xor al, al
jmp 0x14019d46d
add rsp, 0x18
ret
Function at 0x14000b870
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 [0x14001efb8]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x14000b8b4
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 0x14000b91a
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x14000b951
test eax, eax
js 0x14000b92b
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14000b944
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.140001700
lea rcx, [rsp + 0x58]
mov rdx, rsi
call fcn.140006560
mov rcx, rax
call fcn.140001cc0
mov ecx, 7
int 0x29
ud2
Function at 0x1400194b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x14001952a
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 0x140019520
cmp r11, r10
ja 0x1400195c3
cmp r10, rdx
ja 0x1400195d7
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x140019522
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x140019500
jmp 0x140019597
ja 0x14001952a
mov r11, r10
cmp rax, r8
jne 0x1400194d2
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14001959b
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 0x140019570
mov r8, r10
sub ecx, r9d
jns 0x14001958e
jmp 0x14001959d
cmp r10, rdx
je 0x1400195a9
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14001959d
xor al, 1
cmp r8, rdx
jne 0x140019550
jmp 0x14001959d
xor eax, eax
jmp 0x14001959d
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.14001c1f0
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.14001c650
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14001c5e0
ud2

Function at 0x14001afec
Capabilities:
Parse pe header

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

Function at 0x1400018f4
Capabilities:
Parse pe header

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

Disassembly:
movsx eax, byte [rcx]
test al, al
jne 0x14001098a
mov eax, edx
ret
xor eax, edx
imul edx, eax, 0x1000193
inc rcx
jmp fcn.140010980