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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x28]
call fcn.140011940
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400108fa
mov dword [rsp + 0x48], 1
lea rcx, [rsp + 0x28]
call fcn.140011970
mov eax, dword [rsp + 0x48]
jmp 0x1400109e7
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x28]
call fcn.1400119e0
test eax, eax
jne 0x140010912
jmp 0x1400109b7
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x28]
call fcn.140010a50
lea rdx, [0x140059668]
lea rcx, [rsp + 0x38]
call fcn.140006850
test eax, eax
je 0x140010957
lea rdx, str.Baymax_Patcher_Tools
lea rcx, [rsp + 0x38]
call fcn.140006850
test eax, eax
je 0x140010957
lea rcx, [rsp + 0x38]
call fcn.1400038b0
jmp 0x1400109b7
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.140010a90
lea rdx, [0x1400596c0]
lea rcx, [rsp + 0x40]
call fcn.140006850
test eax, eax
je 0x140010991
lea rcx, [rsp + 0x40]
call fcn.1400038b0
lea rcx, [rsp + 0x38]
call fcn.1400038b0
jmp 0x1400109b7
mov dword [rsp + 0x20], 1
lea rcx, [rsp + 0x40]
call fcn.1400038b0
lea rcx, [rsp + 0x38]
call fcn.1400038b0
xor eax, eax
test eax, eax
jne 0x1400108fa
cmp dword [rsp + 0x20], 0
jne 0x1400109d1
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.1400106f0
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x4c], eax
lea rcx, [rsp + 0x28]
call fcn.140011970
mov eax, dword [rsp + 0x4c]
add rsp, 0x58
ret

Function at 0x1400119e0
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.140043918
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 0x140011a19
xor eax, eax
jmp 0x140011ad9
mov ecx, dword [rsp + 0x34]
call fcn.1400438a8
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 0x140011a61
mov rcx, qword [rsp + 0x50]
call fcn.140011990
xor eax, eax
jmp 0x140011ad9
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 0x140011a91
mov rcx, qword [rsp + 0x50]
call fcn.140011990
xor eax, eax
jmp 0x140011ad9
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 0x140012240
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x20], r9
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 + 0xa8]
mov dword [rax], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x68], 0x200
movsxd rcx, dword [rsp + 0x68]
call fcn.1400438a8
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400122d3
jmp 0x1400123b7
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x200
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 0x140012307
jmp 0x1400123b7
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 0x140012343
mov rax, qword [rsp + 0x58]
cmp dword [rax], 0x4550
je 0x140012345
jmp 0x1400123b7
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 0x18]
cmp eax, 0x10b
jne 0x140012371
mov dword [rsp + 0x3c], 0
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x28]
mov dword [rcx], eax
jmp 0x1400123a5
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x1400123a5
mov dword [rsp + 0x3c], 1
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0xa8]
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 0x1400122a5
cmp qword [rsp + 0x30], 0
je 0x1400123dc
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x78]
call fcn.140043808
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x48]
add rsp, 0x88
ret
Function at 0x140012650
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 [0x140065840]
xor rax, rsp
mov qword [rsp + 0x118], rax
mov dword [rsp + 0x100], 0
call fcn.140012f60
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.140012850
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x40]
call fcn.140012c40
mov rdx, qword [rsp + 0xd8]
lea rcx, [rsp + 0x40]
call fcn.140012c60
mov rdx, qword [rsp + 0x140]
lea rcx, [rsp + 0x40]
call fcn.140012c20
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0x40]
call fcn.140012c80
mov rdx, qword [rsp + 0x110]
lea rcx, [rsp + 0x40]
call fcn.140012cc0
mov rdx, qword [rsp + 0xe8]
lea rcx, [rsp + 0x40]
call fcn.140012d00
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 0x1400127c1
xor eax, eax
jmp 0x14001282b
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 0x140012811
mov eax, dword [rsp + 0x100]
jmp 0x14001282b
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.1400437e0
add rsp, 0x128
ret
Function at 0x140012d40
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 [0x140065840]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x5c], 0
lea rcx, [rsp + 0x40]
call fcn.140012e60
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x40]
call fcn.140012f10
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 0x140012dd0
mov eax, dword [rsp + 0x5c]
jmp 0x140012e46
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 0x140012e14
mov eax, dword [rsp + 0x5c]
jmp 0x140012e46
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.1400437e0
add rsp, 0x78
ret
Function at 0x140019610
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x2b8
mov rax, qword [0x140065840]
xor rax, rsp
mov qword [rsp + 0x2a8], rax
mov rdx, qword [rsp + 0x2c8]
lea rcx, [rsp + 0x20]
call fcn.140007550
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x280]
call fcn.140007550
lea rcx, [rsp + 0x20]
call fcn.1400329c0
mov rdx, rax
mov rcx, qword [rsp + 0x2c0]
call fcn.140018f20
test eax, eax
jne 0x140019688
lea rdx, [0x14005a708]
lea rcx, [rsp + 0x20]
call fcn.1400034e0
jmp 0x140019699
lea rdx, [0x14005a714]
lea rcx, [rsp + 0x20]
call fcn.1400034e0
lea rcx, [rsp + 0x20]
call fcn.1400329c0
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 0x1400196f2
mov dword [rsp + 0x2a0], 1
lea rcx, [rsp + 0x280]
call fcn.1400038b0
lea rcx, [rsp + 0x20]
call fcn.1400038b0
mov eax, dword [rsp + 0x2a0]
jmp 0x1400197b8
movzx eax, word [rsp + 0x5c]
cmp eax, 0x2e
jne 0x1400196fe
jmp 0x140019766
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x298]
call fcn.140007550
lea rdx, [0x14005a718]
lea rcx, [rsp + 0x298]
call fcn.1400034e0
lea rdx, [rsp + 0x5c]
lea rcx, [rsp + 0x298]
call fcn.1400034e0
lea rdx, [rsp + 0x298]
mov rcx, qword [rsp + 0x2c0]
call fcn.140018fa0
mov dword [rsp + 0x290], 0
lea rcx, [rsp + 0x298]
call fcn.1400038b0
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x288]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400196f2
mov rcx, qword [rsp + 0x288]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov dword [rsp + 0x2a4], 1
lea rcx, [rsp + 0x280]
call fcn.1400038b0
lea rcx, [rsp + 0x20]
call fcn.1400038b0
mov eax, dword [rsp + 0x2a4]
mov rcx, qword [rsp + 0x2a8]
xor rcx, rsp
call fcn.1400437e0
add rsp, 0x2b8
ret
Function at 0x14001a1c0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x40
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x90], 0
jne 0x14001a21e
mov rcx, qword [rsp + 0x50]
add rcx, 0x70
call fcn.1400329c0
mov rbx, rax
mov rcx, qword [rsp + 0x50]
add rcx, 0x80
call fcn.1400329c0
mov r9, rbx
mov r8, rax
lea rdx, str.LANGUAGE
lea rcx, str.BAYMAX64
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x14001a2a7
mov dword [rsp + 0x30], 1
mov rcx, qword [rsp + 0x50]
add rcx, 0x80
call fcn.140006550
cdqe
shl rax, 1
mov dword [rsp + 0x34], eax
mov rcx, qword [rsp + 0x50]
add rcx, 0x80
call fcn.1400329c0
mov rbx, rax
mov rcx, qword [rsp + 0x50]
add rcx, 0x50
call fcn.1400329c0
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 0x14001a2a2
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x14001a2a7
mov eax, 1
add rsp, 0x40
pop rbx
ret

