Function at 0x46c740
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e42d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x550144]
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 0x46c78e
cmp dword [ebp + 0x1c], 0x10
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
push eax
call fcn.0044c0b0
lea ecx, [edi + 0x64]
lea eax, [ebp + 0x20]
cmp ecx, eax
je 0x46c7a9
cmp dword [ebp + 0x34], 0x10
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
push eax
call fcn.0044c0b0
lea ecx, [edi + 0x7c]
lea eax, [ebp + 0x38]
cmp ecx, eax
je 0x46c7c4
cmp dword [ebp + 0x4c], 0x10
push dword [ebp + 0x48]
cmovae eax, dword [ebp + 0x38]
push eax
call fcn.0044c0b0
lea ecx, [edi + 0x94]
lea eax, [ebp + 0x50]
cmp ecx, eax
je 0x46c7e2
cmp dword [ebp + 0x64], 0x10
push dword [ebp + 0x60]
cmovae eax, dword [ebp + 0x50]
push eax
call fcn.0044c0b0
cmp dword [edi + 0x30], 0x10
lea esi, [edi + 0x1c]
mov eax, esi
jb 0x46c7ef
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 0x46c81f
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 0x46c840
sub ecx, edx
push ecx
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [edi + 0xac]
call fcn.0044c0b0
cmp dword [edi + 0xbc], 0
jne 0x46c8e8
push 0
call fcn.004e7e60
add esp, 4
mov dword [ebp - 0x3c], edx
mov esi, eax
mov byte [ebp - 4], 4
call fcn.00450310
mov ecx, eax
test ecx, ecx
je 0x46ca03
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.0046d410
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 0x46c8b6
sub edx, ecx
lea ecx, [edi + 0xac]
push edx
push esi
call fcn.0044c0b0
mov byte [ebp - 4], 3
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x46c8e8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x46c91c
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46c912
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46ca0d
push edx
push ecx
call fcn.004de45a
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 0x46c962
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46c958
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46ca0d
push edx
push ecx
call fcn.004de45a
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 0x46c9a4
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46c99a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46ca0d
push edx
push ecx
call fcn.004de45a
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 0x46c9e6
mov ecx, dword [ebp + 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46c9dc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46ca0d
push edx
push ecx
call fcn.004de45a
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.004de46d
mov esp, ebp
pop ebp
ret 0x60
push 0x80004005
call fcn.00450260
call fcn.004e364a
int3