joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a4cd0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x140143098]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x28]
call fcn.1400b3360
lea rcx, [rsp + 0x28]
call fcn.1400b0220
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x28]
call fcn.1400abef0
mov rcx, qword [rsp + 0x60]
call fcn.1400abec0
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400b5cf0
add rsp, 0x58
ret

Function at 0x1400a4e90
Capabilities:
Get common file path
Get program files directory

Disassembly:
push rdi
sub rsp, 0x5c0
mov rax, qword [0x140143098]
xor rax, rsp
mov qword [rsp + 0x5b0], rax
xor r9d, r9d
mov r8d, 0x26
lea rdx, [rsp + 0x190]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1400a4f8f
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0x50]
call fcn.1400ab0a0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x90]
call fcn.1400a4d40
lea rcx, [rsp + 0x50]
call fcn.1400abef0
lea rdx, [rsp + 0x90]
lea rcx, [0x140144028]
call fcn.1400ac410
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x30]
call fcn.1400acac0
mov rcx, rax
call fcn.1400ac640
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1400aad30
lea r8, [rsp + 0x70]
lea rdx, [0x140144028]
lea rcx, [rsp + 0x110]
call fcn.1400a8660
mov rdx, rax
lea rcx, [0x140143fe8]
call fcn.1400ac3b0
lea rcx, [rsp + 0x110]
call fcn.1400abec0
lea rcx, [rsp + 0x70]
call fcn.1400abec0
lea rcx, [rsp + 0x90]
call fcn.1400abec0
mov qword [rsp + 0x38], 0
lea r9, [rsp + 0x38]
xor r8d, r8d
xor edx, edx
lea rcx, [0x14012a8c0]
call sub.SHELL32.dll_SHGetKnownFolderPath
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jl 0x1400a5009
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0xb0]
call fcn.1400ab0a0
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x130]
call fcn.1400a4d40
mov rdx, rax
lea rcx, [0x140143f88]
call fcn.1400ac3b0
lea rcx, [rsp + 0x130]
call fcn.1400abec0
lea rcx, [rsp + 0xb0]
call fcn.1400abef0
lea rax, [rsp + 0x3a0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1c
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x1400a5080
lea rdx, [rsp + 0x3a0]
lea rcx, [rsp + 0xd0]
call fcn.1400ab0a0
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x150]
call fcn.1400a4d40
mov rdx, rax
lea rcx, [0x140143f10]
call fcn.1400ac3b0
lea rcx, [rsp + 0x150]
call fcn.1400abec0
lea rcx, [rsp + 0xd0]
call fcn.1400abef0
lea rax, [rsp + 0x31]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x31]
call fcn.1400acd80
mov rcx, rax
call fcn.1400ac620
mov rdx, rax
lea rcx, [rsp + 0xf0]
call fcn.1400aad30
lea r8, [rsp + 0xf0]
lea rdx, [0x140143f10]
lea rcx, [rsp + 0x170]
call fcn.1400a8660
mov rdx, rax
lea rcx, [0x140143fa8]
call fcn.1400ac3b0
lea rcx, [rsp + 0x170]
call fcn.1400abec0
lea rcx, [rsp + 0xf0]
call fcn.1400abec0
mov rcx, qword [rsp + 0x5b0]
xor rcx, rsp
call fcn.1400b5cf0
add rsp, 0x5c0
pop rdi
ret
Function at 0x1400a5850
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xf0
mov rax, qword [0x140143098]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov r8, qword [rsp + 0x100]
lea rdx, [0x1400e1a4c]
lea rcx, [rsp + 0xc0]
call fcn.1400a8800
mov rdx, rax
mov rcx, qword [rsp + 0x100]
call fcn.1400ac3b0
lea rcx, [rsp + 0xc0]
call fcn.1400abec0
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0xa0]
call fcn.1400b3360
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x70
rep stosb byte [rdi], al
mov dword [rsp + 0x30], 0x70
mov dword [rsp + 0x34], 0x40
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
lea rax, [0x14010ce98]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0xa0]
call fcn.1400b0220
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
lea rcx, [rsp + 0xa0]
call fcn.1400abef0
mov rcx, qword [rsp + 0x100]
call fcn.1400abec0
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.1400b5cf0
add rsp, 0xf0
pop rdi
ret

