Function at 0x4278ac
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x46502d
call fcn.0045a480
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], 0x46bb80
push eax
mov dword [ebp - 0x30], 0x46bb78
call fcn.00408c11
and dword [ebp - 4], 0
cmp byte [esi + 0x71], 0
mov edi, dword [ebp + 8]
je 0x4278e5
lea eax, [edi + 0xc]
lea ecx, [ebp - 0x50]
push eax
call fcn.00429f43
lea eax, [ebp - 0x50]
push 4
push eax
call fcn.00427b91
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.00427c67
lea eax, [ebp - 0x114]
lea ecx, [esi + 0x44]
push eax
mov byte [ebp - 4], 1
call fcn.00417cb2
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 2
push ecx
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00429697
add esp, 0xc
push eax
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 3
call fcn.00427ef5
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 6
call fcn.0040c1bb
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 5
call fcn.0040c1bb
mov ebx, dword [esi + 0x6c]
mov eax, dword [esi + 0x7c]
shr ebx, 0xe
and bl, 1
mov dword [ebp - 0x14], eax
test eax, eax
je 0x427987
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
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
lea ecx, [ebp - 0x20]
push dword [ebp - 0x18]
mov byte [ebp - 4], 7
push eax
call fcn.004284e5
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.00429710
mov eax, dword [ebp - 0x20]
add esp, 0x10
test eax, eax
mov byte [ebp - 4], 7
je 0x4279da
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 5
test eax, eax
je 0x4279eb
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.00429add
test al, al
je 0x427aad
lea ecx, [ebp - 0x50]
call fcn.00417191
mov esi, dword [esi + 0x78]
mov eax, dword [eax]
push eax
push esi
mov ecx, dword [esi]
call dword [ecx + 0x34]
mov esi, eax
cmp esi, 0x80042000
je 0x427a8d
cmp esi, 0x80042001
je 0x427a8d
cmp dword [edi + 0x50], 0
lea eax, [edi + 0x4c]
jne 0x427a3d
cmp dword [eax + 8], 0xffffffff
je 0x427a4b
push eax
lea ecx, [ebp - 0xe0]
call fcn.00427fb8
jmp 0x427a56
lea ecx, [ebp - 0xe0]
call fcn.004280af
lea ecx, [ebp - 0x234]
call fcn.0044d41c
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0xe0]
push eax
call fcn.00427446
pop ecx
lea eax, [edi + 0x44]
pop ecx
push eax
lea ecx, [ebp - 0x234]
push dword [edi + 0x40]
call fcn.0044d65d
jmp 0x427b33
lea ecx, [ebp - 0x28]
call fcn.0045a85c
lea eax, [ebp - 0x28]
push 0x475230
push eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x28], 0x46c3c4
call fcn.0045a5c9
mov eax, dword [edi + 0x3c]
mov ebx, dword [edi + 0x38]
test eax, eax
mov dword [ebp - 0x10], eax
mov edi, SysReAllocString
jl 0x427b17
jg 0x427ac5
cmp ebx, edi
jbe 0x427b17
mov eax, dword [esi + 0x78]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
cmp eax, 0x80042000
mov dword [ebp - 0x18], eax
je 0x427af4
cmp eax, 0x80042001
je 0x427af4
add ebx, 0x80000001
adc dword [ebp - 0x10], 0xffffffff
cmp dword [ebp - 0x10], 0
jg 0x427ac5
jl 0x427b17
jmp 0x427ac1
lea ecx, [ebp - 0x28]
call fcn.0045a85c
mov eax, dword [ebp - 0x18]
push 0x475230
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], 0x46c3c4
call fcn.0045a5c9
mov esi, dword [esi + 0x78]
push ebx
push esi
mov eax, dword [esi]
call dword [eax + 0x1c]
mov esi, eax
cmp esi, 0x80042000
je 0x427b71
cmp esi, 0x80042001
je 0x427b71
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 1
call fcn.00427f53
and byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.0044d32e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.0040c1bb
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.0045a85c
lea eax, [ebp - 0x28]
push 0x475230
push eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x28], 0x46c3c4
call fcn.0045a5c9