Function at 0x427ad8
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x46685d
call fcn.0045bbb8
sub esp, 0x228
push ebx
push esi
mov esi, ecx
push edi
push 0
lea ecx, [ebp - 0x50]
lea eax, [esi + 0x1c]
mov dword [ebp - 0x50], 0x46cb90
push eax
mov dword [ebp - 0x30], 0x46cb88
call fcn.00408cbe
and dword [ebp - 4], 0
cmp byte [esi + 0x71], 0
mov edi, dword [ebp + 8]
je 0x427b11
lea eax, [edi + 0xc]
lea ecx, [ebp - 0x50]
push eax
call fcn.0042a31b
lea eax, [ebp - 0x50]
push 4
push eax
call fcn.00427e12
pop ecx
mov byte [ebp + 0xb], al
pop ecx
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 8]
mov ecx, dword [ecx + 4]
push dword [ecx + esi + 8]
lea ecx, [ebp - 0x234]
push eax
mov eax, dword [esi + 0x6c]
shr eax, 0xe
and al, 1
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00427ee8
lea eax, [ebp - 0x114]
lea ecx, [esi + 0x44]
push eax
mov byte [ebp - 4], 1
call fcn.00417f6e
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 2
push ecx
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.004299db
add esp, 0xc
push eax
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 3
call fcn.00428176
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 6
call fcn.0040be30
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 5
call fcn.0040be30
mov ebx, dword [esi + 0x6c]
mov eax, dword [esi + 0x7c]
shr ebx, 0xe
push eax
lea ecx, [ebp - 0x14]
and bl, 1
call fcn.004298b8
and byte [ebp - 0xf], 0
mov byte [ebp - 0x10], bl
mov ecx, dword [esi + 0x6c]
mov eax, dword [esi + 0x7c]
shr ecx, 0xe
and cl, 1
push 1
mov byte [ebp - 0x18], cl
push dword [ebp - 0x18]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
push eax
call fcn.004287aa
lea eax, [ebp - 0x14]
push 0
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 8
call fcn.00429a54
add esp, 0x10
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 7
test eax, eax
je 0x427c02
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 5
test eax, eax
je 0x427c13
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x6c]
push edi
and eax, 0x331
lea ecx, [ebp - 0x234]
push eax
call fcn.00429e21
test al, al
je 0x427d27
lea ecx, [ebp - 0x50]
call fcn.00417407
mov ecx, dword [esi + 0x78]
mov eax, dword [eax]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x34]
mov ebx, 0x80042000
mov dword [ebp - 0x18], eax
cmp eax, ebx
je 0x427d04
cmp eax, 0x80042001
je 0x427d04
cmp dword [edi + 0x50], 0
lea eax, [edi + 0x4c]
jne 0x427c6e
cmp dword [eax + 8], 0xffffffff
je 0x427c7c
push eax
lea ecx, [ebp - 0xe0]
call fcn.00428239
jmp 0x427c87
lea ecx, [ebp - 0xe0]
call fcn.00428330
lea ecx, [ebp - 0x234]
call fcn.0044df55
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0xe0]
push eax
call fcn.004275b4
pop ecx
lea eax, [edi + 0x44]
pop ecx
push 0
push eax
push dword [edi + 0x40]
lea ecx, [ebp - 0x234]
call fcn.0044e196
and dword [ebp - 0x18], 0
mov esi, dword [esi + 0x78]
push 0
push esi
mov byte [ebp - 4], 9
mov eax, dword [esi]
call dword [eax + 0x34]
mov esi, eax
mov byte [ebp - 4], 5
cmp esi, ebx
je 0x427ce4
cmp esi, 0x80042001
jne 0x427d91
lea ecx, [ebp - 0x28]
call fcn.0045bfa2
lea eax, [ebp - 0x28]
push 0x4762d8
push eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x28], 0x46d3ec
call fcn.0045bd01
lea ecx, [ebp - 0x28]
call fcn.0045bfa2
mov eax, dword [ebp - 0x18]
push 0x4762d8
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], 0x46d3ec
call fcn.0045bd01
mov eax, dword [edi + 0x3c]
mov ecx, dword [edi + 0x38]
test eax, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
mov ebx, 0x80042000
mov edi, 0x7fffffff
jl 0x427d77
jg 0x427d47
cmp ecx, edi
jbe 0x427d77
mov eax, dword [esi + 0x78]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x427dcf
cmp eax, 0x80042001
je 0x427dcf
add dword [ebp - 0x14], 0x80000001
adc dword [ebp - 0x10], 0xffffffff
cmp dword [ebp - 0x10], 0
jg 0x427d47
jl 0x427d77
cmp dword [ebp - 0x14], edi
ja 0x427d47
mov esi, dword [esi + 0x78]
push dword [ebp - 0x14]
mov eax, dword [esi]
push esi
call dword [eax + 0x1c]
mov esi, eax
cmp esi, ebx
je 0x427df2
cmp esi, 0x80042001
je 0x427df2
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 1
call fcn.004281d4
and byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.0044de67
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.0040be30
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp + 0xb]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
lea ecx, [ebp - 0x28]
call fcn.0045bfa2
mov eax, dword [ebp - 0x18]
push 0x4762d8
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], 0x46d3ec
call fcn.0045bd01
lea ecx, [ebp - 0x28]
call fcn.0045bfa2
lea eax, [ebp - 0x28]
push 0x4762d8
push eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x28], 0x46d3ec
call fcn.0045bd01