joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140040630
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xb], 0
je 0x140040653
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x5b]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xa
jb 0x140040640
mov byte [rcx + 0xb], 0
ret

Function at 0x140040660
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x19], 0
je 0x140040683
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x5b]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x18
jb 0x140040670
mov byte [rcx + 0x19], 0
ret

Function at 0x140040690
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x37], 0
je 0x1400406b3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x5b]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x36
jb 0x1400406a0
mov byte [rcx + 0x37], 0
ret

Function at 0x1400406c0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x2a], 0
je 0x1400406e3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x5b]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x29
jb 0x1400406d0
mov byte [rcx + 0x2a], 0
ret

Function at 0x1400406f0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x15], 0
je 0x140040713
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x5b]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x14
jb 0x140040700
mov byte [rcx + 0x15], 0
ret

Function at 0x140040720
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1b], 0
je 0x140040743
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x5b]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x1a
jb 0x140040730
mov byte [rcx + 0x1b], 0
ret

Function at 0x140040750
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x17], 0
je 0x140040773
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x5b]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x16
jb 0x140040760
mov byte [rcx + 0x17], 0
ret

Function at 0x140040780
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xa], 0
je 0x1400407a3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x5b]
xor byte [rax + rcx], dl
inc rax
cmp rax, 9
jb 0x140040790
mov byte [rcx + 0xa], 0
ret

Function at 0x1400407b0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 7], 0
je 0x1400407d3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x5b]
xor byte [rax + rcx], dl
inc rax
cmp rax, 6
jb 0x1400407c0
mov byte [rcx + 7], 0
ret

Function at 0x1400407e0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x18], 0
je 0x140040803
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x5b]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x17
jb 0x1400407f0
mov byte [rcx + 0x18], 0
ret

Function at 0x140040810
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xa], 0
je 0x140040838
xor eax, eax
mov r8d, 0x2d5b
nop
movzx edx, ax
sub dx, r8w
xor word [rcx + rax*2], dx
inc rax
cmp rax, 4
jb 0x140040820
mov byte [rcx + 0xa], 0
ret
Function at 0x140045970
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x270
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x1400459d1
lea r8, [r10 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x140045990
mov ecx, dword [r10]
jmp 0x140045aba
cmp ecx, 0x4e0
jb 0x140045aba
lea r11, [r10 + 0x9c4]
mov qword [rsp], rbx
mov eax, dword [r11]
mov ebx, 0xe3
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x1400459f0
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140045a40
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x140001350
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x28], 0
mov ecx, 0x1014
call fcn.140026b20
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140001387
xor eax, eax
jmp 0x14000144a
mov dword [rsp + 0x24], 0
jmp 0x14000139b
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0x100e
jge 0x140001404
mov byte [rsp + 0x20], 0
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov edx, 1
mov rcx, rax
call fcn.140001320
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
cmp eax, 0xc3
je 0x1400013e3
movzx eax, byte [rsp + 0x20]
cmp eax, 0xcc
jne 0x1400013e5
jmp 0x140001404
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
movzx edx, byte [rsp + 0x20]
mov byte [rcx + rax + 4], dl
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
jmp 0x140001391
mov dword [rsp + 0x24], 0
jmp 0x140001418
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 7
jge 0x14000143a
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
mov byte [rcx + rax + 4], 0xcc
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
jmp 0x14000140e
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x28]
mov dword [rax], ecx
mov rax, qword [rsp + 0x30]
add rsp, 0x48
ret

