Function at 0x424ac0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4fbb46
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52e028]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
lea ecx, [esp + 0x18]
call dword [0x4fff58]
xor edi, edi
mov dword [esp + 0x34], edi
mov esi, dword [0x4ffacc]
push edi
push str.ListHead
lea eax, [esp + 0x20]
push str._s__d
push eax
call esi
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x24]
push ecx
push edx
mov dword [esp + 0x2c], edi
call fcn.004631b0
mov eax, dword [esp + 0x2c]
add esp, 0x18
cmp eax, edi
jne 0x424b36
mov eax, 0x96
mov dword [esp + 0x14], eax
or ebx, 0xffffffff
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], ebx
lea ecx, [esp + 0x18]
call dword [0x4fff34]
mov eax, dword [esp + 0x28]
mov ebp, dword [esp + 0x3c]
push ebx
push eax
push edi
push 0x500820
push 0x500820
push 0x500820
push 0x5043b0
add ebp, 0x22c
call fcn.004ef0c6
push eax
push edi
mov ecx, ebp
call fcn.004ef342
lea ecx, [esp + 0x14]
call dword [0x4fff58]
mov dword [esp + 0x34], 1
push 1
push str.ListHead
lea ecx, [esp + 0x1c]
push str._s__d
push ecx
call esi
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x28]
push edx
push eax
mov dword [esp + 0x30], edi
call fcn.004631b0
mov eax, dword [esp + 0x30]
add esp, 0x18
cmp eax, edi
jne 0x424bca
mov eax, 0x10e
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], ebx
lea ecx, [esp + 0x14]
call dword [0x4fff34]
mov ecx, dword [esp + 0x28]
push ebx
push ecx
push edi
push 0x500820
push 0x500820
push 0x500820
push str.3701019
call fcn.004ef0c6
push eax
push 1
mov ecx, ebp
call fcn.004ef342
lea ecx, [esp + 0x14]
call dword [0x4fff58]
mov dword [esp + 0x34], 2
push 2
push str.ListHead
lea edx, [esp + 0x1c]
push str._s__d
push edx
call esi
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x28]
push eax
push ecx
mov dword [esp + 0x30], edi
call fcn.004631b0
mov eax, dword [esp + 0x30]
add esp, 0x18
cmp eax, edi
jne 0x424c52
mov eax, 0x50
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], ebx
lea ecx, [esp + 0x14]
call dword [0x4fff34]
mov edx, dword [esp + 0x28]
push ebx
push edx
push 1
push 0x500820
push 0x500820
push 0x500820
push str.3701020
call fcn.004ef0c6
push eax
push 2
mov ecx, ebp
call fcn.004ef342
lea ecx, [esp + 0x14]
call dword [0x4fff58]
mov dword [esp + 0x34], 3
push 3
push str.ListHead
lea eax, [esp + 0x1c]
push str._s__d
push eax
call esi
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x28]
push ecx
push edx
mov dword [esp + 0x30], edi
call fcn.004631b0
mov eax, dword [esp + 0x30]
add esp, 0x18
cmp eax, edi
jne 0x424cdb
mov eax, 0x6e
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], ebx
lea ecx, [esp + 0x14]
call dword [0x4fff34]
mov eax, dword [esp + 0x28]
push ebx
push eax
push edi
push 0x500820
push 0x500820
push 0x500820
push str.3701021
call fcn.004ef0c6
push eax
push 3
mov ecx, ebp
call fcn.004ef342
lea ecx, [esp + 0x14]
call dword [0x4fff58]
mov dword [esp + 0x34], 4
push 4
push str.ListHead
lea ecx, [esp + 0x1c]
push str._s__d
push ecx
call esi
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x28]
push edx
push eax
mov dword [esp + 0x30], edi
call fcn.004631b0
mov esi, dword [esp + 0x30]
add esp, 0x18
cmp esi, edi
jne 0x424d63
mov esi, 0x6e
mov dword [esp + 0x18], esi
mov dword [esp + 0x34], ebx
lea ecx, [esp + 0x14]
call dword [0x4fff34]
push ebx
push esi
push edi
push 0x500820
push 0x500820
push 0x500820
push str.3703005
call fcn.004ef0c6
push eax
push 4
mov ecx, ebp
call fcn.004ef342
mov ecx, ebp
call fcn.004ef894
mov edx, dword [esp + 0x3c]
push 0x5043b0
push ecx
lea ecx, [esp + 0x30]
push ecx
add edx, 0x124
mov esi, eax
push edx
mov dword [esp + 0x38], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call fcn.0044a3e0
push eax
lea ebx, [esp + 0x24]
call fcn.0044a4f0
add esp, 4
mov ecx, eax
call dword [0x4fff04]
push edi
mov edi, 0x5043b0
call fcn.00449f10
mov ecx, ebp
call fcn.004ef894
push str.3701019
push ecx
mov ecx, dword [esp + 0x44]
mov esi, eax
lea eax, [esp + 0x30]
push eax
add ecx, 0x124
push ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], 0
call fcn.0044a3e0
push eax
lea ebx, [esp + 0x24]
call fcn.0044a4f0
add esp, 4
mov ecx, eax
call dword [0x4fff04]
push 1
mov edi, str.3701019
call fcn.00449f10
mov ecx, ebp
call fcn.004ef894
push str.3701020
mov esi, eax
mov eax, dword [esp + 0x40]
push ecx
lea edx, [esp + 0x30]
push edx
add eax, 0x124
push eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x28], 2
mov dword [esp + 0x2c], 0
call fcn.0044a3e0
push eax
lea ebx, [esp + 0x24]
call fcn.0044a4f0
add esp, 4
mov ecx, eax
call dword [0x4fff04]
push 2
mov edi, str.3701020
call fcn.00449f10
mov ecx, ebp
call fcn.004ef894
mov edx, dword [esp + 0x3c]
push str.3701021
push ecx
lea ecx, [esp + 0x30]
push ecx
add edx, 0x124
mov esi, eax
push edx
mov dword [esp + 0x38], esi
mov dword [esp + 0x28], 3
mov dword [esp + 0x2c], 0
call fcn.0044a3e0
push eax
lea ebx, [esp + 0x24]
call fcn.0044a4f0
add esp, 4
mov ecx, eax
call dword [0x4fff04]
push 3
mov edi, str.3701021
call fcn.00449f10
mov ecx, ebp
call fcn.004ef894
mov ebp, dword [esp + 0x3c]
push str.3703005
mov esi, eax
push ecx
lea eax, [esp + 0x30]
push eax
lea ecx, [ebp + 0x124]
push ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x28], 4
mov dword [esp + 0x2c], 0
call fcn.0044a3e0
push eax
lea ebx, [esp + 0x24]
call fcn.0044a4f0
add esp, 4
mov ecx, eax
call dword [0x4fff04]
push 4
mov edi, str.3703005
call fcn.00449f10
lea ecx, [esp + 0x24]
call dword [0x4fff58]
mov dword [esp + 0x34], 5
lea esi, [esp + 0x24]
call fcn.0041d930
mov eax, dword [esp + 0x24]
push eax
mov esi, eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x424f96
lea edi, [ebp + 0x8544]
push edi
mov ecx, esi
call fcn.0040d8b0
test eax, eax
je 0x424f96
mov edx, dword [edi + 0x10]
sub edx, dword [edi + 0xc]
sar edx, 2
cmp edx, 6
jae 0x424f9c
push ebp
call fcn.00426d80
mov dword [esp + 0x34], 0xffffffff
lea ecx, [esp + 0x24]
call dword [0x4fff34]
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4