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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51bf03
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [0x55f3a4]
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 0x42ab5b
cmp dword [ebp + 0xc], 0
je 0x42ab5b
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004efd80
mov eax, dword fs:[0x2c]
add esp, 0xc
mov esi, dword [edi + 0x38]
mov ebx, dword [eax]
mov eax, dword [0x56d460]
mov dword [ebp - 0x45c], ebx
cmp eax, dword [ebx + 4]
jle 0x42a525
push 0x56d460
call fcn.004af7b6
add esp, 4
cmp dword [0x56d460], 0xffffffff
jne 0x42a525
push 0x56d460
mov dword [0x56d464], 0
call fcn.004af76c
add esp, 4
xorps xmm0, xmm0
mov byte [ebp - 0x44d], 0
movlpd qword [ebp - 0x42c], xmm0
lea eax, [ebp - 0x42c]
mov dword [ebp - 4], 0
push eax
call fcn.00432a45
mov dword [ebp - 4], 1
lea eax, [ebp - 0x42c]
mov dword [ebp - 0x43c], eax
lea eax, [ebp - 0x44d]
mov dword [ebp - 0x438], eax
lea eax, [ebp - 0x43c]
push eax
push 0x42d1d0
push 0x56d464
call fcn.00432c10
add esp, 0x10
test eax, eax
je 0x42abe9
lea eax, [ebp - 0x42c]
mov dword [ebp - 4], 2
push eax
call fcn.00432a7f
mov eax, dword [0x56d458]
add esp, 4
cmp eax, dword [ebx + 4]
jle 0x42a5da
push 0x56d458
call fcn.004af7b6
add esp, 4
cmp dword [0x56d458], 0xffffffff
jne 0x42a5da
push 0x56d458
mov dword [0x56d45c], 0
call fcn.004af76c
add esp, 4
xorps xmm0, xmm0
mov byte [ebp - 0x44d], 0
movlpd qword [ebp - 0x42c], xmm0
lea eax, [ebp - 0x42c]
mov dword [ebp - 4], 5
push eax
call fcn.00432a45
mov dword [ebp - 4], 6
lea eax, [ebp - 0x42c]
mov dword [ebp - 0x43c], eax
lea eax, [ebp - 0x44d]
mov dword [ebp - 0x438], eax
lea eax, [ebp - 0x43c]
push eax
push 0x42d0c0
push 0x56d45c
call fcn.00432c10
add esp, 0x10
test eax, eax
je 0x42abd0
lea eax, [ebp - 0x42c]
mov dword [ebp - 4], 7
push eax
call fcn.00432a7f
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x218]
push esi
push 0x103
push eax
push 0x547f50
push 0x56c6e4
push 0x56c6f0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
call fcn.00405ae0
mov ecx, eax
test ecx, ecx
je 0x42ac02
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x424]
call fcn.00405cf0
test al, al
jne 0x42a6e3
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a6c1
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x424]
call fcn.00406110
mov dword [ebp - 4], 0xb
mov eax, dword [ebp - 0x424]
mov ebx, dword [edi + 0x4c]
sub ebx, 0x10
lea esi, [eax - 0x10]
cmp esi, ebx
je 0x42a74f
mov ecx, dword [ebx + 0xc]
shr ecx, 0x1f
test cl, cl
jne 0x42a743
mov ecx, dword [esi]
cmp ecx, dword [ebx]
jne 0x42a743
mov ecx, esi
call fcn.00408b20
mov dword [ebp - 0x454], eax
mov byte [ebp - 4], 0xc
lea edx, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42a73b
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x454]
add eax, 0x10
mov dword [edi + 0x4c], eax
jmp 0x42a74f
push dword [esi + 4]
lea ecx, [edi + 0x4c]
push eax
call fcn.00406110
or ebx, 0xffffffff
mov dword [ebp - 4], 0xd
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42a76d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi + 0x48]
cmp dword [eax - 0xc], 0
jne 0x42a9e1
mov esi, dword [ebp - 0x45c]
mov eax, dword [0x56d468]
mov dword [ebp - 0x424], 0
cmp eax, dword [esi + 4]
jle 0x42a7cb
push 0x56d468
call fcn.004af7b6
add esp, 4
cmp dword [0x56d468], 0xffffffff
jne 0x42a7cb
push 0x56d468
mov dword [0x56d46c], 0
call fcn.004af76c
add esp, 4
xorps xmm0, xmm0
mov byte [ebp - 0x44d], 0
movlpd qword [ebp - 0x42c], xmm0
lea eax, [ebp - 0x42c]
mov dword [ebp - 4], 0xe
push eax
call fcn.00432a45
mov dword [ebp - 4], 0xf
lea eax, [ebp - 0x42c]
mov dword [ebp - 0x44c], eax
lea eax, [ebp - 0x44d]
mov dword [ebp - 0x448], eax
lea eax, [ebp - 0x44c]
push eax
push 0x42d270
push 0x56d46c
call fcn.00432c10
add esp, 0x10
test eax, eax
je 0x42ab9a
lea eax, [ebp - 0x42c]
mov dword [ebp - 4], 0x10
push eax
call fcn.00432a7f
push 0x56c6d0
lea edx, [edi + 0x34]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x424]
call fcn.00409da0
add esp, 8
mov dword [ebp - 4], 0x13
mov eax, dword [0x56d470]
cmp eax, dword [esi + 4]
jle 0x42a8a1
push 0x56d470
call fcn.004af7b6
add esp, 4
cmp dword [0x56d470], 0xffffffff
jne 0x42a8a1
push 0x56d470
mov dword [0x56d474], 0
call fcn.004af76c
add esp, 4
xorps xmm0, xmm0
mov byte [ebp - 0x44e], 0
movlpd qword [ebp - 0x434], xmm0
lea eax, [ebp - 0x434]
mov byte [ebp - 4], 0x14
push eax
call fcn.00432a45
lea eax, [ebp - 0x434]
mov dword [ebp - 0x444], eax
lea eax, [ebp - 0x44e]
mov dword [ebp - 0x440], eax
lea eax, [ebp - 0x444]
push eax
push 0x42d320
push 0x56d474
call fcn.00432c10
add esp, 0x10
test eax, eax
je 0x42ab79
lea eax, [ebp - 0x434]
mov byte [ebp - 4], 0x16
push eax
call fcn.00432a7f
push 0x56c680
lea edx, [ebp - 0x424]
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x438]
call fcn.00409da0
add esp, 8
mov byte [ebp - 4], 0x19
lea ecx, [edi + 0x48]
mov edx, dword [eax]
mov esi, dword [ecx]
sub esi, 0x10
lea eax, [edx - 0x10]
mov dword [ebp - 0x454], eax
cmp eax, esi
je 0x42a997
mov eax, dword [esi + 0xc]
shr eax, 0x1f
test al, al
jne 0x42a98e
mov eax, dword [edx - 0x10]
cmp eax, dword [esi]
jne 0x42a98e
mov ecx, dword [ebp - 0x454]
call fcn.00408b20
mov dword [ebp - 0x454], eax
mov byte [ebp - 4], 0x1a
lea edx, [esi + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42a986
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x454]
add eax, 0x10
mov dword [edi + 0x48], eax
jmp 0x42a997
push dword [edx - 0xc]
push edx
call fcn.00406110
mov edx, dword [ebp - 0x438]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x1b
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42a9b8
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], 0x1c
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x42a9da
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 0x42ab5b
mov eax, dword [edi + 0x4c]
cmp dword [eax - 0xc], 0
je 0x42ab5b
mov eax, dword [edi + 0x48]
cmp dword [eax - 0xc], 0
je 0x42ab5b
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42ab5b
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004efd80
add esp, 8
lea eax, [ebp - 0x420]
push eax
push dword [edi + 0x48]
call fcn.00427420
test eax, eax
je 0x42ab5b
mov esi, dword [edi + 0x4c]
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.00427530
lea eax, [ebp - 0x454]
push eax
lea eax, [ebp - 0x458]
push eax
push esi
call fcn.00427530
mov ecx, dword [ebp - 0x424]
mov edx, ecx
mov esi, dword [ebp - 0x438]
sub esi, dword [ebp - 0x454]
sub edx, dword [ebp - 0x458]
cmp ecx, dword [ebp - 0x458]
cmove edx, esi
test edx, edx
jne 0x42ab5b
mov ecx, dword [ebp - 0x45c]
mov eax, dword [0x56d478]
cmp eax, dword [ecx + 4]
jle 0x42aadd
push 0x56d478
call fcn.004af7b6
add esp, 4
cmp dword [0x56d478], 0xffffffff
jne 0x42aadd
push 0x56d478
mov dword [0x56d47c], 0
call fcn.004af76c
add esp, 4
xorps xmm0, xmm0
mov byte [ebp - 0x44e], 0
movlpd qword [ebp - 0x434], xmm0
lea eax, [ebp - 0x434]
mov dword [ebp - 4], 0x1d
push eax
call fcn.00432a45
mov dword [ebp - 4], 0x1e
lea eax, [ebp - 0x434]
mov dword [ebp - 0x444], eax
lea eax, [ebp - 0x44e]
mov dword [ebp - 0x440], eax
lea eax, [ebp - 0x444]
push eax
push 0x42d430
push 0x56d47c
call fcn.00432c10
add esp, 0x10
test eax, eax
je 0x42abb7
lea eax, [ebp - 0x434]
mov dword [ebp - 4], 0x1f
push eax
call fcn.00432a7f
add esp, 4
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.004af60c
mov esp, ebp
pop ebp
ret 0xc
lea eax, [ebp - 0x434]
mov byte [ebp - 4], 0x17
push eax
call fcn.00432aa0
add esp, 4
mov byte [ebp - 4], 0x15
test al, al
je 0x42ac22
jmp 0x42ac0c
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 0x11
push eax
call fcn.00432aa0
add esp, 4
mov byte [ebp - 4], 0xf
test al, al
jne 0x42ac27
jmp 0x42ac22
lea eax, [ebp - 0x434]
mov byte [ebp - 4], 0x20
push eax
call fcn.00432aa0
add esp, 4
mov byte [ebp - 4], 0x1e
jmp 0x42ab90
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 8
push eax
call fcn.00432aa0
add esp, 4
mov byte [ebp - 4], 6
jmp 0x42abb1
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 3
push eax
call fcn.00432aa0
add esp, 4
mov byte [ebp - 4], 1
jmp 0x42abb1
push 0x80004005
call fcn.004060f0
sub esp, 8
lea eax, [ebp - 0x434]
mov ecx, esp
push eax
call fcn.00404e30
call fcn.00404e90
call fcn.00432c28
sub esp, 8
lea eax, [ebp - 0x42c]
mov ecx, esp
push eax
call fcn.00404e30
call fcn.00404e90
int3