joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4429c4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x4ab7b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x24c], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, 0x48e7d0
mov dword [ebp - 0x240], eax
push edi
push eax
mov dword [ebp - 0x248], esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x24c]
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x442ba0
push edi
call fcn.0045849d
push edi
mov esi, eax
push 0
push esi
mov dword [ebp - 0x250], esi
call fcn.004523f0
add esp, 0x10
push esi
push edi
xor edi, edi
push edi
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x442b99
push 0x34
lea eax, [ebp - 0x238]
push edi
push eax
mov dword [ebp - 0x23c], eax
call fcn.004523f0
add esp, 0xc
mov dword [ebp - 0x244], edi
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x23c]
push eax
push 0x481c30
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x442aba
mov eax, dword [ebp - 0x23c]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
movzx eax, dx
push eax
shr edx, 0x10
push edx
push str._u._u._u._u
push dword [ebp - 0x240]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
push 0x34
push edi
push dword [ebp - 0x23c]
mov dword [ebp - 0x244], edi
call fcn.004523f0
add esp, 0xc
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x23c]
push eax
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x442b99
mov ebx, dword [ebp - 0x244]
lea eax, [ebp - 0x204]
push 0x200
push edi
push eax
shr ebx, 2
call fcn.004523f0
mov ecx, dword [ebp - 0x23c]
add esp, 0xc
test ebx, ebx
je 0x442b99
mov esi, dword [ebp - 0x248]
and dword [ebp - 0x240], 0
lea eax, [ecx + 4]
test edi, edi
push 4
cmove eax, ecx
push eax
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x240]
push eax
call fcn.00452580
movzx eax, word [ebp - 0x240]
add esp, 0xc
push eax
lea eax, [ebp - 0x204]
test edi, edi
jne 0x442b6a
push 0x486ab8
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
jmp 0x442b7a
push esi
push str._s__u
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x204]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [ebp - 0x248]
inc edi
cmp edi, ebx
jl 0x442b20
mov esi, dword [ebp - 0x250]
push esi
call fcn.00458498
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00443e8b
leave
ret
Function at 0x442c71
Capabilities:
Create process on windows

Disassembly:
push 0x98
mov eax, 0x47bf0e
call fcn.00444285
mov eax, dword [ebp + 8]
xor ecx, ecx
inc ecx
push ecx
lea ecx, [ebp - 0x41]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00406bc0
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x60]
push 0x10
push ebx
push eax
call fcn.004523f0
push 0x44
pop esi
push esi
lea eax, [ebp - 0xa4]
push ebx
push eax
call fcn.004523f0
xor ecx, ecx
mov dword [ebp - 0xa4], esi
xor eax, eax
inc ecx
add esp, 0x18
mov dword [ebp - 0x78], ecx
mov word [ebp - 0x74], ax
cmp dword [ebp + 0xc], eax
je 0x442cd4
mov word [ebp - 0x74], cx
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
mov edi, str.C:CodeBasesisdevSrcRuntimeMSISharedSetuputils.cpp
mov dword [ebp - 0x48], 0x486
cmovae eax, dword [ebp - 0x3c]
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], edi
push str.Attempting_to_launch__no_wait_:__s
push eax
call fcn.004160ea
add esp, 0xc
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x40]
push dword [ebp - 0x2c]
push eax
call fcn.00406ae0
xor ecx, ecx
inc ecx
mov byte [ebp - 4], cl
mov byte [eax + 4], cl
mov ecx, dword [eax]
call fcn.004079b0
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0xa4]
push ecx
push ebx
push ebx
push 0x20
xor ecx, ecx
inc ecx
push ecx
push ebx
push ebx
push dword [eax]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x50]
call fcn.00406010
push esi
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], edi
push str.Launch_result__d
push eax
mov dword [ebp - 0x48], 0x48b
call fcn.004160ea
add esp, 0xc
test esi, esi
je 0x442d78
push 0x3e8
push dword [ebp - 0x60]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00404d40
mov eax, esi
call fcn.00444234
ret 8
Function at 0x442d8e
Capabilities:
Create process on windows

Disassembly:
push 0xb8
mov eax, 0x47bf55
call fcn.00444285
mov eax, dword [ebp + 8]
xor ecx, ecx
inc ecx
xor ebx, ebx
push ecx
lea ecx, [ebp - 0x45]
mov dword [ebp - 0x44], ebx
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00406bc0
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x64]
push 0x10
push ebx
push eax
call fcn.004523f0
push 0x44
pop esi
push esi
lea eax, [ebp - 0xc4]
push ebx
push eax
call fcn.004523f0
mov dword [ebp - 0xc4], esi
xor eax, eax
xor esi, esi
mov word [ebp - 0x94], ax
inc esi
add esp, 0x18
mov dword [ebp - 0x98], esi
cmp dword [ebp + 0xc], eax
je 0x442dfd
mov word [ebp - 0x94], si
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x50], str.C:CodeBasesisdevSrcRuntimeMSISharedSetuputils.cpp
cmovae eax, dword [ebp - 0x3c]
push eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x4c], 0x446
push str.Attempting_to_launch:__s
push eax
call fcn.004160ea
add esp, 0xc
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0x40]
push dword [ebp - 0x2c]
push eax
call fcn.00406ae0
xor ecx, ecx
inc ecx
mov byte [ebp - 4], cl
mov byte [eax + 4], cl
mov ecx, dword [eax]
call fcn.004079b0
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0xc4]
push ecx
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
push dword [eax]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x54]
call fcn.00406010
test esi, esi
je 0x442efe
xor esi, esi
mov edi, 0x4ff
inc esi
jmp 0x442ea5
cmp eax, esi
jne 0x442eb8
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
cmp dword [ebp - 0x7c], 0x11
je 0x442eb8
cmp dword [ebp - 0x7c], 0x10
je 0x442eb8
cmp dword [ebp - 0x7c], 0x12
je 0x442eb8
push edi
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x64]
push eax
push esi
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
test eax, eax
jne 0x442e81
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x64]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x44]
push dword [ebp - 0x64]
mov dword [0x4b07f0], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x44]
mov dword [ebp - 0x50], str.C:CodeBasesisdevSrcRuntimeMSISharedSetuputils.cpp
push eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x4c], 0x467
push str.Launch_result__d__exit_code__d
push eax
call fcn.004160ea
mov esi, dword [ebp - 0x44]
add esp, 0x10
jmp 0x442f03
mov esi, 0xcccccccc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00404d40
mov eax, esi
call fcn.00444234
ret 8
Function at 0x443023
Capabilities:
Delete directory

Disassembly:
push 8
mov eax, 0x46f704
call fcn.00444252
push 8
sub esp, 0x30
lea eax, [ebp - 0xd]
mov ecx, esp
mov dword [ebp - 0x14], esp
xor edi, edi
xor esi, esi
inc edi
push edi
push eax
push dword [ebp + 8]
call fcn.0041085e
and dword [ebp - 4], esi
or dword [ebp - 4], 0xffffffff
call fcn.0044652d
add esp, 0x34
test al, al
je 0x44307f
push 0x8001
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
push 0
cmovne esi, edi
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov eax, esi
call fcn.00444220
ret 4

Function at 0x443089
Capabilities:
Delete file
Set file attributes

Disassembly:
push 8
mov eax, 0x46f704
call fcn.00444252
push 4
sub esp, 0x30
lea eax, [ebp - 0xd]
mov ecx, esp
mov dword [ebp - 0x14], esp
xor ebx, ebx
inc ebx
push ebx
push eax
push dword [ebp + 8]
call fcn.0041085e
and dword [ebp - 4], 0
or dword [ebp - 4], 0xffffffff
call fcn.0044652d
add esp, 0x34
test al, al
jne 0x4430c7
mov eax, ebx
jmp 0x443106
push dword [ebp + 8]
xor esi, esi
call fcn.0044225a
test eax, eax
jne 0x443104
push 0x8001
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x80
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
push 0
cmovne esi, ebx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov eax, esi
call fcn.00444220
ret 4

Function at 0x444e53
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x444e92
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x444e92
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x444e92
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x444e92
cmp dword [ecx + 0x74], 0xe
jbe 0x444e92
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4459ad
Capabilities:
Read file on windows

