joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140006590
Capabilities:
Check for time delay via gettickcount

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 dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x34], 0
mov ecx, 0xfa
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x30], eax
xor eax, eax
cmp eax, 1
je 0x140006622
mov rcx, qword [rsp + 0x80]
call fcn.140008a50
mov dword [0x1404528c8], eax
cmp dword [0x1404528c8], 0
je 0x1400065fa
jmp 0x140006622
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rsp + 0x30]
cmp eax, 0x989680
jbe 0x140006620
mov dword [rsp + 0x34], 1
jmp 0x140006622
jmp 0x1400065d5
cmp dword [rsp + 0x34], 0
je 0x140006647
mov dword [rsp + 0x3c], 2
mov rcx, qword [rsp + 0x88]
call fcn.140003ff0
mov eax, dword [rsp + 0x3c]
jmp 0x1400066e9
mov edx, 0x258
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Beep]
mov edx, 0x258
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Beep]
mov edx, 0x258
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Beep]
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rsp + 0x88]
call fcn.1400072b0
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x88]
call fcn.140006260
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call fcn.140005a30
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0x88]
call fcn.140003ff0
mov eax, dword [rsp + 0x40]
add rsp, 0x68
ret
Function at 0x140006a60
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov dword [rsp + 0x30], 0
lea rax, [0x1400047f0]
test rax, rax
je 0x140006ae3
call qword [sym.imp.KERNEL32.dll_AllocConsole]
xor ecx, ecx
call fcn.140027900
mov r8, rax
lea rdx, [0x14004a27c]
lea rcx, str.CONIN_
call fcn.140027ac8
mov ecx, 1
call fcn.140027900
mov r8, rax
lea rdx, [0x14004a288]
lea rcx, [0x14004a290]
call fcn.140027ac8
mov ecx, 2
call fcn.140027900
mov r8, rax
lea rdx, [0x14004a298]
lea rcx, [0x14004a2a0]
call fcn.140027ac8
call fcn.1400077a0
test eax, eax
jne 0x140006b23
call fcn.1400066f0
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1400077a0
test eax, eax
jne 0x140006b23
mov dword [rsp + 0x34], 1
mov rcx, qword [rsp + 0xa0]
call fcn.140003ff0
mov eax, dword [rsp + 0x34]
jmp 0x140006ce9
call fcn.1400077f0
mov edx, 0xd
lea rcx, str.IGPLGN
call fcn.140008bc0
mov qword [rsp + 0x40], rax
mov edx, 6
lea rcx, str.qNGGR_
call fcn.140008bc0
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x50]
call fcn.140003640
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov rax, qword [0x1404528d8]
mov qword [rsp + 0x68], rax
mov r9, qword [rsp + 0x60]
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.140006590
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x40]
call fcn.14002732c
mov rcx, qword [rsp + 0x48]
call fcn.14002732c
cmp dword [rsp + 0x30], 2
jne 0x140006bef
lea rdx, str.____Timed_out_waiting_for_game.
lea rcx, [0x140473ec0]
call fcn.140001640
xor r9d, r9d
lea r8, [0x14004a2e0]
lea rdx, str.Timed_Out_Waiting_For_Game
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [rsp + 0x30], 0
jne 0x140006c2e
lea rcx, [0x14004a304]
call fcn.140027698
lea rdx, str.____Failed_to_inject_the_cheat.
lea rcx, [0x140473ec0]
call fcn.140001640
xor r9d, r9d
lea r8, str.Error_
lea rdx, str.Failed_to_inject_the_cheat_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [rsp + 0x30], 1
jne 0x140006c97
lea rcx, [0x14004a34c]
call fcn.140027698
lea rdx, str.___Successfully_injected_the_cheat.
lea rcx, [0x140473ec0]
call fcn.140001640
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, str.C:WindowsSystem32Injected.vbs
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
xor r9d, r9d
lea r8, str.Success_
lea rdx, str.Successfully_injected_the_cheat_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rdx, [0x14004a3dc]
lea rcx, [0x140473ec0]
call fcn.140001640
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x14004a3e0]
call fcn.140027698
call fcn.140007990
mov dword [rsp + 0x38], 1
mov rcx, qword [rsp + 0xa0]
call fcn.140003ff0
mov eax, dword [rsp + 0x38]
jmp 0x140006ce9
add rsp, 0x98
ret
Function at 0x140007460
Capabilities:
Hide graphical window
Set console window title

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0xd8
mov edx, 0xc
lea rcx, [rsp + 0x90]
call fcn.140008ae0
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.140005f90
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rcx, [rsp + 0x90]
call fcn.140003f50
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov qword [rsp + 0x48], rax
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.USER32.dll_ShowWindow]
call fcn.140006720
call fcn.140004740
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0x12c
mov r9d, 0x258
mov r8d, dword [rsp + 0x64]
mov edx, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.USER32.dll_MoveWindow]
call fcn.140006720
call fcn.140004740
call fcn.140006720
call fcn.140004740
call fcn.140006720
call fcn.140004740
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0xe8]
mov rax, qword [rcx + rax]
mov qword [rsp + 0x88], rax
lea rcx, [0x1400495a0]
call fcn.140027698
call fcn.140009d80
lea rcx, [0x1400495a4]
call fcn.140027698
lea rcx, [0x1400495a8]
call fcn.140027698
lea rdx, [0x1400495b0]
lea rcx, [0x140452958]
call fcn.1400041c0
lea rcx, [0x140452958]
call fcn.140005f90
mov qword [0x1404528d8], rax
lea rcx, [0x1400495c4]
call fcn.140027698
lea rcx, [rsp + 0x70]
call fcn.1400036f0
nop
mov qword [rsp + 0x30], 0
jmp 0x1400075c7
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
mov rax, qword [section..data]
cmp qword [rsp + 0x30], rax
jae 0x1400075f0
lea rax, [0x140067010]
add rax, qword [rsp + 0x30]
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1400070d0
jmp 0x1400075ba
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x50]
call fcn.140003640
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.140006a60
nop
lea rcx, [rsp + 0x70]
call fcn.140003ff0
xor eax, eax
add rsp, 0xd8
ret
Function at 0x140007b80
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov dword [rsp], 0
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 8], rax
mov dword [rsp], 0
jmp 0x140007bcc
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov rax, qword [rsp + 8]
add rax, 0x28
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 6]
cmp dword [rsp], eax
jge 0x140007c31
mov qword [rsp + 0x10], 0
mov rax, qword [rsp + 8]
mov eax, dword [rax + 8]
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x10], 0
jne 0x140007c05
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x10]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0xc]
cmp qword [rsp + 0x30], rax
jb 0x140007c2f
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0xc]
add rax, qword [rsp + 0x10]
cmp qword [rsp + 0x30], rax
jae 0x140007c2f
mov rax, qword [rsp + 8]
jmp 0x140007c33
jmp 0x140007bb6
xor eax, eax
add rsp, 0x28
ret
Function at 0x140008a50
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x168
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x30], 0x130
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32First
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x140008abf
mov rdx, qword [rsp + 0x170]
lea rcx, [rsp + 0x5c]
call fcn.14002a914
test eax, eax
jne 0x140008abd
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x20], eax
jmp 0x140008a8c
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x20]
add rsp, 0x168
ret
Function at 0x14001bd30
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov rax, qword [rsp + 0x20]
mov qword [rsp], rax
mov rax, qword [rsp]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001bd54
xor eax, eax
jmp 0x14001bd82
mov rax, qword [rsp]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
cmp dword [rax], 0x4550
je 0x14001bd7d
xor eax, eax
jmp 0x14001bd82
mov rax, qword [rsp + 8]
add rsp, 0x18
ret
Function at 0x14001cdb0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xc8
lea rcx, [0x1400555c0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14001cddd
xor al, al
jmp 0x14001cfd9
mov r8, qword [rsp + 0xd0]
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rsp + 0x90]
call fcn.14001c7e0
nop
lea rcx, [rsp + 0x90]
call fcn.140005fb0
mov rdx, rax
lea rcx, [rsp + 0xb0]
call sub.ntdll.dll_RtlInitUnicodeString
mov r8, qword [rsp + 0xd0]
lea rdx, str.SYSTEMCurrentControlSetServices_
lea rcx, [rsp + 0x70]
call fcn.14001c7e0
nop
lea rcx, [rsp + 0x70]
call fcn.140005fb0
lea r8, [rsp + 0x38]
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x14001ceb0
cmp dword [rsp + 0x24], 2
jne 0x14001ce89
mov byte [rsp + 0x20], 1
lea rcx, [rsp + 0x70]
call fcn.140003f80
nop
lea rcx, [rsp + 0x90]
call fcn.140003f80
movzx eax, byte [rsp + 0x20]
jmp 0x14001cfd9
mov byte [rsp + 0x21], 0
lea rcx, [rsp + 0x70]
call fcn.140003f80
nop
lea rcx, [rsp + 0x90]
call fcn.140003f80
movzx eax, byte [rsp + 0x21]
jmp 0x14001cfd9
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.NtUnloadDriver
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0xb0]
call qword [rsp + 0x48]
mov dword [rsp + 0x28], eax
lea rdx, str.___NtUnloadDriver_Status_0x
lea rcx, [0x140474210]
call fcn.14000a190
mov qword [rsp + 0x50], rax
lea rdx, [0x140016730]
mov rcx, qword [rsp + 0x50]
call fcn.14000ef30
mov qword [rsp + 0x58], rax
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x58]
call fcn.140019020
mov qword [rsp + 0x60], rax
lea rdx, [0x14000d520]
mov rcx, qword [rsp + 0x60]
call fcn.140009440
cmp dword [rsp + 0x28], 0
je 0x14001cf6e
lea rdx, str.____Driver_Unload_Failed__
lea rcx, [0x140474210]
call fcn.14000a190
mov qword [rsp + 0x68], rax
lea rdx, [0x14000d520]
mov rcx, qword [rsp + 0x68]
call fcn.140009440
lea rcx, [rsp + 0x70]
call fcn.140005fb0
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x14001cfb7
mov byte [rsp + 0x22], 0
lea rcx, [rsp + 0x70]
call fcn.140003f80
nop
lea rcx, [rsp + 0x90]
call fcn.140003f80
movzx eax, byte [rsp + 0x22]
jmp 0x14001cfd9
mov byte [rsp + 0x23], 1
lea rcx, [rsp + 0x70]
call fcn.140003f80
nop
lea rcx, [rsp + 0x90]
call fcn.140003f80
movzx eax, byte [rsp + 0x23]
add rsp, 0xc8
ret
Function at 0x14001d180
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x30], 0xffffffffffffffff
inc qword [rsp + 0x30]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
cmp byte [rax + rcx], 0
jne 0x14001d1a9
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x88]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x20], 0
jmp 0x14001d213
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x20], eax
jae 0x14001d2d9
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x80]
mov rcx, rax
call fcn.140046680
test eax, eax
jne 0x14001d2d4
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x38], 0xffffffffffffffff
inc qword [rsp + 0x38]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x38]
cmp byte [rax + rcx], 0
jne 0x14001d26f
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x48], rax
jne 0x14001d2d4
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0xc], 0
jne 0x14001d29f
xor eax, eax
jmp 0x14001d2db
cmp qword [rsp + 0x90], 0
je 0x14001d2bc
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 8]
mov dword [rax], ecx
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
jmp 0x14001d2db
jmp 0x14001d209
xor eax, eax
add rsp, 0x78
ret
Function at 0x14001d2e0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x260
mov dword [rsp + 0x20], 0
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
lea rdx, [rsp + 0x50]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x14001d32b
cmp dword [rsp + 0x24], 0x105
jbe 0x14001d380
lea rdx, str.____Failed_to_get_temp_path
lea rcx, [0x140474210]
call fcn.14000a670
mov qword [rsp + 0x38], rax
lea rdx, [0x14000d520]
mov rcx, qword [rsp + 0x38]
call fcn.140009440
lea rdx, [0x140055710]
mov rcx, qword [rsp + 0x270]
call fcn.14000dec0
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x270]
jmp 0x14001d412
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x28], 0xffffffffffffffff
inc qword [rsp + 0x28]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
cmp word [rax + rcx*2], 0
jne 0x14001d393
mov rax, qword [rsp + 0x28]
movzx eax, word [rsp + rax*2 + 0x4e]
cmp eax, 0x5c
jne 0x14001d3ed
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], 0xffffffffffffffff
inc qword [rsp + 0x30]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
cmp word [rax + rcx*2], 0
jne 0x14001d3cb
mov rax, qword [rsp + 0x30]
xor ecx, ecx
mov word [rsp + rax*2 + 0x4e], cx
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x270]
call fcn.14000dec0
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
Function at 0x14001d420
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x24], 0
lea r9, [rsp + 0x24]
mov r8d, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x28]
mov ecx, 0xb
call sub.ntdll.dll_NtQuerySystemInformation
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xc0000004
jne 0x14001d4b5
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [rsp + 0x24]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x24]
mov r8d, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x28]
mov ecx, 0xb
call sub.ntdll.dll_NtQuerySystemInformation
mov dword [rsp + 0x30], eax
jmp 0x14001d45a
cmp dword [rsp + 0x30], 0
jge 0x14001d4de
cmp qword [rsp + 0x28], 0
je 0x14001d4d7
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x14001d5f8
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x14001d4f7
xor eax, eax
jmp 0x14001d5f8
mov dword [rsp + 0x20], 0
jmp 0x14001d50b
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
cmp dword [rsp + 0x20], eax
jae 0x14001d5e3
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x128
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax + 8]
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x128
mov rdx, qword [rsp + 0x38]
movzx ecx, word [rdx + rcx + 0x2e]
lea rax, [rax + rcx + 0x28]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400033d0
mov rcx, qword [rsp + 0x90]
call fcn.140005f90
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x60]
call fcn.140005f90
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
call fcn.14002a914
test eax, eax
jne 0x14001d5d4
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x128
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx + rax + 0x18]
mov qword [rsp + 0x50], rax
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x60]
call fcn.140003f50
mov rax, qword [rsp + 0x58]
jmp 0x14001d5f8
lea rcx, [rsp + 0x60]
call fcn.140003f50
jmp 0x14001d501
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
add rsp, 0x88
ret

