Function at 0x4224a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x585092
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x5ea00c]
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 0x422502
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.0041fef0
add ebx, 0x64
cmp ebx, edi
je 0x422515
push 0xffffffffffffffff
push 0
push edi
mov ecx, ebx
call fcn.0041fef0
lea eax, [ebp - 0x28]
push str.82010501713242510128132036216363
push eax
call fcn.00444428
mov esi, eax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 1
push str.91447345036756321167665368104529
push eax
call fcn.00444428
push esi
push eax
push ebx
mov byte [ebp - 4], 2
call fcn.00442350
mov eax, dword [ebp - 0x8c]
add esp, 0x1c
cmp eax, 8
jb 0x422567
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.00420100
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 0x42259c
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00420100
call fcn.00445b6f
test al, al
je 0x4225c2
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.00445902
test al, al
je 0x4225ef
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 0x5dfd10
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xc0], 0
mov word [ebp - 0xd0], ax
call fcn.0041fdf0
xor eax, eax
mov byte [ebp - 4], 3
push eax
push 0x5dfd10
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
call fcn.0041fdf0
mov byte [ebp - 4], 4
cmp dword [edi + 0x14], 8
jb 0x42264f
mov edi, dword [edi]
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.00444e80
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.00444d6c
add esp, 0x10
mov esi, eax
lea eax, [ebp - 0x58]
cmp eax, esi
je 0x4226b0
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x422693
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00420100
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.004230d0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4226c9
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00420100
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00442d95
push 0
call fcn.00462b87
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.00445bb4
test al, al
je 0x42273a
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.00445d97
test al, al
je 0x422761
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 0x42279e
mov eax, dword [ecx]
jmp 0x4227a0
mov eax, ecx
mov esi, dword [ebp - 0xe0]
xor edx, edx
push 0xffffffffffffffff
push edx
push esi
mov word [eax], dx
call fcn.0041fef0
push dword [ebp + 8]
mov edi, dword [ebp - 0xd8]
mov ecx, edi
call fcn.00421640
test al, al
je 0x422a1e
cmp dword [ebp - 0xbc], 8
lea eax, [ebp - 0xd0]
mov dword [ebp - 0xe8], 1
cmovae eax, dword [ebp - 0xd0]
push eax
call fcn.00462ab4
add eax, dword [edi]
add esp, 4
cmp eax, ebx
jl 0x42281b
mov eax, dword [ebp - 0xdc]
lea ecx, [ebp - 0x70]
cmp eax, ecx
je 0x4229cb
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.0041fef0
jmp 0x4229cb
lea eax, [ebp - 0xa0]
push esi
push eax
call fcn.00442d95
add esp, 8
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 0x10
jb 0x422837
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004446f7
add esp, 8
lea ecx, [ebp - 0x40]
push eax
call fcn.00422ee0
lea ecx, [ebp - 0x28]
call fcn.0041fb60
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 9
call fcn.00422f70
mov ebx, dword [ebp - 0x30]
test ebx, ebx
jne 0x4228d3
mov edi, dword [ebp - 0xd8]
mov ecx, esi
add edi, 0x64
mov edx, edi
call fcn.00423500
test al, al
je 0x4228cd
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00442d95
add esp, 8
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 0x10
jb 0x42289d
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004446f7
add esp, 8
lea ecx, [ebp - 0x40]
push eax
call fcn.00422ee0
lea ecx, [ebp - 0x28]
call fcn.0041fb60
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 9
call fcn.00422f70
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.00420a50
add esp, 0x10
test eax, eax
jne 0x422a1e
mov eax, dword [ebp - 0xdc]
lea ecx, [ebp - 0x70]
cmp eax, ecx
je 0x42291e
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.0041fef0
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 0x42294f
mov eax, dword [ecx]
jmp 0x422951
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x70]
push edx
push eax
call fcn.0041fef0
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 0x422997
mov eax, dword [ecx]
jmp 0x422999
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x88]
push edx
push eax
call fcn.0041fef0
sub esp, 0x18
mov byte [ebp - 4], 0xd
mov ecx, esp
push esi
call fcn.0041fc00
mov eax, dword [ebp + 8]
mov ecx, edi
push eax
mov byte [ebp - 4], 9
call fcn.00421cd0
cmp dword [ebp - 0xa4], 0x10
lea esi, [ebp - 0xb8]
mov eax, dword [0x5f9a14]
cmovae esi, dword [ebp - 0xb8]
test eax, eax
jne 0x422a07
push 0xac
call fcn.00436b8b
add esp, 4
mov dword [ebp - 0xe4], eax
mov ecx, eax
call fcn.0042dcc0
mov dword [0x5f9a14], eax
push 0
push esi
sub esp, 8
mov ecx, eax
call fcn.0042e9d0
mov esi, 1
jmp 0x422d54
cmp dword [ebp + 0x28], 0
jne 0x422a39
mov ecx, dword [ebp - 0xdc]
push 0x5dfd10
call fcn.0041fda0
jmp 0x422d52
mov ebx, dword [ebp - 0xdc]
cmp dword [ebx + 0x10], 0
jne 0x422af2
mov eax, dword [ebp + 8]
test eax, eax
je 0x422a96
add edi, 0x1c
cmp dword [edi + 0x14], 8
jb 0x422a5b
mov edi, dword [edi]
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.004452fa
add esp, 8
mov ecx, ebx
push eax
call fcn.00422ee0
lea ecx, [ebp - 0x28]
call fcn.0041fb60
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004450ae
add esp, 8
mov byte [ebp - 4], 0xe
jmp 0x422ada
add edi, 4
cmp dword [edi + 0x14], 8
jb 0x422aa1
mov edi, dword [edi]
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.004452fa
add esp, 8
mov ecx, ebx
push eax
call fcn.00422ee0
lea ecx, [ebp - 0x28]
call fcn.0041fb60
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004450ae
add esp, 8
mov byte [ebp - 4], 0xf
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.00423300
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.0041fb60
call fcn.00445902
test al, al
je 0x422b0b
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.00445ddc
test al, al
je 0x422b25
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.00445947
test al, al
je 0x422b4d
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 0x422b5d
mov eax, dword [ebx]
jmp 0x422b5f
mov eax, ebx
push eax
call fcn.00443396
mov esi, dword [ebp - 0xe0]
add esp, 4
cmp dword [esi + 0x14], 8
jb 0x422b78
mov ecx, dword [esi]
jmp 0x422b7a
mov ecx, esi
mov edi, dword [ebp - 0xd8]
add edi, 0x64
cmp dword [edi + 0x14], 8
jb 0x422b8d
mov eax, dword [edi]
jmp 0x422b8f
mov eax, edi
push dword [esi + 0x10]
push ecx
push dword [edi + 0x10]
push eax
call fcn.00420a50
mov ecx, dword [ebp - 0xd8]
add esp, 0x10
push ebx
test eax, eax
je 0x422bc7
push 0
call fcn.00422070
test eax, eax
setne al
mov byte [ebp - 0xd1], al
test al, al
jne 0x422bd7
mov ecx, dword [ebp - 0xd8]
push ebx
push 1
call fcn.00422070
test eax, eax
setne byte [ebp - 0xd1]
cmp dword [ebx + 0x14], 8
jb 0x422be1
mov eax, dword [ebx]
jmp 0x422be3
mov eax, ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x422d2c
cmp byte [ebp - 0xd1], 0
je 0x422d2c
cmp dword [ebp - 0xe8], 0
lea eax, [ebp - 0xb8]
jne 0x422c12
push 2
jmp 0x422c14
push 3
cmp dword [ebp - 0xa4], 0x10
cmovae eax, dword [ebp - 0xb8]
push eax
sub esp, 8
call fcn.004234d0
mov ecx, eax
call fcn.0042e9d0
cmp dword [ebp - 0x30], 0
jne 0x422ce0
lea eax, [ebp - 0xa0]
push esi
push eax
call fcn.00442d95
add esp, 8
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x14], 0x10
jb 0x422c58
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004446f7
add esp, 8
lea ecx, [ebp - 0x40]
push eax
call fcn.00422ee0
lea ecx, [ebp - 0x28]
call fcn.0041fb60
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 9
call fcn.00422f70
cmp dword [ebp - 0x30], 0
jne 0x422ce0
mov edx, edi
mov ecx, esi
call fcn.00423500
test al, al
je 0x422ce0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00442d95
add esp, 8
mov ecx, eax
mov byte [ebp - 4], 0x11
call fcn.00422f60
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004446f7
add esp, 8
lea ecx, [ebp - 0x40]
push eax
call fcn.00422ee0
lea ecx, [ebp - 0x28]
call fcn.0041fb60
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 9
call fcn.00422f70
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xe4], esp
push ebx
call fcn.0041fc00
sub esp, 0x18
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x40]
mov dword [ebp - 0xe8], esp
mov ecx, esp
push eax
call fcn.0041fc00
sub esp, 0x18
mov byte [ebp - 4], 0x13
mov ecx, esp
push esi
call fcn.0041fc00
push dword [ebp + 8]
mov ecx, dword [ebp - 0xd8]
mov byte [ebp - 4], 9
call fcn.00421cd0
jmp 0x422d52
cmp dword [ebp - 0xa4], 0x10
lea eax, [ebp - 0xb8]
push 1
cmovae eax, dword [ebp - 0xb8]
push eax
sub esp, 8
call fcn.004234d0
mov ecx, eax
call fcn.0042e9d0
xor esi, esi
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x422d69
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00420100
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 0x422d98
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00420100
xor eax, eax
mov dword [ebp - 0x74], 7
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
call fcn.00422f70
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x422dcf
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00420100
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 0x422df8
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00420100
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 0x422e2a
inc eax
lea ecx, [ebp - 0xd0]
push eax
push dword [ebp - 0xd0]
call fcn.00420100
xor eax, eax
mov dword [ebp - 0xbc], 7
lea ecx, [ebp + 0xc]
mov dword [ebp - 0xc0], 0
mov word [ebp - 0xd0], ax
call fcn.0041fb60
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.00436912
mov esp, ebp
pop ebp
ret 0x24