Function at 0xe6d8c6
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov esi, edx
mov ebx, ecx
cmp ecx, 2
je 0xe6d8f7
cmp ebx, 1
je 0xe6d8f0
mov edi, 0x1190b1d
test ebx, ebx
jne 0xe6d8fe
call fcn.00ecf880
jmp 0xe6d8fc
call fcn.00ecf8dd
jmp 0xe6d8fc
call fcn.00ecf940
mov edi, eax
cmp byte [edi], 0
jne 0xe6d91a
test ebx, ebx
jne 0xe6dc1d
push 0x11598a1
call fcn.00dd5c80
jmp 0xe6dc1a
mov ecx, edi
call fcn.00e6dceb
cmp eax, 0xffffffff
jne 0xe6d989
call fcn.00e1fd30
cmp eax, 2
jne 0xe6d943
push edi
push 0x11598c1
call fcn.00dd5c80
add esp, 8
jmp 0xe6dc1d
call fcn.00e5a260
test eax, eax
jne 0xe6db84
xor ebx, ebx
push 0x11598e3
push ebx
call fcn.00e5a2c0
add esp, 8
call fcn.00e1fd20
mov esi, eax
call fcn.00e1f8c0
push esi
push eax
push edi
push 0x11598e5
call fcn.00dd6df0
add esp, 0x10
push 0x115991b
push ebx
call fcn.00e5a2c0
jmp 0xe6d93b
mov dword [esp + 4], esi
lea esi, [esp + 8]
push esi
mov dword [esp + 4], eax
push eax
call fcn.00f6ebe0
add esp, 8
test eax, eax
je 0xe6d9e3
call fcn.00e5a260
test eax, eax
jne 0xe6dbc5
xor esi, esi
push 0x115991d
push esi
call fcn.00e5a2c0
add esp, 8
call fcn.00e1fd20
mov ebx, eax
call fcn.00e1f8c0
push ebx
push eax
push edi
push 0x115991f
call fcn.00dd6df0
add esp, 0x10
push 0x1159957
jmp 0xe6da30
mov ecx, dword [esp + 0x20]
test ebx, ebx
jne 0xe6d9f8
push esi
mov esi, ecx
call fcn.00e53340
mov ecx, esi
add esp, 4
cmp ecx, 0x100001
jb 0xe6da38
call fcn.00e5a260
test eax, eax
jne 0xe6dba2
xor esi, esi
push 0x1159959
push esi
call fcn.00e5a2c0
add esp, 8
push edi
push 0x115995b
call fcn.00dd6df0
add esp, 8
push 0x115997c
push esi
call fcn.00e5a2c0
jmp 0xe6da47
test ecx, ecx
jne 0xe6da4f
push edi
push 0x115997e
call fcn.00dd6df0
add esp, 8
jmp 0xe6dbe1
lea eax, [ecx + 1]
push eax
mov ebx, ecx
call fcn.00dbf520
add esp, 4
test eax, eax
jne 0xe6da93
call fcn.00e5a260
test eax, eax
jne 0xe6dbad
xor esi, esi
push 0x115999d
push esi
call fcn.00e5a2c0
add esp, 8
push edi
push 0x115999f
call fcn.00dd6df0
add esp, 8
push 0x11599cb
jmp 0xe6da30
mov esi, eax
push ebx
push eax
push dword [esp + 8]
call fcn.00f6ec70
add esp, 0xc
test eax, eax
js 0xe6daab
cmp eax, ebx
je 0xe6daf1
call fcn.00e5a260
test eax, eax
jne 0xe6dbec
xor eax, eax
push 0x11599cd
push eax
call fcn.00e5a2c0
add esp, 8
call fcn.00e1fd20
mov ebx, eax
call fcn.00e1f8c0
push ebx
push eax
push edi
push 0x11599cf
call fcn.00dd6df0
add esp, 0x10
push 0x1159a05
xor eax, eax
push eax
jmp 0xe6db77
cmp ebx, 2
mov byte [esi + ebx], 0
jb 0xe6db0a
mov al, byte [esi]
cmp al, 0xfe
je 0xe6db40
cmp al, 0xff
jne 0xe6db0a
cmp byte [esi + 1], 0xfe
je 0xe6db46
mov ecx, esi
mov edx, ebx
push edi
push 2
call fcn.00e6c649
add esp, 8
push edi
push 0x1159a41
call fcn.00dd5c80
add esp, 8
mov ecx, esi
mov edx, ebx
push edi
push dword [esp + 8]
call fcn.00e6c649
add esp, 8
push dword [esp]
jmp 0xe6dc0c
cmp byte [esi + 1], 0xff
jne 0xe6db0a
call fcn.00e5a260
test eax, eax
jne 0xe6dbb8
mov ebx, esi
xor esi, esi
push 0x1159a07
push esi
call fcn.00e5a2c0
add esp, 8
push edi
push 0x1159a09
call fcn.00dd6df0
add esp, 8
push 0x1159a3f
push esi
mov esi, ebx
call fcn.00e5a2c0
add esp, 8
jmp 0xe6dc08
call fcn.00e1fd20
mov esi, eax
call fcn.00e1f8c0
push esi
push eax
push edi
push 0x11598e5
call fcn.00dd6df0
add esp, 0x10
jmp 0xe6dc1d
push edi
push 0x115995b
jmp 0xe6da42
push edi
push 0x115999f
jmp 0xe6da42
push edi
push 0x1159a09
call fcn.00dd6df0
jmp 0xe6db7c
call fcn.00e1fd20
mov ebx, eax
call fcn.00e1f8c0
push ebx
push eax
push edi
push 0x115991f
call fcn.00dd6df0
add esp, 0x10
mov eax, dword [esp]
push eax
call fcn.00ed2d30
jmp 0xe6dc1a
call fcn.00e1fd20
mov ebx, eax
call fcn.00e1f8c0
push ebx
push eax
push edi
push 0x11599cf
call fcn.00dd6df0
add esp, 0x10
mov eax, dword [esp]
push eax
call fcn.00ed2d30
add esp, 4
push esi
call fcn.00dbfc80
add esp, 4
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret