joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4348b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4baeda
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x51c0b0]
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 0x104
push eax
mov dword [ebp - 0x254], esi
mov dword [ebp - 0x250], 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x434974
mov dword [ebp - method.std::exception.virtual_0], vtable.std::exception.0
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 4], 1
mov dword [ebp - method.is::win32_exception.virtual_0], vtable.is::win32_exception.0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 4
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], 0
mov byte [ebp - 0x220], 0
call fcn.00499a25
add esp, 4
mov dword [eax], 1
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 0
lea eax, [ebp - 0x234]
push 0x5193b0
push eax
call fcn.0049b7fa
push 0
lea eax, [ebp - 0x249]
mov dword [ebp - 0x248], 0x4dd804
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], 0x4dcac4
push eax
lea ecx, [ebp - 0x248]
call fcn.004042c0
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x248]
push 0x4de8d0
call fcn.00435540
push 0
push eax
mov ecx, esi
mov dword [esi], 0x4dd804
mov dword [esi + 0x28], 0x4dcac4
call fcn.00407160
mov byte [ebp - 4], 4
mov dword [ebp - 0x250], 1
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.00404db0
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.004996ca
mov esp, ebp
pop ebp
ret
Function at 0x434a10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4baf8a
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x51c0b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x254], esi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x25c], esi
push 0
push eax
mov dword [ebp - 0x258], 0
call fcn.0049b6a0
add esp, 0xc
mov dword [ebp - 0x24c], 0
mov dword [ebp - 4], 1
mov eax, 0x20019
test edi, edi
jns 0x434a92
mov eax, 0x20119
and edi, 0x7fffffff
lea ecx, [ebp - 0x24c]
push ecx
push eax
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x434ae9
lea eax, [ebp - 0x254]
mov dword [ebp - 0x254], 0x208
push eax
lea eax, [ebp - 0x218]
cmp edi, 1
push eax
push 0
mov ecx, 0x4de7c8
mov eax, str.CommonFilesDir
push 0
cmovne eax, ecx
push eax
push dword [ebp - 0x24c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0
lea eax, [ebp - 0x24d]
mov dword [ebp - 0x248], 0x4dd804
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], 0x4dcac4
push eax
lea ecx, [ebp - 0x248]
call fcn.004042c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x248]
push 0x4de8d0
call fcn.00435540
push 0
push eax
mov ecx, esi
mov dword [esi], 0x4dd804
mov dword [esi + 0x28], 0x4dcac4
call fcn.00407160
mov byte [ebp - 4], 4
mov dword [ebp - 0x258], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
call fcn.00404db0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x24c]
test ecx, ecx
je 0x434b84
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x434b84
push ecx
call eax
mov dword [ebp - 0x24c], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004996ca
mov esp, ebp
pop ebp
ret
Function at 0x435630
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb295
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x51c0b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x254], esi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x258], esi
push 0
push eax
mov dword [ebp - 0x250], 0
call fcn.0049b6a0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x4356f2
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x4356f2
push 0
lea eax, [ebp - 0x249]
mov dword [esi], 0x4dd804
push eax
push 0x4d7438
mov ecx, esi
mov dword [esi + 0x28], 0x4dcac4
call fcn.004042c0
mov dword [ebp - 4], 0
mov dword [ebp - 0x250], 1
jmp 0x43576f
push 0
lea eax, [ebp - 0x249]
mov dword [ebp - 0x248], 0x4dd804
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], 0x4dcac4
push eax
lea ecx, [ebp - 0x248]
call fcn.004042c0
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x248]
push 0x4de8d0
call fcn.00435540
push 0
push eax
mov ecx, esi
mov dword [esi], 0x4dd804
mov dword [esi + 0x28], 0x4dcac4
call fcn.00407160
mov byte [ebp - 4], 3
mov dword [ebp - 0x250], 1
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.00404db0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004996ca
mov esp, ebp
pop ebp
ret
Function at 0x436510
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb7b8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x51c0b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x40], 0x4dd804
mov dword [ebp - 0x18], 0x4dcac4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x3c], ax
mov byte [ebp - 4], 1
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
push dword [ebp + eax - 0x18]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 5
lea eax, [ebp - 0x40]
push 0x656
push 0x8004071a
push str.0x_08x:_x_n
push eax
call fcn.0040e850
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
lea ecx, [ebp - 0x70]
push eax
call fcn.00435cd0
add esp, 4
mov byte [ebp - 4], 6
lea edx, [eax + 4]
cmp dword [edx + 0x14], 8
jb 0x4365e4
mov edx, dword [edx]
cmp word [edx], 0
jne 0x4365ee
xor eax, eax
jmp 0x436602
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4365f3
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x3c]
call fcn.0040c610
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
call fcn.004049f0
cmp dword [edi + 0x18], 8
lea ecx, [edi + 4]
jb 0x436623
mov ecx, dword [ecx]
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
push 0x10
cmovae eax, dword [ebp - 0x3c]
push ecx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00404db0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004996ca
mov esp, ebp
pop ebp
ret
Function at 0x43b9a0
Capabilities:
Get system information on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bca18
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0x51c0b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], ecx
xor esi, esi
xor ebx, ebx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], esi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0xa8]
mov dword [ebp + 8], eax
test eax, eax
je 0x43bb0a
push 0x1c
lea eax, [ebp - 0x3c]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
mov edx, edi
mov eax, esi
mov ecx, str..debug
cmovne eax, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
call fcn.0043b940
test eax, eax
je 0x43ba35
mov ecx, dword [ebp + 8]
cmp dword [eax + 0xc], ecx
jne 0x43ba35
mov edx, dword [eax + 0x14]
mov ecx, dword [ebp - 0x10]
mov edi, dword [edi + 0xac]
add ecx, edx
mov dword [ebp + 8], edx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x14], edi
jmp 0x43ba9e
mov edx, edi
mov ecx, 0x4e3ac8
call fcn.0043b940
mov ecx, eax
test ecx, ecx
jne 0x43ba5d
mov edx, edi
mov ecx, 0x4e3ad0
call fcn.0043b940
mov ecx, eax
test ecx, ecx
je 0x43bb0a
mov eax, dword [edi + 0xac]
mov edi, eax
mov dword [ebp - 0x14], eax
mov eax, 0x24924925
mul edi
sub edi, edx
shr edi, 1
add edi, edx
shr edi, 4
test edi, edi
je 0x43bb0a
mov eax, dword [ecx + 0x10]
add eax, dword [ecx + 0xc]
mov edx, dword [ebp + 8]
cmp edx, eax
ja 0x43bb0a
sub edx, dword [ecx + 0xc]
mov eax, dword [ecx + 0x14]
add eax, edx
mov edx, dword [ebp - 0x10]
mov dword [ebp + 8], eax
lea ecx, [eax + edx]
mov eax, ecx
sub eax, edx
cmp eax, dword [ebp - 0x20]
jbe 0x43baeb
cmp dword [ebp - 0x18], 0
je 0x43baeb
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp + 8]
xor edx, edx
div dword [ebp - 0x44]
mov ecx, dword [ebp - 0x14]
imul eax, dword [ebp - 0x44]
add ecx, edx
push ecx
push eax
push 0
push 4
push dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, eax
test ecx, ecx
je 0x43bb0a
mov esi, ecx
sub ecx, dword [ebp - 0x20]
add ecx, dword [ebp + 8]
mov dword [ebp - 0x1c], esi
test edi, edi
je 0x43bb0c
add ecx, 0x10
mov eax, dword [ecx + 8]
mov edx, dword [ecx]
add eax, edx
cmp eax, dword [ebp + 0xc]
jbe 0x43bb00
add ebx, edx
add ecx, 0x1c
sub edi, 1
jne 0x43baf2
jmp 0x43bb0c
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x43bb2a
mov eax, dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test eax, eax
je 0x43bb2a
push esi
call eax
mov dword [ebp - 0x1c], 0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43c9a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0x14], 0
jne 0x43c9bc
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
push 0
push ebx
call fcn.0049b6a0
mov edx, dword [ebp + 0x10]
add esp, 0xc
push 0
push edx
push esi
mov esi, dword [ebp + 0x14]
push ebx
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 8], eax
test eax, eax
je 0x43ca7b
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0x30]
test dl, 6
je 0x43ca6f
shr edx, 2
test dl, 1
je 0x43ca6f
call fcn.0043d010
mov ebx, eax
mov dword [ebp - 4], eax
lea eax, [ebx + 1]
mov cl, byte [ebx]
inc ebx
test cl, cl
jne 0x43ca10
sub ebx, eax
xor edi, edi
mov eax, dword [ebp + 0x10]
cmp dword [eax], edi
jbe 0x43ca7b
mov ecx, dword [esi + 0x10]
xor edx, edx
add ecx, edi
mov esi, 0x400
and ecx, 0x3ff
mov eax, ecx
sub esi, ecx
div ebx
lea eax, [esi + edi]
mov dword [ebp + 0xc], edx
mov edx, dword [ebp + 0x10]
mov ecx, dword [edx]
cmp eax, ecx
jbe 0x43ca4d
mov esi, ecx
sub esi, edi
mov ecx, dword [ebp + 8]
mov edx, esi
push dword [ebp + 0xc]
push dword [ebp - 4]
lea ecx, [edi + ecx]
call fcn.004083c0
add edi, esi
add esp, 8
mov esi, dword [ebp + 0x10]
cmp edi, dword [esi]
mov esi, dword [ebp + 0x14]
jb 0x43ca22
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x43ca7b
add dword [esi + 0x10], eax
mov eax, dword [esi + 8]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 4]
mov edi, dword [eax + 0x38]
cmp edx, edi
cmova edx, edi
test ecx, ecx
je 0x43ca96
mov eax, dword [ecx]
push edi
push edx
call dword [eax]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x453b10
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x3c]
push esi
call fcn.00453cc0
test al, al
je 0x453b66
push dword [esi]
lea eax, [esp + 0xc]
mov dword [esp + 0xc], str.LanguageSupport.cpp
push str.Using_command_line_language__d
push eax
mov dword [esp + 0x18], 0x34
call fcn.0040b080
mov eax, dword [esi]
add esp, 0xc
mov ecx, edi
mov dword [edi + 0x38], eax
call fcn.00454340
mov byte [edi + 0x40], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.00453cc0
test al, al
je 0x453bad
mov esi, dword [ebp + 8]
lea eax, [esp + 8]
push esi
push str.Using_installed_language__d
push eax
mov dword [esp + 0x14], str.LanguageSupport.cpp
mov dword [esp + 0x18], 0x43
call fcn.0040b080
add esp, 0xc
mov dword [edi + 0x38], esi
mov ecx, edi
call fcn.00454340
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
lea esi, [edi + 0x38]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
mov ecx, edi
push esi
mov dword [esi], eax
call fcn.00453cc0
test al, al
je 0x453bfa
push dword [esi]
lea eax, [esp + 0xc]
mov dword [esp + 0xc], str.LanguageSupport.cpp
push str.Using_user_default_language__d
push eax
mov dword [esp + 0x18], 0x4c
call fcn.0040b080
add esp, 0xc
mov ecx, edi
call fcn.00454340
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
mov ecx, edi
push esi
mov dword [esi], eax
call fcn.00453cc0
test al, al
je 0x453c44
push dword [esi]
lea eax, [esp + 0xc]
mov dword [esp + 0xc], str.LanguageSupport.cpp
push str.Using_system_default_language__d
push eax
mov dword [esp + 0x18], 0x54
call fcn.0040b080
add esp, 0xc
mov ecx, edi
call fcn.00454340
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.004909b2
movzx eax, ax
mov ecx, edi
push esi
mov dword [esi], eax
call fcn.00453cc0
test al, al
mov dword [esp + 8], str.LanguageSupport.cpp
lea eax, [esp + 8]
je 0x453c8d
push dword [esi]
mov dword [esp + 0x10], 0x5c
push str.Using_system_default_UI_language__d
push eax
call fcn.0040b080
add esp, 0xc
mov ecx, edi
call fcn.00454340
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push dword [edi + 0x34]
mov dword [esp + 0x10], 0x61
push str.Using_default_language__d
push eax
call fcn.0040b080
mov eax, dword [edi + 0x34]
add esp, 0xc
mov ecx, edi
mov dword [esi], eax
call fcn.00454340
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x45f8e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5198
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x51c0b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
mov dword [ecx], vtable.CParcelHandler.0
mov dword [ecx + 4], 0
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], 0
mov byte [ecx + 0x10], 1
mov dword [ebp - 4], 0
mov dword [ecx + 0x14], vtable.CRebootHandler.0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov byte [ecx + 0x30], 0
mov dword [ecx + 0x34], vtable.CProxyExeCallbackWrapper.0
mov dword [ecx], vtable.CExeParcelHandler.1.0
mov dword [ecx + 0x14], vtable.CExeParcelHandler.2.0
mov dword [ecx + 0x34], vtable.CExeParcelHandler.0
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x45fa20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5203
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x51c0b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
mov dword [ecx], vtable.CParcelHandler.0
mov dword [ecx + 4], 0
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], 0
mov byte [ecx + 0x10], 1
mov dword [ebp - 4], 0
mov dword [ecx + 0x14], vtable.CMsiUIHandlerProxy.0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 1
mov word [ecx + 0x28], 0x100
mov byte [ebp - 4], 1
mov al, byte [ebp + 0xc]
mov dword [ecx + 0x2c], vtable.CRebootHandler.0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x3c], 0
mov dword [ecx + 0x40], 0
mov dword [ecx + 0x44], 0
mov byte [ecx + 0x48], 0
mov dword [ecx], vtable.CMsiParcelHandler.2.0
mov dword [ecx + 0x14], vtable.CMsiParcelHandler.0
mov dword [ecx + 0x2c], vtable.CMsiParcelHandler.1.0
mov byte [ecx + 0x4c], al
mov word [ecx + 0x4d], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x45fdb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c52c1
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x51c0b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
mov dword [ecx], vtable.CParcelHandler.0
mov dword [ecx + 4], 0
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], 0
mov byte [ecx + 0x10], 1
mov dword [ebp - 4], 0
mov dword [ecx + 0x14], vtable.CRebootHandler.0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov byte [ecx + 0x30], 0
mov dword [ecx + 0x34], vtable.CIspProxyUIHandler.0
mov byte [ebp - 4], 1
lea eax, [ecx + 0x38]
mov dword [ecx], vtable.CIspParcelHandler.1.0
mov dword [ecx + 0x14], vtable.CIspParcelHandler.2.0
mov dword [ecx + 0x34], vtable.CIspParcelHandler.0
mov dword [ebp + 8], eax
mov dword [eax], 0
mov byte [ebp - 4], 3
lea eax, [ecx + 0x44]
mov byte [ecx + 0x3c], 0
mov dword [ecx + 0x40], 0
mov dword [ebp + 8], eax
mov dword [eax], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x460330
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c55aa
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x51c0b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
lea esi, [ebx + 4]
mov dword [ebx], vtable.CProperties.0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0045a200
mov dword [esi], eax
mov dword [ebp - 4], 2
mov byte [ebx + 0xc], 0
mov dword [ebp - 4], 3
lea esi, [ebx + 0x38]
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x14], vtable.IConditionContainer.0
mov dword [ebx + 0x18], vtable.IStateObject.0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov word [ebx + 0x28], 0x101
mov byte [ebx + 0x2a], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0x4dd804
mov dword [esi + 0x28], 0x4dcac4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x2c], eax
mov byte [ebp - 4], 4
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov word [esi + 4], ax
mov byte [ebp - 4], 5
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov byte [ebp - 4], 6
mov eax, dword [esi + 0x28]
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [eax + 4]
push dword [eax + esi + 0x28]
call ebx
mov byte [ebp - 4], 9
mov esi, dword [ebp - 0x10]
add esi, 0x68
mov dword [ebp - 0x14], esi
mov dword [esi], 0x4dd804
mov dword [esi + 0x28], 0x4dcac4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x2c], eax
mov byte [ebp - 4], 0xa
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov word [esi + 4], ax
mov byte [ebp - 4], 0xb
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov byte [ebp - 4], 0xc
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 4]
push dword [eax + esi + 0x28]
call ebx
mov byte [ebp - 4], 0xf
mov esi, dword [ebp - 0x10]
add esi, 0x98
mov dword [ebp - 0x14], esi
mov dword [esi], 0x4dd804
mov dword [esi + 0x28], 0x4dcac4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x2c], eax
mov byte [ebp - 4], 0x10
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov word [esi + 4], ax
mov byte [ebp - 4], 0x11
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov byte [ebp - 4], 0x12
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 4]
push dword [eax + esi + 0x28]
call ebx
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc8], 0
mov dword [ecx + 0xcc], 0
mov dword [ecx + 0xd0], 0
mov byte [ebp - 4], 0x16
lea eax, [ecx + 0xd4]
mov dword [ebp - 0x14], eax
mov dword [eax], 0
mov byte [ebp - 4], 0x18
mov dword [ecx + 0xd8], 0
mov dword [ecx + 0xdc], 0
mov dword [ecx + 0xe0], 0
mov byte [ebp - 4], 0x19
mov dword [ecx + 0xe4], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x460d40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5c3a
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x51c0b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0xf
lea ecx, [esi + 0x2e0]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0xf
call fcn.00404db0
mov byte [ebp - 4], 0xe
lea ecx, [esi + 0x2b0]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0xe
call fcn.00404db0
mov byte [ebp - 4], 0xd
lea ecx, [esi + 0x280]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0xd
call fcn.00404db0
mov byte [ebp - 4], 0xc
lea ecx, [esi + 0x250]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0xc
call fcn.00404db0
mov byte [ebp - 4], 0xb
lea ecx, [esi + 0x220]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0xb
call fcn.00404db0
mov byte [ebp - 4], 0xa
lea ecx, [esi + 0x1f0]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0xa
call fcn.00404db0
mov byte [ebp - 4], 9
lea ecx, [esi + 0x1c0]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 9
call fcn.00404db0
mov byte [ebp - 4], 8
lea ecx, [esi + 0x190]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 8
call fcn.00404db0
mov byte [ebp - 4], 7
lea ecx, [esi + 0x160]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 7
call fcn.00404db0
mov byte [ebp - 4], 6
lea ecx, [esi + 0x130]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 6
call fcn.00404db0
mov byte [ebp - 4], 5
lea ecx, [esi + 0x100]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 5
call fcn.00404db0
mov byte [ebp - 4], 4
lea ecx, [esi + 0xd0]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 4
call fcn.00404db0
mov byte [ebp - 4], 3
lea ecx, [esi + 0xa0]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 3
call fcn.00404db0
mov byte [ebp - 4], 2
lea ecx, [esi + 0x70]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 2
call fcn.00404db0
mov byte [ebp - 4], 1
lea ecx, [esi + 0x40]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 1
call fcn.00404db0
mov byte [ebp - 4], 0
lea ecx, [esi + 0x10]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0
call fcn.00404db0
mov dword [ebp - 4], 0xffffffff
mov dword [esi], vtable.CProperties.0
mov dword [ebp - 4], 0xffffffff
add esi, 4
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0x23
mov ecx, esi
mov eax, dword [esi]
push eax
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.00459d60
mov dword [ebp - 4], 0xffffffff
push dword [esi]
call fcn.004996c5
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret