joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003b26c
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x88
mov rax, qword [0x140056880]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x30], 0
cmp dword [rsp + 0x90], 0
jl 0x14003b2c6
cmp dword [rsp + 0x90], 0x7c
jge 0x14003b2c6
lea r8, [rsp + 0x30]
mov edx, dword [rsp + 0x90]
lea rcx, [0x140055500]
call fcn.14003b5ec
nop
lea rcx, [rsp + 0x50]
call fcn.140035348
nop
cmp qword [rsp + 0x30], 0
jne 0x14003b2ed
lea rdx, [0x14004ce18]
lea rcx, [rsp + 0x50]
call fcn.140036238
nop
jmp 0x14003b2fd
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140036238
nop
cmp dword [rsp + 0xa0], 1
jne 0x14003b319
lea rdx, [0x14004ce30]
lea rcx, [rsp + 0x50]
call fcn.140036238
nop
movss xmm2, dword [0x14004c020]
movss xmm1, dword [0x14004e468]
lea rcx, [rsp + 0x48]
call fcn.140035844
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x50]
call fcn.14003e66c
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call fcn.140025104
movzx eax, al
test eax, eax
je 0x14003b38e
cmp dword [rsp + 0xa0], 0
jne 0x14003b38e
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
lea rcx, [rsp + 0x50]
call fcn.140035e30
nop
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140044ba0
add rsp, 0x88
ret

Function at 0x14003b428
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x38
lea rcx, [0x14004d548]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x14004d538]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14003b4b1
lea rcx, [0x14004d560]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.NtUserSendInput
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14003b4b1
lea rcx, [0x14004d574]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x14004d568]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14003b4b1
xor al, al
jmp 0x14003b563
lea rcx, str.win32u
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x14004d580]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14003b533
lea rcx, [0x14004d5b8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.NtUserGetAsyncKeyState
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14003b533
lea rcx, str.user32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x14004d5c0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14003b533
xor al, al
jmp 0x14003b563
mov r8d, 0x1e
mov rdx, qword [rsp + 0x20]
lea rcx, [0x1400578f0]
call fcn.140045803
mov r8d, 0x1e
mov rdx, qword [rsp + 0x28]
lea rcx, [0x140057910]
call fcn.140045803
mov al, 1
add rsp, 0x38
ret
Function at 0x14003c988
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov r9d, 0x40
mov r8d, 0x1000
mov edx, 0x1000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14003c9ba
xor eax, eax
jmp 0x14003ca10
mov r8d, 0x1e
lea rdx, [0x140057910]
mov rcx, qword [rsp + 0x28]
call fcn.140045803
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
call qword [rsp + 0x30]
mov dword [rsp + 0x20], eax
mov r8d, 0x1000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [rsp + 0x20]
add rsp, 0x48
ret
Function at 0x14003ded0
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 0x14003df00
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
cmp qword [rsp], 0xe3
jae 0x14003df82
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 0x14003df4e
mov dword [rsp + 0x14], 0x9908b0df
jmp 0x14003df56
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 0x14003def5
mov qword [rsp + 8], 0xe3
jmp 0x14003df9a
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x26f
jae 0x14003e021
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 0x14003dfeb
mov dword [rsp + 0x1c], 0x9908b0df
jmp 0x14003dff3
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 0x14003df8d
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 0x14003e075
mov dword [rsp + 0x24], 0x9908b0df
jmp 0x14003e07d
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 0x14003e0c4
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp + 8], 0x270
jmp 0x14003e0e5
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x4e0
jae 0x14003e169
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 0x14003e134
mov dword [rsp + 4], 0x9908b0df
jmp 0x14003e13c
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 0x14003e0d8
add rsp, 0x18
ret
Function at 0x140040920
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x178
mov rax, qword [0x140056880]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 0x130
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1400409af
mov rdx, qword [rsp + 0x180]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x14004099c
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x38]
mov dword [0x140057020], eax
mov eax, dword [rsp + 0x38]
jmp 0x1400409bc
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x14004096a
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140044ba0
add rsp, 0x178
ret
Function at 0x140043830
Capabilities:
Create thread
Hide graphical window

Disassembly:
push rdi
sub rsp, 0xc0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x14003d0b4]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x48
rep stosb byte [rdi], al
xor ecx, ecx
call qword [sym.imp.GDI32.dll_GetStockObject]
mov qword [rsp + 0xa0], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x88], 0
lea rax, [0x14003d6ec]
mov qword [rsp + 0x78], rax
lea rax, [0x14004cfe8]
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x70], 3
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_RegisterClassA]
movzx eax, ax
test eax, eax
jne 0x1400438e9
lea rdx, str._n_n_Notepad
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140030c98
nop
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x60], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x64], eax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x80000000
xor r8d, r8d
lea rdx, str.Notepad
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x140057958], rax
mov edx, 5
mov rcx, qword [0x140057958]
call qword [sym.imp.USER32.dll_ShowWindow]
lea rdx, [0x14004cfd8]
mov rcx, qword [0x140057958]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov r8d, 0x800a0
mov edx, 0xffffffec
mov rcx, qword [0x140057958]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x140057958]
call qword [sym.imp.USER32.dll_UpdateWindow]
nop
add rsp, 0xc0
pop rdi
ret
Function at 0x1400439bc
Capabilities:
Terminate process

Disassembly:
sub rsp, 0xa8
mov rax, qword [0x140056880]
xor rax, rsp
mov qword [rsp + 0x98], rax
lea rdx, [0x140056f28]
mov ecx, 0x20
call sub.d3d9.dll_Direct3DCreate9Ex
test eax, eax
jge 0x1400439f6
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
mov r8d, 0x40
xor edx, edx
lea rcx, [0x140056ee0]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x140056fd4]
mov dword [0x140056ee0], eax
mov eax, dword [0x140056fd8]
mov dword [0x140056ee4], eax
mov dword [0x140056ee8], 0x15
mov dword [0x140056ef4], 0
mov dword [0x140056f10], 0x50
mov dword [0x140056ef8], 1
mov dword [0x140056f0c], 1
mov rax, qword [0x140057958]
mov qword [0x140056f00], rax
mov dword [0x140056f08], 1
mov rax, qword [0x140056f28]
mov rax, qword [rax]
mov rax, qword [rax + 0x80]
mov qword [rsp + 0x48], rax
lea rax, [0x140057960]
mov qword [rsp + 0x30], rax
lea rax, [0x140056ee0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x20
mov r9, qword [0x140057958]
mov r8d, 1
xor edx, edx
mov rcx, qword [0x140056f28]
call qword [rsp + 0x48]
mov qword [rsp + 0x28], 0x14
mov qword [rsp + 0x20], 0x10
mov r9d, 8
mov r8d, 0x3a0
mov edx, 0x1548
lea rcx, str.1.67_WIP
call fcn.140007570
xor ecx, ecx
call fcn.1400071d0
call fcn.14000928c
mov qword [rsp + 0x40], rax
mov rcx, qword [0x140057958]
call fcn.14001fe90
mov rcx, qword [0x140057960]
call fcn.14001f55c
xor ecx, ecx
call fcn.140018530
call fcn.140009750
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
xorps xmm0, xmm0
movss dword [rax + 0x10], xmm0
lea rdx, str.C:WindowsFontsBahnschrift.ttf
lea rcx, [rsp + 0x70]
call fcn.1400345f0
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x98]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x98]
call fcn.140015e08
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x70]
call fcn.140040028
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
xor r9d, r9d
movss xmm2, dword [0x14004e450]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
call fcn.1400134a4
mov qword [0x140056e78], rax
mov rax, qword [0x140056f28]
mov rax, qword [rax]
mov rcx, qword [0x140056f28]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140044ba0
add rsp, 0xa8
ret
Function at 0x1400453c8
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x140013b80
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]
add rsp, 0x28
ret
Function at 0x14001129e
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014ed0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014ef0
xor al, al
jmp 0x140014f71
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014f03
xor al, al
jmp 0x140014f71
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 0x140014f2d
xor al, al
jmp 0x140014f71
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014f41
xor al, al
jmp 0x140014f71
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014f53
xor al, al
jmp 0x140014f71
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014f6f
xor al, al
jmp 0x140014f71
mov al, 1
add rsp, 0x38
ret
Function at 0x140011122
Capabilities:
Execute syscall

Disassembly:
jmp 0x1400123d0
mov r10, rcx
mov eax, 0x26
syscall
ret

Function at 0x1400111d1
Capabilities:
Execute syscall

Disassembly:
jmp 0x140012407
mov r10, rcx
mov eax, 0xf
syscall
ret

Function at 0x1400111fe
Capabilities:
Execute syscall

Disassembly:
jmp 0x1400123f1
mov r10, rcx
mov eax, 0xc8
syscall
ret

Function at 0x140011212
Capabilities:
Terminate process

Disassembly:
jmp 0x140013870
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 0x140011299
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014bc0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014be0
xor al, al
jmp 0x140014c61
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014bf3
xor al, al
jmp 0x140014c61
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 0x140014c1d
xor al, al
jmp 0x140014c61
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014c31
xor al, al
jmp 0x140014c61
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014c43
xor al, al
jmp 0x140014c61
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014c5f
xor al, al
jmp 0x140014c61
mov al, 1
add rsp, 0x38
ret
Function at 0x1400113ca
Capabilities:
Execute syscall

