Function at 0x422f60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x575f92
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x5d8034]
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 esi, ecx
mov dword [ebp - 0xd8], esi
mov edi, dword [ebp + 0x24]
lea ebx, [esi + 0x4c]
mov dword [ebp - 4], 0
lea eax, [ebp + 0xc]
cmp ebx, eax
je 0x422fb6
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.00420c50
lea ecx, [esi + 0x64]
cmp ecx, ebx
je 0x422fc7
push 0xffffffffffffffff
push 0
push ebx
call fcn.00420c50
lea eax, [ebp - 0x28]
push str.31587605202944075528582630607070
push eax
call fcn.0043c784
mov esi, eax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 1
push str.23167055046756381267661768492526
push eax
call fcn.0043c784
push esi
mov esi, dword [ebp - 0xd8]
push eax
add esi, 0x64
mov byte [ebp - 4], 2
push esi
call fcn.00439838
mov eax, dword [ebp - 0x8c]
add esp, 0x1c
cmp eax, 8
jb 0x423022
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.00421270
xor eax, eax
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x90], 0
cmp eax, 8
jb 0x423057
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00421270
xor eax, eax
mov dword [ebp - 0xbc], 7
push eax
push 0x5d00ec
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xc0], 0
mov word [ebp - 0xd0], ax
call fcn.00420b50
xor eax, eax
mov byte [ebp - 4], 3
push eax
push 0x5d00ec
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
call fcn.00420b50
mov byte [ebp - 4], 4
cmp dword [ebx + 0x14], 8
jb 0x4230b9
mov eax, dword [ebx]
jmp 0x4230bb
mov eax, ebx
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00441ad8
mov byte [ebp - 4], 5
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
cmovae eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00441a6e
add esp, 0x10
mov dword [ebp - 0xdc], eax
lea ecx, [ebp - 0x58]
cmp ecx, eax
je 0x423122
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x423100
inc eax
push eax
push dword [ebp - 0x58]
call fcn.00421270
push dword [ebp - 0xdc]
xor eax, eax
mov dword [ebp - 0x44], 7
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.00420d70
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x42313b
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00421270
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00439d81
push 0
call fcn.00452686
mov dword [ebp - 0xe0], eax
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], ax
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x88]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x4231c7
mov eax, dword [ecx]
jmp 0x4231c9
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
push edx
push ebx
mov word [eax], dx
call fcn.00420c50
push dword [ebp + 8]
mov ecx, dword [ebp - 0xd8]
call fcn.00422490
test al, al
je 0x423430
cmp dword [ebp - 0xbc], 8
lea eax, [ebp - 0xd0]
mov dword [ebp - 0xdc], 1
cmovae eax, dword [ebp - 0xd0]
push eax
call fcn.0045366a
mov ecx, dword [ebp - 0xd8]
add esp, 4
add eax, dword [ecx]
cmp eax, dword [ebp - 0xe0]
jl 0x423240
lea eax, [ebp - 0x70]
cmp edi, eax
je 0x4233dd
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.00420c50
jmp 0x4233dd
lea eax, [ebp - 0xa0]
push ebx
push eax
call fcn.00439d81
add esp, 8
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 0x10
jb 0x42325c
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00441553
add esp, 8
lea ecx, [ebp - 0x40]
push eax
call fcn.004207b0
lea ecx, [ebp - 0x28]
call fcn.00420770
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 9
call fcn.004208d0
cmp dword [ebp - 0x30], 0
jne 0x4232e5
mov edx, esi
mov ecx, ebx
call fcn.00423c70
test al, al
je 0x4232e5
lea eax, [ebp - 0xa0]
push esi
push eax
call fcn.00439d81
add esp, 8
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 0x10
jb 0x4232b8
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00441553
add esp, 8
lea ecx, [ebp - 0x40]
push eax
call fcn.004207b0
lea ecx, [ebp - 0x28]
call fcn.00420770
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 9
call fcn.004208d0
cmp dword [ebp - 0x74], 8
lea ecx, [ebp - 0x88]
push dword [ebp - 0x78]
cmovae ecx, dword [ebp - 0x88]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push dword [ebp - 0x30]
push eax
call fcn.00421ac0
add esp, 0x10
test eax, eax
jne 0x423430
lea eax, [ebp - 0x70]
cmp edi, eax
je 0x42332c
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.00420c50
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xe4], esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x42335d
mov eax, dword [ecx]
jmp 0x42335f
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x70]
push edx
push eax
call fcn.00420c50
sub esp, 0x18
mov byte [ebp - 4], 0xc
mov ecx, esp
mov dword [ebp - 0xe0], esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x4233a5
mov eax, dword [ecx]
jmp 0x4233a7
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x88]
push edx
push eax
call fcn.00420c50
sub esp, 0x18
mov byte [ebp - 4], 0xd
mov ecx, esp
push ebx
call fcn.00420890
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xd8]
push eax
mov byte [ebp - 4], 9
call fcn.00422940
cmp dword [ebp - 0xa4], 0x10
lea esi, [ebp - 0xb8]
mov eax, dword [0x5e7448]
cmovae esi, dword [ebp - 0xb8]
test eax, eax
jne 0x423419
push 0xac
call fcn.004342aa
add esp, 4
mov dword [ebp - 0xe4], eax
mov ecx, eax
call fcn.00429320
mov dword [0x5e7448], eax
push 0
push esi
sub esp, 8
mov ecx, eax
call fcn.00429ca0
mov esi, 1
jmp 0x4236f2
cmp dword [ebp + 0x28], 0
jne 0x423447
push 0x5d00ec
mov ecx, edi
call fcn.00420b00
jmp 0x4236f0
cmp dword [edi + 0x10], 0
jne 0x423500
mov eax, dword [ebp + 8]
test eax, eax
mov eax, dword [ebp - 0xd8]
je 0x4234a4
add eax, 0x1c
cmp dword [eax + 0x14], 8
jb 0x423469
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00441ce5
add esp, 8
mov ecx, edi
push eax
call fcn.004207b0
lea ecx, [ebp - 0x28]
call fcn.00420770
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00441bb3
add esp, 8
mov byte [ebp - 4], 0xe
jmp 0x4234e8
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x4234af
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00441ce5
add esp, 8
mov ecx, edi
push eax
call fcn.004207b0
lea ecx, [ebp - 0x28]
call fcn.00420770
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00441bb3
add esp, 8
mov byte [ebp - 4], 0xf
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.00423aa0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.00420770
cmp dword [edi + 0x14], 8
jb 0x42350a
mov eax, dword [edi]
jmp 0x42350c
mov eax, edi
push eax
call fcn.0043be2d
add esp, 4
cmp dword [ebx + 0x14], 8
jb 0x42351f
mov ecx, dword [ebx]
jmp 0x423521
mov ecx, ebx
cmp dword [esi + 0x14], 8
jb 0x42352b
mov eax, dword [esi]
jmp 0x42352d
mov eax, esi
push dword [ebx + 0x10]
push ecx
push dword [esi + 0x10]
push eax
call fcn.00421ac0
mov ecx, dword [ebp - 0xd8]
add esp, 0x10
push edi
test eax, eax
je 0x423565
push 0
call fcn.00422c30
test eax, eax
setne al
mov byte [ebp - 0xd1], al
test al, al
jne 0x423575
mov ecx, dword [ebp - 0xd8]
push edi
push 1
call fcn.00422c30
test eax, eax
setne byte [ebp - 0xd1]
cmp dword [edi + 0x14], 8
jb 0x42357f
mov eax, dword [edi]
jmp 0x423581
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4236ca
cmp byte [ebp - 0xd1], 0
je 0x4236ca
cmp dword [ebp - 0xdc], 0
lea eax, [ebp - 0xb8]
jne 0x4235b0
push 2
jmp 0x4235b2
push 3
cmp dword [ebp - 0xa4], 0x10
cmovae eax, dword [ebp - 0xb8]
push eax
sub esp, 8
call fcn.004219e0
mov ecx, eax
call fcn.00429ca0
cmp dword [ebp - 0x30], 0
jne 0x42367e
lea eax, [ebp - 0xa0]
push ebx
push eax
call fcn.00439d81
add esp, 8
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x14], 0x10
jb 0x4235f6
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00441553
add esp, 8
lea ecx, [ebp - 0x40]
push eax
call fcn.004207b0
lea ecx, [ebp - 0x28]
call fcn.00420770
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 9
call fcn.004208d0
cmp dword [ebp - 0x30], 0
jne 0x42367e
mov edx, esi
mov ecx, ebx
call fcn.00423c70
test al, al
je 0x42367e
lea eax, [ebp - 0xa0]
push esi
push eax
call fcn.00439d81
add esp, 8
mov ecx, eax
mov byte [ebp - 4], 0x11
call fcn.004208c0
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00441553
add esp, 8
lea ecx, [ebp - 0x40]
push eax
call fcn.004207b0
lea ecx, [ebp - 0x28]
call fcn.00420770
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 9
call fcn.004208d0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xe4], esp
push edi
call fcn.00420890
sub esp, 0x18
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x40]
mov dword [ebp - 0xe0], esp
mov ecx, esp
push eax
call fcn.00420890
sub esp, 0x18
mov byte [ebp - 4], 0x13
mov ecx, esp
push ebx
call fcn.00420890
push dword [ebp + 8]
mov ecx, dword [ebp - 0xd8]
mov byte [ebp - 4], 9
call fcn.00422940
jmp 0x4236f0
cmp dword [ebp - 0xa4], 0x10
lea eax, [ebp - 0xb8]
push 1
cmovae eax, dword [ebp - 0xb8]
push eax
sub esp, 8
call fcn.004219e0
mov ecx, eax
call fcn.00429ca0
xor esi, esi
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x423707
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00421270
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x423736
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00421270
xor eax, eax
mov dword [ebp - 0x74], 7
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
call fcn.004208d0
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x42376d
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00421270
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x48], 0
cmp eax, 8
jb 0x423796
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00421270
xor eax, eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x60], 0
cmp eax, 8
jb 0x4237c8
inc eax
lea ecx, [ebp - 0xd0]
push eax
push dword [ebp - 0xd0]
call fcn.00421270
xor eax, eax
mov dword [ebp - 0xbc], 7
lea ecx, [ebp + 0xc]
mov dword [ebp - 0xc0], 0
mov word [ebp - 0xd0], ax
call fcn.00420770
mov eax, esi
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.00434294
mov esp, ebp
pop ebp
ret 0x24