Function at 0x10005dcb
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x10022412
call fcn.100174bc
sub esp, 0x558
push ebx
push esi
mov dword [ebp - 0x10], ecx
push edi
add ecx, 8
call fcn.100027da
push eax
push 0
push str.IMAGES
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
and byte [ebp - 0x154], 0
push 0x18
mov dword [ebp - 0x24], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x153]
rep stosd dword es:[edi], eax
and byte [ebp - 0xc8], 0
push 0x18
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0xc7]
and byte [ebp - 0x564], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xf9
xor eax, eax
lea edi, [ebp - 0x563]
push 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop eax
cmp dword [ebp - 0x24], eax
mov dword [ebp - 0x18], eax
jl 0x100061f4
lea eax, [ebp - 0xf0]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [ebp - 0xec]
neg eax
sbb eax, eax
and eax, ecx
mov dword [ebp - 0x2c], eax
push 0x40
call fcn.100170d6
pop ecx
mov dword [ebp - 0x14], eax
xor esi, esi
cmp eax, esi
mov dword [ebp - 4], esi
je 0x10005e91
mov ecx, eax
call fcn.10006279
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x154]
push str.IMAGE
push eax
call edi
lea eax, [ebp - 0x564]
push 0xa
push eax
push dword [ebp - 0x18]
call fcn.1001e82c
add esp, 0xc
push eax
lea eax, [ebp - 0x154]
push eax
call ebx
lea eax, [ebp - 0x3c]
push 0x104
push eax
mov ecx, esi
call fcn.10013002
mov dword [ebp - 0x28], eax
mov ecx, dword [eax]
mov dword [ebp - 4], 1
call fcn.100027da
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 8]
call fcn.100027da
push eax
push 0x104
push dword [ebp - 0x14]
lea eax, [ebp - 0x154]
push 0x1002be5c
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.1000891e
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0xc8]
push eax
call edi
lea eax, [ebp - 0xc8]
push 0x1002822c
push eax
call ebx
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 8]
call fcn.100027da
push eax
lea eax, [ebp - 0x564]
push 0x3e8
push eax
lea eax, [ebp - 0xc8]
push 0x1002be5c
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
and dword [esi + 0x30], 0
and dword [esi + 0x2c], 0
lea eax, [esi + 0x30]
lea ecx, [esi + 0x2c]
push eax
push ecx
sub esp, 0x28
lea eax, [ebp - 0x1d]
mov ecx, esp
mov dword [ebp - 0x14], esp
push 1
push eax
lea eax, [ebp - 0x564]
push eax
call fcn.10008759
mov ecx, dword [ebp - 0x10]
call fcn.100073e0
and dword [esi + 0x38], 0
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0xc8]
push eax
call edi
lea eax, [ebp - 0xc8]
push 0x10028250
push eax
call ebx
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 8]
call fcn.100027da
push eax
lea eax, [ebp - 0x564]
push 0x3e8
push eax
lea eax, [ebp - 0xc8]
push 0x1002be5c
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
and dword [esi + 0x38], 0
lea eax, [esi + 0x38]
push eax
lea eax, [ebp - 0x1e]
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x14], esp
push 1
push eax
lea eax, [ebp - 0x564]
push eax
call fcn.10008759
mov ecx, dword [ebp - 0x10]
call fcn.100075e2
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0xc8]
push eax
call edi
lea eax, [ebp - 0xc8]
push str.TRNSPRNTCLR
push eax
call ebx
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 8]
call fcn.100027da
push eax
lea eax, [ebp - 0x564]
push 0x3e8
push eax
lea eax, [ebp - 0xc8]
push 0x1002be5c
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esi + 0x34]
push eax
sub esp, 0x28
mov dword [eax], 0x808080
mov ecx, esp
mov dword [ebp - 0x14], esp
lea eax, [ebp - 0x1a]
push 1
push eax
lea eax, [ebp - 0x564]
push eax
call fcn.10008759
mov ecx, dword [ebp - 0x10]
call fcn.10007497
push dword [esi + 0x38]
lea eax, [ebp - 0x564]
push 0x10028240
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esi + 8]
add esp, 0xc
test eax, eax
jne 0x100060b1
mov eax, 0x100243b0
lea ecx, [ebp - 0x1b]
push 1
push ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.100086bd
lea eax, [ebp - 0x19]
push 1
push eax
lea eax, [ebp - 0x564]
push eax
lea ecx, [ebp - 0xf0]
mov dword [ebp - 4], 2
call fcn.10008759
push dword [0x100243c8]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 3
push 0
push dword [ebp - 0x2c]
call fcn.1000c88d
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 2
call fcn.10004832
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 0x40]
call fcn.10009962
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x30]
mov eax, dword [eax + 0x44]
cmp ecx, eax
jne 0x100061c5
push 0xc
call fcn.100170d6
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
mov byte [ebp - 4], 4
je 0x10006145
mov ecx, eax
call fcn.10006205
jmp 0x10006147
xor eax, eax
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 8]
test eax, eax
mov byte [ebp - 4], 2
jne 0x1000615a
mov eax, 0x100243b0
lea ecx, [ebp - 0x1c]
push 1
push ecx
push eax
lea ecx, [ebp - 0x17c]
call fcn.10008860
lea eax, [ebp - 0x17c]
mov byte [ebp - 4], 5
push eax
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 0x30]
call fcn.10008c73
mov eax, dword [eax]
lea ecx, [ebp - 0x17c]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
call fcn.1000316f
mov eax, dword [ebp - 0x14]
mov ecx, dword [esi + 0x3c]
push dword [eax + 4]
push dword [eax]
lea eax, [esi + 0x38]
push esi
push eax
lea eax, [esi + 0x34]
push eax
call fcn.1000566d
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 0x40]
call fcn.10008d27
mov ecx, dword [esi + 0x3c]
mov dword [eax], ecx
jmp 0x100061cb
mov eax, dword [ecx + 0x34]
mov dword [esi + 0x3c], eax
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push eax
call fcn.10008a53
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
mov dword [eax], esi
call fcn.10004832
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x24]
jle 0x10005e74
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8