Function at 0x10004d30
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x570
push esi
mov esi, dword [esp + 0x578]
test esi, esi
mov dword [esp + 8], 0
jne 0x10004d54
xor eax, eax
pop esi
add esp, 0x570
ret
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10004d60
sub eax, edx
push ebp
mov ebp, eax
cmp ebp, 1
jae 0x10004d7c
pop ebp
xor eax, eax
pop esi
add esp, 0x570
ret
push edi
push 0x104
lea eax, [esp + 0x47c]
push esi
push eax
call fcn.10009700
push 0x104
lea ecx, [esp + 0x190]
push esi
push ecx
call fcn.10009700
push 0x10
call fcn.1000bbc2
mov edi, eax
add esp, 0x1c
test edi, edi
mov dword [esp + 0xc], edi
je 0x10005434
xor edx, edx
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
push ebx
mov dword [eax + 0xc], edx
call fcn.100058c0
mov ebx, eax
test ebx, ebx
je 0x10005433
call fcn.100058c0
mov esi, eax
test esi, esi
mov dword [esp + 0x14], esi
jne 0x10004df9
push edi
call fcn.1000b9ec
add esp, 4
mov dword [esp + 0x10], esi
jmp 0x10005433
mov edi, dword [esp + 0x588]
push edi
push esi
call fcn.100058e0
or dword [esi], 4
mov ecx, dword [esi + 4]
and ecx, 0xffffffdf
or ecx, 1
mov dword [esi + 4], ecx
mov dword [esi + 0x48], 0
mov esi, dword [esp + 0x18]
lea edx, [ebp + 4]
push edx
mov dword [esi + 8], ebx
call fcn.1000bbc2
add esp, 0xc
test eax, eax
mov dword [esi + 4], eax
je 0x10005433
add ebp, 2
push ebp
lea ecx, [esp + 0x480]
push ecx
push eax
call fcn.10009700
mov eax, dword [edi + 0x38]
add esp, 0xc
test eax, eax
je 0x10004e67
push 0x104
push eax
lea edx, [esp + 0x88]
push edx
jmp 0x10004e82
mov eax, dword [0x1001f85c]
test eax, eax
je 0x1000540e
push 0x104
push eax
lea eax, [esp + 0x88]
push eax
call fcn.10009700
lea ecx, [esp + 0x8c]
add esp, 0xc
push ecx
call fcn.10003140
add esp, 4
test eax, eax
mov al, byte [edi + 4]
jne 0x10004eea
test al, 2
jne 0x10005433
lea edx, [esp + 0x80]
push edx
push str.Configuration_file__s_not_found.
lea eax, [esp + 0x290]
push 0x1f4
push eax
call fcn.10007a90
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x594]
push ecx
lea edx, [esp + 0x29c]
push edx
push eax
call sym.logtext.dll_LogTextEx
add esp, 0x1c
jmp 0x10005433
test al, 2
jne 0x10004fd9
lea ecx, [esp + 0x80]
push ecx
push 0
lea edx, [esp + 0x18c]
push str.DONT_LOG_CONFIG
push edx
call fcn.100039c0
add esp, 0x10
test eax, eax
jne 0x10004fc5
lea eax, [esp + 0x80]
push eax
push 0
lea ecx, [esp + 0x18c]
push str.LE_DONT_LOG_CONFIG
push ecx
call fcn.100039c0
add esp, 0x10
test eax, eax
jne 0x10004fc5
lea edx, [esp + 0x80]
push edx
push eax
push str.DONT_LOG_CONFIG
push str.Default
call fcn.100039c0
add esp, 0x10
test eax, eax
jne 0x10004fc5
lea eax, [esp + 0x80]
push eax
push 0
push str.LE_DONT_LOG_CONFIG
push str.Default
call fcn.100039c0
add esp, 0x10
test eax, eax
jne 0x10004fc5
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x188]
push edx
push str.Reading_configuration_section___s__from__s...
lea eax, [esp + 0x294]
push 0x1f4
push eax
call fcn.10007a90
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x598]
push ebx
lea ecx, [esp + 0x2a0]
push ecx
push ebp
call sym.logtext.dll_LogTextEx
add esp, 0x20
jmp 0x10004fe4
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 4]
mov ecx, 2
or edx, ecx
mov dword [eax + 4], edx
or dword [edi + 4], ecx
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x584]
push ebp
call fcn.10002940
add esp, 4
test eax, eax
je 0x10005039
mov eax, dword [esi + 8]
or dword [eax + 4], 0x40
test byte [edi + 4], 2
jne 0x1000500d
push ebx
push str.Logging_file_system_is_FAT_or_FAT32:_Directory_listing_needs_to_be_sorted.
push ebp
call sym.logtext.dll_LogTextEx
add esp, 0xc
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
test ecx, 0x100000
je 0x10005039
and ecx, 0xffefffff
mov dword [eax + 4], ecx
test byte [edi + 4], 2
jne 0x10005039
push ebx
push str.Logging_file_system_is_FAT_or_FAT32:_Unsupported_NTFS_compression_turned_off.
push ebp
call sym.logtext.dll_LogTextEx
add esp, 0xc
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x80]
push edx
push 0xa
lea eax, [esp + 0x24]
push eax
push str.NEXISTS
push 0
lea ecx, [esp + 0x198]
push ecx
call ebp
lea edi, [esp + 0x1c]
mov esi, str.NEXISTS
mov ecx, 8
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x1000511c
test byte [ebx + 4], 2
jne 0x100050bd
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x188]
push ecx
push str.Configuration_section___s__in__s_does_not_exist.
lea edx, [esp + 0x294]
push 0x1f4
push edx
call fcn.10007a90
mov ecx, dword [esp + 0x598]
push ebx
lea eax, [esp + 0x2a0]
push eax
push ecx
call sym.logtext.dll_LogTextEx
add esp, 0x20
mov eax, dword [0x10017f60]
mov edx, dword [str.Default]
mov dword [esp + 0x184], edx
mov dword [esp + 0x188], eax
test byte [ebx + 4], 2
jne 0x1000511c
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x188]
push edx
push str.Reading_configuration_section___s__from__s...
lea eax, [esp + 0x294]
push 0x1f4
push eax
call fcn.10007a90
mov edx, dword [esp + 0x598]
push ebx
lea ecx, [esp + 0x2a0]
push ecx
push edx
call sym.logtext.dll_LogTextEx
add esp, 0x20
mov eax, dword [str.LO_ECHO]
test eax, eax
je 0x10005222
mov ebp, 0x1001ea40
mov dword [esp + 0x18], ebp
mov ebx, dword [ebp]
lea eax, [esp + 0x80]
push eax
push 0x32
lea ecx, [esp + 0x24]
push ecx
push str.ERROR
add ebx, 3
push ebx
lea edx, [esp + 0x198]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor eax, eax
lea edi, [esp + 0x1c]
mov esi, str.ERROR
mov ecx, 6
repe cmpsb byte [esi], byte es:[edi]
lea eax, [esp + 0x184]
jne 0x100051bd
lea ecx, [esp + 0x80]
push ecx
push 0x32
lea edx, [esp + 0x24]
push edx
push str.ERROR
sub ebx, 3
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edi, [esp + 0x1c]
mov esi, str.ERROR
mov ecx, 6
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x10005206
lea eax, [esp + 0x80]
push eax
push edx
push ebx
lea ecx, [esp + 0x190]
push ecx
jmp 0x100051c9
lea edx, [esp + 0x80]
push edx
push 0
push ebx
push eax
call fcn.100039c0
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 4]
add esp, 0x10
test eax, eax
mov eax, dword [ecx + 8]
je 0x100051ee
or dword [eax], edx
mov eax, dword [ecx + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 4]
or edx, ecx
jmp 0x10005203
mov edi, dword [eax]
not edx
and edi, edx
mov dword [eax], edi
mov eax, dword [ecx + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 4]
not ecx
and edx, ecx
mov dword [eax + 4], edx
mov ebp, dword [esp + 0x18]
mov eax, dword [ebp + 0xc]
add ebp, 0xc
test eax, eax
mov dword [esp + 0x18], ebp
jne 0x10005132
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x80]
push edx
push 0x32
lea eax, [esp + 0x24]
push eax
push str.ERROR
push str.MaxLogs
lea ecx, [esp + 0x198]
push ecx
call ebp
mov edi, str.ERROR
lea esi, [esp + 0x1c]
mov ecx, 6
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x10005272
lea eax, [esp + 0x1c]
push eax
call fcn.1000c0df
mov ebx, dword [esp + 0x14]
mov ecx, dword [ebx + 8]
add esp, 4
mov dword [ecx + 0x10], eax
jmp 0x10005276
mov ebx, dword [esp + 0x10]
lea edx, [esp + 0x80]
push edx
push 0x32
lea eax, [esp + 0x24]
push eax
push str.ERROR
push str.MaxZips
lea ecx, [esp + 0x198]
push ecx
call ebp
mov edi, str.ERROR
lea esi, [esp + 0x1c]
mov ecx, 6
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x100052c0
lea eax, [esp + 0x1c]
push eax
call fcn.1000c0df
mov ecx, dword [ebx + 8]
add esp, 4
mov dword [ecx + 0x14], eax
mov edx, dword [ebx + 8]
mov eax, dword [edx]
test ah, 8
je 0x10005362
lea eax, [esp + 0x80]
push eax
push 0x32
lea ecx, [esp + 0x24]
push ecx
push str.ERROR
push str.MinSize
lea edx, [esp + 0x198]
push edx
call ebp
mov edi, str.ERROR
lea esi, [esp + 0x1c]
mov ecx, 6
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x10005318
lea ecx, [esp + 0x1c]
push ecx
call fcn.1000c0df
mov edx, dword [ebx + 8]
add esp, 4
mov dword [edx + 0x10], eax
lea eax, [esp + 0x80]
push eax
push 0x32
lea ecx, [esp + 0x24]
push ecx
push str.ERROR
push str.MaxSize
lea edx, [esp + 0x198]
push edx
call ebp
mov edi, str.ERROR
lea esi, [esp + 0x1c]
mov ecx, 6
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x10005362
lea ecx, [esp + 0x1c]
push ecx
call fcn.1000c0df
mov edx, dword [ebx + 8]
add esp, 4
mov dword [edx + 0x14], eax
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
test ch, 4
je 0x10005433
lea ecx, [esp + 0x80]
push ecx
push 0x32
lea edx, [esp + 0x24]
push edx
push str.ERROR
push str.MinLines
lea eax, [esp + 0x198]
push eax
call ebp
mov edi, str.ERROR
lea esi, [esp + 0x1c]
mov ecx, 6
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x100053be
lea eax, [esp + 0x1c]
push eax
call fcn.1000c0df
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 8]
add esp, 4
mov dword [edx + 0x10], eax
lea eax, [esp + 0x80]
push eax
push 0x32
lea ecx, [esp + 0x24]
push ecx
push str.ERROR
push str.MaxLines
lea edx, [esp + 0x198]
push edx
call ebp
mov edi, str.ERROR
lea esi, [esp + 0x1c]
mov ecx, 6
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x10005433
lea ecx, [esp + 0x1c]
push ecx
call fcn.1000c0df
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 8]
add esp, 4
mov dword [ecx + 0x14], eax
jmp 0x10005433
push esi
call fcn.1000b9ec
push ebx
mov dword [esp + 0x18], 0
call fcn.10005860
mov edx, dword [esp + 0x1c]
push edx
call fcn.10005860
add esp, 0xc
mov dword [esp + 0x14], eax
pop ebx
mov eax, dword [esp + 0x10]
push eax
call fcn.10005860
mov eax, dword [esp + 0x10]
add esp, 4
pop edi
pop ebp
pop esi
add esp, 0x570
ret