Disassembly:
push 0x10c
mov eax, 0x47c0b5
call fcn.00444285
mov esi, ecx
and dword [ebp - 0x118], 0
xor ebx, ebx
mov ecx, dword [esi + 4]
inc ebx
cmp dword [ebp + 0xc], 0xffffffff
mov eax, ebx
mov edx, dword [ebp + 8]
cmovne eax, dword [ebp + 0xc]
test ecx, ecx
je 0x4459f0
lea edi, [ebp - 0x118]
push edi
push eax
push edx
call fcn.0044e177
test al, al
je 0x445a43
jmp 0x445a35
push 0
lea ecx, [ebp - 0x118]
push ecx
push eax
push edx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x445a35
push ebx
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x70]
call fcn.00434d28
push ebx
lea eax, [ebp - 0x70]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0xc0]
call fcn.00434b17
push 0x4a3490
lea eax, [ebp - 0xc0]
jmp 0x445a6f
mov eax, dword [ebp - 0x118]
call fcn.00444234
ret 8
push ebx
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x40]
call fcn.00434d28
and dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push ebx
push eax
lea ecx, [ebp - 0x114]
call fcn.00434cb2
push 0x4a3504
lea eax, [ebp - 0x114]
push eax
call fcn.00452f38
int3
Function at 0x445b31
Capabilities:
Write file on windows

Disassembly:
push 0x88
mov eax, 0x47c12d
call fcn.00444285
mov esi, ecx
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x94]
push 0
push eax
xor eax, eax
inc eax
cmp dword [ebp + 0xc], 0xffffffff
cmovne eax, dword [ebp + 0xc]
push eax
push edx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x445b76
mov eax, dword [ebp - 0x94]
call fcn.00444234
ret 8
push 1
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x40]
call fcn.00434d28
and dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push 1
push eax
lea ecx, [ebp - 0x90]
call fcn.00434b17
push 0x4a3490
lea eax, [ebp - 0x90]
push eax
call fcn.00452f38
int3

Function at 0x4464a4
Capabilities:
Get file attributes

Disassembly:
push 0
mov eax, 0x47c21d
call fcn.00444252
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp byte [ebp + 0x38], bl
je 0x4464d0
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
jne 0x44651d
push 0x80
sub esp, 0x30
lea eax, [ebp + 8]
mov ecx, esp
mov edi, 0x48e948
mov esi, 0x48e950
mov dword [ebp + 0x38], ecx
push ebx
push eax
mov dword [ecx], edi
mov dword [ecx + 0x28], esi
call fcn.004104d7
call fcn.00449ccc
pop ecx
mov ecx, esp
lea eax, [ebp + 8]
push ebx
push eax
mov dword [ebp + 0x38], ecx
mov dword [ecx], edi
mov dword [ecx + 0x28], esi
call fcn.004104d7
call fcn.00446423
add esp, 0x30
test eax, eax
setne bl
lea ecx, [ebp + 8]
call fcn.00404d40
mov al, bl
call fcn.00444220
ret
Function at 0x44652d
Capabilities:
Check if file exists

Disassembly:
push 0xcc
mov eax, 0x47c29e
call fcn.00444285
xor ebx, ebx
test byte [ebp + 0x38], 0x10
mov dword [ebp - 4], ebx
je 0x446587
lea ecx, [ebp + 8]
call fcn.0043c039
test al, al
je 0x446587
push dword [ebp + 0x38]
lea eax, [ebp + 8]
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0xd4], ecx
push ebx
push eax
mov dword [ecx], 0x48e948
mov dword [ecx + 0x28], 0x48e950
call fcn.004104d7
call fcn.00446710
add esp, 0x34
mov bl, al
jmp 0x44669c
sub esp, 0x30
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0xd4], ecx
push ebx
push eax
mov dword [ecx], 0x48e948
mov dword [ecx + 0x28], 0x48e950
call fcn.004104d7
call fcn.00446feb
add esp, 0x30
cmp eax, 0xffffffff
je 0x4465dc
and eax, 0x10
test byte [ebp + 0x38], 4
je 0x4465c3
test eax, eax
je 0x4465d5
test byte [ebp + 0x38], 8
je 0x44669c
test eax, eax
je 0x44669c
mov bl, 1
jmp 0x44669c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 2
je 0x4466c9
cmp esi, 3
je 0x4466c9
cmp esi, 5
jne 0x4466c3
lea ecx, [ebp - 0x9c]
call fcn.00445ca2
or dword [ebp - 0xd4], 0xffffffff
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 2
push eax
sub esp, 0x30
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0xd8], ecx
push ebx
push eax
mov dword [ecx], 0x48e948
mov dword [ecx + 0x28], 0x48e950
call fcn.004104d7
call fcn.00446d27
mov ecx, eax
add esp, 0x34
cmp ecx, 0xffffffff
je 0x4466a8
test byte [ebp + 0x38], 4
je 0x44665c
test byte [ebp - 0x9c], 0x10
je 0x44666b
test byte [ebp + 0x38], 8
je 0x446674
test byte [ebp - 0x9c], 0x10
je 0x446674
mov byte [ebp - 0xcd], 1
jmp 0x44667a
mov byte [ebp - 0xcd], bl
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
cmp eax, ebx
je 0x446686
push ecx
call eax
lea ecx, [ebp - 0x40]
call fcn.00404d40
lea ecx, [ebp - 0x70]
call fcn.00404d40
mov bl, byte [ebp - 0xcd]
lea ecx, [ebp + 8]
call fcn.00404d40
mov al, bl
jmp 0x4466d3
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
mov esi, eax
call fcn.00404d40
lea ecx, [ebp - 0x70]
call fcn.00404d40
test byte [ebp + 0x38], 0x20
jne 0x4466d9
lea ecx, [ebp + 8]
call fcn.00404d40
xor al, al
call fcn.00444234
ret
push 1
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0xcc]
call fcn.00434d28
push 1
push esi
lea eax, [ebp - 0xcc]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x60]
call fcn.00434b72
push 0x4a3490
lea eax, [ebp - 0x60]
push eax
call fcn.00452f38
int3
Function at 0x447ed6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4ab7b4]
xor eax, ebp
mov dword [ebp - 4], eax
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x447f0c
push str.GetSystemDefaultUILanguage
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x447f0c
call eax
jmp 0x447fda
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0xf003f
push 0
push str..DefaultControl_PaneldesktopResourceLocale
push SysReAllocStringLen
mov dword [ebp - 0x1c], 0xa
call edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x447f5e
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0x48e7d0
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x447fb3
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 0xf003f
push 0
push str..DEFAULTControl_PanelInternational
push SysReAllocStringLen
call edi
mov edi, eax
test edi, edi
jne 0x447f99
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push edi
push str.Locale
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
cmp dword [ebp - 0x14], 0
je 0x447fa8
test esi, esi
je 0x447fa8
push dword [ebp - 0x14]
call esi
test edi, edi
je 0x447fb3
mov edi, 0x409
jmp 0x447fc6
push 0x10
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.00457579
add esp, 0xc
movzx edi, ax
cmp dword [ebp - 0x18], 0
je 0x447fd5
test esi, esi
je 0x447fd5
push dword [ebp - 0x18]
call esi
mov ax, di
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00443e8b
leave
ret
Function at 0x448a27
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x38
mov eax, 0x47ca1d
call fcn.00444285
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
and esi, 0xf
push dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ecx, eax
test ecx, ecx
jne 0x448a55
mov al, 1
jmp 0x448a71
xor eax, eax
movzx edx, word [ecx]
add ecx, 2
test dx, dx
je 0x448a69
cmp eax, esi
je 0x448a77
lea ecx, [ecx + edx*2]
inc eax
cmp eax, 0x10
jl 0x448a57
xor al, al
call fcn.00444234
ret
push 0
lea eax, [ebp - 0x41]
mov dword [ebp - 0x40], 0x48e948
push eax
test ecx, ecx
mov dword [ebp - 0x18], 0x48e950
mov eax, 0x48e7d0
cmovne eax, ecx
lea ecx, [ebp - 0x40]
push edx
push eax
call fcn.00410648
and dword [ebp - 4], 0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [edi + 4]
call fcn.00407b10
lea ecx, [ebp - 0x40]
call fcn.00404d40
jmp 0x448a51

Function at 0x449200
Capabilities:
Enumerate process modules

