Function at 0x420491
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x44682e
call sub.MSVCRT.dll__EH_prolog
mov eax, 0x168c
call fcn.0042d380
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
push edi
je 0x4206b9
cmp byte [esi], bl
je 0x4206b9
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x246]
mov word [ebp - 0x248], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x248]
push 0x104
push eax
push 0xc
call fcn.0041dc67
add esp, 0xc
lea eax, [ebp - 0x248]
push 0x45b120
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, 0x513
xor eax, eax
lea edi, [ebp - 0x1696]
mov word [ebp - 0x1698], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x20], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVCP60.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__::assign_char_const___unsigned_int_]
mov edi, 0x45b11c
mov dword [ebp - 4], ebx
push edi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push ebx
push edi
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int__unsigned_int_const]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp eax, dword [ecx]
je 0x420590
push eax
lea eax, [ebp - 0x30]
push ebx
push eax
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVCP60.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__::substr_unsigned_int__unsigned_int_]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [ebp - 4], 1
push dword [ecx]
lea ecx, [ebp - 0x20]
push ebx
push eax
call dword [sym.imp.MSVCP60.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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea eax, [ebp - 0x20]
push 1
push eax
call fcn.0042260d
mov eax, dword [ebp - 0x1c]
pop ecx
cmp eax, ebx
pop ecx
jne 0x4205a9
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
cmp eax, ebx
mov dword [ebp - 0x10], eax
jne 0x4205b4
xor edi, edi
jmp 0x4205e1
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.0042d380
mov edi, esp
push esi
push edi
push 0xffffffffffffffff
push dword [ebp - 0x10]
mov word [edi], bx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x1698]
push 0xa27
push eax
push 0x45d0f4
push edi
push str.blacklist
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x420692
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, str.HaoQQ
mov dword [ebp - 0x40], str.q400024
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], str.m400284
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], str.e500859
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], str.r400066
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], ebx
xor esi, esi
lea edi, [ebp - 0x40]
mov ebx, dword [edi]
push ebx
call sub.MSVCRT.dll_strlen
push eax
push dword [ebp + 8]
push ebx
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0x10
test eax, eax
je 0x420676
inc esi
add edi, 8
cmp esi, 4
jb 0x420651
jmp 0x42068d
push dword [ebp + 0x10]
push dword [ebp + esi*8 - 0x3c]
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
jmp 0x4206bb
push dword [ebp + 0x10]
lea eax, [ebp - 0x1698]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
pop eax
jmp 0x4206bb
xor eax, eax
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x16a4]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret