joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441390
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push edi
push accept
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
cmp edi, ebx
je 0x4413f1
mov eax, dword [ebp + 8]
push esi
push 4
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
cmp esi, ebx
je 0x4413e9
lea ecx, [ebp - 4]
push ecx
push 0x24
lea edx, [ebp - 0x28]
push edx
push ebx
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x4413e2
cmp dword [ebp - 0x24], 4
jne 0x4413e2
mov bl, 1
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
pop edi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x441400
Capabilities:
Check for time delay via gettickcount
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push 0xf003f
push 0
or esi, 0xffffffff
push 0
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
mov dword [ebp - 8], ebx
je 0x4414f6
mov eax, dword [ebp + 8]
push edi
push 0x24
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x44144c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x4414dc
xor eax, eax
lea ecx, [ebp - 0x24]
push ecx
push 1
push esi
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x441483
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x4414dc
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
cmp dword [ebp - 0x20], 1
mov ebx, eax
je 0x4414d2
lea edx, [ebp - 0x24]
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x4414c3
cmp dword [ebp - 0x20], 1
je 0x4414d2
call edi
sub eax, ebx
cmp eax, 0x7530
ja 0x4414cc
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x20], 1
jne 0x441493
jmp 0x4414d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp dword [ebp - 0x20], 1
jne 0x4414d9
mov dword [ebp - 4], 0
mov ebx, dword [ebp - 8]
test esi, esi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
je 0x4414e9
push esi
call edi
push ebx
call edi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x441500
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ced80
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push esi
mov eax, dword [0x528f34]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
test esi, esi
jne 0x44153f
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x14]
push eax
call fcn.0043ebd0
push eax
lea ecx, [ebp - 0x10]
push 0x4e2080
push ecx
mov dword [ebp - 4], 0
call sym.QQProtectUpd.exe_class_CTXStringW___cdecl_operator_wchar_t_const___class_CTXStringW_const__
add esp, 0x10
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp + 8]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::constructor_void_
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x18]
push 0x4e207c
push eax
mov byte [ebp - 4], 3
call sym.QQProtectUpd.exe_class_CTXStringW___cdecl_operator_wchar_t_const___class_CTXStringW_const__
add esp, 0xc
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
call fcn.0044d92a
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
call fcn.00440530
mov ecx, eax
call fcn.00440240
cmp eax, 3
jne 0x4415c5
push str.__rqpcore__endupd__qp_mode3
lea ecx, [ebp + 8]
call sym.QQProtectUpd.exe_public:_class_CTXStringW____thiscall_CTXStringW::operator_wchar_t_const__
push ecx
lea edx, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push edx
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
push str.call_qp_cmdline:__s
push 0x4dd21c
push 2
push str.ProcessHelper::RestartUpdateCaller
push 0x4c
push str.F:_svn_codeQPUpd_v137SourceUtilProcessHelper.cpp
call fcn.0042d2a0
push 0x3c
lea eax, [ebp - 0x58]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0x28
lea ecx, [ebp + 8]
mov dword [ebp - 0x58], 0x3c
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], 0x540
mov dword [ebp - 0x4c], str.open
mov dword [ebp - 0x48], esi
call sym.QQProtectUpd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
lea ecx, [ebp - 0x58]
push ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
test esi, esi
je 0x441675
mov edx, dword [ebp - 0x20]
push edx
push 0x4e1f40
push 0x4dd21c
push 2
push str.ProcessHelper::RestartUpdateCaller
push 0x5f
push str.F:_svn_codeQPUpd_v137SourceUtilProcessHelper.cpp
call fcn.00442b40
mov eax, dword [ebp - 0x20]
add esp, 0x1c
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4428b0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
lea eax, [ebp - 4]
push eax
push 0x20
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x442918
lea ecx, [ebp - 0x10]
push ecx
push str.SeDebugPrivilege
push esi
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x44290e
mov eax, dword [ebp - 4]
push esi
push esi
push 0x10
lea edx, [ebp - 0x14]
push edx
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x44290e
mov esi, 1
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x442920
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x528f34]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
mov esi, ecx
lea eax, [ebp - 0x118]
push eax
mov dword [esi], vtable.CProcessUtil.0
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x442ace
mov eax, dword [ebp - 0x108]
cmp eax, 2
push edi
je 0x442a4b
cmp eax, 1
jne 0x442acd
push str.Kernel32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [esi + 8], eax
je 0x442acd
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateToolhelp32Snapshot
push eax
call edi
mov edx, dword [esi + 8]
push str.Process32First
push edx
mov dword [esi + 0x20], eax
call edi
mov dword [esi + 0x24], eax
mov eax, dword [esi + 8]
push str.Process32Next
push eax
call edi
mov ecx, dword [esi + 8]
push str.Module32First
push ecx
mov dword [esi + 0x28], eax
call edi
mov edx, dword [esi + 8]
push str.Module32Next
push edx
mov dword [esi + 0x2c], eax
call edi
cmp dword [esi + 0x28], ebx
mov dword [esi + 0x30], eax
je 0x442ac0
cmp dword [esi + 0x24], ebx
je 0x442ac0
cmp eax, ebx
je 0x442ac0
cmp dword [esi + 0x2c], ebx
je 0x442ac0
cmp dword [esi + 0x20], ebx
je 0x442ac0
mov eax, 1
mov dword [esi + 4], eax
mov dword [esi + 0xc], eax
mov ecx, esi
call fcn.004428b0
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb642
mov esp, ebp
pop ebp
ret
push 0x4e2674
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [esi + 8], eax
je 0x442acd
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.EnumProcesses
push eax
call edi
mov ecx, dword [esi + 8]
push str.EnumProcessModules
push ecx
mov dword [esi + 0x10], eax
call edi
mov edx, dword [esi + 8]
push str.GetModuleBaseNameW
push edx
mov dword [esi + 0x14], eax
call edi
mov dword [esi + 0x18], eax
mov eax, dword [esi + 8]
push str.GetModuleFileNameExW
push eax
call edi
cmp dword [esi + 0x10], ebx
mov dword [esi + 0x1c], eax
je 0x442aba
cmp dword [esi + 0x14], ebx
je 0x442aba
cmp dword [esi + 0x18], ebx
je 0x442aba
cmp eax, ebx
je 0x442aba
mov dword [esi + 4], 1
mov dword [esi + 0xc], ebx
jmp 0x442a31
mov ecx, dword [esi + 8]
push ecx
jmp 0x442ac4
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 8], ebx
pop edi
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004cb642
mov esp, ebp
pop ebp
ret
Function at 0x443620
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x528f34]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
test edi, edi
mov dword [ebp - 0x208], eax
jne 0x443656
or eax, 0xffffffff
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb642
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jg 0x443673
pop esi
mov eax, 0xfffffffe
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb642
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x18], 0
jne 0x44368e
pop esi
mov eax, 0xfffffffd
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb642
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x14]
test ecx, ecx
jg 0x4436aa
pop esi
mov eax, 0xfffffffc
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb642
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x4436c3
pop esi
mov eax, 0xfffffffb
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb642
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x1c]
test eax, eax
jg 0x4436df
pop esi
mov eax, 0xfffffffa
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb642
mov esp, ebp
pop ebp
ret
cmp ecx, eax
jge 0x4436f8
pop esi
mov eax, 0xfffffff9
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb642
mov esp, ebp
pop ebp
ret
xor edx, edx
xor ecx, ecx
lea esp, [esp]
mov al, byte [edx + edi]
mov byte [ebp + ecx - 0x204], al
lea eax, [edx + 1]
cdq
mov byte [ebp + ecx - 0x104], cl
add ecx, 1
idiv esi
cmp ecx, 0x100
jl 0x443700
xor ecx, ecx
xor eax, eax
push ebx
jmp 0x443730
mov dl, byte [ebp + eax - 0x104]
movzx esi, byte [ebp + eax - 0x204]
movzx edi, dl
add esi, ecx
add edi, esi
mov ecx, edi
and ecx, 0x800000ff
jns 0x443758
dec ecx
or ecx, 0xffffff00
inc ecx
mov bl, byte [ebp + ecx - 0x104]
mov byte [ebp + ecx - 0x104], dl
mov byte [ebp + eax - 0x104], bl
add eax, 1
cmp eax, 0x100
jl 0x443730
xor ecx, ecx
xor esi, esi
cmp dword [ebp + 0x1c], ecx
jle 0x443820
mov eax, dword [ebp - 0x208]
mov edi, dword [ebp + 0x18]
mov edx, dword [ebp + 0x1c]
sub edi, eax
mov dword [ebp - 0x208], edx
jmp 0x4437a0
add ecx, 1
and ecx, 0x800000ff
jns 0x4437b3
dec ecx
or ecx, 0xffffff00
inc ecx
movzx edx, byte [ebp + ecx - 0x104]
add esi, edx
and esi, 0x800000ff
jns 0x4437cd
dec esi
or esi, 0xffffff00
inc esi
mov bl, byte [ebp + ecx - 0x104]
mov dl, byte [ebp + esi - 0x104]
mov byte [ebp + esi - 0x104], bl
mov byte [ebp + ecx - 0x104], dl
movzx ebx, byte [ebp + esi - 0x104]
movzx edx, dl
add edx, ebx
and edx, 0x800000ff
jns 0x443806
dec edx
or edx, 0xffffff00
inc edx
movzx edx, byte [ebp + edx - 0x104]
xor dl, byte [edi + eax]
add eax, 1
sub dword [ebp - 0x208], 1
mov byte [eax - 1], dl
jne 0x4437a0
mov ecx, dword [ebp - 4]
pop ebx
pop esi
xor ecx, ebp
xor eax, eax
pop edi
call fcn.004cb642
mov esp, ebp
pop ebp
ret
Function at 0x443840
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x528f34]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
test edi, edi
mov dword [ebp - 0x208], eax
jne 0x443876
or eax, 0xffffffff
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb642
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jg 0x443893
pop esi
mov eax, 0xfffffffe
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb642
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x4438ac
pop esi
mov eax, 0xfffffffd
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb642
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x14]
test ecx, ecx
jg 0x4438c8
pop esi
mov eax, 0xfffffffc
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb642
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x18], 0
jne 0x4438e3
pop esi
mov eax, 0xfffffffb
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb642
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x1c]
test eax, eax
jg 0x4438ff
pop esi
mov eax, 0xfffffffa
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb642
mov esp, ebp
pop ebp
ret
cmp ecx, eax
jge 0x443918
pop esi
mov eax, 0xfffffff9
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb642
mov esp, ebp
pop ebp
ret
xor edx, edx
xor ecx, ecx
lea esp, [esp]
mov al, byte [edx + edi]
mov byte [ebp + ecx - 0x204], al
lea eax, [edx + 1]
cdq
mov byte [ebp + ecx - 0x104], cl
add ecx, 1
idiv esi
cmp ecx, 0x100
jl 0x443920
xor ecx, ecx
xor eax, eax
push ebx
jmp 0x443950
mov dl, byte [ebp + eax - 0x104]
movzx esi, byte [ebp + eax - 0x204]
movzx edi, dl
add esi, ecx
add edi, esi
mov ecx, edi
and ecx, 0x800000ff
jns 0x443978
dec ecx
or ecx, 0xffffff00
inc ecx
mov bl, byte [ebp + ecx - 0x104]
mov byte [ebp + ecx - 0x104], dl
mov byte [ebp + eax - 0x104], bl
add eax, 1
cmp eax, 0x100
jl 0x443950
xor ecx, ecx
xor esi, esi
cmp dword [ebp + 0x1c], ecx
jle 0x443a40
mov eax, dword [ebp - 0x208]
mov edi, dword [ebp + 0x18]
mov edx, dword [ebp + 0x1c]
sub edi, eax
mov dword [ebp - 0x208], edx
jmp 0x4439c0
add ecx, 1
and ecx, 0x800000ff
jns 0x4439d3
dec ecx
or ecx, 0xffffff00
inc ecx
movzx edx, byte [ebp + ecx - 0x104]
add esi, edx
and esi, 0x800000ff
jns 0x4439ed
dec esi
or esi, 0xffffff00
inc esi
mov bl, byte [ebp + ecx - 0x104]
mov dl, byte [ebp + esi - 0x104]
mov byte [ebp + esi - 0x104], bl
mov byte [ebp + ecx - 0x104], dl
movzx ebx, byte [ebp + esi - 0x104]
movzx edx, dl
add edx, ebx
and edx, 0x800000ff
jns 0x443a26
dec edx
or edx, 0xffffff00
inc edx
movzx edx, byte [ebp + edx - 0x104]
xor dl, byte [edi + eax]
add eax, 1
sub dword [ebp - 0x208], 1
mov byte [eax - 1], dl
jne 0x4439c0
mov ecx, dword [ebp - 4]
pop ebx
pop esi
xor ecx, ebp
xor eax, eax
pop edi
call fcn.004cb642
mov esp, ebp
pop ebp
ret
Function at 0x443a60
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x443ad2
push edi
mov edi, dword [ebp + 8]
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
mov dword [esi], eax
jne 0x443aba
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x443aaf
push edi
push 1
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [esi], eax
neg eax
sbb eax, eax
and eax, 0x7fffbffc
pop edi
add eax, 0x80004005
pop esi
pop ebp
ret 4
pop edi
mov eax, 0x80004005
pop esi
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0xb7
sete cl
pop edi
pop esi
mov eax, ecx
pop ebp
ret 4
mov eax, 1
pop esi
pop ebp
ret 4

Function at 0x443fc0
Capabilities:
Check mutex on windows

Disassembly:
cmp dword [ecx + 8], 0
je 0x443ff0
push esi
push str.QQPortectUpdate_F9F5986D_1007_4961_85A5_26E718340F4F
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov esi, eax
test esi, esi
je 0x443fef
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
ret

Function at 0x444040
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x528f34]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
call sub.MSVCR80.dll_memset
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 0x11c
call esi
test eax, eax
jne 0x44409e
lea edx, [ebp - 0x120]
push edx
mov dword [ebp - 0x120], 0x114
call esi
test eax, eax
je 0x4440d8
cmp dword [ebp - 0x110], 2
jne 0x4440d8
cmp dword [ebp - 0x11c], 6
jne 0x4440d8
mov eax, dword [ebp - 0x118]
test eax, eax
jne 0x4440ce
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb642
mov esp, ebp
pop ebp
ret
cmp eax, 1
je 0x4440ba
cmp eax, 2
je 0x4440ba
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.004cb642
mov esp, ebp
pop ebp
ret

Function at 0x4442d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem_
push reloc.WS2_32.dll_bind
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x444336
mov eax, 4
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x4e2cac
push ecx
mov dword [ebp - 8], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x44433c
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [ebp - 8], 1
sete al
mov esp, ebp
pop ebp
ret
Function at 0x4444b0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x528f34]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
push 0x11c
push eax
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x120]
push eax
xor esi, esi
call sub.MSVCR80.dll_memset
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 0x11c
call fcn.004443a0
add esp, 0x10
test eax, eax
je 0x444602
push str.GetNativeSystemInfo
push 0x4e2d90
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x444557
lea edx, [ebp - 0x144]
push edx
call eax
jmp 0x444564
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x110], 2
jne 0x444602
mov eax, dword [ebp - 0x11c]
cmp eax, 4
jbe 0x444602
cmp eax, 6
jne 0x4445e0
cmp byte [ebp - 6], 1
jne 0x444602
mov eax, dword [ebp - 0x118]
test eax, eax
jne 0x4445a9
mov eax, 2
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb642
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x4445c2
mov eax, 3
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb642
mov esp, ebp
pop ebp
ret
cmp eax, 2
je 0x4445cc
cmp eax, 3
jne 0x444602
mov eax, 4
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb642
mov esp, ebp
pop ebp
ret
cmp eax, 5
jne 0x444602
cmp dword [ebp - 0x118], 1
jne 0x444602
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb642
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0xa
call fcn.00444410
add esp, 0xc
test al, al
mov eax, 5
jne 0x44461b
mov eax, esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004cb642
mov esp, ebp
pop ebp
ret

