Function at 0x44db90
Capabilities:
Get common file path
Get file size
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e4
mov eax, dword [0x4a0270]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
push 0x491ee0
push 0xffffffffffffffff
push 0x5bf648
call fcn.0041be20
add esp, 0xc
push str._Server_Start_
push 1
push 0x5bf648
call fcn.0041be20
add esp, 0xc
push 0x48dd60
push 1
push 0x5bf648
call fcn.0041be20
add esp, 0xc
push str._ServerInfo.ini_
push 1
push 0x5bf648
call fcn.0041be20
add esp, 0xc
mov ecx, 0x5bf898
call fcn.004028b0
push eax
push str.Server_Max_User_:__d
push 1
push 0x5bf648
call fcn.0041be20
add esp, 0x10
mov ecx, 0x5bf898
call fcn.004028d0
push eax
push str.ServerDefaultAllocSize_:__d
push 1
push 0x5bf648
call fcn.0041be20
add esp, 0x10
mov ecx, 0x5bf898
call fcn.004028f0
push eax
push str.ServerAddAllocSize_:__d
push 1
push 0x5bf648
call fcn.0041be20
add esp, 0x10
mov ecx, 0x5bf898
call fcn.0040d0b0
push eax
push str.ClientVersion_:__d
push 1
push 0x5bf648
call fcn.0041be20
add esp, 0x10
mov ecx, 0x5bf898
call fcn.00402a00
push eax
push str.ServerServiceForcePort_:__d
push 1
push 0x5bf648
call fcn.0041be20
add esp, 0x10
mov ecx, 0x5bf898
call fcn.0044d990
push eax
push str.SSN_:__d
push 1
push 0x5bf648
call fcn.0041be20
add esp, 0x10
lea eax, [ebp - 0x10c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push str.cf_loginsrv.exe
lea eax, [ebp - 0x10c]
push eax
call fcn.0045eb40
add esp, 8
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocString
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x120]
push ecx
lea edx, [ebp - 0x118]
push edx
mov eax, dword [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x130]
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea eax, [ebp - 0x160]
push eax
lea ecx, [ebp - 0x138]
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0x140]
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
movzx eax, word [ebp - 0x144]
push eax
movzx ecx, word [ebp - 0x146]
push ecx
movzx edx, word [ebp - 0x148]
push edx
movzx eax, word [ebp - 0x14a]
push eax
movzx ecx, word [ebp - 0x14e]
push ecx
movzx edx, word [ebp - 0x150]
push edx
push str.Create_:___4d__02d__02d___d:_d:_d_
push 1
push 0x5bf648
call fcn.0041be20
add esp, 0x24
movzx eax, word [ebp - 0x154]
push eax
movzx ecx, word [ebp - 0x156]
push ecx
movzx edx, word [ebp - 0x158]
push edx
movzx eax, word [ebp - 0x15a]
push eax
movzx ecx, word [ebp - 0x15e]
push ecx
movzx edx, word [ebp - 0x160]
push edx
push str.Read_:___4d__02d__02d___d:_d:_d_
push 1
push 0x5bf648
call fcn.0041be20
add esp, 0x24
movzx eax, word [ebp - 0x164]
push eax
movzx ecx, word [ebp - 0x166]
push ecx
movzx edx, word [ebp - 0x168]
push edx
movzx eax, word [ebp - 0x16a]
push eax
movzx ecx, word [ebp - 0x16e]
push ecx
movzx edx, word [ebp - 0x170]
push edx
push str.Modify_:___4d__02d__02d___d:_d:_d_
push 1
push 0x5bf648
call fcn.0041be20
add esp, 0x24
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x174], 0
push 8
push 0
lea eax, [ebp - 0x180]
push eax
call fcn.0045f1b0
add esp, 0xc
lea eax, [ebp - 0x180]
push eax
mov ecx, dword [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x44deb9
push str.Get_File_Size_Error
push 1
push 0x5bf648
call fcn.0041be20
add esp, 0xc
jmp 0x44df1b
cmp dword [ebp - 0x17c], 0
jne 0x44dee1
cmp dword [ebp - 0x180], 0
jne 0x44dee1
push str.Get_File_Size_is_Zero
push 1
push 0x5bf648
call fcn.0041be20
add esp, 0xc
jmp 0x44df1b
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x178], eax
mov ecx, dword [ebp - 0x17c]
mov dword [ebp - 0x174], ecx
mov eax, dword [ebp - 0x174]
push eax
mov ecx, dword [ebp - 0x178]
push ecx
push str.File_Size_:__ld_Byte
push 1
push 0x5bf648
call fcn.0041be20
add esp, 0x14
mov eax, dword [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xff
lea eax, [ebp - 0x280]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x44dfc2
lea eax, [ebp - 0x280]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x2a4], eax
cmp dword [ebp - 0x2a4], 0
je 0x44dfc2
mov eax, dword [ebp - 0x2a4]
mov ecx, dword [eax + 0xc]
cmp dword [ecx], 0
je 0x44dfc2
mov eax, dword [ebp - 0x2a4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [ebp - 0x2a0]
push ecx
call fcn.0045eb30
add esp, 8
lea eax, [ebp - 0x2a0]
push eax
push str.Server_IP_:__s
push 1
push 0x5bf648
call fcn.0041be20
add esp, 0x10
mov eax, dword [ebp - 0x2a4]
mov ecx, dword [eax + 0xc]
add ecx, 4
mov edx, dword [ebp - 0x2a4]
mov dword [edx + 0xc], ecx
jmp 0x44df5e
push 0x491ee0
push 0xffffffffffffffff
push 0x5bf648
call fcn.0041be20
add esp, 0xc
push 0x491d5c
push 0xffffffffffffffff
push 0x5bf648
call fcn.0041be20
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045ee62
mov esp, ebp
pop ebp
ret