Function at 0x46cd80
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e4e5
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x550144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x24], esi
cmp dword [esi + 0xd8], 0
je 0x46d211
cmp dword [esi + 0xf0], 0
je 0x46d211
cmp dword [esi + 0x120], 0
je 0x46d211
cmp dword [esi + 0x30], 0x10
lea ebx, [esi + 0x1c]
mov ecx, ebx
jb 0x46cde1
mov ecx, dword [ebx]
cmp dword [esi + 0xdc], 0x10
lea eax, [esi + 0xc8]
jb 0x46cdf2
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push ecx
push eax
push str.Guid
push str.CurGuid
call edi
cmp dword [ebx + 0x14], 0x10
mov ecx, ebx
jb 0x46ce10
mov ecx, dword [ebx]
cmp dword [esi + 0xf4], 0x10
lea eax, [esi + 0xe0]
jb 0x46ce21
mov eax, dword [eax]
push ecx
push eax
push 0x536fac
push str.CurGuid
call edi
cmp dword [ebx + 0x14], 0x10
mov ecx, ebx
jb 0x46ce39
mov ecx, dword [ebx]
cmp dword [esi + 0x10c], 0x10
lea eax, [esi + 0xf8]
jb 0x46ce4a
mov eax, dword [eax]
push ecx
push eax
push 0x536fb0
push str.CurGuid
call edi
cmp dword [ebx + 0x14], 0x10
mov ecx, ebx
jb 0x46ce62
mov ecx, dword [ebx]
cmp dword [esi + 0x124], 0x10
lea eax, [esi + 0x110]
jb 0x46ce73
mov eax, dword [eax]
push ecx
push eax
push 0x536fb4
push str.CurGuid
call edi
mov dword [ebp - 4], 0
call fcn.00450310
mov ecx, eax
test ecx, ecx
je 0x46d223
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x18]
push dword [esi + 0x128]
push 0x536a78
push eax
call fcn.0046d410
add esp, 0xc
mov eax, ebx
cmp dword [ebx + 0x14], 0x10
jb 0x46ceca
mov eax, dword [ebx]
push eax
push dword [ebp - 0x18]
push str.ChangeType
push str.CurGuid
call edi
push 0
call fcn.004e7e60
add esp, 4
mov dword [ebp - 0x20], edx
mov edi, eax
mov byte [ebp - 4], 2
call fcn.00450310
mov ecx, eax
test ecx, ecx
je 0x46d22d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x10]
push dword [ebp - 0x20]
push edi
push str._I64d
push eax
call fcn.0046d410
add esp, 0x10
mov eax, ebx
cmp dword [ebx + 0x14], 0x10
jb 0x46cf2a
mov eax, dword [ebx]
mov edi, dword [ebp - 0x10]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push edi
push str.Time
push str.CurGuid
call eax
cmp dword [esi + 0x5c], 0
je 0x46d167
cmp dword [ebx + 0x14], 0x10
mov eax, ebx
jb 0x46cf54
mov eax, dword [ebx]
push eax
push 0
push str.Count
push str.ListCount
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea edi, [eax + 1]
mov dword [ebp - 0x20], edi
mov byte [ebp - 4], 4
call fcn.00450310
test eax, eax
je 0x46d24b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push edi
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 5
push 0x536a78
push eax
call fcn.0046d410
add esp, 0xc
mov eax, ebx
cmp dword [ebx + 0x14], 0x10
jb 0x46cfab
mov eax, dword [ebx]
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push eax
push dword [ebp - 0x14]
push str.Count
push str.ListCount
call edi
mov byte [ebp - 4], 6
call fcn.00450310
mov ecx, eax
test ecx, ecx
je 0x46d237
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x20]
dec eax
push eax
lea eax, [ebp - 0x1c]
push str.GuidList__d
push eax
call fcn.0046d410
add esp, 0xc
mov eax, ebx
cmp dword [ebx + 0x14], 0x10
jb 0x46d003
mov eax, dword [ebx]
add esi, 0x4c
cmp dword [esi + 0x14], 0x10
jb 0x46d00e
mov esi, dword [esi]
push eax
push esi
mov esi, dword [ebp - 0x1c]
push str.Guid
push esi
call edi
cmp dword [ebx + 0x14], 0x10
mov ecx, ebx
jb 0x46d025
mov ecx, dword [ebx]
mov edi, dword [ebp - 0x24]
cmp dword [edi + 0x78], 0x10
lea eax, [edi + 0x64]
jb 0x46d033
mov eax, dword [eax]
push ecx
push eax
mov eax, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0x536fac
push esi
call eax
cmp dword [ebx + 0x14], 0x10
mov ecx, ebx
jb 0x46d04c
mov ecx, dword [ebx]
cmp dword [edi + 0x90], 0x10
lea eax, [edi + 0x7c]
jb 0x46d05a
mov eax, dword [eax]
push ecx
push eax
push 0x536fb0
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [ebx + 0x14], 0x10
mov ecx, ebx
jb 0x46d072
mov ecx, dword [ebx]
cmp dword [edi + 0xa8], 0x10
lea eax, [edi + 0x94]
jb 0x46d083
mov eax, dword [eax]
push ecx
push eax
push 0x536fb4
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov byte [ebp - 4], 8
call fcn.00450310
mov ecx, eax
test ecx, ecx
je 0x46d241
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 9
lea eax, [ebp - 0x20]
push dword [edi + 0xc4]
push 0x536a78
push eax
call fcn.0046d410
add esp, 0xc
mov eax, ebx
cmp dword [ebx + 0x14], 0x10
jb 0x46d0d4
mov eax, dword [ebx]
mov edi, dword [ebp - 0x20]
push eax
push edi
push str.ChangeType
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [ebx + 0x14], 0x10
mov ecx, ebx
jb 0x46d0ef
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x24]
add eax, 0xac
cmp dword [eax + 0x14], 0x10
jb 0x46d0ff
mov eax, dword [eax]
push ecx
push eax
push str.Time
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea edx, [edi - 0x10]
mov byte [ebp - 4], 7
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46d12b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x46d146
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, edi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46d164
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x10]
mov byte [ebp - 4], 0xa
call fcn.00450310
mov ecx, eax
test ecx, ecx
je 0x46d24b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
push 1
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0xb
push 0x536a78
push eax
call fcn.0046d410
add esp, 0xc
cmp dword [ebx + 0x14], 0x10
jb 0x46d1a4
mov ebx, dword [ebx]
mov esi, dword [ebp - 0x24]
push ebx
push esi
push str.ChangeFlag
push str.ListCount
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
or ebx, 0xffffffff
mov byte [ebp - 4], 3
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x46d1d7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x46d1f2
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x46d211
mov ecx, dword [edx]
push edx
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
push 0x80004005
call fcn.00450260
push 0x80004005
call fcn.00450260
push 0x80004005
call fcn.00450260
push 0x80004005
call fcn.00450260
push 0x80004005
call fcn.00450260
int3