Function at 0x4138f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4324d7
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x4460f4]
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 eax, dword [ebp + 8]
mov dword [ebp - 0x17c], eax
lea eax, [ebp - 0x174]
push eax
call fcn.004141f0
mov eax, dword [ebp - 0x164]
mov dword [ebp - 4], 0
test eax, eax
jne 0x41395b
push eax
push 0x43475c
push 0x434764
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x413bb6
add eax, 0xfffffffd
lea ecx, [ebp - 0x174]
push eax
push 0
lea eax, [ebp - 0x15c]
push eax
call fcn.004141a0
push 0x434780
push eax
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 1
push eax
call fcn.00413660
add esp, 0xc
mov eax, dword [ebp - 0x148]
mov byte [ebp - 4], 3
cmp eax, 0x10
jb 0x4139ae
inc eax
lea ecx, [ebp - 0x15c]
push eax
push dword [ebp - 0x15c]
call fcn.0040a640
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x148], 0xf
cmovae eax, dword [ebp - 0x12c]
push eax
push 0
push str.count
push str.ProcessCare
mov dword [ebp - 0x14c], 0
mov byte [ebp - 0x15c], 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ebx, eax
call fcn.00405360
mov ecx, eax
test ecx, ecx
jne 0x413a07
push 0x80004005
call fcn.00404370
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x178], esi
xor edi, edi
mov byte [ebp - 4], 4
test ebx, ebx
jle 0x413b2f
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.0041ad60
push edi
lea eax, [ebp - 0x178]
push str.name_d
push eax
call fcn.00413820
mov esi, dword [ebp - 0x178]
lea eax, [ebp - 0x12c]
add esp, 0x18
cmp dword [ebp - 0x118], 0x10
cmovae eax, dword [ebp - 0x12c]
push eax
push 0x104
lea eax, [ebp - 0x114]
push eax
push 0x433478
push esi
push str.ProcessCare
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x114], 0
mov dword [ebp - 0x130], 0xf
mov dword [ebp - 0x134], 0
mov byte [ebp - 0x144], 0
jne 0x413aab
xor ecx, ecx
jmp 0x413abd
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x413ab4
sub ecx, edx
push ecx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x144]
call fcn.0040a320
mov ecx, dword [ebp - 0x17c]
lea eax, [ebp - 0x144]
push eax
mov byte [ebp - 4], 5
call fcn.004140b0
mov eax, dword [ebp - 0x130]
mov byte [ebp - 4], 4
cmp eax, 0x10
jb 0x413b26
mov ecx, dword [ebp - 0x144]
inc eax
cmp eax, 0x1000
jb 0x413b1d
test cl, 0x1f
jne 0x413b69
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x413b69
sub ecx, eax
cmp ecx, 4
jb 0x413b69
cmp ecx, 0x23
ja 0x413b69
mov ecx, eax
push ecx
call fcn.00417982
add esp, 4
inc edi
cmp edi, ebx
jl 0x413a23
mov byte [ebp - 4], 3
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x413b4b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x118]
cmp eax, 0x10
jb 0x413b9b
mov ecx, dword [ebp - 0x12c]
inc eax
cmp eax, 0x1000
jb 0x413b92
test cl, 0x1f
je 0x413b6e
call fcn.0041d27c
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x413b7a
call fcn.0041d27c
sub ecx, eax
cmp ecx, 4
jae 0x413b86
call fcn.0041d27c
cmp ecx, 0x23
jbe 0x413b90
call fcn.0041d27c
mov ecx, eax
push ecx
call fcn.00417982
add esp, 4
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
mov eax, dword [ebp - 0x160]
cmp eax, 0x10
jb 0x413c06
mov ecx, dword [ebp - 0x174]
inc eax
cmp eax, 0x1000
jb 0x413bfd
test cl, 0x1f
je 0x413bd9
call fcn.0041d27c
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x413be5
call fcn.0041d27c
sub ecx, eax
cmp ecx, 4
jae 0x413bf1
call fcn.0041d27c
cmp ecx, 0x23
jbe 0x413bfb
call fcn.0041d27c
mov ecx, eax
push ecx
call fcn.00417982
add esp, 4
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.00417e4f
mov esp, ebp
pop ebp
ret 4