Function at 0x444630
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call sub.MSVCR80.dll_memset
mov ecx, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], 0x540
call fcn.00444040
test eax, eax
mov dword [ebp - 0x30], str.runas
jne 0x444671
mov dword [ebp - 0x30], str.open
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0xc]
lea edx, [ebp - 0x3c]
push edx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push edi
push str.ShellExecuteEx:__s__s___u
push str.QPUPDATE
push 2
push str.RunAsAdmin
push 0x5f
push str.F:_svn_codeQPUpd_v137SourceUtil_vistafun.cpp
call fcn.00442b40
add esp, 0x24
test esi, esi
je 0x4446d2
cmp dword [ebp + 0x14], 0
je 0x4446d2
mov eax, dword [ebp - 4]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x444780
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x528f34]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
push 0x11c
push eax
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], eax
lea eax, [ebp - 0x120]
push eax
call sub.MSVCR80.dll_memset
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 0x11c
call fcn.004443a0
add esp, 0x10
test eax, eax
je 0x4448e7
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.IsWow64Process
push str.kernel32
mov dword [ebp - 0x124], 0
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov esi, eax
test esi, esi
je 0x44483c
lea edx, [ebp - 0x124]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
push str.GetNativeSystemInfo
push 0x4e2d90
call edi
push eax
call ebx
test eax, eax
pop edi
pop ebx
je 0x44485c
lea ecx, [ebp - 0x148]
push ecx
call eax
jmp 0x444869
lea edx, [ebp - 0x148]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x110], 2
jne 0x4448e7
mov ecx, dword [ebp - 0x11c]
cmp ecx, 4
jbe 0x4448e7
cmp dword [ebp - 0x124], 0
je 0x4448ad
cmp ecx, 6
jne 0x4448e7
mov eax, dword [ebp - 0x118]
mov ecx, 1
cmp eax, ecx
je 0x4448a4
cmp eax, 2
je 0x4448a4
cmp eax, 3
jne 0x4448e7
cmp byte [ebp - 6], cl
jne 0x4448e7
mov esi, ecx
jmp 0x4448ef
mov eax, dword [ebp - 0x148]
cmp ax, 9
je 0x4448e7
cmp ax, 6
je 0x4448e7
cmp ecx, 6
jne 0x4448d5
mov eax, dword [ebp - 0x118]
test eax, eax
mov ecx, 1
je 0x4448a4
jmp 0x444896
cmp ecx, 5
jne 0x4448e7
mov ecx, 1
cmp dword [ebp - 0x118], ecx
jmp 0x4448a7
call fcn.004446e0
movzx esi, al
push esi
push 0x4e2f04
push 0x4dd21c
push 3
push str.IsTargetProtectSys
push 0x231
push str.F:_svn_codeQPUpd_v137SourceUtil_vistafun.cpp
call fcn.00442b40
mov ecx, dword [ebp - 4]
add esp, 0x1c
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004cb642
mov esp, ebp
pop ebp
ret