Function at 0x426f10
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x910
mov eax, dword [0x4f6fc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x4fc0a7]
mov byte [ebp - 0x704], al
push 0x1ff
push 0
lea ecx, [ebp - 0x703]
push ecx
call fcn.004b6780
add esp, 0xc
mov dl, byte [0x4fc0aa]
mov byte [ebp - 0x904], dl
push 0x1ff
push 0
lea eax, [ebp - 0x903]
push eax
call fcn.004b6780
add esp, 0xc
mov cl, byte [0x4fc0ab]
mov byte [ebp - 0x204], cl
push 0xfe
push 0
lea edx, [ebp - 0x203]
push edx
call fcn.004b6780
add esp, 0xc
mov al, byte [0x4fc0ae]
mov byte [ebp - 0x304], al
push 0xfe
push 0
lea ecx, [ebp - 0x303]
push ecx
call fcn.004b6780
add esp, 0xc
mov dl, byte [0x4fc0af]
mov byte [ebp - 0x104], dl
push 0xfe
push 0
lea eax, [ebp - 0x103]
push eax
call fcn.004b6780
add esp, 0xc
mov cl, byte [0x4fc0b2]
mov byte [ebp - 0x504], cl
push 0x1ff
push 0
lea edx, [ebp - 0x503]
push edx
call fcn.004b6780
add esp, 0xc
mov dword [ebp - 0x90c], 0
mov dword [ebp - 0x908], 0
mov eax, 1
imul eax, eax, 0
movsx ecx, byte [eax + 0x4fcad8]
test ecx, ecx
jne 0x42704a
lea edx, [ebp - 0x204]
push edx
call fcn.00486720
add esp, 4
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x504]
push ecx
call fcn.004b5e60
add esp, 8
lea edx, [ebp - 0x504]
push edx
call fcn.0042b2a0
add esp, 4
jmp 0x42705e
push 0x4fcad8
lea eax, [ebp - 0x504]
push eax
call fcn.004b5e60
add esp, 8
push 0x4e0e90
lea ecx, [ebp - 0x504]
push ecx
push 0x4e0e9c
lea edx, [ebp - 0x904]
push edx
call fcn.004b6e08
add esp, 0x10
push 2
lea eax, [ebp - 0x904]
push eax
call fcn.0048e0a0
add esp, 8
lea ecx, [ebp - 0x904]
push ecx
push 0x200
lea edx, [ebp - 0x704]
push edx
push 0x4fc0b3
push str.server_logs
push 0x4e0eb0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, 1
imul eax, eax, 0
movsx ecx, byte [ebp + eax - 0x704]
cmp ecx, 0x79
je 0x4270e5
mov edx, 1
imul edx, edx, 0
movsx eax, byte [ebp + edx - 0x704]
cmp eax, 0x59
jne 0x427361
lea ecx, [ebp - 0x304]
push ecx
call fcn.004907f0
add esp, 4
mov dword [ebp - 0x908], eax
cmp dword [ebp - 0x908], 1
jne 0x427361
lea edx, [ebp - 0x304]
push edx
call fcn.004b5f60
add esp, 4
cmp eax, 0x11
jb 0x427361
lea eax, [ebp - 0x304]
push eax
lea ecx, [ebp - 0x204]
push ecx
call fcn.004b5e60
add esp, 8
mov edx, 1
imul edx, edx, 0x11
mov dword [ebp - 0x910], edx
cmp dword [ebp - 0x910], 0xff
jae 0x427151
jmp 0x427156
call fcn.004b64ae
mov eax, dword [ebp - 0x910]
mov byte [ebp + eax - 0x204], 0
lea ecx, [ebp - 0x304]
push ecx
lea edx, [ebp - 0x204]
push edx
call fcn.0042e8a0
add esp, 8
lea eax, [ebp - 0x904]
push eax
push 0x200
lea ecx, [ebp - 0x504]
push ecx
push 0x4fc7d7
push 0x4feb80
push 0x4e0eb8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x504]
push edx
push str._sserver_logs
lea eax, [ebp - 0x104]
push eax
call fcn.004b6e08
add esp, 0xc
push 2
lea ecx, [ebp - 0x104]
push ecx
call fcn.0048e0a0
add esp, 8
lea edx, [ebp - 0x104]
push edx
call fcn.00419490
add esp, 4
mov dword [ebp - 0x908], eax
cmp dword [ebp - 0x908], 0
jne 0x427201
lea eax, [ebp - 0x104]
push eax
call fcn.00419870
add esp, 4
mov dword [ebp - 0x908], eax
push 0
lea ecx, [ebp - 0x104]
push ecx
call fcn.00418e80
add esp, 8
cmp eax, 0xffffffff
jne 0x42726c
lea edx, [ebp - 0x104]
push edx
push str.Cannot_create_directory__4_:__s._nMake_sure_that_you_have_full__read_write_edit_create_delete__privileges_to_this_directory.
lea eax, [ebp - 0x704]
push eax
call fcn.004b6e08
add esp, 0xc
push 0x4fc8d7
push 0x4fc9d7
push 0x4e0f50
lea ecx, [ebp - 0x704]
push ecx
call fcn.00499760
add esp, 0x10
push 0x4fcbd7
push 0xfe8
push 0x4e0f58
call fcn.0042b120
add esp, 0xc
jmp 0x427361
push 0x5c
lea edx, [ebp - 0x304]
push edx
push 0x5c
lea eax, [ebp - 0x504]
push eax
push str._sserver_logs_c_s_c
lea ecx, [ebp - 0x104]
push ecx
call fcn.004b6e08
add esp, 0x18
lea edx, [ebp - 0x104]
push edx
call fcn.00419490
add esp, 4
mov dword [ebp - 0x908], eax
cmp dword [ebp - 0x908], 0
jne 0x4272c5
lea eax, [ebp - 0x104]
push eax
call fcn.00419870
add esp, 4
mov dword [ebp - 0x908], eax
push 0
lea ecx, [ebp - 0x104]
push ecx
call fcn.00418e80
add esp, 8
cmp eax, 0xffffffff
jne 0x42732d
lea edx, [ebp - 0x104]
push edx
push str.Cannot_create_directory__5_:__s._nMake_sure_that_you_have_full__read_write_edit_create_delete__privileges_to_this_directory.
lea eax, [ebp - 0x704]
push eax
call fcn.004b6e08
add esp, 0xc
push 0x4fccd7
push 0x4fced7
push 0x4e1010
lea ecx, [ebp - 0x704]
push ecx
call fcn.00499760
add esp, 0x10
push 0x4fcfd7
push 0xffa
push str.FindLocalDynEdDirectoryServerLog
call fcn.0042b120
add esp, 0xc
jmp 0x427361
lea edx, [ebp - 0x104]
push edx
push 0x4fa370
call fcn.004b5e60
add esp, 8
lea eax, [ebp - 0x104]
push eax
push 0x4e1038
push 0
call fcn.004417b0
add esp, 0xc
mov dword [ebp - 0x90c], 1
mov eax, dword [ebp - 0x90c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b6253
mov esp, ebp
pop ebp
ret