Function at 0x1400038a0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r9d, 0x6c078965
mov r8d, 0xffffffff
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.140003850
mov rax, qword [rsp + 0x30]
add rsp, 0x28
ret
Function at 0x140007450
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
lea rdx, str.Waiting_for_Proc._n
lea rcx, [0x14008c880]
call fcn.1400016c0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x30], eax
xor eax, eax
cmp eax, 1
je 0x1400074e8
mov rcx, qword [rsp + 0x80]
call fcn.1400097a0
mov dword [0x14006b0c8], eax
cmp dword [0x14006b0c8], 0
je 0x1400074c2
jmp 0x1400074e8
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rsp + 0x30]
cmp eax, 0x3c
jbe 0x1400074e6
mov dword [rsp + 0x34], 1
jmp 0x1400074e8
jmp 0x14000749d
cmp dword [rsp + 0x34], 0
je 0x14000750d
mov dword [rsp + 0x3c], 2
mov rcx, qword [rsp + 0x88]
call fcn.140004580
mov eax, dword [rsp + 0x3c]
jmp 0x1400075b3
mov edx, 0x258
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Beep]
lea rdx, str.Injecting.._n
lea rcx, [0x14008c880]
call fcn.1400016c0
mov rcx, qword [rsp + 0x88]
call fcn.140007f00
mov rdx, rax
lea rcx, str.module_____d_n
call fcn.1400083e0
mov rcx, qword [rsp + 0x88]
call fcn.140007f00
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x88]
call fcn.140006ec0
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.140006650
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0x88]
call fcn.140004580
mov eax, dword [rsp + 0x40]
add rsp, 0x68
ret
Function at 0x1400081c0
Capabilities:
Set console window title

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0xe8
mov edx, 0xc
lea rcx, [rsp + 0xa0]
call fcn.140009830
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.140006bf0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rcx, [rsp + 0xa0]
call fcn.140004450
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov qword [rsp + 0x48], rax
mov edx, 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.USER32.dll_ShowWindow]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x70]
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 + 0x74]
mov edx, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.USER32.dll_MoveWindow]
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0xf8]
mov rax, qword [rcx + rax]
mov qword [rsp + 0x98], rax
lea rcx, [0x14004971c]
call fcn.140027318
lea rdx, str.___Loading_Driver
lea rcx, [0x14008c880]
call fcn.1400016c0
mov qword [rsp + 0x50], rax
lea rdx, [0x140003120]
mov rcx, qword [rsp + 0x50]
call fcn.140004900
call fcn.140009ba0
test eax, eax
je 0x1400083ba
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x140049734]
call fcn.140027318
lea rdx, str.ModernWarfare.exe
lea rcx, [0x14006b158]
call fcn.1400048d0
lea rcx, [0x14006b158]
call fcn.140006bf0
mov qword [0x14006b0d8], rax
lea rdx, str.___Injecting_DLL
lea rcx, [0x14008c880]
call fcn.1400016c0
mov qword [rsp + 0x58], rax
lea rdx, [0x140003120]
mov rcx, qword [rsp + 0x58]
call fcn.140004900
lea rcx, [rsp + 0x80]
call fcn.140003990
nop
mov qword [rsp + 0x30], 0
jmp 0x140008352
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
mov rax, qword [section..data]
cmp qword [rsp + 0x30], rax
jae 0x14000837e
lea rax, [0x14006b0bd]
add rax, qword [rsp + 0x30]
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.140007bf0
jmp 0x140008345
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call fcn.1400038e0
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.140007620
nop
lea rcx, [rsp + 0x80]
call fcn.140004580
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call fcn.1400272c8
nop
add rsp, 0xe8
ret
Function at 0x1400089a0
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 0x1400089ec
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 0x140008a51
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 0x140008a25
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 0x140008a4f
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0xc]
add rax, qword [rsp + 0x10]
cmp qword [rsp + 0x30], rax
jae 0x140008a4f
mov rax, qword [rsp + 8]
jmp 0x140008a53
jmp 0x1400089d6
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400097a0
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 0x14000980f
mov rdx, qword [rsp + 0x170]
lea rcx, [rsp + 0x5c]
call fcn.14002a598
test eax, eax
jne 0x14000980d
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x20], eax
jmp 0x1400097dc
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x20]
add rsp, 0x168
ret
Function at 0x14001b9a0
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 0x14001b9c4
xor eax, eax
jmp 0x14001b9f2
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 0x14001b9ed
xor eax, eax
jmp 0x14001b9f2
mov rax, qword [rsp + 8]
add rsp, 0x18
ret
Function at 0x14001ca20
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xc8
lea rcx, [0x140054990]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14001ca4d
xor al, al
jmp 0x14001cc49
mov r8, qword [rsp + 0xd0]
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rsp + 0x90]
call fcn.14001c450
nop
lea rcx, [rsp + 0x90]
call fcn.140006c10
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.14001c450
nop
lea rcx, [rsp + 0x70]
call fcn.140006c10
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 0x14001cb20
cmp dword [rsp + 0x24], 2
jne 0x14001caf9
mov byte [rsp + 0x20], 1
lea rcx, [rsp + 0x70]
call fcn.140004480
nop
lea rcx, [rsp + 0x90]
call fcn.140004480
movzx eax, byte [rsp + 0x20]
jmp 0x14001cc49
mov byte [rsp + 0x21], 0
lea rcx, [rsp + 0x70]
call fcn.140004480
nop
lea rcx, [rsp + 0x90]
call fcn.140004480
movzx eax, byte [rsp + 0x21]
jmp 0x14001cc49
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, [0x14008ca10]
call fcn.140009dd0
mov qword [rsp + 0x50], rax
lea rdx, [0x1400163a0]
mov rcx, qword [rsp + 0x50]
call fcn.14000eb70
mov qword [rsp + 0x58], rax
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x58]
call fcn.140018c90
mov qword [rsp + 0x60], rax
lea rdx, [0x14000d160]
mov rcx, qword [rsp + 0x60]
call fcn.140004900
cmp dword [rsp + 0x28], 0
je 0x14001cbde
lea rdx, str.____Driver_Unload_Failed__
lea rcx, [0x14008ca10]
call fcn.140009dd0
mov qword [rsp + 0x68], rax
lea rdx, [0x14000d160]
mov rcx, qword [rsp + 0x68]
call fcn.140004900
lea rcx, [rsp + 0x70]
call fcn.140006c10
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x14001cc27
mov byte [rsp + 0x22], 0
lea rcx, [rsp + 0x70]
call fcn.140004480
nop
lea rcx, [rsp + 0x90]
call fcn.140004480
movzx eax, byte [rsp + 0x22]
jmp 0x14001cc49
mov byte [rsp + 0x23], 1
lea rcx, [rsp + 0x70]
call fcn.140004480
nop
lea rcx, [rsp + 0x90]
call fcn.140004480
movzx eax, byte [rsp + 0x23]
add rsp, 0xc8
ret
Function at 0x14001cdf0
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 0x14001ce19
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 0x14001ce83
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 0x14001cf49
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.140046300
test eax, eax
jne 0x14001cf44
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 0x14001cedf
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x48], rax
jne 0x14001cf44
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0xc], 0
jne 0x14001cf0f
xor eax, eax
jmp 0x14001cf4b
cmp qword [rsp + 0x90], 0
je 0x14001cf2c
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 0x14001cf4b
jmp 0x14001ce79
xor eax, eax
add rsp, 0x78
ret
Function at 0x14001cf50
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 0x14001cf9b
cmp dword [rsp + 0x24], 0x105
jbe 0x14001cff0
lea rdx, str.____Failed_to_get_temp_path
lea rcx, [0x14008ca10]
call fcn.14000a2b0
mov qword [rsp + 0x38], rax
lea rdx, [0x14000d160]
mov rcx, qword [rsp + 0x38]
call fcn.140004900
lea rdx, [0x140054ae0]
mov rcx, qword [rsp + 0x270]
call fcn.14000db00
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x270]
jmp 0x14001d082
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 0x14001d003
mov rax, qword [rsp + 0x28]
movzx eax, word [rsp + rax*2 + 0x4e]
cmp eax, 0x5c
jne 0x14001d05d
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 0x14001d03b
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.14000db00
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 0x14001d090
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 0x14001d125
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 0x14001d0ca
cmp dword [rsp + 0x30], 0
jge 0x14001d14e
cmp qword [rsp + 0x28], 0
je 0x14001d147
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x14001d268
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x14001d167
xor eax, eax
jmp 0x14001d268
mov dword [rsp + 0x20], 0
jmp 0x14001d17b
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 0x14001d253
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.140003620
mov rcx, qword [rsp + 0x90]
call fcn.140006bf0
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x60]
call fcn.140006bf0
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
call fcn.14002a598
test eax, eax
jne 0x14001d244
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.140004450
mov rax, qword [rsp + 0x58]
jmp 0x14001d268
lea rcx, [rsp + 0x60]
call fcn.140004450
jmp 0x14001d171
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 0x140020ac8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140020b12
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140020b12
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140020b12
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140020b12
cmp dword [rcx + 0x84], 0xe
jbe 0x140020b12
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140020b14
xor al, al
add rsp, 0x28
ret
Function at 0x1400272c8
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 0x140027133
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140027133
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140027133
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140027133
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140027133
cmp dword [rcx + 0x84], 0xe
jbe 0x140027133
cmp dword [rcx + 0xf8], 0
je 0x140027133
mov ecx, ebx
call fcn.1400271e4
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.140026fc0
nop
cmp dword [rbp + 0x20], 0
je 0x140027181
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14002718c
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400270c4

Function at 0x14002abe0
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14002ac00
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14002d380
or eax, 0xffffffff
jmp 0x14002ac02
xor eax, eax
add rsp, 0x28
ret