Disassembly:
jmp 0x1400123fc
mov r10, rcx
mov eax, 4
syscall
ret

Function at 0x1400113e8
Capabilities:
Execute syscall

Disassembly:
jmp 0x1400123db
mov r10, rcx
mov eax, 0x18
syscall
ret

Function at 0x1400113ed
Capabilities:
Execute syscall

Disassembly:
jmp 0x1400123e6
mov r10, rcx
mov eax, 0x3a
syscall
ret

Function at 0x140012ab0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113bb
movzx eax, al
test eax, eax
jne 0x140012ad0
mov ecx, 7
call fcn.140011339
nop
mov byte [rsp + 0x20], 0
call fcn.14001134d
mov byte [rsp + 0x21], al
cmp dword [0x14001e868], 1
jne 0x140012af4
mov ecx, 7
call fcn.140011339
nop
jmp 0x140012b4c
cmp dword [0x14001e868], 0
jne 0x140012b47
mov dword [0x14001e868], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.1400111b3
test eax, eax
je 0x140012b28
mov eax, 0xff
jmp 0x140012c51
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.140011343
mov dword [0x14001e868], 2
jmp 0x140012b4c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011325
call fcn.1400112bc
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140012ba9
mov rcx, qword [rsp + 0x30]
call fcn.140011163
movzx eax, al
test eax, eax
je 0x140012ba9
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 [0x140024020]
nop
call fcn.1400112ee
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140012bdd
mov rcx, qword [rsp + 0x38]
call fcn.140011163
movzx eax, al
test eax, eax
je 0x140012bdd
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14001137a
nop
call fcn.140012d00
mov dword [rsp + 0x28], eax
call fcn.140011299
movzx eax, al
test eax, eax
jne 0x140012bfc
mov ecx, dword [rsp + 0x28]
call fcn.140011055
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140012c0b
call fcn.140011384
nop
xor edx, edx
mov cl, 1
call fcn.140011154
mov eax, dword [rsp + 0x28]
jmp 0x140012c51
add rsp, 0x68
ret
Function at 0x140004ed0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14001b040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
lea r9, [rsp + 0x50]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140012680]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jns 0x140004f3b
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
movdqa xmm1, xmmword [0x1400157e0]
mov word [rsp + 0x58], di
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm1
jmp 0x140005021
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.14000b4d0
nop
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rcx, [rsp + 0x28]
call fcn.14000b6b0
nop
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.14000a530
mov dword [rsp + 0x20], 2
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.14000b180
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 7
jbe 0x140004fc9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004fc4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004fc4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000ea60
movdqa xmm0, xmmword [0x1400157e0]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], di
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x140005021
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000501c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000501c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000ea60
mov rax, rbx
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14000ea40
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret
Function at 0x140005af0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x570
mov rax, qword [0x14001b040]
xor rax, rsp
mov qword [rsp + 0x560], rax
lea rdx, [rsp + 0x160]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memset
lea rdx, str.steam.txt
lea rcx, [rsp + 0x50]
call fcn.140008f70
nop
lea rbx, [rsp + 0x160]
cmp byte [rsp + 0x160], 0
je 0x140005c01
xor edi, edi
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rbx + r8], 0
jne 0x140005b80
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14000c8e0
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.140005060
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rbx + rax], 0
jne 0x140005bb0
inc rbx
add rbx, rax
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140005bf8
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005bf3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005c5b
call fcn.14000ea60
cmp byte [rbx], 0
jne 0x140005b60
lea rcx, [rsp + 0x58]
call fcn.14000ab80
test rax, rax
jne 0x140005c30
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x50]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
lea rcx, [rsp + 0x50]
call fcn.140005c70
mov rcx, qword [rsp + 0x560]
xor rcx, rsp
call fcn.14000ea40
mov rbx, qword [rsp + 0x580]
add rsp, 0x570
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
int3
Function at 0x140006550
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x450
mov rax, qword [0x14001b040]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rdi, rcx
lea rdx, [rsp + 0x40]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
lea rbx, [rsp + 0x40]
cmp byte [rsp + 0x40], 0
je 0x140006669
xor esi, esi
nop dword [rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rsi
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rbx + r8], 0
jne 0x1400065c0
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.14000c8e0
nop
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x140006604
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rdx + 0x10], xmm1
mov edx, 0xf
mov byte [rsp + 0x20], 0
add qword [rdi + 8], 0x20
jmp 0x140006616
lea r8, [rsp + 0x20]
mov rcx, rdi
call fcn.14000dbd0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14000664a
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006645
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000668e
call fcn.14000ea60
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x140006651
inc rbx
add rbx, rax
cmp byte [rbx], 0
jne 0x1400065a0
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.14000ea40
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3