joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4430ed
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4df18f
call fcn.004d1d50
mov eax, 0x205c
call fcn.004d1f10
mov eax, dword [0x52e400]
push ebx
mov ebx, dword [ebp + 0x10]
xor eax, ebp
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x2048]
mov dword [ebp - 0x2068], eax
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x202c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [ebp - 0x2064]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
test esi, esi
mov byte [ebp - 4], 2
je 0x44316c
lea eax, [ebp - 0x2048]
push eax
push esi
call sub.MSVCR71.dll_strlen
pop ecx
push eax
push esi
call fcn.0044fa33
add esp, 0xc
test edi, edi
je 0x443188
lea eax, [ebp - 0x202c]
push eax
push edi
call sub.MSVCR71.dll_strlen
pop ecx
push eax
push edi
call fcn.0044fa33
add esp, 0xc
test ebx, ebx
je 0x4431a4
lea eax, [ebp - 0x2064]
push eax
push ebx
call sub.MSVCR71.dll_strlen
pop ecx
push eax
push ebx
call fcn.0044fa33
add esp, 0xc
lea ecx, [ebp - 0x2048]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
push 0x1000
lea eax, [ebp - 0x2010]
push eax
push 0x4ec264
lea ecx, [ebp - 0x2064]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
lea ecx, [ebp - 0x202c]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jbe 0x443201
push dword [ebp - 0x2068]
push eax
lea eax, [ebp - 0x2010]
push eax
call fcn.0044f9bd
xor esi, esi
add esp, 0xc
inc esi
jmp 0x443203
xor esi, esi
lea ecx, [ebp - 0x2064]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x202c]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2048]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d1da7
leave
ret 0x10
Function at 0x4433a9
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4df0be
call fcn.004d1d50
sub esp, 0x20
mov eax, dword [0x52e400]
xor eax, ebp
push esi
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x10], eax
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
and dword [ebp - 4], 0
test esi, esi
je 0x4433ea
lea eax, [ebp - 0x2c]
push eax
push esi
call sub.MSVCR71.dll_strlen
pop ecx
push eax
push esi
call fcn.0044fa33
add esp, 0xc
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor esi, esi
test eax, eax
je 0x443401
inc esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004d1da7
leave
ret 4

Function at 0x4434aa
Capabilities:
Get file size

Disassembly:
mov eax, 0x4df0be
call fcn.004d1d50
sub esp, 0x2c
mov eax, dword [0x52e400]
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, ebp
push esi
mov dword [ebp - 0x10], eax
call fcn.004433a9
xor edi, edi
cmp eax, edi
jne 0x4434dd
or eax, 0xffffffff
or edx, 0xffffffff
jmp 0x443562
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
cmp esi, edi
mov dword [ebp - 4], edi
je 0x443502
lea eax, [ebp - 0x2c]
push eax
push esi
call sub.MSVCR71.dll_strlen
pop ecx
push eax
push esi
call fcn.0044fa33
add esp, 0xc
push edi
push edi
push 3
push edi
push 1
push closesocket
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x44352d
or esi, 0xffffffff
or edi, 0xffffffff
jmp 0x443551
lea eax, [ebp - 0x38]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push esi
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x30], edi
je 0x443525
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
mov esi, eax
mov edi, ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, esi
mov edx, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop edi
xor ecx, ebp
pop esi
call fcn.004d1da7
leave
ret 4
Function at 0x44357c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x52e400]
and word [ebp - 0x20c], 0
xor eax, ebp
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 4], eax
xor eax, eax
mov ecx, 0x81
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jbe 0x4435e7
lea eax, [ebp - 0x20c]
push esi
push eax
call dword [sym.imp.MSVCR71.dll_wcslen]
pop ecx
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0044f9bd
xor eax, eax
add esp, 0xc
inc eax
jmp 0x4435e9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004d1da7
leave
ret 4

Function at 0x4435f9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x52e400]
and word [ebp - 0x20c], 0
xor eax, ebp
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 4], eax
xor eax, eax
mov ecx, 0x81
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jbe 0x443664
lea eax, [ebp - 0x20c]
push esi
push eax
call dword [sym.imp.MSVCR71.dll_wcslen]
pop ecx
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0044f9bd
xor eax, eax
add esp, 0xc
inc eax
jmp 0x443666
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004d1da7
leave
ret 4

Function at 0x443676
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x52e400]
and word [ebp - 0x20c], 0
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov ecx, 0x81
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
push 1
stosw word es:[edi], ax
push 0x10
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4436ed
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x20c]
push esi
push eax
call dword [sym.imp.MSVCR71.dll_wcslen]
pop ecx
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0044f9bd
xor eax, eax
add esp, 0xc
inc eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004d1da7
leave
ret 4

