Function at 0x426250
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5391be
mov eax, dword fs:[0]
push eax
sub esp, 0x874
mov eax, dword [0x5925f0]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x878], ecx
push 0xe
mov ecx, dword [0x594280]
call fcn.0042bd00
mov ecx, eax
call fcn.0048c8b0
push eax
push 0xd
mov ecx, dword [0x594280]
call fcn.0042bd00
mov ecx, eax
call fcn.0048c970
push 0xf
mov ecx, dword [0x594280]
call fcn.0042bd00
mov ecx, eax
call fcn.0048c8b0
push eax
push 0
mov ecx, dword [0x594280]
call fcn.0042bd00
mov ecx, eax
call fcn.0048c970
push 0x24
mov ecx, dword [0x594280]
call fcn.0042bd00
mov ecx, eax
call fcn.0048c8b0
push eax
push 0x25
mov ecx, dword [0x594280]
call fcn.0042bd00
mov ecx, eax
call fcn.0048c970
mov dword [ebp - 0x640], 0xffffffff
push 0x54a670
lea ecx, [ebp - 0x14]
call fcn.0040a500
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x878]
add ecx, 0x278
call fcn.00427150
mov dword [ebp - 0x640], eax
cmp dword [ebp - 0x640], 0xffffffff
jne 0x426350
lea eax, [ebp - 0x14]
push eax
push 0x410
mov ecx, dword [ebp - 0x878]
call fcn.004afe79
jmp 0x42636c
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x640]
push edx
mov ecx, dword [ebp - 0x878]
add ecx, 0x278
call fcn.004b69fe
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.00410270
push eax
push 1
mov ecx, dword [0x594280]
call fcn.0042bd00
mov ecx, eax
call fcn.0048c990
mov ecx, dword [ebp - 0x878]
add ecx, 0x2cc
call fcn.00427150
mov dword [ebp - 0x640], eax
cmp dword [ebp - 0x640], 0xffffffff
jne 0x4263c1
lea eax, [ebp - 0x14]
push eax
push 0x40f
mov ecx, dword [ebp - 0x878]
call fcn.004afe79
jmp 0x4263dd
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x640]
push edx
mov ecx, dword [ebp - 0x878]
add ecx, 0x2cc
call fcn.004b69fe
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.00410270
push eax
push 0
mov ecx, dword [0x594280]
call fcn.0042bd00
mov ecx, eax
call fcn.0048c990
lea eax, [ebp - 0x648]
push eax
mov ecx, dword [ebp - 0x878]
mov ecx, dword [ecx + 0x560]
call fcn.0041b7e0
jmp 0x42642a
push 0
lea edx, [ebp - 0x86c]
push edx
lea ecx, [ebp - 0x648]
call fcn.00465fd0
lea eax, [ebp - 0x874]
push eax
mov ecx, dword [ebp - 0x878]
mov ecx, dword [ecx + 0x560]
call fcn.00447aa0
push eax
lea ecx, [ebp - 0x648]
call fcn.00447a30
movzx edx, al
test edx, edx
je 0x4264a8
lea ecx, [ebp - 0x648]
call fcn.00485bf0
mov eax, dword [eax]
mov dword [ebp - 0x64c], eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x64c]
mov edx, dword [ecx + 0xc]
push edx
mov ecx, dword [0x594280]
call fcn.0042bd00
mov ecx, eax
call fcn.0048c8d0
push eax
mov eax, dword [ebp - 0x64c]
mov ecx, dword [eax + 8]
push ecx
mov ecx, dword [0x594280]
call fcn.0042bd00
mov ecx, eax
call fcn.0048c990
jmp 0x426416
push 0x515
mov ecx, dword [ebp - 0x878]
call fcn.004b0c18
mov ecx, eax
call fcn.00410210
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4264fe
push 0
push 0x11
mov ecx, dword [0x594280]
call fcn.0042bd00
mov ecx, eax
call fcn.0048c950
push 0xffffffffffffffff
push 0x54a674
push 2
mov ecx, dword [0x594280]
call fcn.0042bd00
mov ecx, eax
call fcn.0048c990
jmp 0x42660b
mov ecx, dword [0x594280]
call fcn.0042bd00
mov ecx, eax
call fcn.0048cb00
mov dword [ebp - 0x650], eax
mov ecx, dword [ebp - 0x650]
call fcn.0041ba40
mov dword [ebp - 0x654], eax
cmp dword [ebp - 0x654], 0
jne 0x426566
push 0
push 0x11
mov ecx, dword [0x594280]
call fcn.0042bd00
mov ecx, eax
call fcn.0048c950
push 0xffffffffffffffff
push 0x54a684
push 2
mov ecx, dword [0x594280]
call fcn.0042bd00
mov ecx, eax
call fcn.0048c990
jmp 0x42660b
mov ecx, dword [ebp - 0x878]
add ecx, 0x17c
call fcn.00427150
mov dword [ebp - 0x658], eax
mov dword [ebp - 0x65c], 0
mov edx, dword [ebp - 0x658]
cmp edx, dword [ebp - 0x654]
jl 0x4265b9
mov eax, dword [ebp - 0x654]
sub eax, 1
push eax
mov ecx, dword [ebp - 0x650]
call fcn.00426fd0
mov ecx, eax
call fcn.004017c0
mov dword [ebp - 0x65c], eax
jmp 0x4265d8
mov ecx, dword [ebp - 0x658]
push ecx
mov ecx, dword [ebp - 0x650]
call fcn.00426fd0
mov ecx, eax
call fcn.004017c0
mov dword [ebp - 0x65c], eax
push 1
push 0x11
mov ecx, dword [0x594280]
call fcn.0042bd00
mov ecx, eax
call fcn.0048c950
push 0xffffffffffffffff
mov edx, dword [ebp - 0x65c]
push edx
push 2
mov ecx, dword [0x594280]
call fcn.0042bd00
mov ecx, eax
call fcn.0048c990
mov word [ebp - 0x63c], 0
push 0x206
push 0
lea eax, [ebp - 0x63a]
push eax
call fcn.004caa30
add esp, 0xc
mov word [ebp - 0x434], 0
push 0x206
push 0
lea ecx, [ebp - 0x432]
push ecx
call fcn.004caa30
add esp, 0xc
mov word [ebp - 0x22c], 0
push 0x206
push 0
lea edx, [ebp - 0x22a]
push edx
call fcn.004caa30
add esp, 0xc
mov ecx, dword [0x594280]
call fcn.0042bca0
mov ecx, eax
call fcn.0042b200
push eax
push 0x54a694
lea eax, [ebp - 0x63c]
push eax
call fcn.004cb62b
add esp, 0xc
mov ecx, dword [0x594280]
call fcn.0042bca0
mov ecx, eax
call fcn.0042b1c0
push eax
push 0x54a69c
lea ecx, [ebp - 0x434]
push ecx
call fcn.004cb62b
add esp, 0xc
lea edx, [ebp - 0x434]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x426780
mov ecx, dword [0x594280]
call fcn.0042bcc0
mov dword [ebp - 0x87c], eax
lea eax, [ebp - 0x63c]
push eax
mov ecx, dword [ebp - 0x87c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x87c]
mov eax, dword [edx + 0x2c]
call eax
mov word [ebp - 0x864], 0
push 0x206
push 0
lea ecx, [ebp - 0x862]
push ecx
call fcn.004caa30
add esp, 0xc
mov ecx, dword [0x594280]
call fcn.0042bca0
mov ecx, eax
call fcn.0042b1c0
push eax
push 0x54a6c4
lea edx, [ebp - 0x864]
push edx
call fcn.004cb62b
add esp, 0xc
lea eax, [ebp - 0x63c]
push eax
lea ecx, [ebp - 0x864]
push ecx
mov ecx, dword [ebp - 0x878]
call fcn.00426910
mov ecx, dword [0x594280]
call fcn.0042bcc0
mov dword [ebp - 0x880], eax
lea edx, [ebp - 0x864]
push edx
mov eax, dword [ebp - 0x880]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x880]
mov eax, dword [edx + 0x2c]
call eax
push 0x31
mov ecx, dword [0x594280]
call fcn.0042bd00
mov ecx, eax
call fcn.0048c7f0
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
push 0x31
mov ecx, dword [0x594280]
call fcn.0042bd00
mov ecx, eax
call fcn.0048c970
mov ecx, dword [0x594280]
call fcn.0042bca0
mov ecx, eax
call fcn.0042b240
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
push 0x54a6dc
push 0x54a6e0
push 0x54a704
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 0x10]
push ecx
push 0x54a718
push 0x54a71c
push 0x54a73c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, dword [ebp - 0x10]
push edx
push 0x54a750
push 0x54a754
push 0x54a780
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [ebp - 0x10]
push eax
push 0x54a794
push 0x54a798
push 0x54a7c0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 0x878]
call fcn.0041f800
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0043b550
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.004ca9d7
mov esp, ebp
pop ebp
ret