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

Disassembly:
mov eax, 0x4ca890
call fcn.0049cce0
mov eax, 0x1024
call fcn.0049df60
push ebx
lea ecx, [ebp - 0x10]
push dword [ebp + 0xc]
call fcn.004b9682
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
mov dword [ebp - 4], ebx
jne 0x415968
push dword [ebp + 0xc]
lea eax, [ebp + 0x10]
push eax
call fcn.00415be0
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004b9755
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], bl
call fcn.004b960e
push dword [ebp - 0x10]
call fcn.00415e55
cmp eax, 0xffffffff
pop ecx
jne 0x41597d
push 0xfffffffffffffffe
jmp 0x415a43
push esi
mov esi, 0x3ff
push esi
lea eax, [ebp - 0x830]
push dword [ebp + 8]
push eax
call fcn.0049d2e4
lea eax, [ebp - 0x830]
push eax
call fcn.0049d77d
mov word [ebp + eax*2 - 0x82e], bx
lea eax, [ebp - 0x830]
push 0x7c
push eax
call fcn.0049d79a
add esp, 0x18
cmp eax, ebx
je 0x4159ce
mov word [eax], bx
add eax, 2
push 0x7c
push eax
call fcn.0049d79a
pop ecx
pop ecx
jmp 0x4159b8
push esi
lea eax, [ebp - 0x1030]
push dword [ebp + 0xc]
push eax
call fcn.0049d2e4
lea eax, [ebp - 0x1030]
push eax
call fcn.0049d77d
mov word [ebp + eax*2 - 0x102e], bx
push 0x1e
lea eax, [ebp - 0x30]
push ebx
push eax
call fcn.0049d0c0
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 0x415a3c
or ebx, 0xffffffff
jmp 0x415a44
cmp dword [ebp - 0x1e], ebx
je 0x415a44
push 1
pop ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b960e
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x415f25
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4ca927
call fcn.0049cce0
sub esp, 0x10
and dword [ebp - 0x1c], 0
push ebx
push esi
push edi
push dword [ebp + 0x14]
lea ecx, [ebp - 0x14]
call fcn.004b9682
push 1
lea ecx, [ebp - 0x14]
pop ebx
push 0x2e
mov dword [ebp - 4], ebx
call fcn.004b5980
push dword [ebp + 0x10]
lea ecx, [ebp + 0x14]
call fcn.004b9682
mov eax, dword [0x56c010]
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.004b58e1
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x14
push dword [ebp - 0x10]
call esi
test eax, eax
jne 0x415fa6
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0x14]
push eax
call fcn.004b937b
mov dword [ebp - 0x1c], ebx
jmp 0x415ffc
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.004b58e1
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.004b58e1
add esp, 0x14
push dword [ebp - 0x10]
call esi
test eax, eax
je 0x415fe9
inc dword [ebp - 0x18]
push dword [ebp - 0x18]
push dword [ebp + 0x10]
jmp 0x415fb2
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0x14]
push eax
call fcn.004b937b
mov dword [ebp - 0x1c], 1
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.004b960e
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 1
call fcn.004b960e
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004b960e
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 0x416032
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4ca963
call fcn.0049cce0
sub esp, 0x10
and dword [ebp - 0x1c], 0
push ebx
push esi
push edi
push dword [ebp + 0x14]
lea ecx, [ebp - 0x14]
call fcn.004b9682
push 1
lea ecx, [ebp - 0x14]
pop ebx
push 0x2e
mov dword [ebp - 4], ebx
call fcn.004b5980
push dword [ebp + 0x10]
lea ecx, [ebp - 0x10]
call fcn.004b9682
mov eax, dword [0x56c010]
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.004b58e1
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x14
push dword [ebp + 0x14]
call esi
test eax, eax
jne 0x4160b3
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0x14]
push eax
call fcn.004b937b
mov dword [ebp - 0x1c], ebx
jmp 0x416109
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.004b58e1
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.004b58e1
add esp, 0x14
push dword [ebp + 0x14]
call esi
test eax, eax
je 0x4160f6
inc dword [ebp - 0x18]
push dword [ebp - 0x18]
push dword [ebp + 0x10]
jmp 0x4160bf
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0x14]
push eax
call fcn.004b937b
mov dword [ebp - 0x1c], 1
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 2
call fcn.004b960e
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004b960e
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004b960e
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 0x4162a8
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.0049d0c0
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 0x4162e9
inc ecx
cmp dword [ebp + 0x10], 0
je 0x4162f2
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 0x41630f
or eax, 0xffffffff
leave
ret
mov eax, dword [ebp - 0x2b0]
leave
ret
Function at 0x41644a
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4ca9d4
call fcn.0049cce0
push ecx
push ecx
push ebx
push 0x570804
lea ecx, [ebp - 0x10]
call fcn.004b9682
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
push dword [ebp + 8]
call fcn.00415d30
pop ecx
test eax, eax
pop ecx
je 0x416486
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.004b97a5
mov eax, dword [0x56c010]
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.004b58e1
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.004b960e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b960e
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4165f1
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 0x416653
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 0x416653
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ExitWindowsEx]
jmp 0x416655
xor eax, eax
pop esi
leave
ret

