Function at 0x403120
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x426464
mov eax, dword fs:[0]
push eax
sub esp, 0x890
mov eax, dword [0x435028]
xor eax, esp
mov dword [esp + 0x888], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x435028]
xor eax, esp
push eax
lea eax, [esp + 0x8a4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x8b4]
mov esi, ecx
push str.ServerFile
lea ecx, [esp + 0x5c]
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], eax
xor ebx, ebx
xor ebp, ebp
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x8ac], ebx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
push 0x3fe
lea ecx, [esp + 0x4a2]
push ebx
mov byte [esp + 0x8b4], 1
push ecx
mov word [esp + 0x4a8], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0xa
push 0x200
lea edx, [esp + 0x4a4]
push edx
push ebx
call dword [sym.imp.MSVCR80.dll__itow_s]
add esp, 0x10
cmp eax, ebx
jne 0x4033b7
jmp 0x4031e4
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x40]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x49c]
push ecx
lea ecx, [esp + 0x40]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
mov edx, dword [0x4279f4]
mov ecx, dword [str.none]
mov di, word [0x4279f8]
xor eax, eax
push 0x3f6
mov dword [esp + 0x7c], edx
mov dword [esp + 0xa4], edx
lea edx, [esp + 0xaa]
push ebx
push edx
mov dword [esp + 0x80], ecx
mov word [esp + 0x88], di
mov dword [esp + 0x8a], eax
mov dword [esp + 0x8e], eax
mov dword [esp + 0x92], eax
mov dword [esp + 0x96], eax
mov dword [esp + 0x9a], eax
mov dword [esp + 0x9e], eax
mov dword [esp + 0xa2], eax
mov word [esp + 0xa6], ax
mov dword [esp + 0xa8], ecx
mov word [esp + 0xb0], di
call sub.MSVCR80.dll_memset
mov ecx, 8
add esp, 0xc
cmp dword [esi + 0x18], ecx
jb 0x4032a1
mov eax, dword [esi + 4]
jmp 0x4032a4
lea eax, [esi + 4]
cmp dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x40]
jae 0x4032b2
lea ecx, [esp + 0x40]
push eax
push 0x200
lea eax, [esp + 0xa4]
push eax
lea edx, [esp + 0x80]
push edx
push ecx
push str.ServerFiles
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esp + 0x74]
lea eax, [esp + 0x9c]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x403306
cmp dx, bx
je 0x403302
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x403306
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4032e0
xor eax, eax
jmp 0x40330b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x403317
cmp ebp, ebx
je 0x4033b7
lea ecx, [esp + 0x74]
lea eax, [esp + 0x9c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x403348
cmp dx, bx
je 0x403344
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x403348
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x403322
xor eax, eax
jmp 0x40334d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x403359
cmp ebp, ebx
jne 0x4033e1
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x8b0], 2
call fcn.00403fc0
lea ecx, [esp + 0x20]
mov byte [esp + 0x8ac], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push 0xa
push 0x200
lea edx, [esp + 0x4a4]
push edx
add ebp, 1
push ebp
call dword [sym.imp.MSVCR80.dll__itow_s]
add esp, 0x10
cmp eax, ebx
je 0x4031e0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x8ac], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x58]
mov dword [esp + 0x8ac], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor al, al
jmp 0x403409
lea ecx, [esp + 0x3c]
mov byte [esp + 0x8ac], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x58]
mov dword [esp + 0x8ac], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov al, 1
mov ecx, dword [esp + 0x8a4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x888]
xor ecx, esp
call fcn.00422de8
add esp, 0x89c
ret 4