Function at 0x14001e3a0
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 0x14001e3e5
mov eax, dword [rsp + 0x48]
jmp 0x14001e4a0
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 0x14001e491
mov dword [rsp + 0x48], 1
mov eax, dword [rsp + 0x70]
cmp dword [rsp + 0x34], eax
jne 0x14001e47e
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x30], eax
je 0x14001e47e
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 0x14001e47e
cmp dword [rsp + 0x80], 0
je 0x14001e468
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
jmp 0x14001e473
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 0x14001e41e
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 0x14001f6d0
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x258
mov rax, qword [0x140065840]
xor rax, rsp
mov qword [rsp + 0x240], rax
cmp qword [0x140067e08], 0
jne 0x14001f73b
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 [0x140067e08], rax
mov rax, qword [0x140067e08]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400437e0
add rsp, 0x258
ret
Function at 0x14001f990
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x290
mov rax, qword [0x140065840]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov qword [rsp + 0x20], 0
call fcn.14001f6d0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001fa10
mov dword [rsp + 0x30], 0x11c
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x14001fa0e
mov rcx, qword [rsp + 0x2a0]
mov eax, dword [rsp + 0x34]
mov dword [rcx + 8], eax
mov rcx, qword [rsp + 0x2a0]
mov eax, dword [rsp + 0x38]
mov dword [rcx + 0xc], eax
mov rcx, qword [rsp + 0x2a0]
mov eax, dword [rsp + 0x3c]
mov dword [rcx + 0x10], eax
jmp 0x14001fa72
lea rdi, [rsp + 0x150]
xor eax, eax
mov ecx, 0x11c
rep stosb byte [rdi], al
mov dword [rsp + 0x150], 0x11c
lea rcx, [rsp + 0x150]
call qword [rsp + 0x20]
test eax, eax
jne 0x14001fa72
mov rcx, qword [rsp + 0x2a0]
mov eax, dword [rsp + 0x154]
mov dword [rcx + 8], eax
mov rcx, qword [rsp + 0x2a0]
mov eax, dword [rsp + 0x158]
mov dword [rcx + 0xc], eax
mov rcx, qword [rsp + 0x2a0]
mov eax, dword [rsp + 0x15c]
mov dword [rcx + 0x10], eax
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 8]
mov dword [rsp + 0x270], eax
cmp dword [rsp + 0x270], 5
je 0x14001faab
cmp dword [rsp + 0x270], 6
je 0x14001fabf
cmp dword [rsp + 0x270], 0xa
je 0x14001fb50
jmp 0x14001fbb0
mov rax, qword [rsp + 0x2a0]
mov dword [rax + 0x14], 0x3e9
jmp 0x14001fbbf
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x274], eax
cmp dword [rsp + 0x274], 0
je 0x14001fafb
cmp dword [rsp + 0x274], 1
je 0x14001fb0c
cmp dword [rsp + 0x274], 2
je 0x14001fb1d
cmp dword [rsp + 0x274], 3
je 0x14001fb2e
jmp 0x14001fb3f
mov rax, qword [rsp + 0x2a0]
mov dword [rax + 0x14], 0x3ee
jmp 0x14001fb4e
mov rax, qword [rsp + 0x2a0]
mov dword [rax + 0x14], 0x3ef
jmp 0x14001fb4e
mov rax, qword [rsp + 0x2a0]
mov dword [rax + 0x14], 0x3f0
jmp 0x14001fb4e
mov rax, qword [rsp + 0x2a0]
mov dword [rax + 0x14], 0x3f1
jmp 0x14001fb4e
mov rax, qword [rsp + 0x2a0]
mov dword [rax + 0x14], 0x3f2
jmp 0x14001fbbf
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x278], eax
cmp dword [rsp + 0x278], 0
je 0x14001fb6e
jmp 0x14001fb9f
mov rax, qword [rsp + 0x2a0]
mov dword [rax + 0x14], 0x3f2
mov rax, qword [rsp + 0x2a0]
cmp dword [rax + 0x10], 0x55f0
jb 0x14001fb9d
mov rax, qword [rsp + 0x2a0]
mov dword [rax + 0x14], 0x3f3
jmp 0x14001fbae
mov rax, qword [rsp + 0x2a0]
mov dword [rax + 0x14], 0x3f3
jmp 0x14001fbbf
mov rax, qword [rsp + 0x2a0]
mov dword [rax + 0x14], 0x3f3
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400437e0
add rsp, 0x290
pop rdi
ret
Function at 0x1400201f0
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.140028390
test rax, rax
jne 0x140020224
xor eax, eax
jmp 0x140020350
mov dword [rsp + 0x40], 0
mov rcx, qword [rsp + 0x88]
add rcx, 0x50
lea rdx, [rsp + 0x30]
call fcn.14001ad30
mov rcx, qword [rsp + 0x88]
add rcx, 0x50
lea rdx, [rsp + 0x58]
call fcn.140028360
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140028b60
movzx eax, al
test eax, eax
je 0x14002034c
lea rcx, [rsp + 0x30]
call fcn.140021280
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.140021280
mov rcx, rax
add rcx, 8
call fcn.1400329c0
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, [0x14005b650]
mov rcx, 0xffffffff80000001
call qword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
je 0x1400202f9
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsp + 0x30]
call fcn.140021280
mov dword [rsp + 0x44], 0
jmp 0x14002033d
lea rcx, [rsp + 0x30]
call fcn.140021280
mov rbx, rax
add rbx, 8
lea rcx, [rsp + 0x30]
call fcn.140021280
mov rcx, qword [rsp + 0x80]
add rcx, 0x50
mov rdx, rax
call fcn.1400169a0
mov rdx, rbx
mov rcx, rax
call fcn.14000ba20
lea rcx, [rsp + 0x30]
call fcn.140021280
lea rcx, [rsp + 0x30]
call fcn.140028b40
jmp 0x140020242
mov eax, dword [rsp + 0x44]
add rsp, 0x70
pop rbx
ret
Function at 0x140020360
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, 0x520
mov rax, qword [0x140065840]
xor rax, rsp
mov qword [rsp + 0x518], rax
mov dword [rsp + 0x508], 0
mov rdx, qword [rsp + 0x538]
mov rcx, qword [rsp + 0x530]
call fcn.1400201f0
mov rdx, qword [rsp + 0x538]
mov rcx, qword [rsp + 0x530]
call fcn.14001fcc0
test eax, eax
jne 0x1400203c9
mov eax, dword [rsp + 0x508]
jmp 0x1400205d1
lea rdi, [rsp + 0xf0]
xor eax, eax
mov ecx, 0x410
rep stosb byte [rdi], al
lea rcx, [rsp + 0x500]
call fcn.140003220
mov r8, qword [rsp + 0x530]
mov r8, qword [r8 + 0x98]
lea rdx, str.__s___baymax
lea rcx, [rsp + 0x500]
call fcn.1400057e0
lea rcx, [rsp + 0x500]
call fcn.1400329c0
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 + 0x530]
add rcx, 0x98
call fcn.1400329c0
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 0x1400204ef
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [rsp + 0x508]
mov dword [rsp + 0x510], eax
lea rcx, [rsp + 0x500]
call fcn.1400038b0
mov eax, dword [rsp + 0x510]
jmp 0x1400205d1
mov dword [rsp + 0x508], 0
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rsp + 0x54], 0
mov rcx, qword [rsp + 0x530]
add rcx, 0x18
call fcn.140028390
test rax, rax
je 0x140020525
jmp 0x14002057e
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 0x140020568
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 + 0x530]
add rcx, 0x18
call fcn.140028390
test rax, rax
je 0x140020599
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.1400038b0
mov eax, dword [rsp + 0x514]
mov rcx, qword [rsp + 0x518]
xor rcx, rsp
call fcn.1400437e0
add rsp, 0x520
pop rdi
ret
Function at 0x1400205f0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rcx, qword [rsp + 0xb8]
add rcx, 0x50
call fcn.140028390
test rax, rax
je 0x14002062d
mov rcx, qword [rsp + 0xb0]
add rcx, 0x50
call fcn.14000d250
test rax, rax
jne 0x140020656
mov rcx, qword [rsp + 0xb8]
add rcx, 0x50
call fcn.140028390
mov rcx, qword [rsp + 0xb0]
add rcx, 0x50
call fcn.14000d250
xor eax, eax
jmp 0x140020861
lea rcx, [rsp + 0x38]
call fcn.140003220
mov rcx, qword [rsp + 0xb0]
add rcx, 0x18
lea rdx, [rsp + 0x40]
call fcn.14001ad30
mov rcx, qword [rsp + 0xb0]
add rcx, 0x18
lea rdx, [rsp + 0x68]
call fcn.140028360
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140028b60
movzx eax, al
test eax, eax
je 0x140020727
lea rcx, [rsp + 0x40]
call fcn.1400110e0
mov rcx, qword [rsp + 0xb0]
add rcx, 0x50
mov r8, rax
lea rdx, [rsp + 0x50]
call fcn.140021190
mov rcx, qword [rsp + 0xb0]
add rcx, 0x50
lea rdx, [rsp + 0x78]
call fcn.14000c0c0
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14000fa30
movzx eax, al
test eax, eax
je 0x140020718
lea rcx, [rsp + 0x50]
call fcn.1400212a0
mov rdx, rax
add rdx, 8
lea rcx, [rsp + 0x38]
call fcn.14000ba20
lea rcx, [rsp + 0x50]
call fcn.1400212a0
jmp 0x140020727
lea rcx, [rsp + 0x40]
call fcn.140028b40
jmp 0x140020676
mov dword [rsp + 0x30], 0
mov rcx, qword [rsp + 0xb8]
add rcx, 0x50
lea rdx, [rsp + 0x20]
call fcn.14001ad30
mov rcx, qword [rsp + 0xb8]
add rcx, 0x50
lea rdx, [rsp + 0x88]
call fcn.140028360
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140028b60
movzx eax, al
test eax, eax
je 0x140020823
lea rcx, [rsp + 0x20]
call fcn.140021280
mov rcx, rax
add rcx, 8
call fcn.1400329c0
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.1400109f0
test eax, eax
je 0x140020814
mov rdx, qword [rsp + 0xb0]
add rdx, 0x90
lea rcx, [rsp + 0x60]
call fcn.140007550
lea rdx, [0x14005b53c]
lea rcx, [rsp + 0x60]
call fcn.1400034e0
lea rcx, [rsp + 0x20]
call fcn.140021280
mov rdx, rax
add rdx, 8
lea rcx, [rsp + 0x60]
call fcn.1400034a0
lea rcx, [rsp + 0x60]
call fcn.1400329c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400207ff
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.1400038b0
lea rcx, [rsp + 0x20]
call fcn.140028b40
jmp 0x140020745
cmp dword [rsp + 0x30], 0
je 0x140020837
mov dword [rsp + 0x9c], 1
jmp 0x140020842
mov dword [rsp + 0x9c], 0
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0x98], eax
lea rcx, [rsp + 0x38]
call fcn.1400038b0
mov eax, dword [rsp + 0x98]
add rsp, 0xa8
ret

Function at 0x1400209a0
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, [0x140020970]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140020a06
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x30], 0
mov eax, 1
jmp 0x140020a08
xor eax, eax
add rsp, 0x48
ret