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

Disassembly:
mov byte [rsp + 0x20], r9b
mov byte [rsp + 0x18], r8b
movsd qword [rsp + 0x10], xmm1
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov byte [rsp + 0x20], 0
mov dword [rsp + 0x38], 0x2dc
mov dword [rsp + 0x3c], 0xcd0
xor eax, eax
cmp eax, 1
je 0x140097a14
mov dword [rsp + 0x24], 0x2f
jmp 0x140097a09
mov eax, dword [rsp + 0x24]
dec eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jle 0x140097a14
jmp 0x1400979ff
xor eax, eax
cmp eax, 1
je 0x140097a3a
mov dword [rsp + 0x28], 0x42
jmp 0x140097a2f
mov eax, dword [rsp + 0x28]
dec eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jle 0x140097a3a
jmp 0x140097a25
xor eax, eax
cmp eax, 1
je 0x140097a60
mov dword [rsp + 0x2c], 0xb
jmp 0x140097a55
mov eax, dword [rsp + 0x2c]
dec eax
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0
jle 0x140097a60
jmp 0x140097a4b
xor eax, eax
test eax, eax
je 0x140097a85
mov dword [rsp + 0x30], 6
jmp 0x140097a7a
mov eax, dword [rsp + 0x30]
dec eax
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jle 0x140097a85
jmp 0x140097a70
xor eax, eax
test eax, eax
je 0x140097aaa
mov dword [rsp + 0x34], 0x5c
jmp 0x140097a9f
mov eax, dword [rsp + 0x34]
dec eax
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jle 0x140097aaa
jmp 0x140097a95
movsd xmm0, qword [0x140120cb8]
movsd qword [rsp + 0x40], xmm0
mov rcx, qword [rsp + 0x88]
call fcn.1400a5080
movsd xmm0, qword [rsp + 0x40]
add rsp, 0x58
ret

Function at 0x14009de00
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x140139098]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x28]
call fcn.1400ac630
lea rcx, [rsp + 0x28]
call fcn.1400a9400
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14009de45
mov byte [rsp + 0x20], 1
jmp 0x14009de4a
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
lea rcx, [rsp + 0x28]
call fcn.1400a50b0
mov rcx, qword [rsp + 0x60]
call fcn.1400a5080
movzx eax, byte [rsp + 0x21]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400aefc0
add rsp, 0x58
ret

Function at 0x14009de90
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x140139098]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x28]
call fcn.1400ac630
lea rcx, [rsp + 0x28]
call fcn.1400a9400
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x28]
call fcn.1400a50b0
mov rcx, qword [rsp + 0x60]
call fcn.1400a5080
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400aefc0
add rsp, 0x58
ret
Function at 0x14009e050
Capabilities:
Get common file path
Get program files directory

