Function at 0x10083240
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c3a38
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x1010b070]
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 0x10083696
cmp dword [esi + 0xf0], 0
je 0x10083696
cmp dword [esi + 0x120], 0
je 0x10083696
cmp dword [esi + 0x30], 0x10
lea edi, [esi + 0x1c]
jb 0x100832a1
mov ecx, dword [edi]
jmp 0x100832a3
mov ecx, edi
cmp dword [esi + 0xdc], 0x10
lea eax, [esi + 0xc8]
jb 0x100832b4
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 0x100832d2
mov ecx, dword [edi]
jmp 0x100832d4
mov ecx, edi
cmp dword [esi + 0xf4], 0x10
lea eax, [esi + 0xe0]
jb 0x100832e5
mov eax, dword [eax]
push ecx
push eax
push 0x100f8348
push str.CurGuid
call ebx
cmp dword [edi + 0x14], 0x10
jb 0x100832fd
mov ecx, dword [edi]
jmp 0x100832ff
mov ecx, edi
cmp dword [esi + 0x10c], 0x10
lea eax, [esi + 0xf8]
jb 0x10083310
mov eax, dword [eax]
push ecx
push eax
push 0x100f8358
push str.CurGuid
call ebx
cmp dword [edi + 0x14], 0x10
jb 0x10083328
mov ecx, dword [edi]
jmp 0x1008332a
mov ecx, edi
cmp dword [esi + 0x124], 0x10
lea eax, [esi + 0x110]
jb 0x1008333b
mov eax, dword [eax]
push ecx
push eax
push 0x100f8354
push str.CurGuid
call ebx
call fcn.100017d6
mov ecx, eax
test ecx, ecx
jne 0x1008335e
push 0x80004005
call fcn.10001e58
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 0x100f7dd8
push eax
call fcn.10084650
add esp, 0xc
cmp dword [edi + 0x14], 0x10
jb 0x10083391
mov eax, dword [edi]
jmp 0x10083393
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.1009fd8e
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edx
call fcn.100017d6
mov ecx, eax
test ecx, ecx
jne 0x100833cd
push 0x80004005
call fcn.10001e58
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.10084650
add esp, 0x10
cmp dword [edi + 0x14], 0x10
jb 0x100833fd
mov eax, dword [edi]
jmp 0x100833ff
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 0x10083652
cmp dword [edi + 0x14], 0x10
jb 0x10083427
mov eax, dword [edi]
jmp 0x10083429
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.100017d6
mov ecx, eax
test ecx, ecx
jne 0x10083457
push 0x80004005
call fcn.10001e58
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 0x100f7dd8
push eax
call fcn.10084650
add esp, 0xc
cmp dword [edi + 0x14], 0x10
jb 0x10083482
mov eax, dword [edi]
jmp 0x10083484
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.100017d6
mov ecx, eax
test ecx, ecx
jne 0x100834ae
push 0x80004005
call fcn.10001e58
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.10084650
add esp, 0xc
cmp dword [edi + 0x14], 0x10
jb 0x100834dd
mov eax, dword [edi]
jmp 0x100834df
mov eax, edi
add esi, 0x4c
cmp dword [esi + 0x14], 0x10
jb 0x100834ea
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 0x10083505
mov ecx, dword [edi]
jmp 0x10083507
mov ecx, edi
mov eax, dword [ebp - 0x10]
add eax, 0x64
cmp dword [eax + 0x14], 0x10
jb 0x10083515
mov eax, dword [eax]
push ecx
push eax
push 0x100f8348
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [edi + 0x14], 0x10
jb 0x1008352d
mov ecx, dword [edi]
jmp 0x1008352f
mov ecx, edi
mov eax, dword [ebp - 0x10]
add eax, 0x7c
cmp dword [eax + 0x14], 0x10
jb 0x1008353d
mov eax, dword [eax]
push ecx
push eax
push 0x100f8358
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [edi + 0x14], 0x10
jb 0x10083555
mov ecx, dword [edi]
jmp 0x10083557
mov ecx, edi
mov eax, dword [ebp - 0x10]
add eax, 0x94
cmp dword [eax + 0x14], 0x10
jb 0x10083567
mov eax, dword [eax]
push ecx
push eax
push 0x100f8354
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
call fcn.100017d6
mov ecx, eax
test ecx, ecx
jne 0x1008358a
push 0x80004005
call fcn.10001e58
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 0x100f7dd8
push eax
call fcn.10084650
add esp, 0xc
cmp dword [edi + 0x14], 0x10
jb 0x100835bb
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 0x100835da
mov eax, dword [eax]
add ecx, 0xac
cmp dword [ecx + 0x14], 0x10
jb 0x100835e8
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 0x10083614
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 0x1008362f
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 0x1008364a
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 0x10083655
or edi, 0xffffffff
mov ecx, esi
call fcn.100836b0
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 0x1008367a
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 0x10083696
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