Function at 0x140020e58
Capabilities:
Parse pe header

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

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400274b3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400274b3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400274b3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400274b3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400274b3
cmp dword [rcx + 0x84], 0xe
jbe 0x1400274b3
cmp dword [rcx + 0xf8], 0
je 0x1400274b3
mov ecx, ebx
call fcn.140027564
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140027340
nop
cmp dword [rbp + 0x20], 0
je 0x140027501
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14002750c
int3
xor r8d, r8d
xor edx, edx
jmp 0x140027444

Function at 0x14002af60
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14002af80
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14002d704
or eax, 0xffffffff
jmp 0x14002af82
xor eax, eax
add rsp, 0x28
ret
Function at 0x14003831c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140020600
sub rsp, rax
mov rax, qword [0x1404514c0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140035e9c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14003836b
mov rax, rbp
jmp 0x140038473
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x475270]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140039604
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x475270]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14003846f
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14003846f
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140039604
test rax, rax
js 0x14003846f
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14003846f
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140038461
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140038461
cmp byte [rcx], 0xd
jne 0x140038447
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140038456
cmp byte [rcx + 1], 0xa
jne 0x140038456
inc rcx
jmp 0x140038456
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x4518f0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140038429
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140038473
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140020a80
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x140038790
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400387a6
mov al, 1
jmp 0x140038806
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400387b7
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140038804
mov ecx, dword [rcx + 0x18]
nop
call fcn.14003d410
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140038804
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140038804
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140038804
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140038806
xor al, al
add rsp, 0x20
pop rbx
ret