Function at 0x418e09
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4cae53
call fcn.0049cce0
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 [0x56c010]
mov dword [ebp - 0x10], eax
push 1
lea eax, [ebp - 0x10]
pop ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00415b6e
mov eax, dword [0x56c010]
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 str._s_s
push eax
call fcn.004b58e1
mov ecx, dword [ebp + 8]
add esp, 0x10
lea eax, [ebp - 0x14]
push eax
call fcn.004b937b
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.004b960e
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004b960e
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x41adf7
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.0049df60
push ebx
push edi
xor edi, edi
push 0x1001
lea eax, [ebp - 0x1010]
push edi
mov ebx, ecx
push eax
call fcn.0049d0c0
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.0041aebb
test eax, eax
jne 0x41ae65
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 0x41ae6a
or eax, 0xffffffff
jmp 0x41ae93
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 0x41ae88
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 0x41b215
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.0049df60
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push 0x570804
call fcn.004b97a5
xor esi, esi
push 0x1001
lea eax, [ebp - 0x1010]
push esi
push eax
call fcn.0049d0c0
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 0x41b278
or eax, 0xffffffff
jmp 0x41b2d2
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 0x41b2af
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41b273
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], esi
je 0x41b273
push dword [ebp + 0xc]
lea eax, [ebp - 0x1010]
mov ecx, ebx
push dword [ebp - 4]
push eax
call fcn.0041b2d8
neg eax
sbb eax, eax
pop esi
pop ebx
leave
ret 8
Function at 0x41c8cc
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4cb348
call fcn.0049cce0
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.004b9682
and dword [ebp - 4], 0
push str._bootstat.dat
lea ecx, [ebp - 0x14]
call fcn.004b99ff
push 0x24
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.0049d0c0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
call fcn.004b5bb7
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x14]
call fcn.0049e625
pop ecx
test eax, eax
pop ecx
jne 0x41c970
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.0041c994
test eax, eax
je 0x41c970
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.004b960e
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x42460c
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x4cb70c
call fcn.0049cce0
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.00424e24
cmp eax, edi
je 0x424796
or ebx, 0xffffffff
cmp eax, ebx
je 0x424672
cmp eax, 0xfffffffe
je 0x4246a7
mov eax, dword [esi + 0x9c]
cmp eax, edi
je 0x42465b
push eax
mov ecx, esi
call fcn.0040f27d
test eax, eax
jne 0x4246a7
push dword [esi + 0x94]
lea ecx, [esi + 0x70]
call fcn.004250ad
cmp eax, edi
je 0x424675
cmp eax, 0xfffffffe
je 0x4246a7
push edi
jmp 0x4246b2
cmp word [esi + 0x78], 2
jne 0x424796
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.00424eb8
cmp eax, ebx
jne 0x4246ab
push 0x28
jmp 0x4246b2
cmp eax, 0xfffffffe
jne 0x4246c2
push 0x15
push 4
mov ecx, esi
call fcn.00424976
mov eax, ebx
jmp 0x42479f
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.00424cd4
test eax, eax
je 0x4246f1
push 0x28
push 4
mov ecx, esi
call fcn.00424976
lea eax, [ebp - 0x14]
push 0x4e73f8
push eax
mov dword [ebp - 0x14], ebx
call fcn.0049e52d
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
test al, 1
jne 0x42472f
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
add eax, 2
adc ecx, 0
cmp eax, edi
jne 0x424712
cmp ecx, dword [ebp - 0x2c]
je 0x42472f
push 0x28
push 4
mov ecx, esi
call fcn.00424976
or dword [ebp - 0x18], 0xffffffff
lea eax, [ebp - 0x18]
push 0x4e73f8
push eax
call fcn.0049e52d
or dword [ebp - 4], 0xffffffff
test byte [esi + 0x10], 1
je 0x42474e
mov ecx, esi
call fcn.0041bc24
cmp eax, 0xffffffff
jne 0x424749
push 0
jmp 0x424771
cmp eax, 0xfffffffe
je 0x42476f
call ebx
push 3
xor edx, edx
pop ecx
div ecx
test edx, edx
jne 0x424796
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
add eax, 2
adc ecx, edx
cmp eax, edi
jne 0x42476f
cmp ecx, dword [ebp - 0x2c]
je 0x424796
push 0x28
push 4
mov ecx, esi
call fcn.00424976
or eax, 0xffffffff
jmp 0x42479f
mov ecx, esi
call fcn.004249fe
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x4251bf
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.0049df60
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push 0x570804
call fcn.004b97a5
xor esi, esi
push 0x1001
lea eax, [ebp - 0x1010]
push esi
push eax
call fcn.0049d0c0
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 0x425222
or eax, 0xffffffff
jmp 0x42527c
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 0x425259
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42521d
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], esi
je 0x42521d
push dword [ebp + 0xc]
lea eax, [ebp - 0x1010]
mov ecx, ebx
push dword [ebp - 4]
push eax
call fcn.00425324
neg eax
sbb eax, eax
pop esi
pop ebx
leave
ret 8

