Function at 0x42764c
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4655b5
call fcn.0045aa08
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.00408caf
and dword [ebp - 4], 0
cmp byte [esi + 0x71], 0
mov edi, dword [ebp + 8]
je 0x427685
lea eax, [edi + 0xc]
lea ecx, [ebp - 0x50]
push eax
call fcn.00429e15
lea eax, [ebp - 0x50]
push 4
push eax
call fcn.00427931
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.00427a07
lea eax, [ebp - 0x114]
lea ecx, [esi + 0x44]
push eax
mov byte [ebp - 4], 1
call fcn.00417aa7
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 2
push ecx
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.004294d5
add esp, 0xc
push eax
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 3
call fcn.00427c95
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 6
call fcn.0040be47
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 5
call fcn.0040be47
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 0x427727
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.004282c9
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.0042954e
mov eax, dword [ebp - 0x20]
add esp, 0x10
test eax, eax
mov byte [ebp - 4], 7
je 0x42777a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 5
test eax, eax
je 0x42778b
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.0042991b
test al, al
je 0x42784d
lea ecx, [ebp - 0x50]
call fcn.00416f86
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 0x42782d
cmp esi, 0x80042001
je 0x42782d
cmp dword [edi + 0x50], 0
lea eax, [edi + 0x4c]
jne 0x4277dd
cmp dword [eax + 8], 0xffffffff
je 0x4277eb
push eax
lea ecx, [ebp - 0xe0]
call fcn.00427d58
jmp 0x4277f6
lea ecx, [ebp - 0xe0]
call fcn.00427e4f
lea ecx, [ebp - 0x234]
call fcn.0044d5ad
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0xe0]
push eax
call fcn.00427128
pop ecx
lea eax, [edi + 0x44]
pop ecx
push eax
lea ecx, [ebp - 0x234]
push dword [edi + 0x40]
call fcn.0044d7ee
jmp 0x4278d3
lea ecx, [ebp - 0x28]
call fcn.0045adf2
lea eax, [ebp - 0x28]
push 0x475230
push eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x28], 0x46c3c4
call fcn.0045ab51
mov eax, dword [edi + 0x3c]
mov ebx, dword [edi + 0x38]
test eax, eax
mov dword [ebp - 0x10], eax
mov edi, SysReAllocString
jl 0x4278b7
jg 0x427865
cmp ebx, edi
jbe 0x4278b7
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 0x427894
cmp eax, 0x80042001
je 0x427894
add ebx, 0x80000001
adc dword [ebp - 0x10], 0xffffffff
cmp dword [ebp - 0x10], 0
jg 0x427865
jl 0x4278b7
jmp 0x427861
lea ecx, [ebp - 0x28]
call fcn.0045adf2
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.0045ab51
mov esi, dword [esi + 0x78]
push ebx
push esi
mov eax, dword [esi]
call dword [eax + 0x1c]
mov esi, eax
cmp esi, 0x80042000
je 0x427911
cmp esi, 0x80042001
je 0x427911
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 1
call fcn.00427cf3
and byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.0044d4bf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.0040be47
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.0045adf2
lea eax, [ebp - 0x28]
push 0x475230
push eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x28], 0x46c3c4
call fcn.0045ab51