Function at 0x4019c4
Capabilities:
Check if file exists

Disassembly:
jmp 0x4076df
mov eax, 0x4600f0
call fcn.0043af44
sub esp, 0x43c
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 4]
push ebx
call fcn.00401041
xor edi, edi
pop ecx
cmp eax, edi
jl 0x407833
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, edi
je 0x40771b
add eax, 8
push eax
call dword [0x47bc4c]
lea ecx, [esi + 8]
call fcn.004022d9
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x10], eax
cmp dword [ebx], edi
jne 0x40773f
push 0x80004003
call fcn.0042f1c0
mov eax, dword [ebx]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
cmp dword [ebx], edi
jne 0x407757
push 0x80004003
call fcn.0042f1c0
mov eax, dword [ebx]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
cmp dword [ebp + 0xc], edi
je 0x407798
push str.version1.0_encodingutf_8
lea ecx, [ebp + 8]
call fcn.004014c9
lea eax, [ebp + 8]
mov ecx, esi
push eax
mov dword [ebp - 4], edi
call fcn.00401910
mov ecx, dword [ebp + 8]
mov dword [ebp + 0xc], eax
cmp ecx, edi
je 0x407823
call fcn.00402437
jmp 0x407823
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18], edi
mov eax, dword [esi]
cmp eax, edi
je 0x4077a8
mov eax, dword [eax]
jmp 0x4077aa
xor eax, eax
push eax
call dword [0x47be30]
test eax, eax
je 0x407844
push esi
lea ecx, [ebp - 0x38]
call fcn.00401c44
mov esi, eax
lea edi, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp dword [ebx], 0
mov dword [ebp - 4], 1
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jne 0x4077e1
push 0x80004003
call fcn.0042f1c0
lea edx, [ebp - 0x18]
lea esi, [ebp - 0x28]
push edx
mov eax, dword [ebx]
sub esp, 0x10
mov edi, esp
mov ecx, dword [eax]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x30]
or dword [ebp - 4], 0xffffffff
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x38]
push eax
call dword [0x47bd40]
test eax, eax
jge 0x407814
push eax
call fcn.0042f1c0
xor edi, edi
cmp word [ebp - 0x18], di
jne 0x407823
mov dword [ebp + 0xc], 0x80004005
cmp dword [ebp + 0xc], edi
jge 0x407830
push edi
mov ecx, ebx
call fcn.00401e2e
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
mov dword [ebp + 0xc], 0x80004005
call fcn.004015e1
mov esi, eax
cmp esi, edi
je 0x407816
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, edi
je 0x407863
mov eax, dword [eax]
jmp 0x407865
xor eax, eax
mov ecx, dword [esi]
push eax
push edi
push esi
call dword [ecx + 0x10]
cmp eax, edi
mov dword [ebp - 0x14], eax
jle 0x407816
push eax
call fcn.0043bc2a
cmp eax, edi
pop ecx
mov dword [ebp - 0x10], eax
je 0x407816
push dword [ebp - 0x14]
push edi
push eax
call fcn.0043afa0
mov eax, dword [ebp + 8]
add esp, 0xc
mov eax, dword [eax]
cmp eax, edi
je 0x40789c
mov eax, dword [eax]
jmp 0x40789e
xor eax, eax
push dword [ebp - 0x14]
mov ecx, dword [esi]
push dword [ebp - 0x10]
push eax
push edi
push esi
call dword [ecx + 0x14]
mov esi, 0x208
lea eax, [ebp - 0x448]
push esi
push edi
push eax
call fcn.0043afa0
add esp, 0xc
lea eax, [ebp - 0x448]
push eax
push 0x104
call dword [0x47bc3c]
push esi
lea eax, [ebp - 0x240]
push edi
push eax
call fcn.0043afa0
mov eax, dword [0x471188]
add esp, 0xc
inc dword [0x471188]
lea ecx, [ebp - 0x240]
push ecx
push eax
lea eax, [ebp - 0x448]
push 0x47117c
push eax
call dword [0x47bc40]
lea eax, [ebp - 0x240]
push 0x471174
push eax
call fcn.0043c0f0
mov esi, eax
pop ecx
cmp esi, edi
pop ecx
je 0x4079ce
push esi
push 1
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.0043bf86
push esi
call fcn.0043bf09
add esp, 0x14
lea eax, [ebp - 0x240]
mov word [ebp - 0x28], 8
push eax
call dword [0x47bd58]
cmp eax, edi
mov dword [ebp - 0x20], eax
jne 0x40796c
lea eax, [ebp - 0x240]
test eax, eax
je 0x40796c
push 0x8007000e
call fcn.0042f1c0
lea esi, [ebp - 0x28]
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp dword [ebx], 0
mov dword [ebp - 4], 2
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jne 0x40798c
push 0x80004003
call fcn.0042f1c0
lea edx, [ebp - 0x18]
lea esi, [ebp - 0x38]
push edx
mov eax, dword [ebx]
sub esp, 0x10
mov edi, esp
mov ecx, dword [eax]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x30]
or dword [ebp - 4], 0xffffffff
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x28]
push eax
call dword [0x47bd40]
test eax, eax
jge 0x4079bf
push eax
call fcn.0042f1c0
lea eax, [ebp - 0x240]
push eax
call dword [0x47bc44]
xor edi, edi
push dword [ebp - 0x10]
call fcn.0043b9b5
pop ecx
jmp 0x407816