joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a8ef9
Capabilities:
Get common file path
Get program files directory
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
mov ebx, eax
lea eax, [ebp - 0x20]
mov esi, ecx
mov edi, 0x208
push eax
mov ecx, edi
call fcn.004a9a0e
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
call fcn.004a9a0e
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
cmp dword [esi + 0x18], 8
jb 0x4a8f35
mov esi, dword [esi + 4]
jmp 0x4a8f38
add esi, 4
push str._ProgramFiles_
push esi
call dword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x4a8f6c
xor ebx, ebx
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea esi, [ebp - 0x10]
call fcn.00408fb0
lea esi, [ebp - 0x20]
call fcn.00408fb0
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
xor edi, edi
lea esi, [ebp - 0x20]
call fcn.004077c6
push eax
push 1
xor esi, esi
push esi
push 0x26
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp dword [ebp - 0xc], esi
jne 0x4a8f8e
xor eax, eax
jmp 0x4a8f96
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0xc]
sar eax, 1
push eax
xor edi, edi
lea esi, [ebp - 0x10]
call fcn.004077c6
push eax
push str._ProgramFiles_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea esi, [ebp - 0x20]
call fcn.004077c6
push eax
lea esi, [ebp - 0x10]
call fcn.004077c6
push eax
call dword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x4a8fdd
call fcn.004077c6
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
cmp eax, 3
pop ecx
jge 0x4a8ffd
lea eax, [ebp - 0x20]
push eax
call fcn.004a95dc
mov eax, dword [ebx + 4]
test eax, eax
je 0x4a8f4a
mov ebx, dword [ebx + 8]
sub ebx, eax
sar ebx, 1
jmp 0x4a8f4c
lea edi, [eax - 1]
lea esi, [ebp - 0x10]
call fcn.004077c6
cmp word [eax], 0x5c
jne 0x4a9017
call fcn.004077c6
and word [eax], 0
xor edi, edi
lea esi, [ebp - 0x10]
call fcn.004077c6
push eax
call fcn.004a94bc
test al, al
je 0x4a8fdd
call fcn.004077c6
push eax
lea ecx, [ebp - 0x3c]
call dword [0x4d95ec]
push str.Windows_NT
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
cmp dword [ebp - 0x24], 8
mov eax, dword [ebp - 0x38]
jae 0x4a9054
lea eax, [ebp - 0x38]
push eax
call fcn.004a94bc
test al, al
je 0x4a8fdd
lea eax, [ebp - 0x10]
jmp 0x4a8fe0
Function at 0x4a906a
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
mov ebx, eax
lea eax, [ebp - 0x20]
mov esi, ecx
mov edi, 0x208
push eax
mov ecx, edi
call fcn.004a9a0e
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
call fcn.004a9a0e
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
cmp dword [esi + 0x18], 8
jb 0x4a90a6
mov esi, dword [esi + 4]
jmp 0x4a90a9
add esi, 4
push str._APPDATA_
push esi
call dword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x4a90dd
xor ebx, ebx
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea esi, [ebp - 0x10]
call fcn.00408fb0
lea esi, [ebp - 0x20]
call fcn.00408fb0
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
xor edi, edi
lea esi, [ebp - 0x20]
call fcn.004077c6
push eax
xor esi, esi
push esi
push esi
push 0x1a
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp dword [ebp - 0xc], esi
jne 0x4a90fe
xor eax, eax
jmp 0x4a9106
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0xc]
sar eax, 1
push eax
xor edi, edi
lea esi, [ebp - 0x10]
call fcn.004077c6
push eax
push str._APPDATA_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea esi, [ebp - 0x20]
call fcn.004077c6
push eax
lea esi, [ebp - 0x10]
call fcn.004077c6
push eax
call dword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x4a914d
call fcn.004077c6
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
cmp eax, 3
pop ecx
jge 0x4a916d
lea eax, [ebp - 0x20]
push eax
call fcn.004a95dc
mov eax, dword [ebx + 4]
test eax, eax
je 0x4a90bb
mov ebx, dword [ebx + 8]
sub ebx, eax
sar ebx, 1
jmp 0x4a90bd
lea edi, [eax - 1]
lea esi, [ebp - 0x10]
call fcn.004077c6
cmp word [eax], 0x5c
jne 0x4a9187
call fcn.004077c6
and word [eax], 0
xor edi, edi
lea esi, [ebp - 0x10]
call fcn.004077c6
push eax
call fcn.004a94bc
test al, al
je 0x4a914d
call fcn.004077c6
push eax
lea ecx, [ebp - 0x3c]
call dword [0x4d95ec]
push str.MicrosoftInternet_ExplorerQuick_Launch
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
cmp dword [ebp - 0x24], 8
mov eax, dword [ebp - 0x38]
jae 0x4a91c4
lea eax, [ebp - 0x38]
push eax
call fcn.004a94bc
test al, al
je 0x4a914d
lea eax, [ebp - 0x10]
jmp 0x4a9150
Function at 0x4a91da
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
mov ebx, eax
lea eax, [ebp - 0x20]
mov esi, ecx
mov edi, 0x208
push eax
mov ecx, edi
call fcn.004a9a0e
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
call fcn.004a9a0e
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
cmp dword [esi + 0x18], 8
jb 0x4a9216
mov esi, dword [esi + 4]
jmp 0x4a9219
add esi, 4
push str._USERPROFILE_
push esi
call dword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x4a924d
xor ebx, ebx
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea esi, [ebp - 0x10]
call fcn.00408fb0
lea esi, [ebp - 0x20]
call fcn.00408fb0
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
xor edi, edi
lea esi, [ebp - 0x20]
call fcn.004077c6
push eax
push 1
xor esi, esi
push esi
push 0x28
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp dword [ebp - 0xc], esi
jne 0x4a926f
xor eax, eax
jmp 0x4a9277
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0xc]
sar eax, 1
push eax
xor edi, edi
lea esi, [ebp - 0x10]
call fcn.004077c6
push eax
push str._USERPROFILE_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea esi, [ebp - 0x20]
call fcn.004077c6
push eax
lea esi, [ebp - 0x10]
call fcn.004077c6
push eax
call dword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x4a92be
call fcn.004077c6
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
cmp eax, 3
pop ecx
jge 0x4a92de
lea eax, [ebp - 0x20]
push eax
call fcn.004a95dc
mov eax, dword [ebx + 4]
test eax, eax
je 0x4a922b
mov ebx, dword [ebx + 8]
sub ebx, eax
sar ebx, 1
jmp 0x4a922d
lea edi, [eax - 1]
lea esi, [ebp - 0x10]
call fcn.004077c6
cmp word [eax], 0x5c
jne 0x4a92f8
call fcn.004077c6
and word [eax], 0
xor edi, edi
lea esi, [ebp - 0x10]
call fcn.004077c6
push eax
call fcn.004a94bc
test al, al
je 0x4a92be
call fcn.004077c6
push eax
lea ecx, [ebp - 0x3c]
call dword [0x4d95ec]
push str.NtUser.dat
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
cmp dword [ebp - 0x24], 8
mov eax, dword [ebp - 0x38]
jae 0x4a9335
lea eax, [ebp - 0x38]
push eax
call fcn.004a954b
test al, al
je 0x4a92be
lea eax, [ebp - 0x10]
jmp 0x4a92c1
Function at 0x4a934b
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
mov ebx, eax
lea eax, [ebp - 0x20]
mov esi, ecx
mov edi, 0x208
push eax
mov ecx, edi
call fcn.004a9a0e
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
call fcn.004a9a0e
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
cmp dword [esi + 0x18], 8
jb 0x4a9387
mov esi, dword [esi + 4]
jmp 0x4a938a
add esi, 4
push str._CommonProgramFiles_
push esi
call dword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x4a93be
xor ebx, ebx
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea esi, [ebp - 0x10]
call fcn.00408fb0
lea esi, [ebp - 0x20]
call fcn.00408fb0
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
xor edi, edi
lea esi, [ebp - 0x20]
call fcn.004077c6
push eax
push 1
xor esi, esi
push esi
push 0x2b
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp dword [ebp - 0xc], esi
jne 0x4a93e0
xor eax, eax
jmp 0x4a93e8
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0xc]
sar eax, 1
push eax
xor edi, edi
lea esi, [ebp - 0x10]
call fcn.004077c6
push eax
push str._CommonProgramFiles_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea esi, [ebp - 0x20]
call fcn.004077c6
push eax
lea esi, [ebp - 0x10]
call fcn.004077c6
push eax
call dword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x4a942f
call fcn.004077c6
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
cmp eax, 3
pop ecx
jge 0x4a944f
lea eax, [ebp - 0x20]
push eax
call fcn.004a95dc
mov eax, dword [ebx + 4]
test eax, eax
je 0x4a939c
mov ebx, dword [ebx + 8]
sub ebx, eax
sar ebx, 1
jmp 0x4a939e
lea edi, [eax - 1]
lea esi, [ebp - 0x10]
call fcn.004077c6
cmp word [eax], 0x5c
jne 0x4a9469
call fcn.004077c6
and word [eax], 0
xor edi, edi
lea esi, [ebp - 0x10]
call fcn.004077c6
push eax
call fcn.004a94bc
test al, al
je 0x4a942f
call fcn.004077c6
push eax
lea ecx, [ebp - 0x3c]
call dword [0x4d95ec]
push str.Microsoft_SharedMSInfo
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
cmp dword [ebp - 0x24], 8
mov eax, dword [ebp - 0x38]
jae 0x4a94a6
lea eax, [ebp - 0x38]
push eax
call fcn.004a94bc
test al, al
je 0x4a942f
lea eax, [ebp - 0x10]
jmp 0x4a9432
Function at 0x4a94bc
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x460
push ebx
xor ebx, ebx
push 0x206
lea eax, [ebp - 0x20a]
push ebx
push eax
mov word [ebp - 0x20c], bx
call sub.MSVCR80.dll_memset
push 0x24c
lea eax, [ebp - 0x458]
push ebx
push eax
mov dword [ebp - 0x45c], ebx
call sub.MSVCR80.dll_memset
add esp, 0x18
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
mov eax, dword [ebp + 8]
je 0x4a951e
lea eax, [ebp - 0x20c]
lea ecx, [ebp - 0x45c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x4a9544
mov bl, byte [ebp - 0x45c]
shr bl, 4
push eax
and bl, 1
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, bl
pop ebx
leave
ret 4

Function at 0x4a954b
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x460
push ebx
xor ebx, ebx
push 0x206
lea eax, [ebp - 0x20a]
push ebx
push eax
mov word [ebp - 0x20c], bx
call sub.MSVCR80.dll_memset
push 0x24c
lea eax, [ebp - 0x458]
push ebx
push eax
mov dword [ebp - 0x45c], ebx
call sub.MSVCR80.dll_memset
add esp, 0x18
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
mov eax, dword [ebp + 8]
je 0x4a95ad
lea eax, [ebp - 0x20c]
lea ecx, [ebp - 0x45c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x4a95d5
mov bl, byte [ebp - 0x45c]
shr bl, 4
not bl
push eax
and bl, 1
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, bl
pop ebx
leave
ret 4
Function at 0x4a9e9d
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
xor edi, edi
cmp dword [ebp - 4], 8
mov ebx, dword [ebp - 0x18]
jae 0x4a9ec0
lea ebx, [ebp - 0x18]
lea esi, [edi*8 + 0x53d544]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push ebx
push dword [esi]
call dword [sym.imp.MSVCR80.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x4a9ee8
inc edi
cmp edi, 5
jb 0x4a9eb4
jmp 0x4a9f0c
mov eax, edi
shl eax, 3
push dword [eax + 0x53d548]
push dword [eax + 0x53d544]
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
push eax
push 0
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::replace_unsigned_int__unsigned_int__wchar_t_const__]
cmp dword [ebp - 4], 8
mov eax, dword [ebp - 0x18]
jae 0x4a9f18
lea eax, [ebp - 0x18]
push 0x5234bc
push eax
call dword [sym.imp.MSVCR80.dll_wcsstr]
pop ecx
test eax, eax
mov eax, dword [ebp - 0x18]
pop ecx
je 0x4a9f54
cmp dword [ebp - 4], 8
jae 0x4a9f36
lea eax, [ebp - 0x18]
mov esi, 0x104
push esi
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push esi
push dword [ebp + 8]
push dword [ebp + 8]
call fcn.004a9c9a
jmp 0x4a9f6c
cmp dword [ebp - 4], 8
jae 0x4a9f5d
lea eax, [ebp - 0x18]
push 0x104
push eax
push dword [ebp + 8]
call dword [sym.imp.MSVCR80.dll_wcsncpy]
add esp, 0xc
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4a9f7f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [edi + 0x14]
sub esp, 0x210
cmp eax, 0x22
push esi
je 0x4aa031
cmp eax, 0x62
jne 0x4aa0c3
push str.autocheck_autochk_
push dword [ebp + 8]
call dword [sym.imp.MSVCR80.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
jne 0x4aa0c3
and word [ebp - 0x20c], ax
push 0x206
push eax
lea eax, [ebp - 0x20a]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
mov esi, 0x103
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x20c]
push esi
push eax
push eax
call fcn.004a9c9a
lea eax, [ebp - 0x20c]
add esp, 0xc
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
sub esi, eax
push esi
lea eax, [ebp - 0x20c]
push str._system32_autochk.exe
push eax
call dword [sym.imp.MSVCR80.dll_wcsncat]
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.004aa199
xor eax, eax
inc eax
jmp 0x4aa0c5
push str..fon
push dword [ebp + 8]
call dword [sym.imp.MSVCR80.dll_wcsstr]
test eax, eax
pop ecx
pop ecx
je 0x4aa0c3
and word [ebp - 0x20c], 0
push 0x206
lea eax, [ebp - 0x20a]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
mov esi, 0x103
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x20c]
push esi
push eax
push eax
call fcn.004a9c9a
lea eax, [ebp - 0x20c]
add esp, 0xc
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
sub esi, eax
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.MSVCR80.dll_wcsncat]
lea eax, [ebp - 0x20c]
add esp, 0xc
test eax, eax
je 0x4aa0c3
push eax
call fcn.004aa0ca
test eax, eax
jne 0x4aa01c
xor eax, eax
pop esi
leave
ret 4

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