Disassembly:
push rdi
sub rsp, 0x5c0
mov rax, qword [0x140139098]
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 0x14009e14f
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0x50]
call fcn.1400a4260
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x90]
call fcn.14009df00
lea rcx, [rsp + 0x50]
call fcn.1400a50b0
lea rdx, [rsp + 0x90]
lea rcx, [0x14013a028]
call fcn.1400a55d0
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.1400a5e60
mov rcx, rax
call fcn.1400a5800
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1400a3ef0
lea r8, [rsp + 0x70]
lea rdx, [0x14013a028]
lea rcx, [rsp + 0x110]
call fcn.1400a1820
mov rdx, rax
lea rcx, [0x140139fe8]
call fcn.1400a5570
lea rcx, [rsp + 0x110]
call fcn.1400a5080
lea rcx, [rsp + 0x70]
call fcn.1400a5080
lea rcx, [rsp + 0x90]
call fcn.1400a5080
mov qword [rsp + 0x38], 0
lea r9, [rsp + 0x38]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140120d90]
call sub.SHELL32.dll_SHGetKnownFolderPath
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jl 0x14009e1c9
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0xb0]
call fcn.1400a4260
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x130]
call fcn.14009df00
mov rdx, rax
lea rcx, [0x140139f88]
call fcn.1400a5570
lea rcx, [rsp + 0x130]
call fcn.1400a5080
lea rcx, [rsp + 0xb0]
call fcn.1400a50b0
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 0x14009e240
lea rdx, [rsp + 0x3a0]
lea rcx, [rsp + 0xd0]
call fcn.1400a4260
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x150]
call fcn.14009df00
mov rdx, rax
lea rcx, [0x140139f10]
call fcn.1400a5570
lea rcx, [rsp + 0x150]
call fcn.1400a5080
lea rcx, [rsp + 0xd0]
call fcn.1400a50b0
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.1400a6160
mov rcx, rax
call fcn.1400a57e0
mov rdx, rax
lea rcx, [rsp + 0xf0]
call fcn.1400a3ef0
lea r8, [rsp + 0xf0]
lea rdx, [0x140139f10]
lea rcx, [rsp + 0x170]
call fcn.1400a1820
mov rdx, rax
lea rcx, [0x140139fa8]
call fcn.1400a5570
lea rcx, [rsp + 0x170]
call fcn.1400a5080
lea rcx, [rsp + 0xf0]
call fcn.1400a5080
mov rcx, qword [rsp + 0x5b0]
xor rcx, rsp
call fcn.1400aefc0
add rsp, 0x5c0
pop rdi
ret
Function at 0x14009ea10
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xf0
mov rax, qword [0x140139098]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov r8, qword [rsp + 0x100]
lea rdx, [0x1400d2ef4]
lea rcx, [rsp + 0xc0]
call fcn.1400a19c0
mov rdx, rax
mov rcx, qword [rsp + 0x100]
call fcn.1400a5570
lea rcx, [rsp + 0xc0]
call fcn.1400a5080
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0xa0]
call fcn.1400ac630
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, [0x1400ebbf8]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0xa0]
call fcn.1400a9400
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.1400a50b0
mov rcx, qword [rsp + 0x100]
call fcn.1400a5080
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.1400aefc0
add rsp, 0xf0
pop rdi
ret

Function at 0x14009ed90
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [0x140139098]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x50]
call fcn.1400ac630
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x30]
call fcn.1400ac630
lea rcx, [rsp + 0x30]
call fcn.1400a9400
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x50]
call fcn.1400a9400
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 0x14009ee0c
mov byte [rsp + 0x20], 1
jmp 0x14009ee11
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
lea rcx, [rsp + 0x30]
call fcn.1400a50b0
lea rcx, [rsp + 0x50]
call fcn.1400a50b0
mov rcx, qword [rsp + 0x90]
call fcn.1400a5080
mov rcx, qword [rsp + 0x98]
call fcn.1400a5080
movzx eax, byte [rsp + 0x21]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400aefc0
add rsp, 0x88
ret
Function at 0x14009f450
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 0x14009f491
jmp 0x14009f4d8
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 0x14009f4b0
jmp 0x14009f4d8
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [0x140139ed0], rax
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [0x140139ed8], eax
add rsp, 0x48
ret

Function at 0x14009f4f0
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 0x14009f554
mov eax, dword [rsp + 0xc]
inc eax
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0xc], eax
jae 0x14009f5ea
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 0x14009f54a
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 0x14009f640
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x288
mov rax, qword [0x140139098]
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.1400a4260
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x28]
call fcn.14009df00
lea rcx, [rsp + 0x48]
call fcn.1400a50b0
cmp qword [rsp + 0x20], 0
je 0x14009f6d7
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x290]
call fcn.1400a3df0
lea rcx, [rsp + 0x28]
call fcn.1400a5080
mov rax, qword [rsp + 0x290]
jmp 0x14009f709
lea rdx, [0x1400cc81f]
mov rcx, qword [rsp + 0x290]
call fcn.1400a3ef0
lea rcx, [rsp + 0x28]
call fcn.1400a5080
mov rax, qword [rsp + 0x290]
jmp 0x14009f709
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400aefc0
add rsp, 0x288
ret

Function at 0x1400a4550
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.1400a4500
mov rax, qword [rsp + 0x30]
add rsp, 0x28
ret

Function at 0x1400a6380
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 0x1400a63a2
mov rcx, qword [rsp + 0x40]
call fcn.1400a85a0
jmp 0x1400a63b9
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x4e0
jb 0x1400a63b9
mov rcx, qword [rsp + 0x40]
call fcn.1400a83d0
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 0x1400a73f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [0x140139098]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0x68], 0
je 0x1400a742d
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400a7434
mov al, 1
jmp 0x1400a757c
call fcn.1400aa8f0
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.1400aa8f0
mov dword [rsp + 0x3c], eax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x3c]
call fcn.1400aa930
movzx eax, al
test eax, eax
je 0x1400a7485
xor al, al
jmp 0x1400a757c
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.1400acd10
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1400a74ea
cmp dword [rsp + 0x30], 1
je 0x1400a74f6
cmp dword [rsp + 0x30], 3
je 0x1400a756a
jmp 0x1400a757a
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 0x1400a7541
mov rax, qword [rsp + 0xa0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x40]
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.1400b67b4
cmp qword [rsp + 0x40], rax
je 0x1400a7541
xor al, al
jmp 0x1400a757c
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400a755b
mov dword [rsp + 0x34], 1
jmp 0x1400a7563
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x1400a757c
mov rax, qword [rsp + 0xa0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x1400a757c
xor al, al
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400aefc0
add rsp, 0x98
ret
Function at 0x1400a83d0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov qword [rsp + 0x18], 0
jmp 0x1400a83f1
mov rax, qword [rsp + 0x18]
inc rax
mov qword [rsp + 0x18], rax
cmp qword [rsp + 0x18], 0xe3
jae 0x1400a8475
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 0x1400a8440
mov dword [rsp + 4], 0x9908b0df
jmp 0x1400a8448
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 0x1400a83e4
jmp 0x1400a8484
mov rax, qword [rsp + 0x18]
inc rax
mov qword [rsp + 0x18], rax
cmp qword [rsp + 0x18], 0x26f
jae 0x1400a850b
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 0x1400a84d5
mov dword [rsp + 0xc], 0x9908b0df
jmp 0x1400a84dd
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 0x1400a8477
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 0x1400a8552
mov dword [rsp + 0x14], 0x9908b0df
jmp 0x1400a855a
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 0x1400a85a0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp + 8], 0x270
jmp 0x1400a85c1
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x4e0
jae 0x1400a8645
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 0x1400a8610
mov dword [rsp + 4], 0x9908b0df
jmp 0x1400a8618
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 0x1400a85b4
add rsp, 0x18
ret

Function at 0x1400b5670
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 0x1400b5503
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400b5503
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400b5503
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400b5503
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400b5503
cmp dword [rcx + 0x84], 0xe
jbe 0x1400b5503
cmp dword [rcx + 0xf8], 0
je 0x1400b5503
mov ecx, ebx
call fcn.1400b55a4
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.1400b5394
cmp dword [rbp + 0x20], 0
je 0x1400b5550
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400b5558
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400b549c
Function at 0x140be3058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140be31df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140be3089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140be306f
add dl, dl
jne 0x140be3096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140be30f6
xor eax, eax
add dl, dl
jne 0x140be30a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140be31ad
add dl, dl
jne 0x140be30b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140be30c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140be30d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140be30dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140be30ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140be307e
mov eax, 1
add dl, dl
jne 0x140be3106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140be3113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140be30fb
sub eax, ebx
mov ebx, 1
jne 0x140be314c
mov ecx, 1
add dl, dl
jne 0x140be312e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140be313b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140be3123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140be307e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140be3168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140be3175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140be315d
cmp eax, 0x7d00
jae 0x140be319b
cmp eax, 0x500
jb 0x140be3196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140be307e
cmp eax, 0x7f
ja 0x140be319e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140be307e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140be31d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140be307e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400033d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x140159140]
xor rax, rsp
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.HARDWARERESOURCEMAPSystem_ResourcesPhysical_Memory
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x88]
xor r8d, r8d
lea rdx, str..Translated
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
nop
mov eax, dword [rsp + 0x78]
mov ecx, eax
call fcn.1400a8510
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x88]
xor r8d, r8d
lea rdx, str..Translated
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x38]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x30], 0
jmp 0x1400034c8
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x30], eax
jae 0x140003505
mov rax, qword [rsp + 0x40]
add rax, 8
mov r9, rax
mov r8, qword [rsp + 0x40]
lea rdx, [rsp + 0x68]
lea rcx, [0x140162df8]
call fcn.14000bb70
nop
mov rax, qword [rsp + 0x40]
add rax, 0x14
mov qword [rsp + 0x40], rax
jmp 0x1400034be
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.1400a8508
cmp qword [rsp + 0x50], 0
jne 0x14000352c
mov qword [rsp + 0x60], 0
jmp 0x14000353f
mov qword [rsp + 0x38], 0x8123
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400a88d0
add rsp, 0xa8
ret