Function at 0x100839d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c43e8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x1010c070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
cmp dword [esi + 0xd8], 0
je 0x10083e26
cmp dword [esi + 0xf0], 0
je 0x10083e26
cmp dword [esi + 0x120], 0
je 0x10083e26
cmp dword [esi + 0x30], 0x10
lea edi, [esi + 0x1c]
jb 0x10083a31
mov ecx, dword [edi]
jmp 0x10083a33
mov ecx, edi
cmp dword [esi + 0xdc], 0x10
lea eax, [esi + 0xc8]
jb 0x10083a44
mov eax, dword [eax]
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push ecx
push eax
push str.Guid
push str.CurGuid
call ebx
cmp dword [edi + 0x14], 0x10
jb 0x10083a62
mov ecx, dword [edi]
jmp 0x10083a64
mov ecx, edi
cmp dword [esi + 0xf4], 0x10
lea eax, [esi + 0xe0]
jb 0x10083a75
mov eax, dword [eax]
push ecx
push eax
push 0x100f9c18
push str.CurGuid
call ebx
cmp dword [edi + 0x14], 0x10
jb 0x10083a8d
mov ecx, dword [edi]
jmp 0x10083a8f
mov ecx, edi
cmp dword [esi + 0x10c], 0x10
lea eax, [esi + 0xf8]
jb 0x10083aa0
mov eax, dword [eax]
push ecx
push eax
push 0x100f9c28
push str.CurGuid
call ebx
cmp dword [edi + 0x14], 0x10
jb 0x10083ab8
mov ecx, dword [edi]
jmp 0x10083aba
mov ecx, edi
cmp dword [esi + 0x124], 0x10
lea eax, [esi + 0x110]
jb 0x10083acb
mov eax, dword [eax]
push ecx
push eax
push 0x100f9c24
push str.CurGuid
call ebx
call fcn.100017c6
mov ecx, eax
test ecx, ecx
jne 0x10083aee
push 0x80004005
call fcn.10001e48
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push dword [esi + 0x128]
push 0x100f9708
push eax
call fcn.10084de0
add esp, 0xc
cmp dword [edi + 0x14], 0x10
jb 0x10083b21
mov eax, dword [edi]
jmp 0x10083b23
mov eax, edi
mov ebx, dword [ebp - 0x14]
push eax
push ebx
push str.ChangeType
push str.CurGuid
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0
call fcn.100a0523
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edx
call fcn.100017c6
mov ecx, eax
test ecx, ecx
jne 0x10083b5d
push 0x80004005
call fcn.10001e48
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x18]
push dword [ebp - 0x24]
push dword [ebp - 0x20]
push str._I64d
push eax
call fcn.10084de0
add esp, 0x10
cmp dword [edi + 0x14], 0x10
jb 0x10083b8d
mov eax, dword [edi]
jmp 0x10083b8f
mov eax, edi
push eax
push dword [ebp - 0x18]
push str.Time
push str.CurGuid
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [esi + 0x5c], 0
je 0x10083de2
cmp dword [edi + 0x14], 0x10
jb 0x10083bb7
mov eax, dword [edi]
jmp 0x10083bb9
mov eax, edi
push eax
push 0
push str.Count
push str.ListCount
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea ebx, [eax + 1]
mov dword [ebp - 0x24], ebx
call fcn.100017c6
mov ecx, eax
test ecx, ecx
jne 0x10083be7
push 0x80004005
call fcn.10001e48
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
push ebx
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push 0x100f9708
push eax
call fcn.10084de0
add esp, 0xc
cmp dword [edi + 0x14], 0x10
jb 0x10083c12
mov eax, dword [edi]
jmp 0x10083c14
mov eax, edi
mov ebx, dword [ebp - 0x1c]
push eax
push ebx
push str.Count
push str.ListCount
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
call fcn.100017c6
mov ecx, eax
test ecx, ecx
jne 0x10083c3e
push 0x80004005
call fcn.10001e48
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x24]
dec eax
push eax
lea eax, [ebp - 0x20]
push str.GuidList__d
push eax
call fcn.10084de0
add esp, 0xc
cmp dword [edi + 0x14], 0x10
jb 0x10083c6d
mov eax, dword [edi]
jmp 0x10083c6f
mov eax, edi
add esi, 0x4c
cmp dword [esi + 0x14], 0x10
jb 0x10083c7a
mov esi, dword [esi]
push eax
push esi
mov esi, dword [ebp - 0x20]
push str.Guid
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [edi + 0x14], 0x10
jb 0x10083c95
mov ecx, dword [edi]
jmp 0x10083c97
mov ecx, edi
mov eax, dword [ebp - 0x10]
add eax, 0x64
cmp dword [eax + 0x14], 0x10
jb 0x10083ca5
mov eax, dword [eax]
push ecx
push eax
push 0x100f9c18
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [edi + 0x14], 0x10
jb 0x10083cbd
mov ecx, dword [edi]
jmp 0x10083cbf
mov ecx, edi
mov eax, dword [ebp - 0x10]
add eax, 0x7c
cmp dword [eax + 0x14], 0x10
jb 0x10083ccd
mov eax, dword [eax]
push ecx
push eax
push 0x100f9c28
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [edi + 0x14], 0x10
jb 0x10083ce5
mov ecx, dword [edi]
jmp 0x10083ce7
mov ecx, edi
mov eax, dword [ebp - 0x10]
add eax, 0x94
cmp dword [eax + 0x14], 0x10
jb 0x10083cf7
mov eax, dword [eax]
push ecx
push eax
push 0x100f9c24
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
call fcn.100017c6
mov ecx, eax
test ecx, ecx
jne 0x10083d1a
push 0x80004005
call fcn.10001e48
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 4
push dword [eax + 0xc4]
lea eax, [ebp - 0x24]
push 0x100f9708
push eax
call fcn.10084de0
add esp, 0xc
cmp dword [edi + 0x14], 0x10
jb 0x10083d4b
mov edi, dword [edi]
push edi
mov edi, dword [ebp - 0x24]
push edi
push str.ChangeType
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x30], 0x10
lea eax, [ecx + 0x1c]
jb 0x10083d6a
mov eax, dword [eax]
add ecx, 0xac
cmp dword [ecx + 0x14], 0x10
jb 0x10083d78
mov ecx, dword [ecx]
push eax
push ecx
push str.Time
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea edx, [edi - 0x10]
mov byte [ebp - 4], 3
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10083da4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10083dbf
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add ebx, 0xfffffff0
mov eax, edi
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x10083dda
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
jmp 0x10083de5
or edi, 0xffffffff
mov ecx, esi
call fcn.10083e40
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10083e0a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add ebx, 0xfffffff0
lock xadd dword [ebx + 0xc], edi
dec edi
test edi, edi
jg 0x10083e26
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret