joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4158f5
Capabilities:
Copy file

Disassembly:
mov eax, 0x4ca800
call fcn.0049cc64
mov eax, 0x1024
call fcn.0049def0
push ebx
lea ecx, [ebp - 0x10]
push dword [ebp + 0xc]
call fcn.004b95f2
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
mov dword [ebp - 4], ebx
jne 0x415945
push dword [ebp + 0xc]
lea eax, [ebp + 0x10]
push eax
call fcn.00415bbd
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004b96c5
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], bl
call fcn.004b957e
push dword [ebp - 0x10]
call fcn.00415e32
cmp eax, 0xffffffff
pop ecx
jne 0x41595a
push 0xfffffffffffffffe
jmp 0x415a20
push esi
mov esi, 0x3ff
push esi
lea eax, [ebp - 0x830]
push dword [ebp + 8]
push eax
call fcn.0049d274
lea eax, [ebp - 0x830]
push eax
call fcn.0049d70d
mov word [ebp + eax*2 - 0x82e], bx
lea eax, [ebp - 0x830]
push 0x7c
push eax
call fcn.0049d72a
add esp, 0x18
cmp eax, ebx
je 0x4159ab
mov word [eax], bx
add eax, 2
push 0x7c
push eax
call fcn.0049d72a
pop ecx
pop ecx
jmp 0x415995
push esi
lea eax, [ebp - 0x1030]
push dword [ebp + 0xc]
push eax
call fcn.0049d274
lea eax, [ebp - 0x1030]
push eax
call fcn.0049d70d
mov word [ebp + eax*2 - 0x102e], bx
push 0x1e
lea eax, [ebp - 0x30]
push ebx
push eax
call fcn.0049d040
mov eax, dword [ebp + 0x18]
add esp, 0x1c
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x830]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x1030]
mov dword [ebp - 0x24], eax
mov ax, word [ebp + 0x14]
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x2c], 2
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
pop esi
je 0x415a19
or ebx, 0xffffffff
jmp 0x415a21
cmp dword [ebp - 0x1e], ebx
je 0x415a21
push 1
pop ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b957e
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x415f02
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4ca897
call fcn.0049cc64
sub esp, 0x10
and dword [ebp - 0x1c], 0
push ebx
push esi
push edi
push dword [ebp + 0x14]
lea ecx, [ebp - 0x14]
call fcn.004b95f2
push 1
lea ecx, [ebp - 0x14]
pop ebx
push 0x2e
mov dword [ebp - 4], ebx
call fcn.004b58f0
push dword [ebp + 0x10]
lea ecx, [ebp + 0x14]
call fcn.004b95f2
mov eax, dword [0x56bc10]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x14]
mov edi, str._s_s._s
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push edi
push eax
call fcn.004b5851
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x14
push dword [ebp - 0x10]
call esi
test eax, eax
jne 0x415f83
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0x14]
push eax
call fcn.004b92eb
mov dword [ebp - 0x1c], ebx
jmp 0x415fd9
push ebx
mov dword [ebp - 0x18], ebx
push dword [ebp + 0x10]
mov ebx, str._s___d_
lea eax, [ebp + 0x14]
push ebx
push eax
call fcn.004b5851
add esp, 0x10
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push edi
push eax
call fcn.004b5851
add esp, 0x14
push dword [ebp - 0x10]
call esi
test eax, eax
je 0x415fc6
inc dword [ebp - 0x18]
push dword [ebp - 0x18]
push dword [ebp + 0x10]
jmp 0x415f8f
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0x14]
push eax
call fcn.004b92eb
mov dword [ebp - 0x1c], 1
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.004b957e
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 1
call fcn.004b957e
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004b957e
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x41600f
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4ca8d3
call fcn.0049cc64
sub esp, 0x10
and dword [ebp - 0x1c], 0
push ebx
push esi
push edi
push dword [ebp + 0x14]
lea ecx, [ebp - 0x14]
call fcn.004b95f2
push 1
lea ecx, [ebp - 0x14]
pop ebx
push 0x2e
mov dword [ebp - 4], ebx
call fcn.004b58f0
push dword [ebp + 0x10]
lea ecx, [ebp - 0x10]
call fcn.004b95f2
mov eax, dword [0x56bc10]
mov dword [ebp + 0x14], eax
push dword [ebp - 0x14]
mov edi, str._s_s._s
lea eax, [ebp + 0x14]
mov byte [ebp - 4], 3
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push edi
push eax
call fcn.004b5851
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x14
push dword [ebp + 0x14]
call esi
test eax, eax
jne 0x416090
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0x14]
push eax
call fcn.004b92eb
mov dword [ebp - 0x1c], ebx
jmp 0x4160e6
push ebx
mov dword [ebp - 0x18], ebx
push dword [ebp + 0x10]
mov ebx, str._s___d_
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.004b5851
add esp, 0x10
lea eax, [ebp + 0x14]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push edi
push eax
call fcn.004b5851
add esp, 0x14
push dword [ebp + 0x14]
call esi
test eax, eax
je 0x4160d3
inc dword [ebp - 0x18]
push dword [ebp - 0x18]
push dword [ebp + 0x10]
jmp 0x41609c
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0x14]
push eax
call fcn.004b92eb
mov dword [ebp - 0x1c], 1
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 2
call fcn.004b957e
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004b957e
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004b957e
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x416285
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
push esi
mov esi, 0x2b4
push esi
lea eax, [ebp - 0x2b4]
push 0
push eax
call fcn.0049d040
add esp, 0xc
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
neg eax
sbb eax, eax
mov ecx, 0x4010
and al, 0x90
add eax, 0x80
cmp dword [ebp + 0xc], 0
je 0x4162c6
inc ecx
cmp dword [ebp + 0x10], 0
je 0x4162cf
or ecx, 2
push ecx
lea ecx, [ebp - 0x2b4]
push esi
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
pop esi
jne 0x4162ec
or eax, 0xffffffff
leave
ret
mov eax, dword [ebp - 0x2b0]
leave
ret
Function at 0x416427
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4ca944
call fcn.0049cc64
push ecx
push ecx
push ebx
push 0x570404
lea ecx, [ebp - 0x10]
call fcn.004b95f2
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
push dword [ebp + 8]
call fcn.00415d0d
pop ecx
test eax, eax
pop ecx
je 0x416463
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.004b9715
mov eax, dword [0x56bc10]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push str._e___s_
push eax
call fcn.004b5851
add esp, 0xc
push 1
push ebx
push dword [ebp - 0x14]
push str.explorer.exe
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.004b957e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b957e
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4165ce
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x28
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x416630
lea eax, [ebp - 0x10]
push eax
push str.SeShutdownPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x416630
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ExitWindowsEx]
jmp 0x416632
xor eax, eax
pop esi
leave
ret

