Function at 0x44cf10
Capabilities:
Get common file path
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x565353
mov eax, dword fs:[0]
push eax
sub esp, 0x798
mov eax, dword [0x661850]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x7a4], ecx
push str.Tue_Jun__9_21:35:46_2015
push 0x29
push str.CLoginProcess::ReadIniFileData
push str.LoginProcessLoginProcess.cpp
lea ecx, [ebp - 0x221]
call fcn.004024e0
mov dword [ebp - 4], 0
mov byte [ebp - 0x32c], 0
push 0x103
push 0
lea eax, [ebp - 0x32b]
push eax
call fcn.005454d0
add esp, 0xc
mov byte [ebp - 0x57c], 0
push 0x103
push 0
lea ecx, [ebp - 0x57b]
push ecx
call fcn.005454d0
add esp, 0xc
lea edx, [ebp - 0x32c]
push edx
push str..init.ini
call fcn.00534340
add esp, 8
push eax
lea ecx, [ebp - 0x21c]
call fcn.0043bed0
push str..king3.ini
push 0x32
lea eax, [ebp - 0x360]
push eax
push str.IniName
push str.Config
lea ecx, [ebp - 0x21c]
call fcn.0043bf00
lea ecx, [ebp - 0x32c]
push ecx
lea edx, [ebp - 0x360]
push edx
call fcn.00534340
add esp, 8
push eax
lea ecx, [ebp - 0x784]
call fcn.0043bed0
push 0
push str.test
push str.setup
lea ecx, [ebp - 0x784]
call fcn.00450600
sub eax, 1
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x46d], al
push str.127.0.0.1
push 0x10
push 0x69dae0
push str.ServerAddr
push str.Initial
lea ecx, [ebp - 0x784]
call fcn.0043bf00
push 0x69dae0
push str.ServerAddr
push str.Initial
lea ecx, [ebp - 0x784]
call fcn.0044a760
movzx eax, byte [ebp - 0x46d]
test eax, eax
je 0x44d082
push str.127.0.0.1
push 0x69dae0
call fcn.00545750
add esp, 8
push 0x1b58
push str.Param1
push str.Initial
lea ecx, [ebp - 0x784]
call fcn.00450600
mov ecx, dword [ebp - 0x7a4]
mov dword [ecx + 0x6c0], eax
mov edx, dword [ebp - 0x7a4]
mov eax, dword [edx + 0x6c0]
push eax
push str.Param1
push str.Initial
lea ecx, [ebp - 0x784]
call fcn.00450630
push 1
push str.ServerCount
push str.Server
lea ecx, [ebp - 0x784]
call fcn.00450600
mov dword [ebp - 0x474], eax
mov ecx, dword [ebp - 0x474]
push ecx
push str.ServerCount
push str.Server
lea ecx, [ebp - 0x784]
call fcn.00450630
mov ecx, dword [ebp - 0x7a4]
add ecx, 0x1050
call fcn.0043c3d0
mov dword [ebp - 0x220], 0
jmp 0x44d12f
mov edx, dword [ebp - 0x220]
add edx, 1
mov dword [ebp - 0x220], edx
mov eax, dword [ebp - 0x220]
cmp eax, dword [ebp - 0x474]
jge 0x44d2b1
push 0x28
call fcn.00545848
add esp, 4
mov dword [ebp - 0x798], eax
mov ecx, dword [ebp - 0x798]
mov dword [ebp - 0x788], ecx
push str.caption
mov edx, dword [ebp - 0x220]
add edx, 1
push edx
push str.server
push str._s_d_s
lea eax, [ebp - 0x57c]
push eax
call fcn.005456a9
add esp, 0x14
push 0x574a9b
push 0x104
mov ecx, dword [ebp - 0x788]
push ecx
lea edx, [ebp - 0x57c]
push edx
push str.Server
lea ecx, [ebp - 0x784]
call fcn.0043bf00
movzx eax, byte [ebp - 0x46d]
test eax, eax
je 0x44d1cc
push str.test
mov ecx, dword [ebp - 0x788]
push ecx
call fcn.00545750
add esp, 8
mov edx, dword [ebp - 0x788]
movsx eax, byte [edx]
test eax, eax
jne 0x44d1f5
push 0x574a9b
lea ecx, [ebp - 0x57c]
push ecx
push str.Server
lea ecx, [ebp - 0x784]
call fcn.0044a760
push str.name
mov edx, dword [ebp - 0x220]
add edx, 1
push edx
push str.server
push str._s_d_s
lea eax, [ebp - 0x57c]
push eax
call fcn.005456a9
add esp, 0x14
push 0x574a9b
push 0x104
mov ecx, dword [ebp - 0x788]
add ecx, 0x14
push ecx
lea edx, [ebp - 0x57c]
push edx
push str.Server
lea ecx, [ebp - 0x784]
call fcn.0043bf00
movzx eax, byte [ebp - 0x46d]
test eax, eax
je 0x44d26a
push str.test
mov ecx, dword [ebp - 0x788]
add ecx, 0x14
push ecx
call fcn.00545750
add esp, 8
mov edx, dword [ebp - 0x788]
movsx eax, byte [edx + 0x14]
test eax, eax
jne 0x44d294
push 0x574a9b
lea ecx, [ebp - 0x57c]
push ecx
push str.Server
lea ecx, [ebp - 0x784]
call fcn.0044a760
mov edx, dword [ebp - 0x788]
push edx
mov ecx, dword [ebp - 0x7a4]
add ecx, 0x1050
call fcn.004d6270
jmp 0x44d120
lea eax, [ebp - 0x32c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov byte [ebp - 0x46c], 0
push 0x103
push 0
lea ecx, [ebp - 0x46b]
push ecx
call fcn.005454d0
add esp, 0xc
lea edx, [ebp - 0x32c]
push edx
push 0x104
lea eax, [ebp - 0x46c]
push eax
call fcn.005477d6
add esp, 0xc
push 0x57a3a0
lea ecx, [ebp - 0x46c]
push ecx
call fcn.00545a90
add esp, 4
lea edx, [ebp + eax - 0x46c]
push edx
call fcn.00545760
add esp, 8
push str.shortcutitem.lst
lea eax, [ebp - 0x46c]
push eax
call fcn.00545760
add esp, 8
push 0
push 0x80
push 3
push 0
push 1
push closesocket
lea ecx, [ebp - 0x46c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x364], eax
cmp dword [ebp - 0x364], 0xffffffff
je 0x44d41c
push 0
mov edx, dword [ebp - 0x364]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x78c], eax
mov eax, dword [ebp - 0x78c]
push eax
call fcn.00542ae0
add esp, 4
mov dword [ebp - 0x79c], eax
mov ecx, dword [ebp - 0x79c]
mov dword [ebp - 0x794], ecx
mov edx, dword [ebp - 0x78c]
push edx
push 0
mov eax, dword [ebp - 0x794]
push eax
call fcn.005454d0
add esp, 0xc
push 0
lea ecx, [ebp - 0x790]
push ecx
mov edx, dword [ebp - 0x78c]
push edx
mov eax, dword [ebp - 0x794]
push eax
mov ecx, dword [ebp - 0x364]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44d401
mov edx, dword [ebp - 0x364]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x78c]
push eax
mov ecx, dword [ebp - 0x794]
push ecx
mov ecx, dword [ebp - 0x7a4]
call fcn.0044fb80
mov edx, dword [ebp - 0x794]
mov dword [ebp - 0x7a0], edx
mov eax, dword [ebp - 0x7a0]
push eax
call fcn.00544d5d
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x221]
call fcn.00402620
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054514c
mov esp, ebp
pop ebp
ret