joyce8/EMBER2024-capa huggingface dataset:
Function at 0x11840
Capabilities:
Attach user process memory

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xf0
mov qword [rsp + 0x80], 0
mov dword [rsp + 0x40], 0x30
lea rdi, [rsp + 0x48]
xor eax, eax
mov ecx, 0x28
rep stosb byte [rdi], al
xor eax, eax
mov rcx, 0xffffffffffffffff
mov rdi, qword [rsp + 0x118]
repne scasb al, byte [rdi]
not rcx
sub rcx, 1
mov rax, rcx
add rax, 1
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], 0
lea r9, [rsp + 0x88]
lea r8, [rsp + 0x40]
mov edx, 0x1fffff
lea rcx, [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_ZwOpenProcess]
test eax, eax
jge 0x118eb
mov eax, 0xc0000017
jmp 0x11a75
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0x3000
lea r9, [rsp + 0x70]
xor r8d, r8d
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
test eax, eax
jge 0x1192f
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, 0xc0000017
jmp 0x11a75
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x108]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov rdx, qword [rsp + 0x118]
mov qword [rsp + 0xd0], rdx
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xd0]
movzx eax, byte [rax]
mov byte [rsp + 0xe8], al
mov rcx, qword [rsp + 0xd8]
movzx eax, byte [rsp + 0xe8]
mov byte [rcx], al
mov rax, qword [rsp + 0xd0]
add rax, 1
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd8]
add rax, 1
mov qword [rsp + 0xd8], rax
cmp byte [rsp + 0xe8], 0
jne 0x11975
lea rcx, [rsp + 0xa0]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov edx, 0x58
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
jne 0x11a0b
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, 0xc0000017
jmp 0x11a75
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov byte [rsp + 0x30], 1
mov rax, qword [0x00015178]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [0x00011810]
xor r8d, r8d
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ntoskrnl.exe_KeInitializeApc]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ntoskrnl.exe_KeInsertQueueApc]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
xor eax, eax
add rsp, 0xf0
pop rdi
ret
Function at 0x12320
Capabilities:
Get file attributes
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xf8
mov qword [rsp + 0xe0], 0
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov dword [rsp + 0x90], 0x30
mov qword [rsp + 0x98], 0
mov dword [rsp + 0xa8], 0x240
lea rax, [rsp + 0x60]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xb8], 0
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0x820
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xc8]
lea r8, [rsp + 0x90]
mov edx, 0x80100000
lea rcx, [rsp + 0xd8]
call qword [sym.imp.ntoskrnl.exe_ZwCreateFile]
mov dword [rsp + 0xc0], eax
cmp dword [rsp + 0xc0], 0
jge 0x12411
xor eax, eax
jmp 0x12577
mov dword [rsp + 0x20], 5
mov r9d, 0x18
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
mov dword [rsp + 0xc0], eax
cmp dword [rsp + 0xc0], 0
jge 0x12460
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
xor eax, eax
jmp 0x12577
mov rcx, qword [rsp + 0x110]
mov rax, qword [rsp + 0x108]
add rax, rcx
cmp rax, qword [rsp + 0x80]
jbe 0x12492
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
xor eax, eax
jmp 0x12577
mov r8d, 0x4d4d4354
mov rdx, qword [rsp + 0x110]
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rsp + 0xe0], rax
cmp qword [rsp + 0xe0], 0
jne 0x124d0
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
xor eax, eax
jmp 0x12577
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x110]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.ntoskrnl.exe_ZwReadFile]
mov dword [rsp + 0xc0], eax
cmp dword [rsp + 0xc0], 0
jge 0x12561
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov edx, 0x4d4d4354
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor eax, eax
jmp 0x12577
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rax, qword [rsp + 0xe0]
add rsp, 0xf8
ret
Function at 0x12590
Capabilities:
Get file attributes
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xf8
mov qword [rsp + 0xe0], 0
mov qword [rsp + 0xe8], 0
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov dword [rsp + 0x90], 0x30
mov qword [rsp + 0x98], 0
mov dword [rsp + 0xa8], 0x240
lea rax, [rsp + 0x60]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xb8], 0
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0x820
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xc8]
lea r8, [rsp + 0x90]
mov edx, 0x80100000
lea rcx, [rsp + 0xd8]
call qword [sym.imp.ntoskrnl.exe_ZwCreateFile]
mov dword [rsp + 0xc0], eax
cmp dword [rsp + 0xc0], 0
jge 0x12688
xor eax, eax
jmp 0x127fb
mov dword [rsp + 0x20], 5
mov r9d, 0x18
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
mov dword [rsp + 0xc0], eax
cmp dword [rsp + 0xc0], 0
jge 0x126d7
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
xor eax, eax
jmp 0x127fb
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xe0], rax
cmp qword [rsp + 0xe0], 0
ja 0x12707
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
xor eax, eax
jmp 0x127fb
mov r8d, 0x4d4d4354
mov rdx, qword [rsp + 0xe0]
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rsp + 0xe8], rax
cmp qword [rsp + 0xe8], 0
jne 0x12745
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
xor eax, eax
jmp 0x127fb
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0xe0]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.ntoskrnl.exe_ZwReadFile]
mov dword [rsp + 0xc0], eax
cmp dword [rsp + 0xc0], 0
jge 0x127d2
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov edx, 0x4d4d4354
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor eax, eax
jmp 0x127fb
mov rcx, qword [rsp + 0x108]
mov rax, qword [rsp + 0xe0]
mov qword [rcx], rax
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rax, qword [rsp + 0xe8]
add rsp, 0xf8
ret
Function at 0x12810
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov rdx, qword [rsp + 0xd0]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov dword [rsp + 0x70], 0x30
mov qword [rsp + 0x78], 0
mov dword [rsp + 0x88], 0x240
lea rax, [rsp + 0x60]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x98], 0
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0x20
mov dword [rsp + 0x38], 5
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xa8]
lea r8, [rsp + 0x70]
mov edx, 0x40000000
lea rcx, [rsp + 0xb8]
call qword [sym.imp.ntoskrnl.exe_ZwCreateFile]
mov dword [rsp + 0xa0], eax
cmp dword [rsp + 0xa0], 0
jge 0x128f1
mov eax, dword [rsp + 0xa0]
jmp 0x1297b
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov eax, dword [rsp + 0xe0]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.ntoskrnl.exe_ZwWriteFile]
mov dword [rsp + 0xa0], eax
cmp dword [rsp + 0xa0], 0
jge 0x12966
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, dword [rsp + 0xa0]
jmp 0x1297b
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, dword [rsp + 0xa0]
add rsp, 0xc8
ret

