Function at 0x10041b3b
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov eax, 0x1004c2ed
call fcn.100464e0
sub esp, 0x82c
and word [ebp - 0x838], 0
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0x200
xor eax, eax
lea edi, [ebp - 0x836]
rep stosd dword es:[edi], eax
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
lea edi, [esi + 0x11f0]
mov ecx, edi
mov dword [ebp - 0x30], esi
push dword [eax]
lea eax, [esi + 0x30]
mov dword [ebp - 0x2c], edi
push 0
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Freeze_void_]
mov eax, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 0x14], eax
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Freeze_void_]
mov ebx, dword [edi + 4]
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Freeze_void_]
mov ecx, dword [edi + 8]
mov eax, dword [edi + 4]
mov dword [ebp - 0x10], eax
lea ecx, [ebx + ecx*2]
neg ebx
sbb ebx, ebx
and ebx, ecx
cmp eax, ebx
je 0x10041be8
mov ecx, dword [ebp - 0x14]
sub ecx, eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x10]
mov ax, word [eax]
push eax
call dword [sym.imp.MSVCRT.dll_towlower]
mov edx, dword [ebp - 0x10]
add dword [ebp - 0x10], 2
cmp dword [ebp - 0x10], ebx
pop ecx
mov ecx, dword [ebp - 0x14]
mov word [ecx + edx], ax
jne 0x10041bc7
mov eax, dword [edi + 4]
xor ebx, ebx
cmp eax, ebx
jne 0x10041bf6
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
call fcn.10042826
test al, al
pop ecx
jne 0x10041c08
xor eax, eax
jmp 0x10041e75
push 0x401
lea eax, [ebp - 0x838]
push ebx
push eax
mov dword [ebp - 0x10], ebx
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x838]
push ebx
push 0x2b
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x10041e4a
mov ebx, dword [sym.imp.MSVCRT.dll_wcslen]
lea eax, [ebp - 0x838]
lea edi, [esi + 0x1200]
push eax
mov dword [ebp - 0x34], edi
call ebx
pop ecx
push eax
lea eax, [ebp - 0x838]
push eax
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
mov esi, str.TencentQQDownload
push esi
call ebx
pop ecx
push eax
push esi
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::append_unsigned_short_int_const___unsigned_int_]
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Freeze_void_]
mov eax, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 0x14], eax
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Freeze_void_]
mov esi, dword [edi + 4]
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Freeze_void_]
mov ecx, dword [edi + 8]
mov eax, dword [edi + 4]
mov edi, eax
lea ecx, [esi + ecx*2]
neg esi
sbb esi, esi
and esi, ecx
cmp eax, esi
je 0x10041ccb
mov ecx, dword [ebp - 0x14]
sub ecx, eax
mov dword [ebp - 0x14], ecx
mov ax, word [edi]
push eax
call dword [sym.imp.MSVCRT.dll_towlower]
pop ecx
mov ecx, dword [ebp - 0x14]
mov word [ecx + edi], ax
inc edi
inc edi
cmp edi, esi
jne 0x10041cb3
mov al, byte [ebp - 0x25]
xor esi, esi
push esi
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 0x401
lea eax, [ebp - 0x838]
push esi
push eax
mov dword [ebp - 4], esi
call sub.MSVCRT.dll_memset
mov eax, dword [ebp - 0x30]
add esp, 0xc
lea esi, [eax + 0x1c]
push esi
push str.DownloadProxy.Downloader.1
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
lea eax, [ebp - 0x838]
push eax
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.10044995
add esp, 0x14
test eax, eax
je 0x10041e29
lea eax, [ebp - 0x838]
push eax
call ebx
pop ecx
push eax
lea eax, [ebp - 0x838]
push eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
mov esi, 0x1005c340
push esi
call ebx
pop ecx
push eax
push 0
push esi
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::find_first_not_of_unsigned_short_int_const___unsigned_int__unsigned_int_const]
push eax
push 0
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::erase_unsigned_int__unsigned_int_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
push esi
mov edi, dword [eax]
call ebx
pop ecx
push eax
push edi
push esi
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::find_last_not_of_unsigned_short_int_const___unsigned_int__unsigned_int_const]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
inc eax
push dword [ecx]
lea ecx, [ebp - 0x24]
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::erase_unsigned_int__unsigned_int_]
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Freeze_void_]
mov edi, dword [ebp - 0x20]
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Freeze_void_]
mov esi, dword [ebp - 0x20]
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Freeze_void_]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
lea eax, [esi + eax*2]
neg esi
sbb esi, esi
and esi, eax
cmp ebx, esi
je 0x10041dd6
mov ax, word [ebx]
push eax
call dword [sym.imp.MSVCRT.dll_towlower]
inc ebx
mov word [edi], ax
inc ebx
inc edi
pop ecx
inc edi
jmp 0x10041dbe
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x10041de2
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
call fcn.10042826
test al, al
pop ecx
je 0x10041e29
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x10041dff
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push ecx
push 0
push eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::find_unsigned_short_int_const___unsigned_int__unsigned_int_const]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
cmp dword [ecx], eax
jne 0x10041e30
push dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
pop ecx
test al, al
pop ecx
je 0x10041e30
mov dword [ebp - 0x10], 1
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
cmp dword [ebp - 0x10], 0
je 0x10041e72
mov edi, dword [ebp - 0x2c]
xor ebx, ebx
mov edi, dword [edi + 4]
cmp edi, ebx
jne 0x10041e57
mov edi, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push ebx
push ebx
push str.__install
push edi
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret