Function at 0x42a560
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4deacf
call fcn.004d1ec0
mov eax, 0x14a4
call fcn.004d2080
mov eax, dword [0x52f220]
xor eax, ebp
push ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
push esi
xor esi, esi
cmp eax, esi
mov ebx, ecx
mov dword [ebp - 0x145c], eax
je 0x42a59d
lea eax, [ebp - 0x145c]
push eax
call fcn.00428738
cmp byte [ebx + 0x44], 0
je 0x42a5b1
push 1
mov ecx, ebx
call fcn.004286fd
jmp 0x42a7b6
cmp byte [ebx + 0x45], 0
je 0x42a5be
xor al, al
jmp 0x42a7b8
lea eax, [ebp - 0x1458]
push edi
push eax
call fcn.0041c5bc
pop ecx
push dword [ebp - 0x1444]
lea ecx, [ebp - 0x1458]
push 0x2e
mov dword [ebp - 4], esi
call dword [sym.imp.MSVCP71.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_last_of_wchar_t__unsigned_int_const]
push str.http:__plugin.xl7.xunlei.com_myapp_navset_
lea ecx, [ebp - 0x143c]
mov edi, 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_wchar_t_const__]
push edi
push esi
lea eax, [ebp - 0x1494]
push eax
lea ecx, [ebp - 0x1458]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP71.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__::substr_unsigned_int__unsigned_int_]
push eax
lea eax, [ebp - 0x143c]
push eax
lea eax, [ebp - 0x1478]
push eax
mov byte [ebp - 4], 2
call fcn.00410e0e
push str..x_wizard.xml
push eax
lea eax, [ebp - 0x14b0]
push eax
mov byte [ebp - 4], 3
call fcn.00407691
add esp, 0x18
push eax
lea ecx, [ebp - 0x143c]
mov byte [ebp - 4], 4
call dword [0x4ec4ec]
lea ecx, [ebp - 0x14b0]
mov byte [ebp - 4], 3
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 - 0x1478]
mov byte [ebp - 4], 2
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 - 0x1494]
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_]
mov word [ebp - 0x218], si
xor eax, eax
mov ecx, 0x81
lea edi, [ebp - 0x216]
rep stosd dword es:[edi], eax
lea ecx, [ebx + 0x48]
push str.wizard.xml
stosw word es:[edi], ax
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]
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push eax
lea eax, [ebp - 0x218]
push eax
call esi
and word [ebp - 0x420], 0
xor eax, eax
mov ecx, 0x81
lea edi, [ebp - 0x41e]
rep stosd dword es:[edi], eax
push str.local.ini
lea ecx, [ebx + 0x48]
stosw word es:[edi], ax
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 eax, [ebp - 0x420]
push eax
call esi
lea eax, [ebp - 0x420]
push eax
push 0x1000
lea eax, [ebp - 0x1420]
push eax
lea ecx, [ebp - 0x143c]
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 0x4f2fb8
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x1420]
push eax
lea ecx, [ebp - 0x143c]
call dword [0x4ec734]
push 0x28
call fcn.004d1a92
mov esi, eax
pop ecx
mov dword [ebp - 0x145c], esi
test esi, esi
mov byte [ebp - 4], 5
pop edi
je 0x42a74f
lea ecx, [esi + 4]
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_]
jmp 0x42a751
xor esi, esi
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 4]
mov byte [ebp - 4], 1
call dword [0x4ec734]
and dword [esi + 0x24], 0
push esi
push 0x42a29e
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x143c]
mov dword [esi + 0x20], ebx
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 fcn.00429478
mov ecx, eax
call fcn.00429502
lea ecx, [ebp - 0x143c]
mov byte [ebx + 0x45], 1
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 - 0x1458]
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 al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.004d1f17
leave
ret 4