Function at 0x456fb0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x562a72
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x5b03a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x44], 0
je 0x45747e
cmp dword [ebp + 0xc], 0
je 0x45747e
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00527d20
mov eax, dword fs:[0x2c]
add esp, 0xc
mov esi, dword [edi + 0x38]
mov ecx, dword [eax]
mov eax, dword [0x5c7ddc]
mov dword [ebp - 0x444], ecx
cmp eax, dword [ecx + 4]
jle 0x457055
push 0x5c7ddc
call fcn.004dec96
add esp, 4
cmp dword [0x5c7ddc], 0xffffffff
jne 0x457055
push 0x5c7ddc
mov dword [0x5c7e08], 0
call fcn.004dec4c
add esp, 4
xorps xmm0, xmm0
mov byte [ebp - 0x43d], 0
movlpd qword [ebp - 0x434], xmm0
lea eax, [ebp - 0x434]
mov dword [ebp - 4], 0
push eax
call fcn.0045e7a5
mov dword [ebp - 4], 1
lea eax, [ebp - 0x434]
mov dword [ebp - 0x42c], eax
lea eax, [ebp - 0x43d]
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x42c]
push eax
push 0x458380
push 0x5c7e08
call fcn.0045e970
add esp, 0x10
test eax, eax
je 0x4574b9
lea eax, [ebp - 0x434]
mov dword [ebp - 4], 2
push eax
call fcn.0045e7df
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x218]
push esi
push 0x103
push eax
push 0x594e34
push 0x595770
push 0x5c6370
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
call fcn.0041ae50
mov ecx, eax
test ecx, ecx
je 0x4574ea
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 5
push eax
lea ecx, [ebp - 0x424]
call fcn.00421f60
test al, al
jne 0x457162
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x457140
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x424]
call fcn.0041be40
mov dword [ebp - 4], 6
or esi, 0xffffffff
mov eax, dword [ebp - 0x424]
mov edx, dword [edi + 0x50]
sub edx, 0x10
mov dword [ebp - 0x428], edx
lea ebx, [eax - 0x10]
cmp ebx, edx
je 0x4571e9
lea ecx, [edx + 0xc]
mov dword [ebp - 0x438], ecx
mov ecx, dword [ecx]
shr ecx, 0x1f
test cl, cl
jne 0x4571dd
mov ecx, dword [ebx]
cmp ecx, dword [edx]
jne 0x4571dd
push ebx
call fcn.004220b0
add esp, 4
mov dword [ebp - 0x430], eax
mov byte [ebp - 4], 7
mov ecx, esi
mov edx, dword [ebp - 0x438]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4571d5
mov eax, dword [ebp - 0x428]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x430]
add eax, 0x10
mov dword [edi + 0x50], eax
jmp 0x4571e9
push dword [ebx + 4]
lea ecx, [edi + 0x50]
push eax
call fcn.0041be40
mov dword [ebp - 4], 8
mov eax, esi
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x457204
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi + 0x48]
cmp dword [eax - 0xc], 0
jne 0x4573c3
push str.update_
lea edx, [edi + 0x34]
mov dword [ebp - 0x424], 0
lea ecx, [ebp - 0x424]
call fcn.0043a770
add esp, 4
mov dword [ebp - 4], 9
mov ecx, dword [ebp - 0x444]
mov eax, dword [0x5c7dd0]
cmp eax, dword [ecx + 4]
jle 0x45727f
push 0x5c7dd0
call fcn.004dec96
add esp, 4
cmp dword [0x5c7dd0], 0xffffffff
jne 0x45727f
push 0x5c7dd0
mov dword [0x5c7dbc], 0
call fcn.004dec4c
add esp, 4
xorps xmm0, xmm0
mov byte [ebp - 0x43d], 0
movlpd qword [ebp - 0x42c], xmm0
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 0xa
push eax
call fcn.0045e7a5
lea eax, [ebp - 0x42c]
mov dword [ebp - 0x43c], eax
lea eax, [ebp - 0x43d]
mov dword [ebp - 0x438], eax
lea eax, [ebp - 0x43c]
push eax
push 0x458480
push 0x5c7dbc
call fcn.0045e970
add esp, 0x10
test eax, eax
je 0x45749c
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 0xc
push eax
call fcn.0045e7df
push 0x5c61b0
lea edx, [ebp - 0x424]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x430]
call fcn.0043a770
add esp, 8
mov byte [ebp - 4], 0xf
mov ecx, dword [eax]
mov ebx, dword [edi + 0x48]
sub ebx, 0x10
lea eax, [ecx - 0x10]
mov dword [ebp - 0x444], eax
cmp eax, ebx
je 0x457379
mov eax, dword [ebx + 0xc]
shr eax, 0x1f
test al, al
jne 0x45736d
mov eax, dword [ecx - 0x10]
cmp eax, dword [ebx]
jne 0x45736d
push dword [ebp - 0x444]
call fcn.004220b0
add esp, 4
mov dword [ebp - 0x444], eax
mov byte [ebp - 4], 0x10
lea edx, [ebx + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x457365
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x444]
add eax, 0x10
mov dword [edi + 0x48], eax
jmp 0x457379
push dword [ecx - 0xc]
push ecx
lea ecx, [edi + 0x48]
call fcn.0041be40
mov edx, dword [ebp - 0x430]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x11
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45739a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x424]
add edx, 0xfffffff0
mov dword [ebp - 4], 0x12
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4573bc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x44], 0
je 0x45747e
mov eax, dword [edi + 0x50]
cmp dword [eax - 0xc], 0
je 0x45747e
mov eax, dword [edi + 0x48]
cmp dword [eax - 0xc], 0
je 0x45747e
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45747e
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00527d20
add esp, 8
lea eax, [ebp - 0x420]
push eax
push dword [edi + 0x48]
call fcn.00454b00
test eax, eax
je 0x45747e
mov esi, dword [edi + 0x50]
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.00454c10
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x438]
push eax
push esi
call fcn.00454c10
mov ecx, dword [ebp - 0x428]
mov edx, ecx
mov esi, dword [ebp - 0x444]
sub esi, dword [ebp - 0x430]
sub edx, dword [ebp - 0x438]
cmp ecx, dword [ebp - 0x438]
cmove edx, esi
test edx, edx
jne 0x45747e
mov dword [edi + 0x28], 3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004deaec
mov esp, ebp
pop ebp
ret 0xc
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 0xd
push eax
call fcn.0045e800
add esp, 4
mov byte [ebp - 4], 0xb
test al, al
je 0x45750a
jmp 0x4574f4
lea eax, [ebp - 0x434]
mov byte [ebp - 4], 3
push eax
call fcn.0045e800
add esp, 4
mov byte [ebp - 4], 1
test al, al
je 0x45750a
sub esp, 8
lea eax, [ebp - 0x434]
mov ecx, esp
push eax
call fcn.0041b160
call fcn.0041b220
push 0x80004005
call fcn.0041ad20
sub esp, 8
lea eax, [ebp - 0x42c]
mov ecx, esp
push eax
call fcn.0041b160
call fcn.0041b220
call fcn.0045e988
int3