Function at 0x4436fd
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x52e400]
and word [ebp - 0x20c], 0
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov ecx, 0x81
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
push 1
stosw word es:[edi], ax
push 5
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x443774
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x20c]
push esi
push eax
call dword [sym.imp.MSVCR71.dll_wcslen]
pop ecx
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0044f9bd
xor eax, eax
add esp, 0xc
inc eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004d1da7
leave
ret 4
Function at 0x443784
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x52e400]
and word [ebp - 0x20c], 0
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov ecx, 0x81
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
push 1
stosw word es:[edi], ax
push 0x23
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4437fb
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x20c]
push esi
push eax
call dword [sym.imp.MSVCR71.dll_wcslen]
pop ecx
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0044f9bd
xor eax, eax
add esp, 0xc
inc eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004d1da7
leave
ret 4

Function at 0x443a07
Capabilities:
Copy file

Disassembly:
mov eax, 0x4df2a4
call fcn.004d1d50
sub esp, 0x3c
mov eax, dword [0x52e400]
push esi
mov esi, dword [ebp + 8]
xor eax, ebp
push edi
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x10], eax
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea eax, [ebp - 0x48]
push eax
push esi
mov byte [ebp - 4], 1
call sub.MSVCR71.dll_strlen
pop ecx
push eax
push esi
call fcn.0044fa33
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
push edi
call sub.MSVCR71.dll_strlen
pop ecx
push eax
push edi
call fcn.0044fa33
add esp, 0xc
push dword [ebp + 0x10]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
xor esi, esi
test eax, eax
je 0x443a8e
inc esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004d1da7
leave
ret 0xc
Function at 0x443ac4
Capabilities:
Set file attributes

Disassembly:
mov eax, 0x4df0be
call fcn.004d1d50
sub esp, 0x20
mov eax, dword [0x52e400]
xor eax, ebp
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
and dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
push esi
call sub.MSVCR71.dll_strlen
pop ecx
push eax
push esi
call fcn.0044fde3
add esp, 0xc
push dword [ebp + 0xc]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
pop esi
call fcn.004d1da7
leave
ret 8
Function at 0x4453d3
Capabilities:
Get file system object information

Disassembly:
push ebp
lea ebp, [esp - 0x24c]
sub esp, 0x2cc
mov eax, dword [0x52e400]
push ebx
push esi
mov esi, dword [ebp + 0x258]
push 0x4000
push 0x2b4
xor eax, ebp
lea ecx, [ebp - 0x6c]
push ecx
xor ebx, ebx
mov dword [ebp + 0x248], eax
mov eax, dword [ebp + 0x254]
push ebx
push eax
mov dword [esi + 0x10], ebx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
cmp eax, ebx
mov dword [ebp - 0x80], eax
je 0x4454ac
lea ecx, [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x74]
push ecx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetIconSize]
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x78]
or dword [esi + 0x14], 0xffffffff
mov dword [esi], eax
cdq
sub eax, edx
sar eax, 1
mov dword [esi + 8], eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
push ebx
mov dword [esi + 4], ecx
mov dword [esi + 0xc], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp eax, ebx
mov dword [ebp - 0x70], eax
je 0x4454ac
push ebx
push 0x20
push 1
push dword [ebp - 0x78]
push dword [ebp - 0x74]
call dword [sym.imp.GDI32.dll_CreateBitmap]
cmp eax, ebx
mov dword [esi + 0x10], eax
je 0x4454a3
push edi
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [ebp - 0x70]
call edi
push ebx
push ebx
push ebx
push dword [ebp - 0x70]
mov dword [ebp - 0x7c], eax
push dword [ebp - 0x68]
push dword [ebp - 0x80]
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
push dword [ebp - 0x7c]
push dword [ebp - 0x70]
call edi
pop edi
push dword [ebp - 0x70]
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [ebp + 0x248]
xor eax, eax
cmp dword [esi + 0x10], ebx
pop esi
setne al
xor ecx, ebp
pop ebx
call fcn.004d1da7
add ebp, 0x24c
leave
ret 8

Function at 0x445660
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x52e400]
xor eax, ebp
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x210]
push eax
xor eax, eax
push eax
push eax
push 0x8037
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x4456b3
lea eax, [ebp - 0x210]
push esi
push eax
call dword [sym.imp.MSVCR71.dll_wcslen]
pop ecx
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.0044f9bd
add esp, 0xc
jmp 0x4456c0
push 0x4ec7ce
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004d1da7
leave
ret 4
Function at 0x445765
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x52e400]
push esi
push edi
xor eax, ebp
mov esi, 0x114
push esi
mov dword [ebp + 0x94], eax
lea eax, [ebp - 0x80]
push 0
push eax
call sub.MSVCR71.dll_memset
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], esi
call edi
test eax, eax
jne 0x4457b6
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], esi
call edi
test eax, eax
je 0x4457c7
cmp dword [ebp - 0x7c], 6
jb 0x4457c7
cmp dword [ebp - 0x70], 2
jne 0x4457c7
xor eax, eax
inc eax
jmp 0x4457c9
xor eax, eax
mov ecx, dword [ebp + 0x94]
pop edi
xor ecx, ebp
pop esi
call fcn.004d1da7
add ebp, 0x98
leave
ret