Function at 0x1400a5bd0
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [0x140143098]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x50]
call fcn.1400b3360
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x30]
call fcn.1400b3360
lea rcx, [rsp + 0x30]
call fcn.1400b0220
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x50]
call fcn.1400b0220
xor r8d, r8d
mov rcx, qword [rsp + 0x28]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x1400a5c4c
mov byte [rsp + 0x20], 1
jmp 0x1400a5c51
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
lea rcx, [rsp + 0x30]
call fcn.1400abef0
lea rcx, [rsp + 0x50]
call fcn.1400abef0
mov rcx, qword [rsp + 0x90]
call fcn.1400abec0
mov rcx, qword [rsp + 0x98]
call fcn.1400abec0
movzx eax, byte [rsp + 0x21]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400b5cf0
add rsp, 0x88
ret
Function at 0x1400a6290
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x30], 0
movzx eax, word [rsp + 0x50]
mov r8d, 0xa
mov edx, eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400a62d1
jmp 0x1400a6318
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400a62f0
jmp 0x1400a6318
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [0x140143ed0], rax
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [0x140143ed8], eax
add rsp, 0x48
ret

Function at 0x1400a6330
Capabilities:
Encrypt data using xtea

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x28
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax]
mov dword [rsp + 4], eax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax]
mov dword [rsp + 8], eax
mov dword [rsp + 0x10], 0x9e3779b9
mov eax, dword [rsp + 0x10]
imul eax, dword [rsp + 0x30]
mov dword [rsp], eax
mov dword [rsp + 0xc], 0
jmp 0x1400a6394
mov eax, dword [rsp + 0xc]
inc eax
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0xc], eax
jae 0x1400a642a
mov eax, dword [rsp + 4]
shl eax, 4
mov ecx, dword [rsp + 4]
shr ecx, 5
xor eax, ecx
add eax, dword [rsp + 4]
mov ecx, dword [rsp]
shr ecx, 0xb
and ecx, 3
mov ecx, ecx
mov rdx, qword [rsp + 0x40]
mov ecx, dword [rdx + rcx*4]
mov edx, dword [rsp]
add edx, ecx
mov ecx, edx
xor eax, ecx
mov ecx, dword [rsp + 8]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 8], eax
mov eax, dword [rsp + 0x10]
mov ecx, dword [rsp]
sub ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 8]
shl eax, 4
mov ecx, dword [rsp + 8]
shr ecx, 5
xor eax, ecx
add eax, dword [rsp + 8]
mov ecx, dword [rsp]
and ecx, 3
mov ecx, ecx
mov rdx, qword [rsp + 0x40]
mov ecx, dword [rdx + rcx*4]
mov edx, dword [rsp]
add edx, ecx
mov ecx, edx
xor eax, ecx
mov ecx, dword [rsp + 4]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
jmp 0x1400a638a
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x38]
mov edx, dword [rsp + 4]
mov dword [rcx + rax], edx
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x38]
mov edx, dword [rsp + 8]
mov dword [rcx + rax], edx
add rsp, 0x28
ret
Function at 0x1400a6480
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x288
mov rax, qword [0x140143098]
xor rax, rsp
mov qword [rsp + 0x270], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rsp + 0x20], rax
mov r8d, pe_nt_image_headers64
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.1400ab0a0
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x28]
call fcn.1400a4d40
lea rcx, [rsp + 0x48]
call fcn.1400abef0
cmp qword [rsp + 0x20], 0
je 0x1400a6517
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x290]
call fcn.1400aac30
lea rcx, [rsp + 0x28]
call fcn.1400abec0
mov rax, qword [rsp + 0x290]
jmp 0x1400a6549
lea rdx, [0x1400d3f2f]
mov rcx, qword [rsp + 0x290]
call fcn.1400aad30
lea rcx, [rsp + 0x28]
call fcn.1400abec0
mov rax, qword [rsp + 0x290]
jmp 0x1400a6549
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400b5cf0
add rsp, 0x288
ret

Function at 0x1400ab390
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r9d, 0x6c078965
mov r8d, 0xffffffff
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.1400ab340
mov rax, qword [rsp + 0x30]
add rsp, 0x28
ret

Function at 0x1400ad1a0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x270
jne 0x1400ad1c2
mov rcx, qword [rsp + 0x40]
call fcn.1400af3c0
jmp 0x1400ad1d9
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x4e0
jb 0x1400ad1d9
mov rcx, qword [rsp + 0x40]
call fcn.1400af1f0
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
mov eax, dword [rsp + 0x20]
shr eax, 0xb
mov rcx, qword [rsp + 0x40]
and eax, dword [rcx + 0x1384]
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 7
and eax, 0x9d2c5680
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 0xf
and eax, 0xefc60000
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 0x12
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x1400ae210
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [0x140143098]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0x68], 0
je 0x1400ae24d
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400ae254
mov al, 1
jmp 0x1400ae39c
call fcn.1400b1660
mov rcx, qword [rsp + 0xa0]
mov rcx, qword [rcx]
mov qword [rsp + 0x48], rcx
mov edx, eax
mov rcx, qword [rsp + 0xa0]
mov rax, qword [rsp + 0x48]
call qword [rax + 0x18]
mov dword [rsp + 0x38], eax
call fcn.1400b1660
mov dword [rsp + 0x3c], eax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x3c]
call fcn.1400b16a0
movzx eax, al
test eax, eax
je 0x1400ae2a5
xor al, al
jmp 0x1400ae39c
mov qword [rsp + 0x58], 0x20
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0xa0]
add rcx, 0x74
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x60]
mov rdx, rcx
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x68]
call fcn.1400b3a40
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1400ae30a
cmp dword [rsp + 0x30], 1
je 0x1400ae316
cmp dword [rsp + 0x30], 3
je 0x1400ae38a
jmp 0x1400ae39a
mov rax, qword [rsp + 0xa0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jbe 0x1400ae361
mov rax, qword [rsp + 0xa0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x40]
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.1400bd4e4
cmp qword [rsp + 0x40], rax
je 0x1400ae361
xor al, al
jmp 0x1400ae39c
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400ae37b
mov dword [rsp + 0x34], 1
jmp 0x1400ae383
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x1400ae39c
mov rax, qword [rsp + 0xa0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x1400ae39c
xor al, al
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400b5cf0
add rsp, 0x98
ret
Function at 0x1400af1f0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov qword [rsp + 0x18], 0
jmp 0x1400af211
mov rax, qword [rsp + 0x18]
inc rax
mov qword [rsp + 0x18], rax
cmp qword [rsp + 0x18], 0xe3
jae 0x1400af295
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x18]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x18]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp]
and eax, 1
test eax, eax
je 0x1400af260
mov dword [rsp + 4], 0x9908b0df
jmp 0x1400af268
mov dword [rsp + 4], 0
mov eax, dword [rsp]
shr eax, 1
xor eax, dword [rsp + 4]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x18]
xor eax, dword [rcx + rdx*4 + 0xff8]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x18]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x1400af204
jmp 0x1400af2a4
mov rax, qword [rsp + 0x18]
inc rax
mov qword [rsp + 0x18], rax
cmp qword [rsp + 0x18], 0x26f
jae 0x1400af32b
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x18]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x18]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 8], eax
mov eax, dword [rsp + 8]
and eax, 1
test eax, eax
je 0x1400af2f5
mov dword [rsp + 0xc], 0x9908b0df
jmp 0x1400af2fd
mov dword [rsp + 0xc], 0
mov eax, dword [rsp + 8]
shr eax, 1
xor eax, dword [rsp + 0xc]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x18]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x18]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x1400af297
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x18]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx + 4]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x10]
and eax, 1
test eax, eax
je 0x1400af372
mov dword [rsp + 0x14], 0x9908b0df
jmp 0x1400af37a
mov dword [rsp + 0x14], 0
mov eax, dword [rsp + 0x10]
shr eax, 1
xor eax, dword [rsp + 0x14]
mov ecx, 4
imul rcx, rcx, 0x18c
mov rdx, qword [rsp + 0x30]
xor eax, dword [rdx + rcx + 4]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x18]
mov dword [rcx + rdx*4 + 4], eax
mov rax, qword [rsp + 0x30]
mov dword [rax], 0
add rsp, 0x28
ret
Function at 0x1400af3c0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp + 8], 0x270
jmp 0x1400af3e1
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x4e0
jae 0x1400af465
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 8]
mov eax, dword [rax + rcx*4 - 0x9bc]
and eax, 0x80000000
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov ecx, dword [rcx + rdx*4 - 0x9b8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp]
and eax, 1
test eax, eax
je 0x1400af430
mov dword [rsp + 4], 0x9908b0df
jmp 0x1400af438
mov dword [rsp + 4], 0
mov eax, dword [rsp]
shr eax, 1
xor eax, dword [rsp + 4]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x1400af3d4
add rsp, 0x18
ret

Function at 0x1400bc3a0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x1400bc233
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400bc233
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400bc233
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400bc233
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400bc233
cmp dword [rcx + 0x84], 0xe
jbe 0x1400bc233
cmp dword [rcx + 0xf8], 0
je 0x1400bc233
mov ecx, ebx
call fcn.1400bc2d4
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.1400bc0c4
cmp dword [rbp + 0x20], 0
je 0x1400bc280
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400bc288
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400bc1cc
Function at 0x140002952
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
xor r8d, r8d
test rdx, rdx
mov rsi, rcx
mov rbx, rdx
je 0x140002971
mov rcx, rdx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov r8, rax
mov rcx, rbx
mov r9, rsi
mov edx, 1
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.14001a4e8

Function at 0x1400055bb
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rsi, rcx
mov qword [rsp + 0x28], rdx
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [rsp + 0x28]
mov rcx, rsi
mov edx, 1
mov rbx, rax
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rcx, rbx
add rsp, 0x38
pop rbx
pop rsi
jmp fcn.14001a4e8

Function at 0x1400055fa
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
cmp qword [0x14144a0f0], 0
jne 0x140005612
add rsp, 0x38
pop rbx
pop rsi
jmp fcn.1400055bb
lea rsi, [rsp + 0x20]
mov rdx, rcx
mov rcx, rsi
call fcn.140005534
mov rbx, qword [rsp + 0x28]
mov rcx, rsi
call qword [0x14144a0f0]
test rbx, rbx
je 0x140005643
test byte [rbx + 7], 0x40
jne 0x140005643
mov rcx, rbx
call fcn.1400039df
lea rcx, [0x140020320]
call fcn.140015130
cmp byte [rax], 0
je 0x14000567b
lea rcx, [0x140020220]
mov byte [rax], 0
call fcn.140015130
xor r8d, r8d
mov rcx, rax
mov rax, qword [rax]
mov rdx, qword [rax + 0x38]
add rsp, 0x38
pop rbx
pop rsi
jmp fcn.140003f44
add rsp, 0x38
pop rbx
pop rsi
ret

Function at 0x140005cf2
Capabilities:
Write file on windows

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
lea r12, [0x14144a0c0]
xor ebx, ebx
lea r14, [0x140020320]
lea r13, [rsp + 0x20]
mov rsi, rcx
mov rdi, rdx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbp, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
cmp rbx, rdi
mov ecx, 1
jl 0x140005d78
call rbp
mov r8d, 1
mov edx, 1
lea rcx, [0x14002139b]
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov ecx, 1
call rbp
mov rcx, rax
call fcn.14001a4e8
mov rcx, r12
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rbp
xor r8d, r8d
mov rdx, r13
mov rcx, rax
mov rax, rbx
shl rax, 4
movups xmm0, xmmword [rsi + rax]
movaps xmmword [rsp + 0x20], xmm0
call fcn.140005bcb
mov rcx, r14
call fcn.140015130
cmp byte [rax], 0
jne 0x140005daa
inc rbx
jmp 0x140005d2b
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x140011098
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x1400110d6
cmp word [rcx], 0x5a4d
jne 0x1400110d6
movsxd rdx, dword [rcx + 0x3c]
cmp edx, 0x400
jg 0x1400110d6
call fcn.1400075c9
mov rcx, qword [0x141445b10]
mov rbx, rax
call fcn.140015130
cmp byte [rax], 0
jne 0x1400110d6
cmp dword [rbx], 0x4550
je 0x1400110d8
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x1400142a0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, [0x141445200]
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call fcn.14001a1d0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop
nop dword [rax]

Function at 0x140014310
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14144ab04]
test esi, esi
mov rbx, rcx
jle 0x140014440
mov rax, qword [0x14144ab08]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14001435b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400143e5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140014340
mov rcx, rbx
call fcn.140014d80
test rax, rax
mov rdi, rax
je 0x140014462
mov rax, qword [0x14144ab08]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140014ec0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14144ab08]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140014447
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400143de
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1400143f0
add dword [0x14144ab04], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x14144ab08]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400143de
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x141445278]
mov edx, eax
call fcn.1400142a0
nop dword [rax]
xor esi, esi
jmp 0x140014368
mov rax, qword [0x14144ab08]
lea rcx, [0x141445240]
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call fcn.1400142a0
lea rcx, [0x141445220]
mov rdx, rbx
call fcn.1400142a0
nop
nop word cs:[rax + rax]
nop dword [rax]