Disassembly:
push 0x4a0
mov eax, 0x47cb76
call fcn.00444285
mov eax, dword [ebp + 8]
mov dword [ebp - 0x484], eax
lea eax, [ebp - 0x480]
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
call sub.PSAPI.DLL_EnumProcesses
push str.NtQueryInformationProcess
push str.Ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x449365
xor edi, edi
cmp dword [ebp - 0x480], edi
jbe 0x449365
push dword [ebp + edi*4 - 0x410]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x488], esi
and dword [ebp - 4], 0
test esi, esi
je 0x449349
push 0x18
lea eax, [ebp - 0x4a4]
push 0
push eax
call fcn.004523f0
add esp, 0xc
lea eax, [ebp - 0x48c]
push eax
push 0x18
lea eax, [ebp - 0x4a4]
push eax
push 0
push esi
call ebx
test eax, eax
js 0x449349
cmp dword [ebp - 0x494], 0
je 0x449349
lea ecx, [ebp - 0x444]
call fcn.00445ce6
mov eax, dword [ebp - 0x490]
mov esi, 0x48e7d0
push esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x444], eax
call fcn.00454be3
pop ecx
push eax
push esi
lea ecx, [ebp - 0x43c]
call fcn.00408080
mov eax, dword [ebp - 0x494]
lea ecx, [ebp - 0x478]
mov dword [ebp - 0x47c], eax
lea eax, [ebp - 0x444]
push eax
call fcn.00445c39
mov ecx, dword [ebp - 0x484]
lea eax, [ebp - 0x47c]
push eax
lea eax, [ebp - 0x4ac]
mov byte [ebp - 4], 2
push eax
call fcn.0044598a
lea ecx, [ebp - 0x474]
call fcn.00404d40
lea ecx, [ebp - 0x440]
call fcn.00404d40
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x488]
call fcn.004060f0
inc edi
cmp edi, dword [ebp - 0x480]
jb 0x44925f
call fcn.00444234
ret
Function at 0x449443
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4ab7b4]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.0044864a
test al, al
je 0x4494b2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x18]
push ecx
push 0x28
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4494b2
push esi
lea eax, [ebp - 0x20]
xor esi, esi
push eax
push str.SeShutdownPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
push esi
push esi
push esi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 0x18]
mov dword [ebp - 0x14], 1
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
pop esi
push 0xffff
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov ecx, dword [ebp - 4]
neg eax
sbb al, al
xor ecx, ebp
inc al
call fcn.00443e8b
leave
ret

Function at 0x449a0f
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 8]
xor eax, eax
cmp dword [ebp + 0x24], 8
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0x10]
cmovae eax, dword [ebp + 0x10]
push 0x2001f
push eax
push ecx
lea ecx, [ebp - 0xc]
call fcn.00404bd0
test eax, eax
jne 0x449a56
cmp dword [ebp + 0x54], 8
lea eax, [ebp + 0x40]
cmovae eax, dword [ebp + 0x40]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
mov dword [0x4b0bc8], eax
push ebx
sete bl
cmp dword [ebp - 0xc], 0
je 0x449a70
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp + 0xc]
call fcn.00404d40
lea ecx, [ebp + 0x3c]
call fcn.00404d40
mov al, bl
pop ebx
leave
ret

Function at 0x449a85
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4ab7b4]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x449ac9
cmp dword [ebp - 0x108], 2
jne 0x449ac9
cmp dword [ebp - 0x114], 5
jb 0x449ac9
mov al, 1
jmp 0x449acb
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00443e8b
leave
ret
Function at 0x44d31d
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4ab7b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x10]
mov word [ebp - 8], 0x500
push eax
xor ebx, ebx
push ebx
push 8
mov dword [ebp - 0xc], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x44d393
call esi
cmp eax, 0x3f0
jne 0x44d376
lea eax, [ebp - 0x10]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call esi
cmp eax, 0x78
jne 0x44d38c
push 1
push dword [ebp - 0x10]
call fcn.0044d479
pop ecx
pop ecx
jmp 0x44d46b
test eax, eax
jne 0x44d393
push ebx
jmp 0x44d37d
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push 2
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x44d3b9
push ebx
push dword [ebp - 0x10]
call fcn.0044d479
jmp 0x44d468
call esi
cmp eax, 0x7a
jne 0x44d3ab
push dword [ebp - 0x14]
call fcn.0044435c
pop ecx
mov esi, eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push esi
push 2
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x44d3e1
push ebx
jmp 0x44d452
cmp byte [ebp + 8], bl
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
mov eax, 0x223
push ebx
push ebx
lea ecx, [eax - 3]
cmovne eax, ecx
push eax
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x44d3de
mov edi, ebx
mov byte [ebp - 0x18], bl
cmp dword [esi], ebx
jbe 0x44d446
lea ebx, [esi + 4]
push dword [ebp - 0x1c]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x44d431
inc edi
add ebx, 8
cmp edi, dword [esi]
jb 0x44d418
jmp 0x44d446
cmp byte [ebp + 0xc], 0
je 0x44d442
test byte [esi + edi*8 + 8], 0x10
mov byte [ebp - 0x18], 0
jne 0x44d446
mov byte [ebp - 0x18], 1
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push dword [ebp - 0x18]
push dword [ebp - 0x10]
call fcn.0044d479
pop ecx
pop ecx
push 0xc
push esi
mov bl, al
call fcn.00443fae
mov al, bl
pop ecx
pop ecx
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00443e8b
leave
ret