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

Disassembly:
mov eax, 0x4e0a6b
call fcn.004d1ec0
mov eax, 0x205c
call fcn.004d2080
mov eax, dword [0x52f220]
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 0x446078
lea eax, [ebp - 0x2048]
push eax
push esi
call sub.MSVCR71.dll_strlen
pop ecx
push eax
push esi
call fcn.00451a68
add esp, 0xc
test edi, edi
je 0x446094
lea eax, [ebp - 0x202c]
push eax
push edi
call sub.MSVCR71.dll_strlen
pop ecx
push eax
push edi
call fcn.00451a68
add esp, 0xc
test ebx, ebx
je 0x4460b0
lea eax, [ebp - 0x2064]
push eax
push ebx
call sub.MSVCR71.dll_strlen
pop ecx
push eax
push ebx
call fcn.00451a68
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 0x4ed274
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 0x44610d
push dword [ebp - 0x2068]
push eax
lea eax, [ebp - 0x2010]
push eax
call fcn.004519f2
xor esi, esi
add esp, 0xc
inc esi
jmp 0x44610f
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.004d1f17
leave
ret 0x10
Function at 0x4462b5
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4e099a
call fcn.004d1ec0
sub esp, 0x20
mov eax, dword [0x52f220]
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 0x4462f6
lea eax, [ebp - 0x2c]
push eax
push esi
call sub.MSVCR71.dll_strlen
pop ecx
push eax
push esi
call fcn.00451a68
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 0x44630d
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.004d1f17
leave
ret 4

Function at 0x4463b6
Capabilities:
Get file size

Disassembly:
mov eax, 0x4e099a
call fcn.004d1ec0
sub esp, 0x2c
mov eax, dword [0x52f220]
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, ebp
push esi
mov dword [ebp - 0x10], eax
call fcn.004462b5
xor edi, edi
cmp eax, edi
jne 0x4463e9
or eax, 0xffffffff
or edx, 0xffffffff
jmp 0x44646e
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 0x44640e
lea eax, [ebp - 0x2c]
push eax
push esi
call sub.MSVCR71.dll_strlen
pop ecx
push eax
push esi
call fcn.00451a68
add esp, 0xc
push edi
push edi
push 3
push edi
push 1
push Ordinal_1
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 0x446439
or esi, 0xffffffff
or edi, 0xffffffff
jmp 0x44645d
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 0x446431
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.004d1f17
leave
ret 4
Function at 0x446488
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x52f220]
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 0x4464f3
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.004519f2
xor eax, eax
add esp, 0xc
inc eax
jmp 0x4464f5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004d1f17
leave
ret 4

Function at 0x446505
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x52f220]
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 0x446570
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.004519f2
xor eax, eax
add esp, 0xc
inc eax
jmp 0x446572
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004d1f17
leave
ret 4

Function at 0x446582
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x52f220]
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 0x4465f9
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.004519f2
xor eax, eax
add esp, 0xc
inc eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004d1f17
leave
ret 4

Function at 0x446609
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x52f220]
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 0x446680
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.004519f2
xor eax, eax
add esp, 0xc
inc eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004d1f17
leave
ret 4
Function at 0x446690
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x52f220]
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 0x446707
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.004519f2
xor eax, eax
add esp, 0xc
inc eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004d1f17
leave
ret 4

Function at 0x446913
Capabilities:
Copy file

Disassembly:
mov eax, 0x4e0b3a
call fcn.004d1ec0
sub esp, 0x3c
mov eax, dword [0x52f220]
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.00451a68
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
push edi
call sub.MSVCR71.dll_strlen
pop ecx
push eax
push edi
call fcn.00451a68
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 0x44699a
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.004d1f17
leave
ret 0xc
Function at 0x447f7c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x52f220]
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 0x447fcf
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.004519f2
add esp, 0xc
jmp 0x447fdc
push 0x4ed79d
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.004d1f17
leave
ret 4

Function at 0x448081
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x52f220]
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 0x4480d2
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], esi
call edi
test eax, eax
je 0x4480e3
cmp dword [ebp - 0x7c], 6
jb 0x4480e3
cmp dword [ebp - 0x70], 2
jne 0x4480e3
xor eax, eax
inc eax
jmp 0x4480e5
xor eax, eax
mov ecx, dword [ebp + 0x94]
pop edi
xor ecx, ebp
pop esi
call fcn.004d1f17
add ebp, 0x98
leave
ret

Function at 0x4480fc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call fcn.00448081
test eax, eax
je 0x448173
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 0x448173
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 0x44816a
cmp dword [ebp - 8], 1
jne 0x44816a
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 0x448a23
Capabilities:
Create shortcut via ishelllink
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x1a0]
sub esp, 0x220
mov eax, dword [0x52f220]
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 0x504d68
push 1
push ebx
push 0x504d98
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x70], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jl 0x448b8e
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
lea edx, [ebp - 0x70]
push edx
push 0x504df8
push eax
call dword [ecx]
mov esi, eax
cmp esi, ebx
jl 0x448b8e
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 0x448b8e
cmp dword [ebp - 0x74], ebx
je 0x448aea
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 0x448b8e
cmp dword [ebp - 0x78], ebx
je 0x448b06
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 0x448b8e
mov eax, dword [ebp + 0x1b0]
sub eax, ebx
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
je 0x448b45
dec eax
je 0x448b24
dec eax
jne 0x448b69
lea eax, [ebp - 0x6c]
push eax
push 0x19
jmp 0x448b4a
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 0x448b63
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 0x4ed9a8
lea eax, [ebp - 0x64]
push eax
call esi
push dword [ebp - 0x7c]
lea eax, [ebp - 0x64]
push eax
call esi
push 0x4f77cc
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 0x448b9b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x68]
cmp eax, ebx
je 0x448ba8
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.004d1f17
add ebp, 0x1a0
leave
ret 0x14
Function at 0x448bc9
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x388]
sub esp, 0x408
mov eax, dword [0x52f220]
xor eax, ebp
mov dword [ebp + 0x384], eax
mov eax, dword [ebp + 0x394]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
xor ecx, ecx
sub eax, ecx
push edi
mov edi, dword [ebp + 0x390]
je 0x448c22
dec eax
jne 0x448c46
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 0x448c40
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 0x4ed9a8
lea eax, [ebp - 0x7c]
push eax
call esi
push edi
lea eax, [ebp - 0x7c]
push eax
call esi
push 0x4f77cc
lea eax, [ebp - 0x7c]
push eax
call esi
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp + 0x384]
test eax, eax
setne al
pop edi
xor ecx, ebp
pop esi
call fcn.004d1f17
add ebp, 0x388
leave
ret 8
Function at 0x448c80
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x148
mov eax, dword [0x52f220]
push esi
mov esi, dword [ebp + 0x7c]
push edi
xor eax, ebp
mov edi, 0x11c
push edi
mov dword [ebp + 0x70], eax
lea eax, [ebp - 0xac]
push 0
push eax
call sub.MSVCR71.dll_memset
add esp, 0xc
lea eax, [ebp - 0xac]
push eax
mov dword [ebp - 0xac], edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x448ccf
xor al, al
jmp 0x448e56
push ebx
push 0x24
lea eax, [ebp - 0xd4]
push 0
push eax
call sub.MSVCR71.dll_memset
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
add esp, 0xc
push str.GetNativeSystemInfo
push str.kernel32.dll
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
test eax, eax
je 0x448d0d
lea ecx, [ebp - 0xd4]
push ecx
call eax
jmp 0x448d1a
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x9c], 2
jne 0x448e53
mov eax, dword [ebp - 0xa8]
cmp eax, 4
jbe 0x448e53
and dword [esi + 8], 0
and dword [esi + 0xc], 0
mov dword [esi], eax
mov eax, dword [ebp - 0xa4]
lea ecx, [esi + 0x10]
push 0x4ed79d
mov dword [esi + 4], eax
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__]
cmp dword [ebp - 0xa8], 6
jne 0x448e10
push str.GetProductInfo
push str.kernel32.dll
call edi
push eax
call ebx
lea ecx, [ebp - 0xb0]
push ecx
push 0
push 0
push dword [ebp - 0xa8]
push dword [ebp - 0xa8]
call eax
mov eax, dword [ebp - 0xb0]
dec eax
je 0x448e09
dec eax
je 0x448e02
dec eax
je 0x448dfb
dec eax
je 0x448df4
sub eax, 0x2c
jne 0x448db1
push str.Professional
lea ecx, [esi + 0x10]
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 edi, dword [sym.imp.MSVCR71.dll_wcslen]
lea eax, [ebp - 0x98]
push eax
call edi
test eax, eax
pop ecx
jbe 0x448ddf
push str.Service_Pack
call edi
lea eax, [ebp + eax*2 - 0x98]
push eax
call dword [sym.imp.MSVCR71.dll__wtoi]
pop ecx
pop ecx
mov dword [esi + 8], eax
mov ax, word [ebp - 0xd4]
test ax, ax
jne 0x448e36
mov dword [esi + 0xc], 0x20
jmp 0x448e4f
push str.Enterprise_Edition
jmp 0x448da8
push str.Home_Premium_Edition
jmp 0x448da8
push str.Home_Basic_Edition
jmp 0x448da8
push str.Ultimate_Edition
jmp 0x448da8
cmp dword [ebp - 0xa8], 5
jne 0x448db1
cmp dword [ebp - 0xa4], 1
jne 0x448db1
test byte [ebp + 0x6d], 2
je 0x448da3
push str.Home_Edition
jmp 0x448da8
cmp ax, 0xa
je 0x448e48
cmp ax, 6
je 0x448e48
cmp ax, 9
jne 0x448e4f
mov dword [esi + 0xc], 0x40
mov al, 1
jmp 0x448e55
xor al, al
pop ebx
mov ecx, dword [ebp + 0x70]
pop edi
xor ecx, ebp
pop esi
call fcn.004d1f17
add ebp, 0x74
leave
ret 4
Function at 0x448e69
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x52f220]
push esi
push edi
xor esi, esi
push esi
push esi
push 3
push esi
xor eax, ebp
push 3
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push Ordinal_1
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x448ea5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x448edd
push 0x28
pop eax
push esi
lea ecx, [ebp - 0x3c]
push ecx
push eax
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x38]
push eax
push 0xc
lea eax, [ebp - 0x10]
push eax
push 0x2d1400
push edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x448ed4
mov esi, dword [ebp - 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004d1f17
leave
ret
Function at 0x44a7c4
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push esi
push dword [esp + 0xc]
call sub.MSVCR71.dll_strlen
pop ecx
push eax
push dword [esp + 0x10]
call fcn.00451a68
add esp, 0xc
lea eax, [esi + 0x1c]
push eax
push dword [esp + 0x10]
call sub.MSVCR71.dll_strlen
pop ecx
push eax
push dword [esp + 0x14]
call fcn.00451a68
add esp, 0xc
xor eax, eax
push eax
push eax
push esi
push 0x44a610
push eax
push eax
mov byte [esi + 0x38], al
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov al, 1
pop esi
ret 8