Function at 0x2702ea02
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x2708e4da
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x270b313c]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push esi
push edi
mov eax, dword [0x270b313c]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
mov edi, 0x27167cf0
mov dword [esp + 0x34], edi
call fcn.27007877
xor edi, edi
inc edi
mov dword [esp + 0x38], edi
and dword [esp + 0x260], 0
push 0xac
mov ebx, 0x270bba30
push ebx
call fcn.27027db5
pop ecx
pop ecx
test eax, eax
jne 0x2702ea85
lea esi, [esp + 0x34]
call fcn.270077dd
mov eax, edi
jmp 0x2702ecbb
push ebx
call fcn.27038cbf
mov dword [esp], 0x270bbaf8
call fcn.270368f5
mov dword [esp], 0x270bbc50
call fcn.2703a540
pop ecx
mov esi, 0x270bbd48
call fcn.2703a5fb
mov edi, 0x270bbe90
mov esi, edi
call fcn.2703ac2d
mov esi, str.ssl_client1
mov eax, esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x2702eac4
sub eax, ecx
push eax
push esi
push edi
push fcn.2703ae5f
mov ecx, 0x270bbd48
call fcn.2703aa92
add esp, 0x10
test eax, eax
jne 0x2702ec70
call fcn.270277ac
push eax
lea edi, [esp + 0x148]
call fcn.27026833
pop ecx
mov eax, edi
push eax
push str._sconfigca_bundle.crt
lea eax, [esp + 0x44]
push 0x104
push eax
call sub.msvcrt.dll__snprintf
add esp, 0x10
lea eax, [esp + 0x3c]
push eax
call sub.KERNEL32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x2702eb40
test al, 0x10
jne 0x2702eb40
lea eax, [esp + 0x3c]
push eax
push 0x270bbaf8
call fcn.270352a5
pop ecx
pop ecx
jmp 0x2702ec65
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x268], 2
call fcn.2702e8c6
pop ecx
xor esi, esi
pop ecx
cmp dword [esp + 0x18], ebx
jbe 0x2702eba3
mov eax, dword [esp + 0x14]
mov eax, dword [eax + esi*4]
push dword [eax]
push dword [eax + 4]
push 0x270bbaf8
call fcn.27035165
add esp, 0xc
inc esi
cmp esi, dword [esp + 0x18]
jb 0x2702eb83
xor esi, esi
cmp dword [esp + 0x28], ebx
jbe 0x2702ebca
mov eax, dword [esp + 0x24]
mov eax, dword [eax + esi*4]
push dword [eax + 4]
mov eax, dword [eax]
push 0x270bbc50
call fcn.2703a103
inc esi
pop ecx
pop ecx
cmp esi, dword [esp + 0x28]
jb 0x2702ebab
xor edi, edi
cmp dword [esp + 0x18], ebx
mov ebx, dword [sym.imp.msvcrt.dll_free]
jbe 0x2702ec01
mov eax, dword [esp + 0x14]
lea esi, [eax + edi*4]
mov eax, dword [esi]
push dword [eax + 4]
call ebx
mov eax, dword [esi]
and dword [eax + 4], 0
mov eax, dword [esi]
pop ecx
test eax, eax
je 0x2702ebfa
push eax
call ebx
and dword [esi], 0
pop ecx
inc edi
cmp edi, dword [esp + 0x18]
jb 0x2702ebd8
xor edi, edi
lea eax, [esp + 0x14]
call fcn.27007323
cmp dword [esp + 0x28], edi
jbe 0x2702ec3b
mov eax, dword [esp + 0x24]
lea esi, [eax + edi*4]
mov eax, dword [esi]
push dword [eax + 4]
call ebx
mov eax, dword [esi]
and dword [eax + 4], 0
mov eax, dword [esi]
pop ecx
test eax, eax
je 0x2702ec34
push eax
call ebx
and dword [esi], 0
pop ecx
inc edi
cmp edi, dword [esp + 0x28]
jb 0x2702ec12
xor edi, edi
lea eax, [esp + 0x24]
call fcn.27007323
lea eax, [esp + 0x24]
call fcn.2700799b
lea eax, [esp + 0x14]
mov byte [esp + 0x260], 0
call fcn.2700799b
mov ebx, 0x270bba30
mov esi, ebx
call fcn.27038cd6
test eax, eax
je 0x2702ec7d
lea esi, [esp + 0x34]
call fcn.270077dd
xor eax, eax
jmp 0x2702ecbb
mov eax, ebx
call fcn.27038779
push 0x270bbc50
mov ecx, 0x270bbaf8
mov eax, ebx
call fcn.27038879
pop ecx
mov ecx, 0x270bbd48
call fcn.27038791
call fcn.2703879c
mov ecx, 0x2702e86d
call fcn.27038789
lea esi, [esp + 0x34]
call fcn.270077dd
xor eax, eax
inc eax
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.27088f70
mov esp, ebp
pop ebp
ret