Function at 0x12cc0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov dword [rsp + 8], 0xffffffff
mov dword [rsp], 0
jmp 0x12ce7
mov eax, dword [rsp]
add eax, 1
mov dword [rsp], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp], eax
jge 0x12d4e
movsxd rcx, dword [rsp]
mov rax, qword [rsp + 0x20]
movzx ecx, byte [rax + rcx]
mov eax, dword [rsp + 8]
xor eax, ecx
mov dword [rsp + 8], eax
mov dword [rsp + 4], 0
jmp 0x12d1c
mov eax, dword [rsp + 4]
add eax, 1
mov dword [rsp + 4], eax
cmp dword [rsp + 4], 8
jge 0x12d4c
movzx eax, byte [rsp + 8]
and eax, 1
test eax, eax
je 0x12d40
mov eax, dword [rsp + 8]
shr eax, 1
xor eax, 0xedb88320
mov dword [rsp + 8], eax
jmp 0x12d4a
mov eax, dword [rsp + 8]
shr eax, 1
mov dword [rsp + 8], eax
jmp 0x12d11
jmp 0x12cde
mov eax, dword [rsp + 8]
xor eax, 0xffffffff
add rsp, 0x18
ret
Function at 0x12d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x30], 0x30
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x48], 0x240
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
lea r8, [rsp + 0x30]
mov edx, 0x20019
lea rcx, [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_ZwOpenKey]
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x80], 0
jge 0x12de8
mov eax, dword [rsp + 0x80]
jmp 0x12f13
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea r11, [rsp + 0x60]
mov qword [rsp + 0x28], r11
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 2
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x80], 0
jge 0x12e68
cmp dword [rsp + 0x80], 0x80000005
je 0x12e68
cmp dword [rsp + 0x80], 0xc0000023
je 0x12e68
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, dword [rsp + 0x80]
jmp 0x12f13
cmp dword [rsp + 0x60], 0
jne 0x12e84
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, 0x80000022
jmp 0x12f13
mov edx, dword [rsp + 0x60]
mov r8d, 0x4d4d4354
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov r11, rax
mov rax, qword [rsp + 0xb0]
mov qword [rax], r11
mov rax, qword [rsp + 0xb0]
cmp qword [rax], 0
jne 0x12ec4
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, 0xc000009a
jmp 0x12f13
lea rax, [rsp + 0x84]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0xb0]
mov r9, qword [r9]
mov r8d, 2
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
mov dword [rsp + 0x80], eax
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, dword [rsp + 0x80]
add rsp, 0x98
ret

