Function at 0x46c620
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ae0d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x54b144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [edi + 0x4c]
mov dword [ebp - 4], 3
lea eax, [ebp + 8]
cmp ecx, eax
je 0x46c66e
cmp dword [ebp + 0x1c], 0x10
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
push eax
call fcn.0044c030
lea ecx, [edi + 0x64]
lea eax, [ebp + 0x20]
cmp ecx, eax
je 0x46c689
cmp dword [ebp + 0x34], 0x10
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
push eax
call fcn.0044c030
lea ecx, [edi + 0x7c]
lea eax, [ebp + 0x38]
cmp ecx, eax
je 0x46c6a4
cmp dword [ebp + 0x4c], 0x10
push dword [ebp + 0x48]
cmovae eax, dword [ebp + 0x38]
push eax
call fcn.0044c030
lea ecx, [edi + 0x94]
lea eax, [ebp + 0x50]
cmp ecx, eax
je 0x46c6c2
cmp dword [ebp + 0x64], 0x10
push dword [ebp + 0x60]
cmovae eax, dword [ebp + 0x50]
push eax
call fcn.0044c030
cmp dword [edi + 0x30], 0x10
lea esi, [edi + 0x1c]
mov eax, esi
jb 0x46c6cf
mov eax, dword [esi]
push eax
push 0
push str.ChangeType
push str.CurGuid
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
xorps xmm0, xmm0
mov dword [edi + 0xc4], eax
cmp dword [esi + 0x14], 0x10
movups xmmword [ebp - 0x34], xmm0
mov byte [ebp - 0x14], 0
movups xmmword [ebp - 0x24], xmm0
jb 0x46c6ff
mov esi, dword [esi]
push esi
push 0x21
lea eax, [ebp - 0x34]
push eax
push 0
push str.Time
push str.CurGuid
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x34]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46c720
sub ecx, edx
push ecx
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [edi + 0xac]
call fcn.0044c030
cmp dword [edi + 0xbc], 0
jne 0x46c7c8
push 0
call fcn.004e4842
add esp, 4
mov dword [ebp - 0x3c], edx
mov esi, eax
mov byte [ebp - 4], 4
call fcn.004501e0
mov ecx, eax
test ecx, ecx
je 0x46c8e3
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x38], eax
push dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 5
push esi
push str._I64d
push eax
call fcn.0046d2f0
mov esi, dword [ebp - 0x38]
add esp, 0x10
mov edx, esi
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x46c796
sub edx, ecx
lea ecx, [edi + 0xac]
push edx
push esi
call fcn.0044c030
mov byte [ebp - 4], 3
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x46c7c8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x46c7fc
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46c7f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46c8ed
push edx
push ecx
call fcn.004dafca
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x46c842
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46c838
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46c8ed
push edx
push ecx
call fcn.004dafca
add esp, 8
mov edx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp edx, 0x10
jb 0x46c884
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46c87a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46c8ed
push edx
push ecx
call fcn.004dafca
add esp, 8
mov edx, dword [ebp + 0x64]
mov dword [ebp + 0x48], 0
mov dword [ebp + 0x4c], 0xf
mov byte [ebp + 0x38], 0
cmp edx, 0x10
jb 0x46c8c6
mov ecx, dword [ebp + 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46c8bc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46c8ed
push edx
push ecx
call fcn.004dafca
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004dafe6
mov esp, ebp
pop ebp
ret 0x60
push 0x80004005
call fcn.00450130
call fcn.004e002c
int3