Function at 0x418ecb
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4cadc3
call fcn.0049cc64
sub esp, 0x80c
and word [ebp - 0x818], 0
push ebx
push edi
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x816]
rep stosd dword es:[edi], eax
and dword [ebp - 0x18], 0
stosw word es:[edi], ax
lea eax, [ebp - 0x818]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, dword [0x56bc10]
mov dword [ebp - 0x10], eax
push 1
lea eax, [ebp - 0x10]
pop ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00415b4b
mov eax, dword [0x56bc10]
pop ecx
mov dword [ebp - 0x14], eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x818]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x14]
push 0x4f58a8
push eax
call fcn.004b5851
mov ecx, dword [ebp + 8]
add esp, 0x10
lea eax, [ebp - 0x14]
push eax
call fcn.004b92eb
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.004b957e
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004b957e
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x41aebf
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.0049def0
push ebx
push edi
xor edi, edi
push 0x1001
lea eax, [ebp - 0x1010]
push edi
mov ebx, ecx
push eax
call fcn.0049d040
add esp, 0xc
lea eax, [ebp - 8]
mov ecx, ebx
mov dword [ebp - 8], 0x1001
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x1010]
push eax
call fcn.0041af83
test eax, eax
jne 0x41af2d
lea eax, [ebp - 0xc]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 4]
push eax
push edi
push 2
push edi
push edi
push edi
push dword [ebp + 8]
mov dword [ebp - 0xc], edi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x41af32
or eax, 0xffffffff
jmp 0x41af5b
push dword [ebp - 8]
lea eax, [ebp - 0x1010]
push eax
push 3
push edi
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x41af50
or edi, 0xffffffff
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop ebx
leave
ret 8

