Function at 0x42fde0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447b38
mov eax, dword fs:[0]
push eax
sub esp, 0x53c
mov eax, dword [0x467a74]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x53e]
push ecx
mov word [ebp - 0x540], ax
call sub.MSVCR100.dll_memset
lea edx, [ebp - 0x540]
push 0x104
push edx
call dword [sym.imp.ServiceCore.dll_public:_static_bool___cdecl_CWHService::GetWorkDirectory_wchar_t__const__unsigned_short_int_]
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x336]
push ecx
mov word [ebp - 0x338], ax
call sub.MSVCR100.dll_memset
mov esi, dword [sym.imp.MSVCR100.dll__snwprintf]
lea edx, [ebp - 0x540]
push edx
push str._sPhraseInfo.ini
lea eax, [ebp - 0x338]
push 0x104
push eax
call esi
xor eax, eax
xor edx, edx
push 0xfe
mov dword [ebp - 0x2e], eax
mov dword [ebp - 0x2a], eax
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], ax
push edx
lea eax, [ebp - 0x12e]
xor ecx, ecx
push eax
mov bl, 1
mov word [ebp - 0x30], cx
mov word [ebp - 0x130], dx
call sub.MSVCR100.dll_memset
add esp, 0x3c
push edi
lea ecx, [ebp - 0x544]
call dword [0x44adf4]
lea ecx, [ebp - 0x544]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::TrimLeft]
lea ecx, [ebp - 0x544]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::TrimRight]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea esp, [esp]
movzx ecx, bl
push ecx
push str.Phrase_d
lea edx, [ebp - 0x30]
push 0x10
push edx
call esi
add esp, 0x10
lea eax, [ebp - 0x338]
push eax
push 0x80
lea ecx, [ebp - 0x130]
push ecx
push 0x44b36c
lea edx, [ebp - 0x30]
push edx
push str.ServerChatShort
call edi
cmp word [ebp - 0x130], 0
je 0x42ffa2
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x548]
call dword [0x44adf4]
lea ecx, [ebp - 0x548]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::TrimLeft]
lea ecx, [ebp - 0x548]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::TrimRight]
lea ecx, [ebp - 0x544]
call dword [sym.imp.mfc100u.dll_]
push eax
lea ecx, [ebp - 0x548]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Compare]
lea ecx, [ebp - 0x548]
test eax, eax
je 0x42ffce
inc bl
mov byte [ebp - 4], 0
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
cmp word [ebp - 0x130], 0
je 0x42ffa2
cmp bl, 0x10
jb 0x42fef0
lea ecx, [ebp - 0x544]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00442c00
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [ebp - 0x544]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov al, bl
jmp 0x42ffb0