Function at 0x420a20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x578602
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x5db008]
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 ebx, ecx
mov dword [ebp - 0xd8], ebx
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xdc], eax
lea edi, [ebx + 0x4c]
mov dword [ebp - 4], 0
lea eax, [ebp + 0xc]
mov dword [ebp - 0xe0], edi
cmp edi, eax
je 0x420a82
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.004218f0
add ebx, 0x64
cmp ebx, edi
je 0x420a95
push 0xffffffffffffffff
push 0
push edi
mov ecx, ebx
call fcn.004218f0
lea eax, [ebp - 0x28]
push str.96396363036758401159294368450808
push eax
call fcn.0043911d
mov esi, eax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 1
push str.81456726055409131754394945636138
push eax
call fcn.0043911d
push esi
push eax
push ebx
mov byte [ebp - 4], 2
call fcn.00436fae
mov eax, dword [ebp - 0x8c]
add esp, 0x1c
cmp eax, 8
jb 0x420ae7
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.00421b10
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 0x420b1c
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00421b10
call fcn.0043a864
test al, al
je 0x420b42
push edx
push esp
push edi
pop ecx
push esi
pop ebx
pop ebp
push edx
pop ecx
push edx
push eax
pop ecx
pop edx
push edx
pop ecx
push ebx
pop esi
pop ebx
push edx
pop edx
push esi
pop esi
pop eax
pop ebx
pop edx
push ebp
push esp
push eax
push edi
call fcn.0043a5f7
test al, al
je 0x420b6f
pop edx
pop edi
push esp
pop ebx
pop ecx
pop esp
push ecx
pop ebp
pop edx
push ecx
push ecx
push edi
push ebp
push ecx
push edi
push edx
pop esp
pop esp
push edi
pop ebx
push ecx
push ebp
push ebp
pop edi
pop ebx
pop eax
pop edi
push ecx
pop ebp
pop edi
mov edi, dword [ebp - 0xe0]
xor eax, eax
mov dword [ebp - 0xbc], 7
push eax
push 0x5d31f4
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xc0], 0
mov word [ebp - 0xd0], ax
call fcn.004217f0
xor eax, eax
mov byte [ebp - 4], 3
push eax
push 0x5d31f4
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
call fcn.004217f0
mov byte [ebp - 4], 4
cmp dword [edi + 0x14], 8
jb 0x420bcf
mov edi, dword [edi]
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.00439b75
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.00439a61
add esp, 0x10
mov esi, eax
lea eax, [ebp - 0x58]
cmp eax, esi
je 0x420c30
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x420c13
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00421b10
xor eax, eax
mov dword [ebp - 0x44], 7
push esi
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.00421a10
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x420c49
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00421b10
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.004379f3
push 0
call fcn.00455f92
mov ebx, eax
mov dword [ebp - 0x74], 7
xor eax, eax
mov dword [ebp - 0xe4], ebx
add esp, 0xc
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 byte [ebp - 4], 9
mov dword [ebp - 0xe8], eax
call fcn.0043a8a9
test al, al
je 0x420cba
push ebp
push ebx
pop ebx
pop ebx
push ebx
push edi
pop eax
push esp
push edi
push esp
push ebx
push esp
pop eax
pop edi
push ebp
pop edi
pop esp
mov ebx, dword [ebp - 0xe4]
call fcn.0043aa8c
test al, al
je 0x420ce1
pop edx
push ecx
pop edi
push eax
pop esp
pop ecx
push ecx
push edx
push ebp
push eax
push esp
pop esi
push ecx
push edi
push ebp
pop edi
push esi
push esp
pop ebp
push edx
pop edi
pop esi
pop edx
pop ecx
pop edi
push edi
push eax
pop edx
push edx
pop esp
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0xd0]
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 0x420d1e
mov eax, dword [ecx]
jmp 0x420d20
mov eax, ecx
mov esi, dword [ebp - 0xe0]
xor edx, edx
push 0xffffffffffffffff
push edx
push esi
mov word [eax], dx
call fcn.004218f0
push dword [ebp + 8]
mov edi, dword [ebp - 0xd8]
mov ecx, edi
call fcn.0041fbc0
test al, al
je 0x420f9e
cmp dword [ebp - 0xbc], 8
lea eax, [ebp - 0xd0]
mov dword [ebp - 0xe8], 1
cmovae eax, dword [ebp - 0xd0]
push eax
call fcn.00455ebf
add eax, dword [edi]
add esp, 4
cmp eax, ebx
jl 0x420d9b
mov eax, dword [ebp - 0xdc]
lea ecx, [ebp - 0x70]
cmp eax, ecx
je 0x420f4b
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.004218f0
jmp 0x420f4b
lea eax, [ebp - 0xa0]
push esi
push eax
call fcn.004379f3
add esp, 8
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 0x10
jb 0x420db7
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004393ec
add esp, 8
lea ecx, [ebp - 0x40]
push eax
call fcn.00421500
lea ecx, [ebp - 0x28]
call fcn.004214c0
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 9
call fcn.00421620
mov ebx, dword [ebp - 0x30]
test ebx, ebx
jne 0x420e53
mov edi, dword [ebp - 0xd8]
mov ecx, esi
add edi, 0x64
mov edx, edi
call fcn.00422210
test al, al
je 0x420e4d
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004379f3
add esp, 8
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 0x10
jb 0x420e1d
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004393ec
add esp, 8
lea ecx, [ebp - 0x40]
push eax
call fcn.00421500
lea ecx, [ebp - 0x28]
call fcn.004214c0
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 9
call fcn.00421620
mov ebx, dword [ebp - 0x30]
mov edi, dword [ebp - 0xd8]
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 ebx
push eax
call fcn.00422270
add esp, 0x10
test eax, eax
jne 0x420f9e
mov eax, dword [ebp - 0xdc]
lea ecx, [ebp - 0x70]
cmp eax, ecx
je 0x420e9e
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.004218f0
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 0x420ecf
mov eax, dword [ecx]
jmp 0x420ed1
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x70]
push edx
push eax
call fcn.004218f0
sub esp, 0x18
mov byte [ebp - 4], 0xc
mov ecx, esp
mov dword [ebp - 0xe8], 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 0x420f17
mov eax, dword [ecx]
jmp 0x420f19
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x88]
push edx
push eax
call fcn.004218f0
sub esp, 0x18
mov byte [ebp - 4], 0xd
mov ecx, esp
push esi
call fcn.004215e0
mov eax, dword [ebp + 8]
mov ecx, edi
push eax
mov byte [ebp - 4], 9
call fcn.00420250
cmp dword [ebp - 0xa4], 0x10
lea esi, [ebp - 0xb8]
mov eax, dword [0x5ea398]
cmovae esi, dword [ebp - 0xb8]
test eax, eax
jne 0x420f87
push 0xac
call fcn.0042f729
add esp, 4
mov dword [ebp - 0xe4], eax
mov ecx, eax
call fcn.0042a090
mov dword [0x5ea398], eax
push 0
push esi
sub esp, 8
mov ecx, eax
call fcn.0042a500
mov esi, 1
jmp 0x4212d4
cmp dword [ebp + 0x28], 0
jne 0x420fb9
mov ecx, dword [ebp - 0xdc]
push 0x5d31f4
call fcn.00421450
jmp 0x4212d2
mov ebx, dword [ebp - 0xdc]
cmp dword [ebx + 0x10], 0
jne 0x421072
mov eax, dword [ebp + 8]
test eax, eax
je 0x421016
add edi, 0x1c
cmp dword [edi + 0x14], 8
jb 0x420fdb
mov edi, dword [edi]
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.00439fef
add esp, 8
mov ecx, ebx
push eax
call fcn.00421500
lea ecx, [ebp - 0x28]
call fcn.004214c0
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00439da3
add esp, 8
mov byte [ebp - 4], 0xe
jmp 0x42105a
add edi, 4
cmp dword [edi + 0x14], 8
jb 0x421021
mov edi, dword [edi]
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.00439fef
add esp, 8
mov ecx, ebx
push eax
call fcn.00421500
lea ecx, [ebp - 0x28]
call fcn.004214c0
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00439da3
add esp, 8
mov byte [ebp - 4], 0xf
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.00421e00
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.004214c0
call fcn.0043a5f7
test al, al
je 0x42108b
push ecx
pop esp
pop edx
push edi
push ebx
push edx
pop ebx
push ebp
pop edi
push esp
push esi
push eax
pop eax
push esp
pop ebp
pop esi
call fcn.0043aad1
test al, al
je 0x4210a5
pop eax
pop edi
pop ebp
push ebx
push ebp
push ebp
push eax
pop eax
pop edx
pop ebp
pop ecx
pop edi
push edx
pop ebx
pop ebp
push esi
pop edx
call fcn.0043a63c
test al, al
je 0x4210cd
pop edi
push edx
push eax
push esi
push ecx
push ebx
push ebp
push edx
push eax
push esp
push ebx
pop esp
push ebp
pop esi
push edx
push edi
push ecx
pop ebp
push esp
push ebp
push edx
pop edx
push esp
pop esi
pop esi
pop ebp
pop ebp
pop ebp
pop esi
push ebx
push esp
mov ebx, dword [ebp - 0xdc]
cmp dword [ebx + 0x14], 8
jb 0x4210dd
mov eax, dword [ebx]
jmp 0x4210df
mov eax, ebx
push eax
call fcn.0043801e
mov esi, dword [ebp - 0xe0]
add esp, 4
cmp dword [esi + 0x14], 8
jb 0x4210f8
mov ecx, dword [esi]
jmp 0x4210fa
mov ecx, esi
mov edi, dword [ebp - 0xd8]
add edi, 0x64
cmp dword [edi + 0x14], 8
jb 0x42110d
mov eax, dword [edi]
jmp 0x42110f
mov eax, edi
push dword [esi + 0x10]
push ecx
push dword [edi + 0x10]
push eax
call fcn.00422270
mov ecx, dword [ebp - 0xd8]
add esp, 0x10
push ebx
test eax, eax
je 0x421147
push 0
call fcn.004205f0
test eax, eax
setne al
mov byte [ebp - 0xd1], al
test al, al
jne 0x421157
mov ecx, dword [ebp - 0xd8]
push ebx
push 1
call fcn.004205f0
test eax, eax
setne byte [ebp - 0xd1]
cmp dword [ebx + 0x14], 8
jb 0x421161
mov eax, dword [ebx]
jmp 0x421163
mov eax, ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4212ac
cmp byte [ebp - 0xd1], 0
je 0x4212ac
cmp dword [ebp - 0xe8], 0
lea eax, [ebp - 0xb8]
jne 0x421192
push 2
jmp 0x421194
push 3
cmp dword [ebp - 0xa4], 0x10
cmovae eax, dword [ebp - 0xb8]
push eax
sub esp, 8
call fcn.004221e0
mov ecx, eax
call fcn.0042a500
cmp dword [ebp - 0x30], 0
jne 0x421260
lea eax, [ebp - 0xa0]
push esi
push eax
call fcn.004379f3
add esp, 8
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x14], 0x10
jb 0x4211d8
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004393ec
add esp, 8
lea ecx, [ebp - 0x40]
push eax
call fcn.00421500
lea ecx, [ebp - 0x28]
call fcn.004214c0
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 9
call fcn.00421620
cmp dword [ebp - 0x30], 0
jne 0x421260
mov edx, edi
mov ecx, esi
call fcn.00422210
test al, al
je 0x421260
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004379f3
add esp, 8
mov ecx, eax
mov byte [ebp - 4], 0x11
call fcn.00421610
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004393ec
add esp, 8
lea ecx, [ebp - 0x40]
push eax
call fcn.00421500
lea ecx, [ebp - 0x28]
call fcn.004214c0
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 9
call fcn.00421620
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xe4], esp
push ebx
call fcn.004215e0
sub esp, 0x18
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x40]
mov dword [ebp - 0xe8], esp
mov ecx, esp
push eax
call fcn.004215e0
sub esp, 0x18
mov byte [ebp - 4], 0x13
mov ecx, esp
push esi
call fcn.004215e0
push dword [ebp + 8]
mov ecx, dword [ebp - 0xd8]
mov byte [ebp - 4], 9
call fcn.00420250
jmp 0x4212d2
cmp dword [ebp - 0xa4], 0x10
lea eax, [ebp - 0xb8]
push 1
cmovae eax, dword [ebp - 0xb8]
push eax
sub esp, 8
call fcn.004221e0
mov ecx, eax
call fcn.0042a500
xor esi, esi
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x4212e9
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00421b10
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 0x421318
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00421b10
xor eax, eax
mov dword [ebp - 0x74], 7
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
call fcn.00421620
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x42134f
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00421b10
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 0x421378
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00421b10
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 0x4213aa
inc eax
lea ecx, [ebp - 0xd0]
push eax
push dword [ebp - 0xd0]
call fcn.00421b10
xor eax, eax
mov dword [ebp - 0xbc], 7
lea ecx, [ebp + 0xc]
mov dword [ebp - 0xc0], 0
mov word [ebp - 0xd0], ax
call fcn.004214c0
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.0042f713
mov esp, ebp
pop ebp
ret 0x24