Function at 0x10084610
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c5138
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x1010e070]
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 0x10084a66
cmp dword [esi + 0xf0], 0
je 0x10084a66
cmp dword [esi + 0x120], 0
je 0x10084a66
cmp dword [esi + 0x30], 0x10
lea edi, [esi + 0x1c]
jb 0x10084671
mov ecx, dword [edi]
jmp 0x10084673
mov ecx, edi
cmp dword [esi + 0xdc], 0x10
lea eax, [esi + 0xc8]
jb 0x10084684
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 0x100846a2
mov ecx, dword [edi]
jmp 0x100846a4
mov ecx, edi
cmp dword [esi + 0xf4], 0x10
lea eax, [esi + 0xe0]
jb 0x100846b5
mov eax, dword [eax]
push ecx
push eax
push 0x100faf18
push str.CurGuid
call ebx
cmp dword [edi + 0x14], 0x10
jb 0x100846cd
mov ecx, dword [edi]
jmp 0x100846cf
mov ecx, edi
cmp dword [esi + 0x10c], 0x10
lea eax, [esi + 0xf8]
jb 0x100846e0
mov eax, dword [eax]
push ecx
push eax
push 0x100faf28
push str.CurGuid
call ebx
cmp dword [edi + 0x14], 0x10
jb 0x100846f8
mov ecx, dword [edi]
jmp 0x100846fa
mov ecx, edi
cmp dword [esi + 0x124], 0x10
lea eax, [esi + 0x110]
jb 0x1008470b
mov eax, dword [eax]
push ecx
push eax
push 0x100faf24
push str.CurGuid
call ebx
call fcn.100017d6
mov ecx, eax
test ecx, ecx
jne 0x1008472e
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 0x100fa9b4
push eax
call fcn.10085a20
add esp, 0xc
cmp dword [edi + 0x14], 0x10
jb 0x10084761
mov eax, dword [edi]
jmp 0x10084763
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.100a115e
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edx
call fcn.100017d6
mov ecx, eax
test ecx, ecx
jne 0x1008479d
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.10085a20
add esp, 0x10
cmp dword [edi + 0x14], 0x10
jb 0x100847cd
mov eax, dword [edi]
jmp 0x100847cf
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 0x10084a22
cmp dword [edi + 0x14], 0x10
jb 0x100847f7
mov eax, dword [edi]
jmp 0x100847f9
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 0x10084827
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 0x100fa9b4
push eax
call fcn.10085a20
add esp, 0xc
cmp dword [edi + 0x14], 0x10
jb 0x10084852
mov eax, dword [edi]
jmp 0x10084854
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 0x1008487e
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.10085a20
add esp, 0xc
cmp dword [edi + 0x14], 0x10
jb 0x100848ad
mov eax, dword [edi]
jmp 0x100848af
mov eax, edi
add esi, 0x4c
cmp dword [esi + 0x14], 0x10
jb 0x100848ba
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 0x100848d5
mov ecx, dword [edi]
jmp 0x100848d7
mov ecx, edi
mov eax, dword [ebp - 0x10]
add eax, 0x64
cmp dword [eax + 0x14], 0x10
jb 0x100848e5
mov eax, dword [eax]
push ecx
push eax
push 0x100faf18
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [edi + 0x14], 0x10
jb 0x100848fd
mov ecx, dword [edi]
jmp 0x100848ff
mov ecx, edi
mov eax, dword [ebp - 0x10]
add eax, 0x7c
cmp dword [eax + 0x14], 0x10
jb 0x1008490d
mov eax, dword [eax]
push ecx
push eax
push 0x100faf28
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [edi + 0x14], 0x10
jb 0x10084925
mov ecx, dword [edi]
jmp 0x10084927
mov ecx, edi
mov eax, dword [ebp - 0x10]
add eax, 0x94
cmp dword [eax + 0x14], 0x10
jb 0x10084937
mov eax, dword [eax]
push ecx
push eax
push 0x100faf24
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
call fcn.100017d6
mov ecx, eax
test ecx, ecx
jne 0x1008495a
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 0x100fa9b4
push eax
call fcn.10085a20
add esp, 0xc
cmp dword [edi + 0x14], 0x10
jb 0x1008498b
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 0x100849aa
mov eax, dword [eax]
add ecx, 0xac
cmp dword [ecx + 0x14], 0x10
jb 0x100849b8
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 0x100849e4
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 0x100849ff
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 0x10084a1a
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 0x10084a25
or edi, 0xffffffff
mov ecx, esi
call fcn.10084a80
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 0x10084a4a
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 0x10084a66
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