Disassembly:
push esi
push dword [esp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
call esi
cmp eax, 0xffffffff
jne 0x4aa0e7
push dword [esp + 8]
call esi
cmp eax, 0xffffffff
je 0x4aa0f0
test al, 0x10
jne 0x4aa0f0
xor eax, eax
inc eax
jmp 0x4aa0f2
xor eax, eax
pop esi
ret 4
Function at 0x4aa8c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
mov esi, 0x104
push esi
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push esi
lea eax, [ebp - 0x208]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.MSVCR80.dll_wcsncpy]
add esp, 0xc
xor eax, eax
inc eax
pop esi
leave
ret 8

Function at 0x4ab3cb
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocStringLen
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4ab3f9
xor eax, eax
jmp 0x4ab450
lea eax, [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x4ab447
push ebx
push dword [ebp - 0xc]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
cmp ebx, esi
je 0x4ab446
push esi
lea eax, [ebp - 4]
push eax
push dword [ebp - 0xc]
mov dword [ebp - 4], esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4ab446
push dword [ebp + 0xc]
push 1
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
xor ecx, ecx
test eax, eax
setge cl
mov esi, ecx
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
leave
ret

Function at 0x4abce5
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push edi
add eax, 0x54
xor ebx, ebx
push eax
lea edi, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
call fcn.004ae65e
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x4abdb8
lea edx, [ebp - 8]
push edx
push 0x4da54c
mov dword [ebp - 8], ebx
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x4abdab
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
push edx
push 0x4da55c
push 0x4da46c
mov dword [ebp - 4], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x4abda2
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 0x10], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x4abd99
push esi
push 0x5236ec
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov esi, dword [sym.imp.USER32.dll_FindWindowExW]
push ebx
push str.Shell_DocObject_View
push ebx
push dword [ebp - 0x10]
call esi
cmp eax, ebx
je 0x4abd98
push ebx
push str.Internet_Explorer_Server
push ebx
push eax
call esi
cmp word [ebp + 8], bx
push ebx
jge 0x4abd8b
push 1
jmp 0x4abd8c
push ebx
push 0x115
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop esi
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x4abdb8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
xor eax, eax
pop ebx
leave
ret 4
Function at 0x4acedf
Capabilities:
Accept command line arguments
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x10]
call fcn.004014ce
push str._callinstallfinish
xor ecx, ecx
lea esi, [ebp - 0x10]
call fcn.00429fa6
xor ecx, ecx
cmp eax, 0xffffffff
mov eax, dword [ebp - 0x10]
setne cl
add eax, 0xfffffff0
mov esi, ecx
call fcn.00401239
test esi, esi
mov dword [edi + 0x450], esi
je 0x4acf2b
and dword [edi + 0x370], 0
mov eax, dword [0x5438cc]
mov ebx, 0x5438cc
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
call fcn.0042eded
mov dword [esp], 0x523818
push dword [eax]
lea eax, [ebp - 0x10]
push 0x523824
push eax
call fcn.0042a016
mov eax, dword [ebp - 0x14]
add esp, 0x10
add eax, 0xfffffff0
call fcn.00401239
push dword [ebp - 0x10]
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov esi, 0x80
push esi
push dword [edi + 0x3b4]
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
push 1
push esi
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
push dword [edi + 0x3b4]
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
push 0
push esi
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [edi + 0x34]
lea esi, [edi + 0x3b8]
mov eax, esi
call fcn.004ac410
lea eax, [edi + 0x38c]
push eax
lea eax, [edi + 0x40c]
push eax
call fcn.004ad8f0
lea eax, [edi + 0x388]
mov dword [edi + 0x408], eax
mov eax, dword [0x5438cc]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [0x5438cc]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
call fcn.004ad379
mov eax, dword [0x5438cc]
mov ecx, ebx
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x14]
push ebx
push dword [ebp - 0xc]
add eax, 0x10
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push str.http:__www.ijinshan.com_miniinstaller_duba2013_function__s.shtml_ver_s
push eax
call fcn.0042a016
add esp, 0x10
push dword [ebp - 8]
call fcn.004ab931
push 0
push 0
push 0x464
push dword [edi + 8]
call dword [sym.imp.USER32.dll_PostMessageW]
lea esi, [ebp - 0x18]
call fcn.004038c8
push dword [edi + 0x444]
push str.source_d
call fcn.00431590
mov esi, dword [ebp - 0x14]
test esi, esi
pop ecx
pop ecx
je 0x4ad08d
mov eax, dword [esi]
push str.duba_minisite_show
mov ecx, esi
call dword [eax + 0xc]
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x20]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00401239
lea eax, [ebx - 0x10]
call fcn.00401239
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.00401239
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401239
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 4