Function at 0x12f30
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov dword [rsp + 0x30], 0x30
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x48], 0x240
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
lea r8, [rsp + 0x30]
mov edx, 0x2001f
lea rcx, [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_ZwOpenKey]
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0
jge 0x12fa9
mov eax, dword [rsp + 0x78]
jmp 0x13004
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov r11d, dword [rsp + 0xb0]
mov dword [rsp + 0x28], r11d
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xa0]
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
mov dword [rsp + 0x78], eax
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, dword [rsp + 0x78]
add rsp, 0x88
ret
Function at 0x133c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x28
cmp qword [rsp + 0x30], 0
je 0x133e1
cmp dword [rsp + 0x38], 1
jge 0x133e8
xor eax, eax
jmp 0x13511
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0x100]
mov byte [rsp + 4], al
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0x101]
mov byte [rsp + 0x10], al
mov rax, qword [rsp + 0x40]
mov qword [rsp + 8], rax
mov dword [rsp], 0
jmp 0x13424
mov eax, dword [rsp]
add eax, 1
mov dword [rsp], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp], eax
jge 0x134ec
movzx eax, byte [rsp + 4]
add al, 1
mov byte [rsp + 4], al
movzx ecx, byte [rsp + 4]
mov rax, qword [rsp + 8]
movzx ecx, byte [rax + rcx]
movzx eax, byte [rsp + 0x10]
add eax, ecx
mov byte [rsp + 0x10], al
movzx ecx, byte [rsp + 4]
mov rax, qword [rsp + 8]
movzx eax, byte [rax + rcx]
mov byte [0x00015120], al
movzx r8d, byte [rsp + 0x10]
movzx edx, byte [rsp + 4]
mov rcx, qword [rsp + 8]
mov rax, qword [rsp + 8]
movzx eax, byte [rax + r8]
mov byte [rcx + rdx], al
movzx edx, byte [rsp + 0x10]
mov rcx, qword [rsp + 8]
movzx eax, byte [0x00015120]
mov byte [rcx + rdx], al
movsxd r8, dword [rsp]
movzx ecx, byte [rsp + 4]
mov rax, qword [rsp + 8]
movzx edx, byte [rax + rcx]
movzx ecx, byte [rsp + 0x10]
mov rax, qword [rsp + 8]
movzx ecx, byte [rax + rcx]
mov eax, edx
add eax, ecx
and eax, 0xff
movsxd rcx, eax
mov rax, qword [rsp + 8]
movzx ecx, byte [rax + rcx]
mov rax, qword [rsp + 0x30]
movzx edx, byte [rax + r8]
xor edx, ecx
movsxd rcx, dword [rsp]
mov rax, qword [rsp + 0x30]
mov byte [rax + rcx], dl
jmp 0x1341b
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rsp + 4]
mov byte [rcx + 0x100], al
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rsp + 0x10]
mov byte [rcx + 0x101], al
mov eax, 1
add rsp, 0x28
ret

Function at 0x17064
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
mov r8, rdx
mov r9, rcx
call fcn.00017008
mov rdx, r8
mov rcx, r9
add rsp, 0x28
jmp fcn.00011470
Function at 0x1400110e6
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x140013ac0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x140027074]
call fcn.140011555
nop
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x270
jne 0x140013afe
mov rcx, qword [rbp + 0x100]
call fcn.14001110e
nop
jmp 0x140013b1a
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x4e0
jb 0x140013b1a
mov rcx, qword [rbp + 0x100]
call fcn.1400112b2
nop
mov rax, qword [rbp + 0x100]
mov eax, dword [rax]
mov rcx, qword [rbp + 0x100]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x100]
mov eax, dword [rax]
inc eax
mov rcx, qword [rbp + 0x100]
mov dword [rcx], eax
mov eax, dword [rbp + 4]
shr eax, 0xb
mov rcx, qword [rbp + 0x100]
and eax, dword [rcx + 0x1384]
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shl eax, 7
and eax, 0x9d2c5680
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shl eax, 0xf
and eax, 0xefc60000
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 0x12
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x1400112b2
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x140013fd0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x20]
lea rcx, [0x140027074]
call fcn.140011555
nop
mov qword [rbp + 8], 0x26f
mov qword [rbp + 0x28], 0xe3
mov qword [rbp + 0x48], 0
jmp 0x140014015
mov rax, qword [rbp + 0x48]
inc rax
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0xe3
jae 0x1400140a6
mov rax, qword [rbp + 0x1e0]
mov rcx, qword [rbp + 0x48]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x64]
and eax, 1
test eax, eax
je 0x14001406b
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x140014075
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0x64]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
xor eax, dword [rcx + rdx*4 + 0xff8]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14001400a
mov qword [rbp + 0x88], 0xe3
jmp 0x1400140c4
mov rax, qword [rbp + 0x88]
inc rax
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0x26f
jae 0x14001416d
mov rax, qword [rbp + 0x1e0]
mov rcx, qword [rbp + 0x88]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0xa4], eax
mov eax, dword [rbp + 0xa4]
and eax, 1
test eax, eax
je 0x140014129
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x140014133
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0xa4]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x1400140b3
mov qword [rbp + 0xc8], 0x26f
mov eax, 4
imul rax, rax, 0x4df
mov rcx, qword [rbp + 0x1e0]
mov eax, dword [rcx + rax + 4]
and eax, 0x80000000
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x1e0]
mov ecx, dword [rdx + rcx + 4]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0xe4], eax
mov eax, dword [rbp + 0xe4]
and eax, 1
test eax, eax
je 0x1400141cd
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x1400141d7
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0xe4]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov ecx, 4
imul rcx, rcx, 0x18c
mov rdx, qword [rbp + 0x1e0]
xor eax, dword [rdx + rcx + 4]
mov ecx, 4
imul rcx, rcx, 0x26f
mov rdx, qword [rbp + 0x1e0]
mov dword [rdx + rcx + 4], eax
mov rax, qword [rbp + 0x1e0]
mov dword [rax], 0
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret

Function at 0x1400112f8
Capabilities:
Terminate process

Disassembly:
jmp 0x1400163b0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret
Function at 0x1400113d4
Capabilities:
Parse pe header

Disassembly:
jmp 0x140017700
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140017720
xor al, al
jmp 0x1400177a1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140017733
xor al, al
jmp 0x1400177a1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001775d
xor al, al
jmp 0x1400177a1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140017771
xor al, al
jmp 0x1400177a1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140017783
xor al, al
jmp 0x1400177a1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001779f
xor al, al
jmp 0x1400177a1
mov al, 1
add rsp, 0x38
ret
Function at 0x1400155e0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.14001158c
movzx eax, al
test eax, eax
jne 0x140015600
mov ecx, 7
call fcn.1400114ba
nop
mov byte [rsp + 0x20], 0
call fcn.1400114d3
mov byte [rsp + 0x21], al
cmp dword [0x140021868], 1
jne 0x140015624
mov ecx, 7
call fcn.1400114ba
nop
jmp 0x14001567c
cmp dword [0x140021868], 0
jne 0x140015677
mov dword [0x140021868], 1
lea rdx, [0x14001d660]
lea rcx, [0x14001d330]
call fcn.14001128f
test eax, eax
je 0x140015658
mov eax, 0xff
jmp 0x140015781
lea rdx, [0x14001d220]
lea rcx, [section..rdata]
call fcn.1400114c9
mov dword [0x140021868], 2
jmp 0x14001567c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.1400114a1
call fcn.14001140b
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x1400156d9
mov rcx, qword [rsp + 0x30]
call fcn.14001121c
movzx eax, al
test eax, eax
je 0x1400156d9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140028020]
nop
call fcn.140011451
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001570d
mov rcx, qword [rsp + 0x38]
call fcn.14001121c
movzx eax, al
test eax, eax
je 0x14001570d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011537
nop
call fcn.140015830
mov dword [rsp + 0x28], eax
call fcn.1400113d4
movzx eax, al
test eax, eax
jne 0x14001572c
mov ecx, dword [rsp + 0x28]
call fcn.14001106e
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001573b
call fcn.140011541
nop
xor edx, edx
mov cl, 1
call fcn.140011208
mov eax, dword [rsp + 0x28]
jmp 0x140015781
add rsp, 0x68
ret
Function at 0x14000b9ac
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140016950], eax
call fcn.14000b730
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140016950], 0
jne case.default.0x14000ba02
mov ecx, 1
call fcn.14000b730
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
mov al, al
rcl dword [rsi]
hlt
Function at 0x14004d6e8
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x14008d110], eax
call fcn.14004d3dc
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14008d110], 0
jne case.default.0x14004d73e
mov ecx, 1
call fcn.14004d3dc
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
push qword [rdi - 0x22d783a2]
and esi, esp
outsb dx, byte [rsi]
lahf
cmp al, 0x6b
or dword [rax + 0x17], edi
invalid
jp 0x1400f7926
invalid
jnp 0x1400f797a
pushfq
mov esp, 0x998df3b4
and ebx, dword [rax - 0x58]
jle 0x1400f7956
lea ebx, [rcx + 0x7ea85823]
clc
jg 0x1400f793b
sahf
invalid
sahf
jp 0x1400f79ab
invalid
call 0x137a2da28
movabs eax, dword [0x13068acd7fa68e76]
invalid