joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140010d80
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x28]
call fcn.140011ca0
nop
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x140010dd4
mov dword [rsp + 0x48], 1
lea rcx, [rsp + 0x28]
call fcn.140011cd0
mov eax, dword [rsp + 0x48]
jmp 0x140010eda
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x28]
call fcn.140011d40
test eax, eax
jne 0x140010dec
jmp 0x140010eaa
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x28]
call fcn.140010f40
nop
lea rdx, [0x140065dc0]
lea rcx, [rsp + 0x38]
call fcn.140006800
test eax, eax
je 0x140010e47
lea rdx, [0x140065df0]
lea rcx, [rsp + 0x38]
call fcn.140006800
test eax, eax
je 0x140010e47
lea rdx, str.Baymax_Patcher_Tools
lea rcx, [rsp + 0x38]
call fcn.140006800
test eax, eax
je 0x140010e47
lea rcx, [rsp + 0x38]
call fcn.1400038a0
jmp 0x140010eaa
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.140010f90
nop
lea rdx, [0x140065e48]
lea rcx, [rsp + 0x40]
call fcn.140006800
test eax, eax
je 0x140010e83
lea rcx, [rsp + 0x40]
call fcn.1400038a0
nop
lea rcx, [rsp + 0x38]
call fcn.1400038a0
jmp 0x140010eaa
mov dword [rsp + 0x20], 1
lea rcx, [rsp + 0x40]
call fcn.1400038a0
nop
lea rcx, [rsp + 0x38]
call fcn.1400038a0
xor eax, eax
test eax, eax
jne 0x140010dd4
cmp dword [rsp + 0x20], 0
jne 0x140010ec4
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.140010ba0
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x4c], eax
lea rcx, [rsp + 0x28]
call fcn.140011cd0
mov eax, dword [rsp + 0x4c]
add rsp, 0x68
ret

Function at 0x140011d40
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rcx, qword [rsp + 0x58]
call fcn.14004d268
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x58]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x140011d79
xor eax, eax
jmp 0x140011e39
mov ecx, dword [rsp + 0x34]
call fcn.14004d1f8
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x38]
mov qword [rcx], rax
mov r9, qword [rsp + 0x50]
mov r9, qword [r9]
mov r8d, dword [rsp + 0x34]
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x58]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x140011dc1
mov rcx, qword [rsp + 0x50]
call fcn.140011cf0
xor eax, eax
jmp 0x140011e39
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x28]
lea rdx, str.VarFileInfoTranslation
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x140011df1
mov rcx, qword [rsp + 0x50]
call fcn.140011cf0
xor eax, eax
jmp 0x140011e39
mov rax, qword [rsp + 0x28]
mov eax, dword [rax]
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
and rax, 0xffff
movzx ecx, ax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax]
and rax, 0xffff
movzx eax, ax
and rax, 0xffff
movzx eax, ax
shl eax, 0x10
or ecx, eax
mov rax, qword [rsp + 0x50]
mov dword [rax + 8], ecx
mov eax, 1
add rsp, 0x48
ret
Function at 0x140017d00
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0xb0]
mov dword [rax], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
jg 0x140017d7f
mov dword [rsp + 0x68], 0x400
movsxd rcx, dword [rsp + 0x68]
call fcn.14004d1f8
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140017da5
jmp 0x140017e8e
movsxd r9, dword [rsp + 0x68]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x140017dde
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140017e8e
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 0x3c]
mov rax, qword [rsp + 0x30]
add rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x60]
movzx eax, word [rax]
cmp eax, 0x5a4d
jne 0x140017e1a
mov rax, qword [rsp + 0x58]
cmp dword [rax], 0x4550
je 0x140017e1c
jmp 0x140017e8e
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 0x18]
cmp eax, 0x10b
jne 0x140017e48
mov dword [rsp + 0x3c], 0
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x28]
mov dword [rcx], eax
jmp 0x140017e7c
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x140017e7c
mov dword [rsp + 0x3c], 1
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x28]
mov dword [rcx], eax
mov dword [rsp + 0x48], 1
xor eax, eax
test eax, eax
jne 0x140017d65
cmp qword [rsp + 0x30], 0
je 0x140017eb3
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x78]
call fcn.14004e79c
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x48]
add rsp, 0x88
ret
Function at 0x140018130
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x128
mov rax, qword [0x14007a9b0]
xor rax, rsp
mov qword [rsp + 0x118], rax
mov dword [rsp + 0x100], 0
call fcn.140018a40
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov rax, qword [rax + 8]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xf8]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x148]
add rax, 0x30
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x148]
add rax, 0x40
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x148]
add rax, 0x38
mov qword [rsp + 0xe8], rax
lea rcx, [rsp + 0x40]
call fcn.140018330
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x40]
call fcn.140018720
mov rdx, qword [rsp + 0xd8]
lea rcx, [rsp + 0x40]
call fcn.140018740
mov rdx, qword [rsp + 0x140]
lea rcx, [rsp + 0x40]
call fcn.140018700
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0x40]
call fcn.140018760
mov rdx, qword [rsp + 0x110]
lea rcx, [rsp + 0x40]
call fcn.1400187a0
mov rdx, qword [rsp + 0xe8]
lea rcx, [rsp + 0x40]
call fcn.1400187e0
mov qword [rsp + 0x108], 0
mov dword [rsp + 0xd0], 0x8f
mov dword [rsp + 0x20], 0x40
mov r9d, 0x1000
mov r8d, 0x1000
xor edx, edx
mov rcx, qword [rsp + 0x138]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x108], rax
cmp qword [rsp + 0x108], 0
jne 0x1400182a1
xor eax, eax
jmp 0x14001830b
mov qword [rsp + 0x30], 0
movsxd r9, dword [rsp + 0xd0]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x40]
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x138]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rsp + 0x100], eax
cmp dword [rsp + 0x100], 0
jne 0x1400182f1
mov eax, dword [rsp + 0x100]
jmp 0x14001830b
mov rcx, qword [rsp + 0x150]
mov rax, qword [rsp + 0x108]
mov qword [rcx], rax
mov eax, dword [rsp + 0x100]
mov rcx, qword [rsp + 0x118]
xor rcx, rsp
call fcn.14004c9e0
add rsp, 0x128
ret
Function at 0x140018820
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x14007a9b0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x5c], 0
lea rcx, [rsp + 0x40]
call fcn.140018940
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x40]
call fcn.1400189f0
mov dword [rsp + 0x58], 0x10
mov dword [rsp + 0x30], 0
movsxd r8, dword [rsp + 0x58]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x1400188b0
mov eax, dword [rsp + 0x5c]
jmp 0x140018926
mov qword [rsp + 0x50], 0
movsxd r9, dword [rsp + 0x58]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x40]
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 0
jne 0x1400188f4
mov eax, dword [rsp + 0x5c]
jmp 0x140018926
movsxd r8, dword [rsp + 0x58]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14004c9e0
add rsp, 0x78
ret

Function at 0x140018c60
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x258
mov rax, qword [0x14007a9b0]
xor rax, rsp
mov qword [rsp + 0x240], rax
cmp qword [0x14007cbc0], 0
jne 0x140018ccb
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, str._ntdll.dll
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.140003fa0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.RtlGetVersion
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14007cbc0], rax
mov rax, qword [0x14007cbc0]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14004c9e0
add rsp, 0x258
ret
Function at 0x140018f20
Capabilities:
Check os version

Disassembly:
push rdi
sub rsp, 0x2a0
mov rax, qword [0x14007a9b0]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov qword [rsp + 0x28], 0
call fcn.140018c60
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140018f87
mov dword [rsp + 0x40], 0x11c
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x140018f85
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x34], eax
jmp 0x140018fd4
lea rdi, [rsp + 0x160]
xor eax, eax
mov ecx, 0x11c
rep stosb byte [rdi], al
mov dword [rsp + 0x160], 0x11c
lea rcx, [rsp + 0x160]
call qword [rsp + 0x28]
test eax, eax
jne 0x140018fd4
mov eax, dword [rsp + 0x164]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x168]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x16c]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x280], eax
cmp dword [rsp + 0x280], 5
je 0x140019002
cmp dword [rsp + 0x280], 6
je 0x14001900f
cmp dword [rsp + 0x280], 0xa
je 0x140019076
jmp 0x1400190b3
mov dword [rsp + 0x30], 0x3e9
jmp 0x1400190bb
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x284], eax
cmp dword [rsp + 0x284], 0
je 0x140019044
cmp dword [rsp + 0x284], 1
je 0x14001904e
cmp dword [rsp + 0x284], 2
je 0x140019058
cmp dword [rsp + 0x284], 3
je 0x140019062
jmp 0x14001906c
mov dword [rsp + 0x30], 0x3ee
jmp 0x140019074
mov dword [rsp + 0x30], 0x3ef
jmp 0x140019074
mov dword [rsp + 0x30], 0x3f0
jmp 0x140019074
mov dword [rsp + 0x30], 0x3f1
jmp 0x140019074
mov dword [rsp + 0x30], 0x3f2
jmp 0x1400190bb
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x288], eax
cmp dword [rsp + 0x288], 0
je 0x14001908d
jmp 0x1400190a9
mov dword [rsp + 0x30], 0x3f2
cmp dword [rsp + 0x34], 0x55f0
jb 0x1400190a7
mov dword [rsp + 0x30], 0x3f3
jmp 0x1400190b1
mov dword [rsp + 0x30], 0x3f3
jmp 0x1400190bb
mov dword [rsp + 0x30], 0x3f3
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.14004c9e0
add rsp, 0x2a0
pop rdi
ret
Function at 0x1400202d0
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x2c8
mov qword [rsp + 0x2a8], 0xfffffffffffffffe
mov rax, qword [0x14007a9b0]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov rdx, qword [rsp + 0x2d8]
lea rcx, [rsp + 0x20]
call fcn.140007500
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x280]
call fcn.140007500
nop
lea rcx, [rsp + 0x20]
call fcn.140011190
mov rdx, rax
mov rcx, qword [rsp + 0x2d0]
call fcn.14001f950
test eax, eax
jne 0x140020356
lea rdx, [0x1400681a8]
lea rcx, [rsp + 0x20]
call fcn.1400034d0
jmp 0x140020367
lea rdx, [0x1400681b4]
lea rcx, [rsp + 0x20]
call fcn.1400034d0
lea rcx, [rsp + 0x20]
call fcn.140011190
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x288], rax
cmp qword [rsp + 0x288], 0xffffffffffffffff
jne 0x1400203c1
mov dword [rsp + 0x2a0], 1
lea rcx, [rsp + 0x280]
call fcn.1400038a0
nop
lea rcx, [rsp + 0x20]
call fcn.1400038a0
mov eax, dword [rsp + 0x2a0]
jmp 0x140020489
movzx eax, word [rsp + 0x5c]
cmp eax, 0x2e
jne 0x1400203cd
jmp 0x140020436
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x298]
call fcn.140007500
nop
lea rdx, [0x1400681b8]
lea rcx, [rsp + 0x298]
call fcn.1400034d0
lea rdx, [rsp + 0x5c]
lea rcx, [rsp + 0x298]
call fcn.1400034d0
lea rdx, [rsp + 0x298]
mov rcx, qword [rsp + 0x2d0]
call fcn.14001fb30
mov dword [rsp + 0x290], 0
lea rcx, [rsp + 0x298]
call fcn.1400038a0
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x288]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400203c1
mov rcx, qword [rsp + 0x288]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov dword [rsp + 0x2a4], 1
lea rcx, [rsp + 0x280]
call fcn.1400038a0
nop
lea rcx, [rsp + 0x20]
call fcn.1400038a0
mov eax, dword [rsp + 0x2a4]
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.14004c9e0
add rsp, 0x2c8
ret
Function at 0x140020ff0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x40
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0xd0], 0
jne 0x14002104b
mov rcx, qword [rsp + 0x50]
add rcx, 0x60
call fcn.140011190
mov rbx, rax
mov rcx, qword [rsp + 0x50]
add rcx, 0x70
call fcn.140011190
mov r9, rbx
mov r8, rax
lea rdx, str.LANGUAGE
lea rcx, str.BAYMAX64
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x1400210cf
mov dword [rsp + 0x30], 1
mov rcx, qword [rsp + 0x50]
add rcx, 0x70
call fcn.1400064a0
cdqe
shl rax, 1
mov dword [rsp + 0x34], eax
mov rcx, qword [rsp + 0x50]
add rcx, 0x70
call fcn.140011190
mov rbx, rax
mov rcx, qword [rsp + 0x50]
add rcx, 0xe0
call fcn.140011190
mov r8, rax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, dword [rsp + 0x30]
lea rdx, str.SoftwareBaymaxPatchToolsDefaultLang
mov rcx, 0xffffffff80000001
call qword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x1400210c6
xor eax, eax
jmp 0x1400210cf
mov eax, 1
jmp 0x1400210cf
add rsp, 0x40
pop rbx
ret

Function at 0x140025e40
Capabilities:
Enumerate threads
Resume thread
Suspend thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x60
mov dword [rsp + 0x48], 0
mov qword [rsp + 0x20], 0
xor edx, edx
mov ecx, 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
jne 0x140025e85
mov eax, dword [rsp + 0x48]
jmp 0x140025f40
mov dword [rsp + 0x28], 0
lea rdi, [rsp + 0x2c]
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
mov dword [rsp + 0x28], 0x1c
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x140025f31
mov dword [rsp + 0x48], 1
mov eax, dword [rsp + 0x70]
cmp dword [rsp + 0x34], eax
jne 0x140025f1e
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x30], eax
je 0x140025f1e
mov r8d, dword [rsp + 0x30]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140025f1e
cmp dword [rsp + 0x80], 0
je 0x140025f08
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
jmp 0x140025f13
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x140025ebe
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x48]
add rsp, 0x60
pop rdi
ret
Function at 0x140027b30
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x70
mov dword [rsp + 0x44], 0
mov rcx, qword [rsp + 0x88]
add rcx, 0x50
call fcn.1400311f0
test rax, rax
jne 0x140027b64
xor eax, eax
jmp 0x140027c90
mov dword [rsp + 0x40], 0
mov rcx, qword [rsp + 0x88]
add rcx, 0x50
lea rdx, [rsp + 0x30]
call fcn.140011080
mov rcx, qword [rsp + 0x88]
add rcx, 0x50
lea rdx, [rsp + 0x58]
call fcn.140013f70
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400319e0
movzx eax, al
test eax, eax
je 0x140027c8c
lea rcx, [rsp + 0x30]
call fcn.140014020
mov eax, dword [rax]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x4c], 4
mov dword [rsp + 0x50], 4
lea rcx, [rsp + 0x30]
call fcn.140014020
mov rcx, rax
add rcx, 8
call fcn.140011190
mov r8, rax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x4c]
lea rdx, [0x140069680]
mov rcx, 0xffffffff80000001
call qword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
je 0x140027c39
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsp + 0x30]
call fcn.140014020
mov dword [rsp + 0x44], 0
jmp 0x140027c7d
lea rcx, [rsp + 0x30]
call fcn.140014020
mov rbx, rax
add rbx, 8
lea rcx, [rsp + 0x30]
call fcn.140014020
mov rcx, qword [rsp + 0x80]
add rcx, 0x50
mov rdx, rax
call fcn.14001dce0
mov rdx, rbx
mov rcx, rax
call fcn.14000bd40
lea rcx, [rsp + 0x30]
call fcn.140014020
lea rcx, [rsp + 0x30]
call fcn.1400111a0
jmp 0x140027b82
mov eax, dword [rsp + 0x44]
add rsp, 0x70
pop rbx
ret
Function at 0x140027ca0
Capabilities:
Create process on windows
Create process suspended
Resume thread
Terminate process

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x530
mov qword [rsp + 0x518], 0xfffffffffffffffe
mov rax, qword [0x14007a9b0]
xor rax, rsp
mov qword [rsp + 0x520], rax
mov dword [rsp + 0x508], 0
mov rdx, qword [rsp + 0x548]
mov rcx, qword [rsp + 0x540]
call fcn.140027b30
mov rdx, qword [rsp + 0x548]
mov rcx, qword [rsp + 0x540]
call fcn.1400275f0
test eax, eax
jne 0x140027d15
mov eax, dword [rsp + 0x508]
jmp 0x140027f1e
lea rdi, [rsp + 0xf0]
xor eax, eax
mov ecx, 0x410
rep stosb byte [rdi], al
lea rcx, [rsp + 0x500]
call fcn.140003230
nop
mov r8, qword [rsp + 0x540]
mov r8, qword [r8 + 0x98]
lea rdx, str.__s___baymax
lea rcx, [rsp + 0x500]
call fcn.140005730
lea rcx, [rsp + 0x500]
call fcn.140011190
mov r8, rax
mov edx, 0x208
lea rcx, [rsp + 0xf0]
call fcn.140003f30
lea rdi, [rsp + 0x70]
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
mov dword [rsp + 0x70], 0x68
lea rdi, [rsp + 0x58]
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x540]
add rcx, 0x98
call fcn.140011190
mov rcx, rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [rsp + 0x508], eax
cmp dword [rsp + 0x508], 0
jne 0x140027e3c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [rsp + 0x508]
mov dword [rsp + 0x510], eax
lea rcx, [rsp + 0x500]
call fcn.1400038a0
mov eax, dword [rsp + 0x510]
jmp 0x140027f1e
mov dword [rsp + 0x508], 0
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rsp + 0x54], 0
mov rcx, qword [rsp + 0x540]
add rcx, 0x18
call fcn.1400311f0
test rax, rax
je 0x140027e72
jmp 0x140027ecb
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, 0xbb8
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x140027eb5
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [rsp + 0x50c], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x540]
add rcx, 0x18
call fcn.1400311f0
test rax, rax
je 0x140027ee6
lea rdx, [rsp + 0x54]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov dword [rsp + 0x508], 1
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x508]
mov dword [rsp + 0x514], eax
lea rcx, [rsp + 0x500]
call fcn.1400038a0
mov eax, dword [rsp + 0x514]
mov rcx, qword [rsp + 0x520]
xor rcx, rsp
call fcn.14004c9e0
add rsp, 0x530
pop rdi
ret
Function at 0x140028170
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov rcx, qword [rsp + 0xc8]
add rcx, 0x50
call fcn.1400311f0
test rax, rax
je 0x1400281b9
mov rcx, qword [rsp + 0xc0]
add rcx, 0x50
call fcn.14000c420
test rax, rax
jne 0x1400281e2
mov rcx, qword [rsp + 0xc8]
add rcx, 0x50
call fcn.1400311f0
mov rcx, qword [rsp + 0xc0]
add rcx, 0x50
call fcn.14000c420
xor eax, eax
jmp 0x1400283ef
lea rcx, [rsp + 0x38]
call fcn.140003230
nop
mov rcx, qword [rsp + 0xc0]
add rcx, 0x18
lea rdx, [rsp + 0x40]
call fcn.140011080
mov rcx, qword [rsp + 0xc0]
add rcx, 0x18
lea rdx, [rsp + 0x68]
call fcn.140013f70
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400319e0
movzx eax, al
test eax, eax
je 0x1400282b4
lea rcx, [rsp + 0x40]
call fcn.140014f60
mov rcx, qword [rsp + 0xc0]
add rcx, 0x50
mov r8, rax
lea rdx, [rsp + 0x50]
call fcn.140021d80
mov rcx, qword [rsp + 0xc0]
add rcx, 0x50
lea rdx, [rsp + 0x78]
call fcn.140028e30
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140013e00
movzx eax, al
test eax, eax
je 0x1400282a5
lea rcx, [rsp + 0x50]
call fcn.140006700
mov rdx, rax
add rdx, 8
lea rcx, [rsp + 0x38]
call fcn.14000bd40
lea rcx, [rsp + 0x50]
call fcn.140006700
jmp 0x1400282b4
lea rcx, [rsp + 0x40]
call fcn.1400111a0
jmp 0x140028203
mov dword [rsp + 0x30], 0
mov rcx, qword [rsp + 0xc8]
add rcx, 0x50
lea rdx, [rsp + 0x20]
call fcn.140011080
mov rcx, qword [rsp + 0xc8]
add rcx, 0x50
lea rdx, [rsp + 0x88]
call fcn.140013f70
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400319e0
movzx eax, al
test eax, eax
je 0x1400283b1
lea rcx, [rsp + 0x20]
call fcn.140014020
mov rcx, rax
add rcx, 8
call fcn.140011190
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140010ee0
test eax, eax
je 0x1400283a2
mov rdx, qword [rsp + 0xc0]
add rdx, 0x90
lea rcx, [rsp + 0x60]
call fcn.140007500
nop
lea rdx, [0x14006951c]
lea rcx, [rsp + 0x60]
call fcn.1400034d0
lea rcx, [rsp + 0x20]
call fcn.140014020
mov rdx, rax
add rdx, 8
lea rcx, [rsp + 0x60]
call fcn.140003490
lea rcx, [rsp + 0x60]
call fcn.140011190
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14002838d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [rsp + 0x30]
add eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x60]
call fcn.1400038a0
lea rcx, [rsp + 0x20]
call fcn.1400111a0
jmp 0x1400282d2
cmp dword [rsp + 0x30], 0
je 0x1400283c5
mov dword [rsp + 0xa8], 1
jmp 0x1400283d0
mov dword [rsp + 0xa8], 0
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x98], eax
lea rcx, [rsp + 0x38]
call fcn.1400038a0
mov eax, dword [rsp + 0x98]
add rsp, 0xb8
ret
Function at 0x140028530
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x38], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x58]
lea r8, [0x140028500]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140028596
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x30], 0
mov eax, 1
jmp 0x140028598
xor eax, eax
add rsp, 0x48
ret