Function at 0x4361a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x510
mov eax, dword [0x57c870]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x108], 0
cmp dword [0x55c70c], 1
jne 0x4362bf
cmp dword [0x5c6bfc], 1
jne 0x4362bf
lea eax, [ebp - 0x108]
push eax
call fcn.00485290
add esp, 4
movsx ecx, byte [ebp - 0x108]
test ecx, ecx
je 0x4362bf
mov edx, dword [0x5c75a8]
mov dword [ebp - 0x110], edx
mov dword [0x5c75a8], 0xfffffc19
lea eax, [ebp - 0x108]
push eax
call fcn.00485320
add esp, 4
lea ecx, [ebp - 0x108]
push ecx
call fcn.00423110
add esp, 4
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
je 0x4362b3
push 0
lea edx, [ebp - 0x108]
push edx
call fcn.00427d90
add esp, 8
cmp eax, 0xffffffff
jne 0x436261
mov dword [0x5c75b0], 1
mov dword [0x560044], 0x186a0
jmp 0x4362b3
lea eax, [ebp - 0x310]
push eax
call fcn.00489ea0
add esp, 4
lea ecx, [ebp - 0x310]
push ecx
call fcn.004299d0
add esp, 4
push 0x5f98d8
lea edx, [ebp - 0x310]
push edx
call fcn.0053617f
add esp, 8
test eax, eax
je 0x4362b3
push 0
lea eax, [ebp - 0x108]
push eax
call fcn.00485a30
push eax
push 0x560048
call fcn.00487d30
add esp, 0x10
mov ecx, dword [ebp - 0x110]
mov dword [0x5c75a8], ecx
cmp dword [0x55c70c], 1
jne 0x4362d1
cmp dword [0x5c75b0], 1
jne 0x4362e0
lea edx, [ebp - 0x108]
push edx
call fcn.00485fc0
add esp, 4
movsx eax, byte [ebp - 0x108]
test eax, eax
jne 0x4362fa
mov dword [0x5c75a8], 3
jmp 0x4364e7
lea ecx, [ebp - 0x108]
push ecx
call fcn.004299d0
add esp, 4
lea edx, [ebp - 0x108]
push edx
push 0x5c74a8
call fcn.00532580
add esp, 8
push 0x560058
lea eax, [ebp - 0x108]
push eax
push 0x560064
lea ecx, [ebp - 0x210]
push ecx
call fcn.00532706
add esp, 0x10
lea edx, [ebp - 0x210]
push edx
call fcn.00423310
add esp, 4
cmp eax, 1
jne 0x43639c
lea eax, [ebp - 0x210]
push eax
push 0xff
lea ecx, [ebp - 0x410]
push ecx
push 0x5c75a7
push 0x56006c
push 0x560080
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
je 0x43639c
lea edx, [ebp - 0x410]
push edx
call fcn.00535089
add esp, 4
mov dword [0x560044], eax
push 0x560088
push 0x5c74a8
call fcn.00532590
add esp, 8
push 0x5c74a8
call fcn.00423310
add esp, 4
test eax, eax
jne 0x436404
lea eax, [ebp - 0x108]
push eax
push str._sdyned.log
lea ecx, [ebp - 0x510]
push ecx
call fcn.00532706
add esp, 0xc
lea edx, [ebp - 0x510]
push edx
call fcn.00423310
add esp, 4
cmp eax, 1
jne 0x436404
push 1
push 0x5c74a8
lea eax, [ebp - 0x510]
push eax
call fcn.00488080
add esp, 0xc
cmp dword [0x55c70c], 1
jne 0x43642e
push 0x5600a4
call fcn.00485a30
push eax
push 0x5600b0
lea ecx, [ebp - 0x210]
push ecx
call fcn.00532706
add esp, 0x10
jmp 0x43644e
push 0x5600b8
lea edx, [ebp - 0x108]
push edx
push 0x5600c4
lea eax, [ebp - 0x210]
push eax
call fcn.00532706
add esp, 0x10
lea ecx, [ebp - 0x210]
push ecx
push 0xff
lea edx, [ebp - 0x108]
push edx
push 0x5c75b4
push 0x5600cc
push 0x5600d8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
jne 0x4364ad
mov dword [0x5c75a8], 3
lea eax, [ebp - 0x210]
push eax
push 0x5600e0
push str.log_level
push 0x5600f0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x4364c1
lea ecx, [ebp - 0x108]
push ecx
call fcn.00535089
add esp, 4
mov dword [0x5c75a8], eax
cmp dword [0x5c75b0], 1
jne 0x4364dd
cmp dword [0x5c75a8], 3
jne 0x4364dd
mov dword [0x5c75a8], 1
mov dword [0x5c75ac], 0xfffffff9
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00532783
mov esp, ebp
pop ebp
ret