Function at 0x4035c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4173b0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x41fea0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x14]
push eax
call fcn.00401940
push str.Settings.ini
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
call fcn.00401380
add esp, 0x10
mov edx, dword [ebp - 0x14]
or esi, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 2
mov eax, esi
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40362b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4037f0
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.Frame
call fcn.00401100
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.General_Settings
mov byte [ebp - 4], 3
call fcn.00401100
push ecx
mov ecx, esp
mov byte [ebp - 4], 4
push str.Settings.ini
call fcn.00401100
mov byte [ebp - 4], 2
call fcn.00402630
add esp, 0x10
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.LenPosX
call fcn.00401100
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.General_Settings
mov byte [ebp - 4], 5
call fcn.00401100
push ecx
mov ecx, esp
mov byte [ebp - 4], 6
push str.Settings.ini
call fcn.00401100
mov byte [ebp - 4], 2
call fcn.00402630
add esp, 0x10
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.LenPosY
call fcn.00401100
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.General_Settings
mov byte [ebp - 4], 7
call fcn.00401100
push ecx
mov ecx, esp
mov byte [ebp - 4], 8
push str.Settings.ini
call fcn.00401100
mov byte [ebp - 4], 2
call fcn.00402630
add esp, 0xc
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.LuckyDog
call fcn.00401100
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.Path
mov byte [ebp - 4], 9
call fcn.00401100
push ecx
mov byte [ebp - 4], 0xa
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.Model
call fcn.00401100
push ecx
mov ecx, esp
mov byte [ebp - 4], 0xb
push str.Settings.ini
call fcn.00401100
mov byte [ebp - 4], 2
call fcn.00402900
add esp, 0xc
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x4187c4
call fcn.00401100
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Moc3
mov byte [ebp - 4], 0xc
call fcn.00401100
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.Model
mov byte [ebp - 4], 0xd
call fcn.00401100
push ecx
mov ecx, esp
mov byte [ebp - 4], 0xe
push str.Settings.ini
call fcn.00401100
mov byte [ebp - 4], 2
call fcn.00402900
add esp, 0x10
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.Type
call fcn.00401100
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Model
mov byte [ebp - 4], 0xf
call fcn.00401100
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x10
push str.Settings.ini
call fcn.00401100
mov byte [ebp - 4], 2
call fcn.00402630
add esp, 0x10
push 0x550
push 0
push 0x4213e0
call fcn.00407cb0
add esp, 8
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.Frame
call fcn.00401100
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.General_Settings
mov byte [ebp - 4], 0x11
call fcn.00401100
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x12
push str.Settings.ini
call fcn.00401100
mov byte [ebp - 4], 2
call fcn.00402180
add esp, 8
mov dword [0x4213e8], eax
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.LenPosX
call fcn.00401100
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.General_Settings
mov byte [ebp - 4], 0x13
call fcn.00401100
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x14
push str.Settings.ini
call fcn.00401100
mov byte [ebp - 4], 2
call fcn.00402180
add esp, 8
mov dword [0x4213e0], eax
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.LenPosY
call fcn.00401100
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.General_Settings
mov byte [ebp - 4], 0x15
call fcn.00401100
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x16
push str.Settings.ini
call fcn.00401100
mov byte [ebp - 4], 2
call fcn.00402180
add esp, 8
mov dword [0x4213e4], eax
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.Path
call fcn.00401100
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Model
mov byte [ebp - 4], 0x17
call fcn.00401100
mov byte [ebp - 4], 0x18
push ecx
mov ecx, esp
push str.Settings.ini
call fcn.00401100
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
call fcn.00402380
add esp, 0x10
mov edx, 0x4213ec
mov ecx, dword [eax]
mov edi, edi
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x403920
mov edx, dword [ebp - 0x18]
mov ecx, esi
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40394a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.Moc3
call fcn.00401100
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Model
mov byte [ebp - 4], 0x19
call fcn.00401100
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x1a
push str.Settings.ini
call fcn.00401100
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
call fcn.00402380
add esp, 0x10
mov edx, 0x42146c
mov ecx, dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x403996
mov edx, dword [ebp - 0x18]
mov ecx, esi
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4039c0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.Type
call fcn.00401100
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Model
mov byte [ebp - 4], 0x1b
call fcn.00401100
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x1c
push str.Settings.ini
call fcn.00401100
mov byte [ebp - 4], 2
call fcn.00402180
mov edx, dword [ebp - 0x10]
add esp, 0xc
add edx, 0xfffffff0
mov dword [0x4214ec], eax
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x403a27
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 esi
mov esp, ebp
pop ebp
ret