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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x608945
mov eax, dword fs:[0]
push eax
mov eax, 0x3c
call fcn.005dfa60
mov eax, dword [0x6a704c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x6af344]
cmp eax, dword [ecx + 4]
jle 0x447a05
push 0x6af344
call fcn.005df48a
add esp, 4
cmp dword [0x6af344], 0xffffffff
jne 0x447a05
push 0x60a560
mov dword [0x6af32c], 0
mov dword [0x6af33c], 0
mov dword [0x6af340], 0xf
call fcn.005df311
add esp, 4
push 0x6af344
call fcn.005df440
add esp, 4
cmp dword [0x6af33c], 0
jne 0x447b6f
call fcn.00451f50
mov ecx, eax
mov eax, bind
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 0x12
jb 0x447c2c
cmp dword [ecx + 0x14], 0x10
jb 0x447a34
mov ecx, dword [ecx]
push 0x12
push str.curl_ca_bundle.crt
push edx
push ecx
push ecx
push dword [ebp - 0x44]
lea ecx, [ebp - 0x28]
call fcn.004473d0
lea eax, [ebp - 0x28]
mov ecx, 0x6af32c
push eax
call fcn.004470a0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x447a8b
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x447a81
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x447c31
push edx
push ecx
call fcn.005df326
add esp, 8
push 3
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push 0x67922c
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00446eb0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
push 8
mov dword [ebp - 0x40], 0
push str.CABUNDLE
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00446eb0
push ecx
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00452160
mov edx, dword [ebp - 0x2c]
add esp, 4
cmp edx, 0x10
jb 0x447b29
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x447b1f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x447c36
push edx
push ecx
call fcn.005df326
add esp, 8
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x447b6f
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x447b65
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x447c36
push edx
push ecx
call fcn.005df326
add esp, 8
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edi, edi
push edi
push edi
xor esi, esi
mov eax, 0x6af32c
cmp dword [0x6af340], 0x10
push 0xffffffffffffffff
cmovae eax, dword [0x6af32c]
push eax
push edi
push 0xfde9
call ebx
test eax, eax
je 0x447bad
mov edi, eax
add eax, eax
push eax
push esi
call fcn.005e4cb3
add esp, 8
mov esi, eax
cmp dword [0x6af340], 0x10
mov eax, 0x6af32c
push edi
cmovae eax, dword [0x6af32c]
push esi
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
test esi, esi
je 0x447be8
push esi
call fcn.005e4cbe
add esp, 4
test bl, bl
jne 0x447c0b
cmp dword [0x6af340], 0x10
mov ecx, 0x6af32c
mov dword [0x6af33c], 0
cmovae ecx, dword [0x6af32c]
mov byte [ecx], bl
mov eax, 0x6af32c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005df097
mov esp, ebp
pop ebp
ret
call fcn.00446d70
call fcn.005e4e95
call fcn.005e4e95
int3