joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4281b0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x457386
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x47f060]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebx, ecx
call dword [sym.imp.ouilibx.dll_public_virtual:_bool___thiscall_OUI::COVDialog::OnInitDialog_void_]
test al, al
jne 0x4281f9
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.YAC_Upgrade
mov ecx, ebx
call dword [sym.imp.ouilibx.dll_public:_struct_HWND____const___thiscall_OUI::COVWnd::GetSafeHwnd_void_]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
call dword [sym.imp.ouilibx.dll_public:_static_class_OUI::COUIManager____cdecl_OUI::COUIManager::GetUIManager_void_]
push 0x73
push dword [0x482764]
mov dword [eax + 8], ebx
call dword [sym.imp.USER32.dll_LoadIconW]
mov esi, eax
call dword [sym.imp.ouilibx.dll_public:_static_class_OUI::COUIManager____cdecl_OUI::COUIManager::GetUIManager_void_]
mov ecx, dword [eax + 8]
call dword [sym.imp.ouilibx.dll_public:_struct_HWND____const___thiscall_OUI::COVWnd::GetSafeHwnd_void_]
push esi
push 1
push 0x80
mov ecx, ebx
call dword [sym.imp.ouilibx.dll_public:_long_int___thiscall_OUI::COVWnd::SendMessageW_unsigned_int__unsigned_int__long_int_]
push 0
push 0x480278
push 0x47f204
push 0
push str.IDC_LOGO_ANIM
mov ecx, ebx
call dword [sym.imp.ouilibx.dll_public:_class_OUI::COVWnd____thiscall_OUI::COVDialog::GetDlgItem_wchar_t_const__]
push eax
call sub.MSVCR110.dll___RTDynamicCast
add esp, 0x14
test eax, eax
je 0x428279
mov edx, dword [eax]
push 0x50
mov ecx, eax
call dword [edx + 0x1d8]
sub esp, 0x20
mov ecx, esp
mov dword [esp + 0x40], esp
sub esp, 0x14
mov eax, esp
mov dword [esp + 0x40], fcn.00428510
mov dword [esp + 0x44], 0
movq xmm0, qword [esp + 0x40]
movq qword [eax], xmm0
mov dword [esp + 0x48], ebx
movq xmm0, qword [esp + 0x48]
movq qword [eax + 8], xmm0
call fcn.004298e0
mov dword [esp + 0x50], 0
mov eax, dword [0x483158]
test al, 1
jne 0x4282fe
or eax, 1
mov dword [0x483158], eax
mov byte [esp + 0x50], 1
mov dword [0x483144], 0
mov dword [0x48314c], 0
call fcn.00447a20
push 0x45aef0
call fcn.004521b7
add esp, 4
mov byte [esp + 0x50], 0
mov ecx, 0x48312c
mov dword [esp + 0x50], 0xffffffff
call fcn.00447af0
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x428330
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45733e
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x47f060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor cl, cl
call fcn.00409d10
mov bl, al
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
test bl, bl
je 0x42842b
lea ecx, [ebp - 0x218]
call fcn.0040b7f0
mov eax, dword [0x48277c]
test eax, eax
jne 0x4283d6
push 0xe4
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x424], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4283c8
mov ecx, eax
call fcn.004122b0
jmp 0x4283ca
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x48277c], eax
cmp word [ebp - 0x218], 0
lea edx, [eax + 0x90]
jne 0x4283ea
xor ecx, ecx
jmp 0x428402
lea ecx, [ebp - 0x218]
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4283f3
sub ecx, esi
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
mov ecx, edx
call fcn.00406c00
lea eax, [ebp - 0x218]
push eax
push 0x461430
push eax
call fcn.00405ac0
add esp, 0xc
jmp 0x4284ee
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x420]
push 0
push 0x26
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x420]
push eax
push str._siSafe_
push eax
call fcn.00405ac0
mov eax, dword [0x48277c]
add esp, 0xc
test eax, eax
jne 0x4284b0
push 0xe4
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x424], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x4284a2
mov ecx, eax
call fcn.004122b0
jmp 0x4284a4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x48277c], eax
cmp word [ebp - 0x420], 0
lea edx, [eax + 0x90]
jne 0x4284c4
xor ecx, ecx
jmp 0x4284df
lea ecx, [ebp - 0x420]
lea esi, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4284d0
sub ecx, esi
sar ecx, 1
push ecx
lea eax, [ebp - 0x420]
push eax
mov ecx, edx
call fcn.00406c00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452076
mov esp, ebp
pop ebp
ret
Function at 0x42a690
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x47f060]
xor eax, ebp
mov dword [ebp - 4], eax
xorps xmm0, xmm0
movq qword [ebp - 0x14], xmm0
mov eax, 0x614
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x24]
movq qword [ebp - 0x24], xmm0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0xc], 0
mov word [ebp - 8], 0
push eax
mov dword [ebp - 0xe], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0xa], 0
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], 2
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00452076
mov esp, ebp
pop ebp
ret

Function at 0x42a710
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x47f060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push str.SoftwareiSafe
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, ecx
mov dword [ebp - 8], 0x208
mov dword [ebp - 0xc], 1
xor bl, bl
mov dword [ebp - 0x10], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42a780
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0xc]
push eax
push 0
push 0x45d188
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ebx, bl
mov ecx, 1
test eax, eax
cmove ebx, ecx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x42a78e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop esi
movzx eax, bl
xor ecx, ebp
pop ebx
call fcn.00452076
mov esp, ebp
pop ebp
ret
Function at 0x42b430
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x457bdb
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x47f060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
xor eax, eax
push 0x3fe
push eax
mov word [ebp - 0x410], ax
lea eax, [ebp - 0x40e]
push eax
call sub.MSVCR110.dll_memset
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 0
mov dword [ebp - 0x41c], 7
mov dword [ebp - 0x420], 0
mov word [ebp - 0x430], ax
push str.Common_Desktop
lea ecx, [ebp - 0x430]
mov dword [ebp - 4], eax
call fcn.00404f90
lea eax, [ebp - 0x434]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42b52e
cmp dword [ebp - 0x41c], 8
lea ecx, [ebp - 0x414]
push ecx
lea ecx, [ebp - 0x410]
push ecx
lea ecx, [ebp - 0x418]
push ecx
lea eax, [ebp - 0x430]
cmovae eax, dword [ebp - 0x430]
push 0
push eax
push dword [ebp - 0x434]
mov dword [ebp - 0x414], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x434]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [ebp - 0x410], 0
jne 0x42b548
xor ecx, ecx
jmp 0x42b560
lea ecx, [ebp - 0x410]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42b551
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x410]
push eax
mov ecx, esi
call fcn.00406c00
cmp dword [ebp - 0x41c], 8
jb 0x42b587
push dword [ebp - 0x430]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452076
mov esp, ebp
pop ebp
ret
Function at 0x42b8e0
Capabilities:
Delete file
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4579a6
mov eax, dword fs:[0]
push eax
sub esp, 0x458
mov eax, dword [0x47f060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
push 0x3fe
push eax
mov word [ebp - 0x410], ax
lea eax, [ebp - 0x40e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x434]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x414], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42bab2
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x430]
push eax
push 0
push str.Common_Desktop
push dword [ebp - 0x434]
mov dword [ebp - 0x414], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42bab2
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x42c]
call fcn.00406d00
push 0x45ebf0
lea edx, [ebp - 0x42c]
lea ecx, [ebp - 0x464]
mov dword [ebp - 4], 0
call fcn.00411480
push esi
mov edx, eax
lea ecx, [ebp - 0x44c]
mov byte [ebp - 4], 1
call fcn.0042d7a0
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
mov edi, eax
lea eax, [ebp - 0x42c]
add esp, 8
cmp eax, edi
je 0x42ba3e
cmp dword [ebp - 0x418], 8
jb 0x42ba15
push dword [ebp - 0x42c]
call esi
add esp, 4
xor eax, eax
push edi
lea ecx, [ebp - 0x42c]
mov dword [ebp - 0x418], 7
mov dword [ebp - 0x41c], 0
mov word [ebp - 0x42c], ax
call fcn.004066d0
cmp dword [ebp - 0x438], 8
jb 0x42ba52
push dword [ebp - 0x44c]
call esi
add esp, 4
xor eax, eax
cmp dword [ebp - 0x450], 8
mov dword [ebp - 0x438], 7
mov dword [ebp - 0x43c], 0
mov word [ebp - 0x44c], ax
jb 0x42ba83
push dword [ebp - 0x464]
call esi
add esp, 4
cmp dword [ebp - 0x418], 8
lea eax, [ebp - 0x42c]
cmovae eax, dword [ebp - 0x42c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x418], 8
jb 0x42bab2
push dword [ebp - 0x42c]
call esi
add esp, 4
mov eax, dword [ebp - 0x434]
test eax, eax
je 0x42bac3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.00452076
mov esp, ebp
pop ebp
ret
Function at 0x42c300
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x457a30
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x47f060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, 1
lea ecx, [ebp - 0x28]
call fcn.0042cb60
push 0x45ebf0
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0
call fcn.00411480
add esp, 4
push esi
mov edx, eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0042d7a0
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
mov edi, eax
lea eax, [ebp - 0x28]
add esp, 4
cmp eax, edi
je 0x42c39f
cmp dword [ebp - 0x14], 8
jb 0x42c382
push dword [ebp - 0x28]
call esi
add esp, 4
xor eax, eax
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.004066d0
cmp dword [ebp - 0x2c], 8
jb 0x42c3ad
push dword [ebp - 0x40]
call esi
add esp, 4
xor eax, eax
cmp dword [ebp - 0x44], 8
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jb 0x42c3cf
push dword [ebp - 0x58]
call esi
add esp, 4
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x14], 8
jb 0x42c3ef
push dword [ebp - 0x28]
call esi
add esp, 4
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.00452076
mov esp, ebp
pop ebp
ret

Function at 0x42c410
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x457968
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x47f060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edx, ecx
push 0x45ebf0
lea ecx, [ebp - 0x40]
call fcn.00411480
push esi
mov edx, eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.0042d7a0
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 8
cmp dword [ebp - 0x2c], 8
jb 0x42c473
push dword [ebp - 0x40]
call esi
add esp, 4
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jb 0x42c484
mov ecx, eax
test eax, eax
je 0x42c4bb
jmp 0x42c487
lea ecx, [ebp - 0x28]
cmp word [ecx], 0
je 0x42c4bb
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42c4b8
cmp dword [ebp - 0x14], 8
push 0
push 0
push 0
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.TaskbarPin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x14], 8
jb 0x42c4c7
push eax
call esi
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452076
mov esp, ebp
pop ebp
ret
Function at 0x42c4f0
Capabilities:
Create process on windows
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x457b00
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x47f060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edx, ecx
push 0x45ebf0
lea ecx, [ebp - 0x40]
call fcn.00411480
push esi
mov edx, eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.0042d7a0
add esp, 8
cmp dword [ebp - 0x2c], 8
jb 0x42c551
push dword [ebp - 0x40]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0x14], 8
push 0
push 0
push 0
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.TaskbarunPin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x14], 8
jb 0x42c5a0
push dword [ebp - 0x28]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452076
mov esp, ebp
pop ebp
ret
Function at 0x42c5c0
Capabilities:
Create directory
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4578c1
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x47f060]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x43c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x440], eax
xor eax, eax
push 0x3fe
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x438]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42c697
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x41c]
push eax
push 0
push str.Common_Programs
push dword [ebp - 0x438]
mov dword [ebp - 0x418], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x438]
test eax, eax
je 0x42c6b2
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x438], 0
xor eax, eax
mov dword [ebp - 0x420], 7
mov dword [ebp - 0x424], 0
mov word [ebp - 0x434], ax
cmp word [ebp - 0x414], ax
jne 0x42c6dc
xor ecx, ecx
jmp 0x42c6f4
lea ecx, [ebp - 0x414]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42c6e5
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x434]
call fcn.00406c00
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
jb 0x42c716
mov esi, dword [esi]
cmp word [esi], 0
jne 0x42c720
xor ecx, ecx
jmp 0x42c734
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42c725
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x434]
call fcn.00405270
cmp dword [ebp - 0x420], 8
lea eax, [ebp - 0x434]
cmovae eax, dword [ebp - 0x434]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor eax, eax
push eax
push 0x45ec1c
lea ecx, [ebp - 0x458]
mov dword [ebp - 0x444], 7
mov dword [ebp - 0x448], 0
mov word [ebp - 0x458], ax
call fcn.00406c00
push ebx
lea edx, [ebp - 0x434]
lea ecx, [ebp - 0x470]
mov byte [ebp - 4], 1
call fcn.004116b0
add esp, 4
lea ecx, [ebp - 0x458]
push ecx
push dword [ebp - 0x440]
mov edx, eax
push dword [ebp - 0x43c]
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.0042aeb0
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 0xc
cmp dword [ebp - 0x45c], 8
jb 0x42c7e2
push dword [ebp - 0x470]
call esi
add esp, 4
xor eax, eax
cmp dword [ebp - 0x444], 8
mov dword [ebp - 0x45c], 7
mov dword [ebp - 0x460], 0
mov word [ebp - 0x470], ax
jb 0x42c813
push dword [ebp - 0x458]
call esi
add esp, 4
cmp dword [ebp - 0x420], 8
jb 0x42c827
push dword [ebp - 0x434]
call esi
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00452076
mov esp, ebp
pop ebp
ret
Function at 0x42c850
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x457a73
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x47f060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x3fe
mov dword [ebp - 4], 0
push eax
mov word [ebp - 0x410], ax
lea eax, [ebp - 0x40e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
xor edx, edx
lea ecx, [ebp - 0x438]
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x414], 0
mov dword [ebp - 0x438], 0
call fcn.0042dda0
test eax, eax
je 0x42c8f9
mov eax, dword [ebp - 0x438]
and eax, 0xff00
cmp eax, 0x1500
je 0x42c8f9
cmp eax, 0x1600
je 0x42c8f9
cmp eax, 0x1700
jne 0x42c8fe
call fcn.0042da20
lea eax, [ebp - 0x434]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42c952
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x430]
push eax
push 0
push str.Common_Programs
push dword [ebp - 0x434]
mov dword [ebp - 0x414], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x434]
test eax, eax
je 0x42c96d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x434], 0
xor eax, eax
mov dword [ebp - 0x418], 7
mov dword [ebp - 0x41c], 0
mov word [ebp - 0x42c], ax
cmp word [ebp - 0x410], ax
jne 0x42c997
xor ecx, ecx
jmp 0x42c9af
lea ecx, [ebp - 0x410]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42c9a0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x42c]
call fcn.00406c00
mov byte [ebp - 4], 1
cmp dword [ebp + 0x18], 0
lea ecx, [ebp - 0x42c]
jne 0x42c9db
push 5
push str.YAC_
jmp 0x42ca07
push 1
push 0x45ebf0
call fcn.00405270
push 0xffffffffffffffff
push 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x42c]
call fcn.004065d0
push 1
push 0x45ebf0
lea ecx, [ebp - 0x42c]
call fcn.00405270
sub esp, 0x18
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x42c]
push eax
call fcn.00406870
xor cl, cl
call fcn.0042aaf0
add esp, 0x18
cmp dword [ebp - 0x418], 8
jb 0x42ca55
push dword [ebp - 0x42c]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x418], 7
mov dword [ebp - 0x41c], 0
mov word [ebp - 0x42c], ax
jb 0x42ca84
push dword [ebp + 8]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452076
mov esp, ebp
pop ebp
ret
Function at 0x42cb60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x457b5d
mov eax, dword fs:[0]
push eax
sub esp, 0x35c
mov eax, dword [0x47f060]
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 edi, edx
mov esi, ecx
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x334], 0
push eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
push 0x45ec1c
mov dword [ebp - 0x350], esi
mov word [esi], ax
call fcn.00406c00
xor eax, eax
mov dword [ebp - 4], 0
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
mov dword [ebp - 0x334], 1
call sub.MSVCR110.dll_memset
add esp, 0xc
sub edi, 0
je 0x42cd2b
dec edi
je 0x42cc42
sub edi, 3
jne 0x42cd73
push edi
push 2
lea eax, [ebp - 0x218]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [ebp - 0x218], di
je 0x42cd48
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42cc32
jmp 0x42cd60
push 0
push 0x1a
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x110
lea eax, [ebp - 0x32c]
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x330]
push eax
mov dword [ebp - 0x330], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x368]
call fcn.00406d00
push str.MicrosoftInternet_ExplorerQuick_Launch
mov edx, eax
lea ecx, [ebp - 0x34c]
mov dword [ebp - 4], 1
call fcn.00411660
mov edi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
mov ebx, eax
add esp, 4
cmp esi, ebx
je 0x42cce4
cmp dword [esi + 0x14], 8
jb 0x42ccc9
push dword [esi]
call edi
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
push ebx
mov ecx, esi
mov word [esi], ax
call fcn.004066d0
cmp dword [ebp - 0x338], 8
jb 0x42ccf8
push dword [ebp - 0x34c]
call edi
add esp, 4
xor eax, eax
cmp dword [ebp - 0x354], 8
mov dword [ebp - 0x338], 7
mov dword [ebp - 0x33c], 0
mov word [ebp - 0x34c], ax
jb 0x42cd73
push dword [ebp - 0x368]
call edi
add esp, 4
jmp 0x42cd73
push 0
push 0
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [ebp - 0x218], 0
jne 0x42cd4c
xor ecx, ecx
jmp 0x42cd64
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42cd55
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.00406c00
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.00452076
mov esp, ebp
pop ebp
ret

Function at 0x42cda0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
test ecx, ecx
je 0x42cdb8
cmp word [ecx], 0
je 0x42cdb8
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
ret
xor al, al
ret