Function at 0x42ec70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x618
mov eax, dword [0x57c870]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x5c6e10]
mov byte [ebp - 0x518], al
push 0xfe
push 0
lea ecx, [ebp - 0x517]
push ecx
call fcn.005323e0
add esp, 0xc
mov dl, byte [0x5c6e11]
mov byte [ebp - 0x618], dl
push 0xfe
push 0
lea eax, [ebp - 0x617]
push eax
call fcn.005323e0
add esp, 0xc
mov cl, byte [0x5c6e12]
mov byte [ebp - 0x410], cl
push 0xfe
push 0
lea edx, [ebp - 0x40f]
push edx
call fcn.005323e0
add esp, 0xc
mov al, byte [0x5c6e13]
mov byte [ebp - 0x310], al
push 0xfe
push 0
lea ecx, [ebp - 0x30f]
push ecx
call fcn.005323e0
add esp, 0xc
mov dl, byte [0x5c6e14]
mov byte [ebp - 0x108], dl
push 0xfe
push 0
lea eax, [ebp - 0x107]
push eax
call fcn.005323e0
add esp, 0xc
mov cl, byte [0x5c6e15]
mov byte [ebp - 0x210], cl
push 0xfe
push 0
lea edx, [ebp - 0x20f]
push edx
call fcn.005323e0
add esp, 0xc
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x414], 0
movsx eax, byte [0x5fd3d0]
test eax, eax
jne 0x42ee04
lea ecx, [ebp - 0x410]
push ecx
call fcn.00483390
add esp, 4
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x210]
push eax
call fcn.00532580
add esp, 8
lea ecx, [ebp - 0x210]
push ecx
call fcn.00433800
add esp, 4
push 0x55ea34
lea edx, [ebp - 0x210]
push edx
call fcn.00532680
add esp, 8
test eax, eax
je 0x42edfd
lea eax, [ebp - 0x210]
push eax
call fcn.00433f40
add esp, 4
lea ecx, [ebp - 0x210]
push ecx
call fcn.00433f40
add esp, 4
lea edx, [ebp - 0x210]
push edx
call fcn.00433f40
add esp, 4
push 0x55ea40
lea eax, [ebp - 0x210]
push eax
call fcn.00532590
add esp, 8
call fcn.0042bfa0
jmp 0x42ee18
push 0x5fd3d0
lea ecx, [ebp - 0x210]
push ecx
call fcn.00532580
add esp, 8
push 0x55ea44
lea edx, [ebp - 0x210]
push edx
push 0x55ea50
lea eax, [ebp - 0x618]
push eax
call fcn.00532706
add esp, 0x10
push 2
lea ecx, [ebp - 0x618]
push ecx
call fcn.004869a0
add esp, 8
push eax
lea edx, [ebp - 0x618]
push edx
call fcn.00532580
add esp, 8
lea eax, [ebp - 0x618]
push eax
push 0xff
lea ecx, [ebp - 0x518]
push ecx
push 0x5c6e16
push str.server_logs
push 0x55ea64
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
movsx edx, byte [ebp - 0x518]
cmp edx, 0x79
je 0x42ee9d
movsx eax, byte [ebp - 0x518]
cmp eax, 0x59
jne 0x42f0fc
lea ecx, [ebp - 0x310]
push ecx
call fcn.0048d080
add esp, 4
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], 1
jne 0x42f0fc
lea edx, [ebp - 0x310]
push edx
call fcn.00532e80
add esp, 4
cmp eax, 0x11
jb 0x42f0fc
lea eax, [ebp - 0x310]
push eax
lea ecx, [ebp - 0x410]
push ecx
call fcn.00532580
add esp, 8
mov byte [ebp - 0x3ff], 0
lea edx, [ebp - 0x310]
push edx
lea eax, [ebp - 0x410]
push eax
call fcn.00435f80
add esp, 8
lea ecx, [ebp - 0x618]
push ecx
push 0xff
lea edx, [ebp - 0x210]
push edx
push 0x5c6e17
push 0x5c62d8
push 0x55ea6c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x210]
push eax
push str._sserver_logs
lea ecx, [ebp - 0x108]
push ecx
call fcn.00532706
add esp, 0xc
push 2
lea edx, [ebp - 0x108]
push edx
call fcn.004869a0
add esp, 8
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00532580
add esp, 8
lea ecx, [ebp - 0x108]
push ecx
call fcn.00423110
add esp, 4
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], 0
jne 0x42efa1
lea edx, [ebp - 0x108]
push edx
call fcn.00423c50
add esp, 4
mov dword [ebp - 0x414], eax
push 0
lea eax, [ebp - 0x108]
push eax
call fcn.00427d90
add esp, 8
cmp eax, 0xffffffff
jne 0x42f00c
lea ecx, [ebp - 0x108]
push ecx
push str.Cannot_create_directory__4_:__s._nMake_sure_that_you_have_full__read_write_edit_create_delete__privileges_to_this_directory.
lea edx, [ebp - 0x518]
push edx
call fcn.00532706
add esp, 0xc
push 0x5c6e18
push 0x5c6e19
push 0x55eb08
lea eax, [ebp - 0x518]
push eax
call fcn.00483510
add esp, 0x10
push 0x5c6e1a
push 0x23b5
push 0x55eb0c
call fcn.00431ee0
add esp, 0xc
jmp 0x42f0fc
push 0x5c
lea ecx, [ebp - 0x310]
push ecx
push 0x5c
lea edx, [ebp - 0x210]
push edx
push str._sserver_logs_c_s_c
lea eax, [ebp - 0x108]
push eax
call fcn.00532706
add esp, 0x18
lea ecx, [ebp - 0x108]
push ecx
call fcn.00423110
add esp, 4
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], 0
jne 0x42f065
lea edx, [ebp - 0x108]
push edx
call fcn.00423c50
add esp, 4
mov dword [ebp - 0x414], eax
push 0
lea eax, [ebp - 0x108]
push eax
call fcn.00427d90
add esp, 8
cmp eax, 0xffffffff
jne 0x42f0cd
lea ecx, [ebp - 0x108]
push ecx
push str.Cannot_create_directory__5_:__s._nMake_sure_that_you_have_full__read_write_edit_create_delete__privileges_to_this_directory.
lea edx, [ebp - 0x518]
push edx
call fcn.00532706
add esp, 0xc
push 0x5c6e1b
push 0x5c6e1c
push 0x55eb44
lea eax, [ebp - 0x518]
push eax
call fcn.00483510
add esp, 0x10
push 0x5c6e1d
push 0x23c7
push str.FindLocalDynEdDirectoryServerLog
call fcn.00431ee0
add esp, 0xc
jmp 0x42f0fc
lea ecx, [ebp - 0x108]
push ecx
push 0x5c5ed8
call fcn.00532580
add esp, 8
lea edx, [ebp - 0x108]
push edx
push 0
call fcn.00436500
add esp, 8
mov dword [ebp - 0x10c], 1
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00532783
mov esp, ebp
pop ebp
ret