joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4492e0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x576644]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x449358
push esi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 1
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 2
push eax
push 0
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 0x18]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a7695
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.004a7695
mov esp, ebp
pop ebp
ret

Function at 0x449650
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x562248
push 0x4cbe00
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x2a14
call fcn.004a76b0
mov eax, dword [0x576644]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2a2c], esi
test esi, esi
je 0x4497ab
mov dword [ebp - 4], 0
call fcn.004492e0
mov dword [ebp - 4], 0xfffffffe
jmp 0x4496cc
push 0x800
push 0
lea eax, [ebp - 0xa24]
push eax
call fcn.004ca680
mov dword [ebp - 0x2a28], 0
push 0x2000
push 0
lea eax, [ebp - 0x2a24]
push eax
call fcn.004ca680
add esp, 0x18
lea eax, [ebp - 0x2a28]
push eax
push 0x800
lea eax, [ebp - 0x2a24]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x4497ab
push 0x104
push esi
lea eax, [ebp - 0x224]
push eax
call fcn.004f6ddc
lea eax, [ebp - 0x224]
push eax
call fcn.004f4e95
add esp, 0x10
xor esi, esi
cmp dword [ebp - 0x2a28], esi
jbe 0x4497ab
mov bl, byte [ebp + 0xc]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x400
lea eax, [ebp - 0xa24]
push eax
push dword [ebp + esi*4 - 0x2a24]
call fcn.00449410
add esp, 0xc
test eax, eax
je 0x4497a2
lea eax, [ebp - 0xa24]
push eax
call fcn.004f4e95
add esp, 4
lea eax, [ebp - 0xa24]
test bl, bl
jne 0x44978e
push eax
call edi
lea ecx, [ebp - 0x224]
push ecx
push eax
call fcn.004f5041
add esp, 8
test eax, eax
je 0x4497c9
inc esi
cmp esi, dword [ebp - 0x2a28]
jb 0x449753
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004a7695
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xa24]
push eax
push str.process:__s_is_running
call fcn.00455860
add esp, 8
mov eax, 1
jmp 0x4497ad
Function at 0x449c00
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5621e8
push 0x4cbe00
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x2a14
call fcn.004a76b0
mov eax, dword [0x576644]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2a2c], esi
test esi, esi
je 0x449dd4
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x449c56
sub ecx, edx
sar ecx, 1
cmp ecx, 0x104
ja 0x449dd4
mov dword [ebp - 4], 0
call fcn.004492e0
mov dword [ebp - 4], 0xfffffffe
jmp 0x449c9c
push 0x800
push 0
lea eax, [ebp - 0xa24]
push eax
call fcn.004ca680
mov dword [ebp - 0x2a28], 0
push 0x2000
push 0
lea eax, [ebp - 0x2a24]
push eax
call fcn.004ca680
add esp, 0x18
lea eax, [ebp - 0x2a28]
push eax
push 0x800
lea eax, [ebp - 0x2a24]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x449dd4
push 0x104
push esi
lea eax, [ebp - 0x224]
push eax
call fcn.004f6ddc
lea eax, [ebp - 0x224]
push eax
call fcn.004f4e95
add esp, 0x10
xor edi, edi
cmp dword [ebp - 0x2a28], edi
jbe 0x449dd4
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x400
lea eax, [ebp - 0xa24]
push eax
push dword [ebp + edi*4 - 0x2a24]
call fcn.00449410
add esp, 0xc
test eax, eax
je 0x449dc7
lea eax, [ebp - 0xa24]
push eax
call fcn.004f4e95
add esp, 4
lea ecx, [ebp - 0xa24]
lea eax, [ebp - 0x224]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x449d88
test dx, dx
je 0x449d84
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x449d88
add eax, 4
add ecx, 4
test dx, dx
jne 0x449d62
xor eax, eax
jmp 0x449d8d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x449dc7
push dword [ebp + edi*4 - 0x2a24]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x449db3
push 0
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0xa24]
push eax
push str.Kill_process:__s
call fcn.00455860
add esp, 8
inc edi
cmp edi, dword [ebp - 0x2a28]
jb 0x449d24
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004a7695
mov esp, ebp
pop ebp
ret 4
Function at 0x449e00
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x562228
push 0x4cbe00
mov eax, dword fs:[0]
push eax
sub esp, 0x848
mov eax, dword [0x576644]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 4], 0
test esi, esi
je 0x449f74
cmp word [esi], 0
je 0x449f74
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x449e60
sub ecx, edx
sar ecx, 1
cmp ecx, 0x104
ja 0x449f74
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x449f74
push 0x800
push 0
lea eax, [ebp - 0x81c]
push eax
call fcn.004ca680
push esi
push 0x540468
push 0x3ff
lea eax, [ebp - 0x81c]
push eax
call fcn.00449fa0
push 0x3c
push 0
lea eax, [ebp - 0x858]
push eax
call fcn.004ca680
add esp, 0x28
mov dword [ebp - 0x858], 0x3c
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x848], eax
mov dword [ebp - 0x84c], str.open
mov dword [ebp - 0x844], ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x83c], eax
mov dword [ebp - 0x854], 0x440
cmp dword [ebp + 0x14], 0
je 0x449f13
push esi
call fcn.004672b0
add esp, 4
test eax, eax
je 0x449f74
lea eax, [ebp - 0x858]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
test esi, esi
je 0x449f3b
cmp dword [ebp + 0x18], 0
je 0x449f3b
push dword [ebp + 0x20]
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test edi, edi
je 0x449f50
test esi, esi
je 0x449f60
push edi
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test esi, esi
je 0x449f60
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x449f7d
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004a7695
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x44a020
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [ebp + 8]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x44a03c
pop edi
pop ebp
ret 4
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop edi
pop ebp
ret 4
Function at 0x44ad20
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x576644]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x44ae21
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44ae21
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], 0
push 0
push eax
call fcn.004ca680
add esp, 0xc
mov dword [ebp - 0x214], 0x208
lea eax, [ebp - 0x210]
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Pathshalowp.exe_file_pe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44ae15
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea eax, [ebp - 0x218]
push esi
xor esi, esi
push esi
push esi
push eax
push esi
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [ebp - 0x210]
call ebx
test eax, eax
jne 0x44ae13
nop dword [eax]
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], 0x208
push eax
push edi
inc esi
call fcn.0044ae30
add esp, 8
lea eax, [ebp - 0x218]
push 0
push 0
push eax
push 0
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [ebp - 0x210]
call ebx
test eax, eax
je 0x44add0
pop esi
pop ebx
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.004a7695
mov esp, ebp
pop ebp
ret
Function at 0x44b680
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44b6d3
push edi
push ebx
call fcn.00449c00
mov edi, dword [ebp + 0xc]
push edi
push ebx
push str.call_exe_begin__path__s__cmd__s_
call fcn.00455860
add esp, 0xc
push dword [ebp + 0x18]
push 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 1
push edi
push ebx
call fcn.00449e00
push dword [ebp + 0x14]
push edi
push ebx
push eax
push str.call_exe_return___d___path__s___cmd__s___sync__d_
call fcn.00455860
add esp, 0x14
pop edi
pop ebx
pop ebp
ret

Function at 0x44b790
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x576644]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x420], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
test eax, eax
je 0x44b931
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call edi
test eax, eax
je 0x44b931
push 0x208
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], 0
push 0
push eax
call fcn.004ca680
add esp, 0xc
mov dword [ebp - 0x41c], 0x208
lea eax, [ebp - 0x418]
push eax
push 0xf003f
push 0
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44b925
xor ebx, ebx
lea eax, [ebp - 0x424]
push ebx
push ebx
push eax
push ebx
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x414]
push eax
push ebx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x44b925
nop dword [eax]
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x41c], 0x208
push 0
push eax
inc ebx
call fcn.004ca680
push dword [ebp - 0x420]
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004fb2e9
add esp, 0x18
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
je 0x44b8f5
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
je 0x44b8f5
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x44b8e5
sub esp, 0x28
mov eax, esp
push esi
mov dword [eax + 0x24], 0
lea eax, [ebp - 0x20c]
push eax
call fcn.0044e7a0
add esp, 0x30
jmp 0x44b8f5
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0044e660
add esp, 8
push 0
push 0
lea eax, [ebp - 0x424]
push eax
push 0
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x414]
push eax
push ebx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x44b850
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a7695
mov esp, ebp
pop ebp
ret
Function at 0x44b950
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Delete directory
Delete file
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x576644]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x228]
push 0
push eax
call fcn.004ca680
add esp, 0xc
lea eax, [ebp - 0x228]
push eax
push 0
push 0
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x228]
mov dword [ebp - 0xc], 0x360033
push eax
mov dword [ebp - 8], 0x30
call esi
xor eax, eax
mov dword [ebp - 0x20], 0x360033
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x228]
mov dword [ebp - 0x1c], 0x620030
push eax
mov dword [ebp - 0x18], 0x7a0069
mov dword [ebp - 0x14], str.g__0wp
call esi
push 0x53a1cc
lea eax, [ebp - 0x228]
push eax
call esi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x228]
push eax
call ebx
test eax, eax
je 0x44ba0f
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x228]
push eax
call edi
lea eax, [ebp - 0x228]
push eax
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x44ba3a
lea eax, [ebp - 0x228]
push eax
call esi
lea eax, [ebp - 0x228]
push eax
call edi
lea eax, [ebp - 0x228]
push eax
call ebx
test eax, eax
je 0x44ba59
lea eax, [ebp - 0x228]
push eax
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a7695
mov esp, ebp
pop ebp
ret

Function at 0x44c230
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x526bf2
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x576644]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
mov dword [ebp - 0x228], esi
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 0
call fcn.004ca680
add esp, 0xc
mov dword [ebp - 0x224], 1
mov dword [ebp - 0x220], 0x104
call fcn.0040d510
mov ecx, eax
test ecx, ecx
je 0x44c34a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], 1
push eax
lea eax, [ebp - 0x224]
push eax
push 0x537aa0
push str.SoftwareHaloWallPaper
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44c300
sub eax, edx
sar eax, 1
je 0x44c32e
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00412590
mov ecx, esi
call fcn.0043e020
mov ecx, esi
call fcn.0043df20
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a7695
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00409d40
int3
Function at 0x44dab0
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x526d9b
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x576644]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x298]
push 0x208
push 0
mov dword [ebp - 0x2a4], esi
push eax
mov dword [ebp - 0x2a0], 1
call fcn.004ca680
add esp, 0xc
mov dword [ebp - 0x29c], 0x104
lea eax, [ebp - 0x29c]
mov dword [ebp - 0x90], 0x4f0053
mov dword [ebp - 0x8c], 0x540046
mov dword [ebp - 0x88], 0x410057
push eax
lea eax, [ebp - 0x298]
mov dword [ebp - 0x84], 0x450052
push eax
lea eax, [ebp - 0x2a0]
mov dword [ebp - 0x80], 0x4d005c
push eax
push 0x5405c4
lea eax, [ebp - 0x90]
mov dword [ebp - 0x7c], 0x630069
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x78], 0x6f0072
mov dword [ebp - 0x74], 0x6f0073
mov dword [ebp - 0x70], 0x740066
mov dword [ebp - 0x6c], 0x57005c
mov dword [ebp - 0x68], 0x6e0069
mov dword [ebp - 0x64], 0x6f0064
mov dword [ebp - 0x60], 0x730077
mov dword [ebp - 0x5c], 0x43005c
mov dword [ebp - 0x58], 0x720075
mov dword [ebp - 0x54], 0x650072
mov dword [ebp - 0x50], 0x74006e
mov dword [ebp - 0x4c], 0x650056
mov dword [ebp - 0x48], 0x730072
mov dword [ebp - 0x44], 0x6f0069
mov dword [ebp - 0x40], 0x5c006e
mov dword [ebp - 0x3c], 0x700041
mov dword [ebp - 0x38], 0x200070
mov dword [ebp - 0x34], 0x610050
mov dword [ebp - 0x30], 0x680074
mov dword [ebp - 0x2c], 0x5c0073
mov dword [ebp - 0x28], 0x360033
mov dword [ebp - 0x24], 0x730030
mov dword [ebp - 0x20], 0x660061
mov dword [ebp - 0x1c], 0x2e0065
mov dword [ebp - 0x18], 0x780065
mov dword [ebp - 0x14], 0x65
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
call fcn.0040d510
mov ecx, eax
test ecx, ecx
je 0x44dc9c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x298]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.004115c0
test al, al
jne 0x44dc7e
lea ecx, [ebp - 0x298]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44dc60
sub ecx, edx
lea eax, [ebp - 0x298]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00412590
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a7695
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00409d40
int3
Function at 0x44e660
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x526e68
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x576644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44e6db
test al, 0x10
je 0x44e6db
push esi
mov edi, 1
call fcn.0044f950
add esp, 4
test eax, eax
jne 0x44e6fe
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x44e6fe
push esi
test edi, edi
jne 0x44e6f6
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x44e6fe
push esi
push str.DeleteFile:_s_suceesss
call fcn.00455860
add esp, 8
jmp 0x44e6fe
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x44e6ac
push esi
push str.DeleteFile:_s_suceesss
call fcn.00455860
add esp, 8
jmp 0x44e6fe
call fcn.0044f950
add esp, 4
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44e77f
push esi
lea ecx, [ebp - 0x10]
call fcn.00411080
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov edi, dword [esi + 4]
cmp dword [esi + 8], edi
je 0x44e73e
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.0040d1f0
add eax, 0x10
add esp, 4
mov dword [edi], eax
add dword [esi + 4], 4
jmp 0x44e74a
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
push edi
call fcn.0044a830
mov edx, dword [ebp - 0x10]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44e76c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44f950
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2024
call fcn.004a76b0
mov eax, dword [0x576644]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x44f980
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a7695
mov esp, ebp
pop ebp
ret
push 0x2000
xorps xmm0, xmm0
mov dword [ebp - 0x200c], 0
lea eax, [ebp - 0x2004]
movq qword [ebp - 0x2014], xmm0
push 0
movups xmmword [ebp - 0x2024], xmm0
push eax
mov word [ebp - 0x2008], 0
mov dword [ebp - 0x2020], 3
call fcn.004ca680
push 0x1000
lea eax, [ebp - 0x2004]
push esi
push eax
call fcn.004f6ddc
lea eax, [ebp - 0x2004]
add esp, 0x18
mov dword [ebp - 0x201c], eax
mov eax, 0x614
mov word [ebp - 0x2014], ax
lea eax, [ebp - 0x2024]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.004a7695
mov esp, ebp
pop ebp
ret
Function at 0x44fa10
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
mov eax, dword [0x576644]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x44fc23
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44fc23
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44fa43
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jbe 0x44fc23
push ebx
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov edi, 1
push 0
push eax
call fcn.004ca680
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.004ca680
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x414]
add esp, 0x18
push esi
push eax
call ebx
push 0x540ad0
lea eax, [ebp - 0x414]
push eax
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44fac4
test al, 1
je 0x44fac4
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x664]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x668], eax
cmp eax, 0xffffffff
je 0x44fc09
lea ecx, [ebp - 0x664]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x44fbfd
nop dword [eax]
test byte [ebp - 0x664], 0x10
je 0x44fb78
cmp word [ebp - 0x638], 0x2e
jne 0x44fb37
mov ax, word [ebp - 0x636]
test ax, ax
je 0x44fbe2
cmp ax, 0x2e
jne 0x44fb37
cmp word [ebp - 0x634], 0
je 0x44fbe2
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004ca680
add esp, 0xc
lea eax, [ebp - 0x20c]
push esi
push eax
call ebx
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x20c]
push eax
call ebx
lea eax, [ebp - 0x20c]
push eax
call fcn.0044fa10
add esp, 4
jmp 0x44fbe0
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004ca680
add esp, 0xc
lea eax, [ebp - 0x20c]
push esi
push eax
call ebx
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x20c]
push eax
call ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44fbcf
test al, 1
je 0x44fbcf
and eax, 0xfffffffe
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
and edi, eax
lea eax, [ebp - 0x664]
push eax
push dword [ebp - 0x668]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x44fb00
push dword [ebp - 0x668]
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
and eax, edi
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a7695
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004a7695
mov esp, ebp
pop ebp
ret
Function at 0x44fc40
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x44fc98
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44fc98
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x44fc78
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x44fc98
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44fc93
test al, 0x10
je 0x44fc93
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x44fc98
xor eax, eax
pop esi
pop ebp
ret
mov eax, 1
pop esi
pop ebp
ret