Function at 0x4457e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call fcn.00445765
test eax, eax
je 0x445857
and dword [ebp - 8], 0
push esi
push 4
pop esi
lea eax, [ebp - 4]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
push reloc.libexpat.dll_Ordinal_2
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov dword [ebp - 0x10], esi
pop esi
jne 0x445857
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.EnableLUA
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44584e
cmp dword [ebp - 8], 1
jne 0x44584e
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
leave
ret
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
leave
ret
Function at 0x446107
Capabilities:
Create shortcut via ishelllink
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x1a0]
sub esp, 0x220
mov eax, dword [0x52e400]
xor eax, ebp
mov dword [ebp + 0x19c], eax
mov eax, dword [ebp + 0x1a8]
push ebx
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x1ac]
push esi
push edi
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x1b4]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x1b8]
push 0x7f
pop ecx
mov dword [ebp - 0x74], eax
xor ebx, ebx
xor eax, eax
mov word [ebp - 0x64], bx
lea edi, [ebp - 0x62]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x68]
push eax
push 0x5066c0
push 1
push ebx
push 0x5066f0
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x70], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jl 0x446272
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
lea edx, [ebp - 0x70]
push edx
push 0x506750
push eax
call dword [ecx]
mov esi, eax
cmp esi, ebx
jl 0x446272
mov eax, dword [ebp - 0x68]
push dword [ebp - 0x80]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov esi, eax
cmp esi, ebx
jl 0x446272
cmp dword [ebp - 0x74], ebx
je 0x4461ce
mov eax, dword [ebp - 0x68]
push dword [ebp - 0x74]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov esi, eax
cmp esi, ebx
jl 0x446272
cmp dword [ebp - 0x78], ebx
je 0x4461ea
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
push ebx
push dword [ebp - 0x78]
push eax
call dword [ecx + 0x44]
mov esi, eax
cmp esi, ebx
jl 0x446272
mov eax, dword [ebp + 0x1b0]
sub eax, ebx
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
je 0x446229
dec eax
je 0x446208
dec eax
jne 0x44624d
lea eax, [ebp - 0x6c]
push eax
push 0x19
jmp 0x44622e
lea eax, [ebp - 0x6c]
push eax
push 0x1a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x6c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push str.MicrosoftInternet_ExplorerQuick_Launch_
jmp 0x446247
lea eax, [ebp - 0x6c]
push eax
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x6c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push 0x4ec814
lea eax, [ebp - 0x64]
push eax
call esi
push dword [ebp - 0x7c]
lea eax, [ebp - 0x64]
push eax
call esi
push 0x4f692c
lea eax, [ebp - 0x64]
push eax
call esi
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push 1
lea edx, [ebp - 0x64]
push edx
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [ebp - 0x70]
cmp eax, ebx
je 0x44627f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x68]
cmp eax, ebx
je 0x44628c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp + 0x19c]
xor eax, eax
cmp esi, ebx
pop edi
setge al
pop esi
xor ecx, ebp
pop ebx
call fcn.004d1da7
add ebp, 0x1a0
leave
ret 0x14
Function at 0x4462ad
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x388]
sub esp, 0x408
mov eax, dword [0x52e400]
xor eax, ebp
mov dword [ebp + 0x384], eax
mov eax, dword [ebp + 0x394]
push esi
xor ecx, ecx
sub eax, ecx
push edi
mov edi, dword [ebp + 0x390]
je 0x44630f
dec eax
je 0x4462ee
dec eax
je 0x4462e6
xor al, al
jmp 0x44635a
lea eax, [ebp - 0x80]
push eax
push 0x19
jmp 0x446314
lea eax, [ebp - 0x80]
push eax
push 0x1a
push ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push str.MicrosoftInternet_ExplorerQuick_Launch_
jmp 0x44632d
lea eax, [ebp - 0x80]
push eax
push ecx
push ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push 0x4ec814
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x7c]
push eax
call esi
push edi
lea eax, [ebp - 0x7c]
push eax
call esi
push 0x4f692c
lea eax, [ebp - 0x7c]
push eax
call esi
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
mov ecx, dword [ebp + 0x384]
pop edi
xor ecx, ebp
pop esi
call fcn.004d1da7
add ebp, 0x388
leave
ret 8