Function at 0x425282
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.0049df60
push ebx
push edi
xor edi, edi
push 0x1001
lea eax, [ebp - 0x1010]
push edi
mov ebx, ecx
push eax
call fcn.0049d0c0
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.00425433
test eax, eax
jne 0x4252f0
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 0x4252f5
or eax, 0xffffffff
jmp 0x42531e
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 0x425313
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 0x425bf3
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4cb830
call fcn.0049cce0
sub esp, 0x830
push esi
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.004b5bb7
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.004b9682
and dword [ebp - 4], 0
push str._bootstat.dat
lea ecx, [ebp - 0x14]
call fcn.004b99ff
push 0x24
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.0049d0c0
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x14]
call fcn.0049e625
add esp, 0x14
test eax, eax
jne 0x425c95
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.0041c994
test eax, eax
je 0x425c95
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.004b960e
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x426a15
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 0xc]
and dword [edx], 0
mov eax, dword [ecx + 4]
test eax, eax
je 0x426a28
cmp eax, 0xffffffff
jne 0x426a2d
or eax, 0xffffffff
jmp 0x426a46
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 0x4288cf
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x4cc0cf
call fcn.0049cce0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x188]
mov dword [ebp - 4], 0x25
call fcn.004b960e
lea ecx, [esi + 0x184]
mov byte [ebp - 4], 0x24
call fcn.004b960e
lea ecx, [esi + 0x180]
mov byte [ebp - 4], 0x23
call fcn.004b960e
lea ecx, [esi + 0x17c]
mov byte [ebp - 4], 0x22
call fcn.004b960e
lea ecx, [esi + 0x178]
mov byte [ebp - 4], 0x21
call fcn.004b960e
lea ecx, [esi + 0x174]
mov byte [ebp - 4], 0x20
call fcn.004b960e
lea ecx, [esi + 0x140]
mov byte [ebp - 4], 0x1f
call fcn.004b960e
lea ecx, [esi + 0x134]
mov byte [ebp - 4], 0x1e
call fcn.004b960e
lea ecx, [esi + 0x130]
mov byte [ebp - 4], 0x1d
call fcn.004b960e
lea ecx, [esi + 0x128]
mov byte [ebp - 4], 0x1c
call fcn.004b960e
lea ecx, [esi + 0x124]
mov byte [ebp - 4], 0x1b
call fcn.004b960e
lea ecx, [esi + 0x120]
mov byte [ebp - 4], 0x1a
call fcn.004b960e
lea ecx, [esi + 0x11c]
mov byte [ebp - 4], 0x19
call fcn.004b960e
mov byte [ebp - 4], 0x18
lea ecx, [esi + 0x104]
call fcn.004b960e
lea ecx, [esi + 0x100]
mov byte [ebp - 4], 0x17
call fcn.004b960e
lea ecx, [esi + 0xfc]
mov byte [ebp - 4], 0x16
call fcn.004b960e
lea ecx, [esi + 0xf4]
mov byte [ebp - 4], 0x15
call fcn.004b960e
lea ecx, [esi + 0xf0]
mov byte [ebp - 4], 0x14
call fcn.004b960e
lea ecx, [esi + 0xec]
mov byte [ebp - 4], 0x13
call fcn.004b960e
lea ecx, [esi + 0xe8]
mov byte [ebp - 4], 0x12
call fcn.004b960e
lea ecx, [esi + 0xe4]
mov byte [ebp - 4], 0x11
call fcn.004b960e
lea ecx, [esi + 0xbc]
mov byte [ebp - 4], 0x10
call fcn.004b960e
lea ecx, [esi + 0xb8]
mov byte [ebp - 4], 0xf
call fcn.004b960e
lea ecx, [esi + 0xb4]
mov byte [ebp - 4], 0xe
call fcn.004b960e
lea ecx, [esi + 0xb0]
mov byte [ebp - 4], 0xd
call fcn.004b960e
lea ecx, [esi + 0xa8]
mov byte [ebp - 4], 0xc
call fcn.004b960e
lea ecx, [esi + 0xa4]
mov byte [ebp - 4], 0xb
call fcn.004b960e
lea ecx, [esi + 0xa0]
mov byte [ebp - 4], 0xa
call fcn.004b960e
lea ecx, [esi + 0x9c]
mov byte [ebp - 4], 9
call fcn.004b960e
lea ecx, [esi + 0x88]
mov byte [ebp - 4], 8
call fcn.004b960e
lea ecx, [esi + 0x84]
mov byte [ebp - 4], 7
call fcn.004b960e
lea ecx, [esi + 0x80]
mov byte [ebp - 4], 6
call fcn.004b960e
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 5
call fcn.004b960e
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 4
call fcn.004b960e
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 3
call fcn.004b960e
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 2
call fcn.004b960e
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 1
call fcn.004b960e
and byte [ebp - 4], 0
lea ecx, [esi + 0x10]
call fcn.004b960e
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
call fcn.004b960e
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x42a3db
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebp, ecx
push ebx
call edi
test eax, eax
je 0x42a42e
and dword [esp + 0x14], 0
mov esi, 0x3e8
push ebx
call fcn.00415b11
cmp eax, 0xffffffff
pop ecx
jne 0x42a42e
push ebx
call edi
test eax, eax
je 0x42a42e
push dword [ebp + 0x10]
push esi
call fcn.004157c4
pop ecx
test eax, eax
pop ecx
jne 0x42a432
add dword [esp + 0x14], esi
cmp dword [esp + 0x14], 0x2710
jge 0x42a432
jmp 0x42a3fc
xor eax, eax
jmp 0x42a435
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x42a43c
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
push dword [ebp + 8]
mov dword [ebp - 4], ecx
call esi
test eax, eax
je 0x42a4b9
push dword [ebp + 0xc]
call esi
xor ebx, ebx
test eax, eax
je 0x42a474
cmp dword [ebp + 0x10], ebx
je 0x42a4be
push dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
call fcn.0042a3db
test eax, eax
jl 0x42a4be
mov edi, 0x3e8
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00415b35
add esp, 0xc
cmp eax, 0xffffffff
jne 0x42a4b5
push dword [ebp + 8]
call esi
test eax, eax
je 0x42a4b9
mov eax, dword [ebp - 4]
push dword [eax + 0x10]
push edi
call fcn.004157c4
pop ecx
test eax, eax
pop ecx
jne 0x42a4be
add ebx, edi
cmp ebx, 0x2710
jge 0x42a4be
jmp 0x42a479
xor eax, eax
jmp 0x42a4c1
push 0xfffffffffffffffe
pop eax
jmp 0x42a4c1
and eax, 0
pop edi
pop esi
pop ebx
leave
ret 0xc