Function at 0x100032b6
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10036258
mov eax, dword fs:[0]
push eax
mov eax, 0x4074
call fcn.10035d50
mov eax, dword [0x10045040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x406c], ebx
mov esi, dword [0x10045f40]
mov ecx, esi
mov dword [ebp - 0x4074], esi
call fcn.10003b3d
push ebx
lea edi, [ebp - 0x2010]
push 0x2000
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
cmp byte [ebp - 0x2010], 0
lea ebx, [esi + 4]
mov dword [ebp - 0x4070], ebx
je 0x1000359b
push 0x2000
lea eax, [ebp - 0x4010]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x4028]
push edi
call fcn.10001b67
inc edi
xor edx, edx
mov dword [ebp - 4], edx
xor eax, eax
mov ecx, dword [ebp - 0x4018]
add edi, ecx
mov dword [ebp - 0x4078], edi
lea edi, [ebp - 0x4068]
stosd dword es:[edi], eax
push 0xf
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop edi
mov dword [ebp - 0x4058], edx
mov dword [ebp - 0x4054], edi
mov byte [ebp - 0x4068], dl
mov byte [ebp - 4], 1
lea eax, [ebp - 0x4028]
cmp dword [ebp - 0x4014], edi
push ecx
cmova eax, dword [ebp - 0x4028]
lea ecx, [ebp - 0x4068]
push eax
call fcn.1000490e
push dword [ebp - 0x406c]
cmp dword [ebp - 0x4014], edi
lea ecx, [ebp - 0x4010]
push 0x2000
push ecx
push 0
lea eax, [ebp - 0x4028]
cmova eax, dword [ebp - 0x4028]
push str.Pattern
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor eax, eax
lea edi, [ebp - 0x4034]
stosd dword es:[edi], eax
sub esp, 0x18
mov ecx, esp
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x4010]
push eax
call fcn.10001b67
mov dl, 0x20
lea ecx, [ebp - 0x4034]
call fcn.10002624
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x4030]
sub eax, dword [ebp - 0x4034]
push 0x18
cdq
pop edi
idiv edi
push eax
call fcn.10034c68
mov dword [ebp - 0x4040], eax
add esp, 0x1c
mov eax, dword [ebp - 0x4030]
sub eax, dword [ebp - 0x4034]
cdq
idiv edi
xor edi, edi
mov dword [ebp - 0x403c], eax
test eax, eax
je 0x10003492
mov ebx, dword [ebp - 0x4040]
sub esp, 0x18
lea ecx, [ebp - 0x4034]
mov esi, esp
push edi
call fcn.10001a36
push eax
mov ecx, esi
call fcn.10001ba0
call fcn.10002735
add esp, 0x18
mov byte [edi + ebx], al
mov eax, dword [ebp - 0x4030]
inc edi
sub eax, dword [ebp - 0x4034]
cdq
push 0x18
pop ecx
idiv ecx
cmp edi, eax
jb 0x1000344b
mov ebx, dword [ebp - 0x4070]
mov esi, dword [ebp - 0x4074]
mov edi, dword [ebp - 0x406c]
lea eax, [ebp - 0x4028]
cmp dword [ebp - 0x4014], 0xf
push edi
cmova eax, dword [ebp - 0x4028]
push 0
push 0x1003b5e8
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp dword [ebp - 0x4014], 0xf
push edi
mov dword [ebp - 0x4050], eax
lea eax, [ebp - 0x4028]
cmova eax, dword [ebp - 0x4028]
push 0
push str.IsCall
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp dword [ebp - 0x4014], 0xf
push edi
mov dword [ebp - 0x4048], eax
lea eax, [ebp - 0x4028]
cmova eax, dword [ebp - 0x4028]
push 0
push str.IsDinamyc
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp dword [ebp - 0x4014], 0xf
push edi
mov dword [ebp - 0x4044], eax
lea eax, [ebp - 0x4028]
cmova eax, dword [ebp - 0x4028]
push 0
push str.Read
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
and dword [ebp - 0x4038], 0
lea ecx, [ebp - 0x4068]
mov dword [ebp - 0x404c], eax
mov eax, dword [ebx]
push ecx
cmp eax, dword [esi + 8]
je 0x1000355f
mov ecx, eax
call fcn.100050d9
push 0x34
pop eax
add dword [ebx], eax
jmp 0x10003567
push eax
mov ecx, esi
call fcn.10004eaa
lea ecx, [ebp - 0x4034]
call fcn.10004883
lea ecx, [ebp - 0x4068]
call fcn.10001abf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4028]
call fcn.10001abf
mov edi, dword [ebp - 0x4078]
cmp byte [edi], 0
jne 0x1000332e
mov eax, dword [ebx]
sub eax, dword [esi]
push 0x34
cdq
pop ecx
idiv ecx
test eax, eax
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10034bf9
leave
ret