Function at 0x452eb0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x467f0a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x548
mov eax, dword [0x485230]
mov dword [ebp - 0x10], eax
push edi
mov dword [ebp - 0x554], ecx
mov ax, word [0x476a14]
mov word [ebp - 0x444], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x442]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
lea ecx, [ebp - 0x444]
push ecx
call dword [sym.imp.ServiceCore.dll_public:_static_bool___cdecl_CWHService::GetWorkDirectory_wchar_t__const__unsigned_short_int_]
add esp, 8
mov dx, word [0x476a18]
mov word [ebp - 0x23c], dx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x23a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x444]
push eax
push str._sPhraseInfo.ini
push 0x104
lea ecx, [ebp - 0x23c]
push ecx
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x10
mov byte [ebp - 0x31], 1
mov dx, word [0x476a40]
mov word [ebp - 0x30], dx
xor eax, eax
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
mov cx, word [0x476a44]
mov word [ebp - 0x544], cx
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x542]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x548]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x548]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::TrimLeft]
lea ecx, [ebp - 0x548]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::TrimRight]
mov eax, 1
test eax, eax
je 0x4530d7
movzx ecx, byte [ebp - 0x31]
push ecx
push str.Phrase_d
push 0x10
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x10
lea eax, [ebp - 0x23c]
push eax
push 0x80
lea ecx, [ebp - 0x544]
push ecx
push 0x476a5c
lea edx, [ebp - 0x30]
push edx
push str.ServerChatShort
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
movzx eax, word [ebp - 0x544]
test eax, eax
je 0x4530bc
lea ecx, [ebp - 0x544]
push ecx
lea ecx, [ebp - 0x54c]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54c]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::TrimLeft]
lea ecx, [ebp - 0x54c]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::TrimRight]
lea edx, [ebp - 0x548]
push edx
lea eax, [ebp - 0x54c]
push eax
call fcn.00453680
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x4530a4
mov dl, byte [ebp - 0x31]
mov byte [ebp - 0x54d], dl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54c]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x548]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov al, byte [ebp - 0x54d]
jmp 0x4530f7
mov al, byte [ebp - 0x31]
add al, 1
mov byte [ebp - 0x31], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54c]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
movzx ecx, word [ebp - 0x544]
test ecx, ecx
je 0x4530d0
movzx edx, byte [ebp - 0x31]
cmp edx, 0x10
jl 0x4530d2
jmp 0x4530d7
jmp 0x452fc8
mov byte [ebp - 0x54e], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x548]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov al, byte [ebp - 0x54e]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00462b3d
pop edi
mov esp, ebp
pop ebp
ret 4