Function at 0x41b2dd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.0049def0
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push 0x570404
call fcn.004b9715
xor esi, esi
push 0x1001
lea eax, [ebp - 0x1010]
push esi
push eax
call fcn.0049d040
add esp, 0xc
lea eax, [ebp - 0xc]
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
push eax
lea eax, [ebp - 8]
push eax
push esi
push 1
push esi
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 0xc], esi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x41b340
or eax, 0xffffffff
jmp 0x41b39a
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x1001
push eax
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp + 8]
push eax
push esi
push esi
mov dword [ebp + 8], 3
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 8]
test eax, eax
je 0x41b377
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41b33b
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], esi
je 0x41b33b
push dword [ebp + 0xc]
lea eax, [ebp - 0x1010]
mov ecx, ebx
push dword [ebp - 4]
push eax
call fcn.0041b3a0
neg eax
sbb eax, eax
pop esi
pop ebx
leave
ret 8
Function at 0x41c990
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4cb2b8
call fcn.0049cc64
sub esp, 0x830
and word [ebp - 0x83c], 0
push esi
push edi
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x83a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x83c]
push 0x3ff
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x83c]
lea ecx, [ebp - 0x14]
push eax
call fcn.004b95f2
and dword [ebp - 4], 0
push str._bootstat.dat
lea ecx, [ebp - 0x14]
call fcn.004b996f
push 0x24
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.0049d040
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
call fcn.004b5b27
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x14]
call fcn.0049e5b5
pop ecx
test eax, eax
pop ecx
jne 0x41ca34
mov eax, dword [ebp - 0x20]
push ecx
mov ecx, esp
mov esi, eax
mov dword [ebp - 0x18], esp
mov dword [ecx], eax
lea ecx, [ebp - 0x10]
call fcn.0041ca58
test eax, eax
je 0x41ca34
mov dword [ebp - 0x10], esi
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
mov dword [esi], eax
call fcn.004b957e
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x424626
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x4cb674
call fcn.0049cc64
sub esp, 0x24
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov dword [esi + 0xa0], edi
call fcn.00424e3e
cmp eax, edi
je 0x4247b0
or ebx, 0xffffffff
cmp eax, ebx
je 0x42468c
cmp eax, 0xfffffffe
je 0x4246c1
mov eax, dword [esi + 0x9c]
cmp eax, edi
je 0x424675
push eax
mov ecx, esi
call fcn.00417207
test eax, eax
jne 0x4246c1
push dword [esi + 0x94]
lea ecx, [esi + 0x70]
call fcn.004250cb
cmp eax, edi
je 0x42468f
cmp eax, 0xfffffffe
je 0x4246c1
push edi
jmp 0x4246cc
cmp word [esi + 0x78], 2
jne 0x4247b0
mov eax, esi
mov ecx, esi
cdq
mov edi, eax
lea eax, [esi + 0x8c]
push eax
lea eax, [esi + 0x88]
push eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edx
call fcn.00424ed2
cmp eax, ebx
jne 0x4246c5
push 0x28
jmp 0x4246cc
cmp eax, 0xfffffffe
jne 0x4246dc
push 0x15
push 4
mov ecx, esi
call fcn.00424990
mov eax, ebx
jmp 0x4247b9
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.00424cee
test eax, eax
je 0x42470b
push 0x28
push 4
mov ecx, esi
call fcn.00424990
lea eax, [ebp - 0x14]
push 0x4e7408
push eax
mov dword [ebp - 0x14], ebx
call fcn.0049e4bd
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
test al, 1
jne 0x424749
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
add eax, 2
adc ecx, 0
cmp eax, edi
jne 0x42472c
cmp ecx, dword [ebp - 0x2c]
je 0x424749
push 0x28
push 4
mov ecx, esi
call fcn.00424990
or dword [ebp - 0x18], 0xffffffff
lea eax, [ebp - 0x18]
push 0x4e7408
push eax
call fcn.0049e4bd
or dword [ebp - 4], 0xffffffff
test byte [esi + 0x10], 1
je 0x424768
mov ecx, esi
call fcn.004250a5
cmp eax, 0xffffffff
jne 0x424763
push 0
jmp 0x42478b
cmp eax, 0xfffffffe
je 0x424789
call ebx
push 3
xor edx, edx
pop ecx
div ecx
test edx, edx
jne 0x4247b0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
add eax, 2
adc ecx, edx
cmp eax, edi
jne 0x424789
cmp ecx, dword [ebp - 0x2c]
je 0x4247b0
push 0x28
push 4
mov ecx, esi
call fcn.00424990
or eax, 0xffffffff
jmp 0x4247b9
mov ecx, esi
call fcn.00424a18
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x4251dd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.0049def0
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push 0x570404
call fcn.004b9715
xor esi, esi
push 0x1001
lea eax, [ebp - 0x1010]
push esi
push eax
call fcn.0049d040
add esp, 0xc
lea eax, [ebp - 0xc]
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
push eax
lea eax, [ebp - 8]
push eax
push esi
push 1
push esi
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 0xc], esi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x425240
or eax, 0xffffffff
jmp 0x42529a
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x1001
push eax
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp + 8]
push eax
push esi
push esi
mov dword [ebp + 8], 3
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 8]
test eax, eax
je 0x425277
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42523b
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], esi
je 0x42523b
push dword [ebp + 0xc]
lea eax, [ebp - 0x1010]
mov ecx, ebx
push dword [ebp - 4]
push eax
call fcn.00425342
neg eax
sbb eax, eax
pop esi
pop ebx
leave
ret 8

Function at 0x4252a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.0049def0
push ebx
push edi
xor edi, edi
push 0x1001
lea eax, [ebp - 0x1010]
push edi
mov ebx, ecx
push eax
call fcn.0049d040
add esp, 0xc
lea eax, [ebp - 8]
mov ecx, ebx
mov dword [ebp - 8], 0x1001
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x1010]
push eax
call fcn.00425451
test eax, eax
jne 0x42530e
lea eax, [ebp - 0xc]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 4]
push eax
push edi
push 2
push edi
push edi
push edi
push dword [ebp + 8]
mov dword [ebp - 0xc], edi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x425313
or eax, 0xffffffff
jmp 0x42533c
push dword [ebp - 8]
lea eax, [ebp - 0x1010]
push eax
push 3
push edi
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x425331
or edi, 0xffffffff
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop ebx
leave
ret 8
Function at 0x425c11
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4cb798
call fcn.0049cc64
sub esp, 0x830
push esi
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.004b5b27
and word [ebp - 0x83c], 0
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x83a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x83c]
push 0x3ff
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x83c]
lea ecx, [ebp - 0x14]
push eax
call fcn.004b95f2
and dword [ebp - 4], 0
push str._bootstat.dat
lea ecx, [ebp - 0x14]
call fcn.004b996f
push 0x24
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.0049d040
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x14]
call fcn.0049e5b5
add esp, 0x14
test eax, eax
jne 0x425cb3
mov eax, dword [ebp - 0x20]
push ecx
mov ecx, esp
mov esi, eax
mov dword [ebp - 0x18], esp
mov dword [ecx], eax
lea ecx, [ebp - 0x10]
call fcn.0041ca58
test eax, eax
je 0x425cb3
mov dword [ebp - 0x10], esi
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
mov dword [esi], eax
call fcn.004b957e
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x4269fa
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 0xc]
and dword [edx], 0
mov eax, dword [ecx + 4]
test eax, eax
je 0x426a0d
cmp eax, 0xffffffff
jne 0x426a12
or eax, 0xffffffff
jmp 0x426a2b
push 0
push edx
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
sbb eax, eax
neg eax
dec eax
ret 0xc

Function at 0x4295c9
Capabilities:
Resume thread

Disassembly:
mov eax, 0x4cbc85
call fcn.0049cc64
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 8], edi
je 0x4295e4
push 1
pop eax
jmp 0x429653
push 0x70
mov dword [esi + 4], edi
call fcn.004b8a0c
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
cmp ecx, edi
mov dword [ebp - 4], edi
je 0x429606
push dword [ebp + 8]
push esi
call fcn.0042ca9c
jmp 0x429608
xor eax, eax
or dword [ebp - 4], 0xffffffff
cmp eax, edi
mov dword [esi + 8], eax
je 0x429633
push edi
push edi
push 4
mov ecx, eax
call fcn.004b7ebb
test eax, eax
jne 0x429638
mov ecx, dword [esi + 8]
cmp ecx, edi
je 0x429630
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 8], edi
or eax, 0xffffffff
jmp 0x429653
mov eax, dword [esi + 8]
push edi
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esi + 8]
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x429ed8
Capabilities:
Check if file exists
Create process on windows

Disassembly:
mov eax, 0x4cbd9c
call fcn.0049cc64
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
push 0x570404
lea ecx, [ebp - 0x10]
call fcn.004b95f2
xor edi, edi
xor ebx, ebx
cmp dword [esi + 0x14], edi
mov dword [ebp - 4], edi
jle 0x429f66
cmp ebx, edi
jl 0x429f06
cmp ebx, dword [esi + 0x14]
jge 0x429f06
mov eax, dword [esi + 0x10]
mov eax, dword [eax + ebx*4]
jmp 0x429f08
xor eax, eax
cmp dword [eax + 0x74], 0x64
jne 0x429f60
cmp dword [eax + 0x7c], 0x64
jne 0x429f60
push dword [eax + 0x5c8]
lea edi, [eax + 0x5c8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x429f5e
test ebx, ebx
jle 0x429f3b
push 0x4f4984
lea ecx, [ebp - 0x10]
call fcn.004b996f
push 0x4f4980
lea ecx, [ebp - 0x10]
call fcn.004b996f
push edi
lea ecx, [ebp - 0x10]
call fcn.004b99ab
push 0x4f4980
lea ecx, [ebp - 0x10]
call fcn.004b996f
xor edi, edi
inc ebx
cmp ebx, dword [esi + 0x14]
jl 0x429ef5
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], edi
je 0x429fa9
lea eax, [ebp - 0x14]
push eax
call fcn.00402057
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
push 1
push edi
je 0x429f91
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push edi
jmp 0x429f9a
push edi
push dword [ebp - 0x10]
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x14]
call fcn.004b957e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b957e
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x42be74
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4cc4d7
call fcn.0049cc64
sub esp, 0xdc
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
mov esi, dword [ebp + 8]
push edi
push dword [esi]
call ebx
test eax, eax
je 0x42c03c
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
cmp eax, 0xc
je 0x42c039
cmp eax, 0xd
je 0x42c039
push dword [esi]
lea eax, [ebp - 0x10]
push eax
call fcn.00415bbd
push dword [esi]
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
call fcn.00415c2c
push dword [esi]
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
call fcn.00415c71
add esp, 0x18
cmp dword [edi], 0xb
mov byte [ebp - 4], 2
jne 0x42bf29
push dword [ebp + 8]
lea eax, [ebp + 0xc]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push eax
call fcn.00415f02
add esp, 0x10
push dword [ebp + 8]
mov byte [ebp - 4], 3
push dword [ebp + 0xc]
push dword [ebp - 0x10]
push str._s_s._s
push esi
call fcn.004b5851
add esp, 0x14
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
call fcn.004b957e
jmp 0x42c015
push dword [esi]
call ebx
test eax, eax
je 0x42c015
mov ebx, str._s_s._s
push 0
lea ecx, [ebp - 0xe8]
call fcn.0040ca7d
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x84]
push eax
mov byte [ebp - 4], 4
call fcn.004b96c5
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x80]
push eax
call fcn.004b96c5
lea eax, [ebp + 8]
lea ecx, [ebp - 0x7c]
push eax
call fcn.004b96c5
lea ecx, [ebp - 0xe8]
call fcn.004b8efe
dec eax
je 0x42bfae
dec eax
je 0x42c000
dec eax
je 0x42bff8
sub eax, 8
je 0x42bf93
dec eax
je 0x42bff0
dec eax
je 0x42bfe8
jmp 0x42bfc7
push dword [ebp + 8]
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
push ebx
push esi
call fcn.004b5851
add esp, 0x14
mov dword [edi], 0xb
jmp 0x42bfc7
push dword [ebp + 8]
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
push ebx
push esi
call fcn.004b5851
add esp, 0x14
mov dword [edi], 1
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 2
call fcn.0040cb32
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42bf3a
jmp 0x42c015
mov dword [edi], 0xd
jmp 0x42c006
mov dword [edi], 0xc
jmp 0x42c006
mov dword [edi], 3
jmp 0x42c006
mov dword [edi], 2
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 2
call fcn.0040cb32
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.004b957e
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004b957e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b957e
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8